View Single Post
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 07-04-2009 , 16:19   Re: [TF2] Player credits and rewards
#25

Ya.. How do you specify this to use sqlite then? It should automatically use sqlite, and create a database file locally if the mysql database failed connection. Im not really sure how you have it working for you.

I just changed the database name in the cvar so it wouldnt use the mysql, but then the plugin is disabled and doesnt work when I start up the server. What should the database cvar be to use sqlite then?

sm_candy_database "credits" //Define the database configuration to use


L 07/04/2009 - 13:20:25: [SM] Native "SQL_TQuery" reported: Invalid database Han
dle 0 (error: 4)
L 07/04/2009 - 13:20:25: [SM] Displaying call stack trace for plugin "candyscrip
t.smx":
L 07/04/2009 - 13:20:25: [SM] [0] Line 595, candyscript.sp::AddCandy()
L 07/04/2009 - 13:20:25: [SM] [1] Line 437, candyscript.sp::cAddCandy()
L 07/04/2009 - 13:200: [SM] Native "SQL_TQuery" reported: Invalid database Han
dle 0 (error: 4)
L 07/04/2009 - 13:200: [SM] Displaying call stack trace for plugin "candyscrip
t.smx":
L 07/04/2009 - 13:200: [SM] [0] Line 595, candyscript.sp::AddCandy()
L 07/04/2009 - 13:200: [SM] [1] Line 437, candyscript.sp::cAddCandy()

Last edited by retsam; 07-04-2009 at 16:24.
retsam is offline