I am trying to setup prometheus donation system for my server and I keep getting the same error no matter what.
[CODE][Prometheus repeated error of 23:11:10 - 02/04/2017] DB Connection failed! Error msg: Can't connect to MySQL server on 'loafpay.pcriot.com' (10061)
[/CODE]
Now I am using x10hosting for this and have already made a mysql database and installed the website.
I do not know why it doesn't connect to the database, it seems like I have setup the config file correctly:
[CODE]--[[ Config ]]--
Prometheus.WebsiteEnabled = true -- If true, the chat command will be enabled (Opens menu)
Prometheus.WebsiteCmd = "!donate" -- Command they need to type in chat to open your website
Prometheus.SeperateForSite = false -- Set to true if you want to use seperate chat commands for opening donation page and opening menu
Prometheus.OpenDonationCmd = "!donatesite" -- Used only if Prometheus.SeperateForSite is set to true, keep in mind to not have both be same command
Prometheus.DropPermaWeaponOnDeath = false -- Should a permanent weapon given by Prometheus drop when a person dies
Prometheus.CanDropPermaWeapon = false -- Can a perma weapon be dropped? If set to false weapon will be destroyed when dropped(Except on DarkRP where it simply cannot be dropped).
Prometheus.Access.AdminMenu = {"admin", "superadmin"} -- Groups that can access the admin menu. Examples: {"admin"} {"admin", "superadmin", "owner"} For AssMod use the number of the rank like: {1, 2}
Prometheus.NotifyEveryone = true -- If true, it will send a notification to everyone that a person on server has gotten a package
Prometheus.RefreshTime = 40 -- How often should it check for new actions (In seconds)
Prometheus.PlayerPackageCooldown = 10 -- How many seconds a person needs to wait before they can refresh their active packages(In menu)
Prometheus.ServerID = 1 -- ID of this server, will be given to you when you create it on your web side of prometheus
Prometheus.DebugInfo = false -- If enabled, will show debug info of actions, actions and other things in server console
Prometheus.LoadSettingsFromDB = true -- If false, will always use the FallBackSettings, useful if you want different servers to have different text in the notifications(Different language servers)
Prometheus.Mysql.Host = "loafpay.pcriot.com"
Prometheus.Mysql.Port = 3306
Prometheus.Mysql.Username = "*********"
Prometheus.Mysql.Password = "********"
Prometheus.Mysql.DBName = "loafpayp_pay"
--[[ End of Config ]]--
[/CODE]
Why are you not using the scripts support on sf/gmodstore?
Leak?
I do not know, it might be though... I got it from a friend that said that he had paid for it and wanted to share it.
Is it a leak?
I think it's a leak if you're using a script you didn't actually buy yourself. Sharing between friends is not part of the license.
[QUOTE=HamaDeLama;52050123]I do not know, it might be though... I got it from a friend that said that he had paid for it and wanted to share it.
Is it a leak?[/QUOTE]
:hammered: Not sure scriptfodder/gmodstore's rules on "sharing" but you most likely should not be using it if its not your purchase
[QUOTE=HamaDeLama;52050123]I do not know, it might be though... I got it from a friend that said that he had paid for it and wanted to share it.
Is it a leak?[/QUOTE]
That is not allowed.
Right, this is my first time creating a server and I did not know of this so I will delete it right away.
And where can you buy this? can you send a link?
[QUOTE=HamaDeLama;52050186]Right, this is my first time creating a server and I did not know of this so I will delete it right away.
And where can you buy this? can you send a link?[/QUOTE]
[url]https://gmodstore.com/scripts/view/565/prometheus-a-gmod-donation-system[/url]
Sorry, you need to Log In to post a reply to this thread.