Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Debian on Sep 18, 2015, 05:45 AM

Title: VPS connect sql
Post by: Debian on Sep 18, 2015, 05:45 AM
the index connect sql doesn't exit , i am using all plugins in along with sqlite




function onScriptLoad(){

stats <- array( GetMaxPlayers(), null );
sqliteDB <- ConnectSQL( "database.db" );

foreach (key, val in Commands) CommandsList.push( key);
foreach (key, val in Commands) PlayerCommands.push( key+" "+ val);

print( "VCDM - SQLite variant has successfully loaded..." );
}


Title: Re: VPS connect sql
Post by: Thijn on Sep 18, 2015, 07:04 AM
Post a screenshot of your console. There's no "sql" there, so that's not the whole error message.
Your plugins probably aren't loading, there should be a message about them loading on the top of your console.
Title: Re: VPS connect sql
Post by: Debian on Sep 18, 2015, 07:32 AM
http://postimg.org/image/hrrs1wy41/

Files:http://www.filedropper.com/server_1
Title: Re: VPS connect sql
Post by: Mashreq on Sep 18, 2015, 09:15 AM
It's a problem with your SQlite plugin for linux.
Try using Thijn's sqlite plugin which should solve your problem.

32bit sqlite plugin by Thijn (http://thijn.ovh/vcmp/builds/sqlite04rel32.so)
64bit sqlite plugin by Thijn (http://thijn.ovh/vcmp/builds/sqlite04rel64.so)
Title: Re: VPS connect sql
Post by: Thijn on Sep 18, 2015, 05:39 PM
Make sure you have the plugin in your server.cfg, and post the rest of the console. It should tell you more about the plugins. Look at the top.