SA-MP Forums Archive
sql - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: sql (/showthread.php?tid=198241)



sql - Gh0sT_ - 11.12.2010

WTF?.. When i trying to turn on server ( VPS ) in log I get this:

[19:28:43] Script[gamemodes/SF.amx]: Run time error 19: "File or function is not found"
[19:28:43] Number of vehicle models: 0

but all 4 plugins loaded perfecto, in gm no errors / warning. I'm using MySQL, and i didn't added libMySQL or another plugin in server folder( WinSCP ) cuz libMySQL.dll only for windows??..


Re: sql - Gh0sT_ - 11.12.2010

^^^^^^^^^^


Re: sql - Gh0sT_ - 12.12.2010

bumpccccy.


Re: sql - DRIFT_HUNTER - 12.12.2010

Your plugin does not load or you missed plugin(maybe updated plugin but outdated includes while compiled)


Re: sql - Gh0sT_ - 12.12.2010

Okey, added libmysqlclient.so.15 in root/samp03. But, when i do

Quote:

cd /root/samp03
./samp03svr &

in putty, I get:

Quote:

asd:~/samp03# terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

before that shit, I was on error:
Quote:

Unable to start server on port: 9880. Port in use?

When i chaned port to 7777, I can't start server on putty, cuz i getting error:
Quote:

asd:~/samp03# terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

EDIT: okey, it was VPS problem. And nvm, i getting error..


Quote:

[13:31:46] Script[gamemodes/SF.amx]: Run time error 19: "File or function is not found"
[13:31:46] Number of vehicle models: 0

full log:

Quote:

SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[13:31:46] filterscripts = "" (string)
[13:31:46]
[13:31:46] Server Plugins
[13:31:46] --------------
[13:31:46] Loading plugin: audio.so
[13:31:46]
*** Audio Plugin v0.4 by Incognito loaded ***

[13:31:46] Loaded.
[13:31:46] Loading plugin: streamer.so
[13:31:46]

*** Streamer Plugin v2.5.1 by Incognito loaded ***

[13:31:46] Loaded.
[13:31:46] Loading plugin: sscanf.so
[13:31:46]

[13:31:46] ===============================

[13:31:46] sscanf plugin loaded.

[13:31:46] © 2009 Alex "******" Cole

[13:31:46] ===============================

[13:31:46] Loaded.
[13:31:46] Loading plugin: mysql.so
[13:31:46]

> MySQL plugin R5 successfully loaded.

[13:31:46] Loaded.
[13:31:46] Loaded 4 plugins.

[13:31:46]
[13:31:46] Ban list
[13:31:46] --------
[13:31:46] Loaded: samp.ban
[13:31:46]
[13:31:46]
[13:31:46] Filter Scripts
[13:31:46] ---------------
[13:31:46] Loaded 0 filter scripts.

[13:31:46] Script[gamemodes/SF.amx]: Run time error 19: "File or function is not found"
[13:31:46] Number of vehicle models: 0
[13:31:52] --- Server Shutting Down.
[13:31:52]
*** Audio Plugin v0.4 by Incognito unloaded ***

[13:31:52]

*** Streamer Plugin v2.5.1 by Incognito unloaded ***

[13:31:52]

[13:31:52] ===============================

[13:31:52] sscanf plugin unloaded.

[13:31:52] ===============================

[13:31:52]

> MySQL plugin unloaded.




Re: sql - Gh0sT_ - 12.12.2010

bump, I need help faaast.


Re: sql - Marcel - 12.12.2010

Update all plugins. Meaning, download them again, include the new include (.inc) files in your gamemode and compile. But are you sure it is the MySQL plugin that is causing the error?


Re: sql - Gh0sT_ - 12.12.2010

uploaded 2times. yes, because in plugins directory are 4plugins, and all them loading perfectly. in gamemode ( .pwn ) no errors, or warnings..

OS: Debian 5.


Re: sql - Marcel - 12.12.2010

Could you please post your OnGameModeInit function here? If you have a mysql_connect function in it, remove the username and password! Otherwise we'll be able to use your database. So remove the parameters in this function!


Re: sql - Gh0sT_ - 12.12.2010

You don't need this, because I can turn on server perfectly, but on vps no.