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