Raised This Month: $51 Target: $400
 12% 

[ANY] Basic Donator Interface


Post New Thread Reply   
 
Thread Tools Display Modes
dad98253
New Member
Join Date: Jul 2021
Old 08-13-2021 , 03:04   Re: [ANY] Basic Donator Interface
Reply With Quote #271

Quote:
Originally Posted by dad98253 View Post
Is there an updated donator.inc file that goes with this?
This appears to work:

donator.inc

Last edited by dad98253; 08-13-2021 at 03:10.
dad98253 is offline
dad98253
New Member
Join Date: Jul 2021
Old 08-14-2021 , 19:46   Re: [ANY] Basic Donator Interface
Reply With Quote #272

Quote:
Originally Posted by kaff3 View Post
Please help me ,
Logs : L 08/23/2016 - 17:52:02: [SM] Exception reported: Unabled to load cfg file (donators)
L 08/23/2016 - 17:52:02: [SM] Blaming: donator.core.smx()
L 08/23/2016 - 17:52:02: [SM] Call stack trace:
L 08/23/2016 - 17:52:02: [SM] [0] SetFailState
L 08/23/2016 - 17:52:02: [SM] [1] Line 186, E:\tf2_server\donator\donator.core.sp::SQL_Op enConnection()
L 08/23/2016 - 17:52:02: [SM] [2] Line 64, E:\tf2_server\donator\donator.core.sp::OnPlug inStart()
L 08/23/2016 - 17:52:02: [SM] Unable to load plugin "donator.core.smx": Error detected in plugin startup (see error logs)

Make for me please donator.txt file and in what folder it should be put?
It looks to me like the author has deleted the flat file format option for the donator database. I got the plugin to work by creating an sql database. The error that you quot above is due to the database feature of sourcemod not finding an appropriate database defined the the databases.cfg file (found in the <server>/addons/sourcemod/configs/ folder). It's looking for a database named "donators". I have attached a sample databases.cfg file. The part you need to look at is the section near the bottom. My server runs in an account named "steam". You'll need to adjust your file appropriately to match your configuration.

I have also attached a second file that lists all of the commands that I had to enter to initialize the sql database. I didn't try to restart my server before I did all of this. So, maybe some of it is not necessary to get the plugin to run. (My server os is ubuntu 16.04 and I chose to use mysql - this is no doubt overkill for the application - you may want to try using sqlight instead)

p.s., These files are also available here: https://github.com/dad98253/sm_donator

databases.cfg
donator.core.sp-MakeWorkSwitch.txt
dad98253 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode