Server "lies" on the functions mysql - 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)
+--- Thread: Server "lies" on the functions mysql (
/showthread.php?tid=397197)
Server "lies" on the functions mysql -
Frapsy - 03.12.2012
The problem is this: When you go to another hosting (pawn.su => ru-hoster) problem that the server does not want to work properly, that is, the download is fine, everything loads and 2 seconds sad inscription --- Server Shutting Down. Uploaded plugin mysql (r7) commented in a fashion all that is connected with mysql and running successful. In what could be the problem?
mysql_log
Код:
[16:43:00]
[16:43:00] ** MySQL Debugging enabled (12/03/12)
[16:43:00]
[16:43:00] >> mysql_connect(triniti.ru-hoster.com, osuseCff, osuseCff, ******) on port 3306
[16:43:00] CMySQLHandler::CMySQLHandler() - constructor called.
[16:43:00] CMySQLHandler::CMySQLHandler() - Connecting to "triniti.ru-hoster.com" | DB: "osuseCff" | Username: "osuseCff"
[16:43:00] CMySQLHandler::Connect() - Connection was successful.
[16:43:00] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.
[16:43:00] >> mysql_ping( Connection handle: 1 )
[16:43:00] CMySQLHandler::Ping() - Connection is still alive.
[16:43:02] Unloading Plugin
[16:43:02] CMySQLHandler::~CMySQLHandler() - deconstructor called.
server_log
Код:
[18:16:13] *******
[18:16:13] connection successful
[18:16:13] *******
[18:16:13]
[18:16:13] Number of vehicle models: 63
[18:16:15] --- Server Shutting Down.
[18:16:15]
Re: Server "lies" on the functions mysql -
Konstantinos - 03.12.2012
Install
Crash detect and show us the server log after the crash.
Re: Server "lies" on the functions mysql -
Frapsy - 03.12.2012
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team
[00:56:12]
[00:56:12] Server Plugins
[00:56:12] --------------
[00:56:12] Loading plugin: crashdetect.so
[00:56:12] crashdetect v4.8.5 is OK.
[00:56:12] Loaded.
[00:56:12] Loading plugin: streamer.so
[00:56:12]
*** Streamer Plugin v2.6 by Incognito loaded ***
[00:56:12] Loaded.
[00:56:12] Loading plugin: mysql.so
[00:56:12]
> MySQL plugin R7 successfully loaded.
[00:56:12] Loaded.
[00:56:12] Loaded 3 plugins.
[00:56:12]
[00:56:12] Ban list
[00:56:12] --------
[00:56:12] Loaded: samp.ban
[00:56:12]
[00:56:12]
[00:56:12] Filterscripts
[00:56:12] ---------------
[00:56:12] Loading filterscript 'EnEx.amx'...
[00:56:12] Loaded 1 filterscripts.
[00:56:13] BizzInfo 1 - 7 LOADED
[00:56:13] SBizzInfo 1 - 15 LOADED
[00:56:13] RCH 1 - 5 LOADED
[00:56:13] Family 1 - 12 LOADED
[00:56:13] Paper 1 - 10 LOADED
[00:56:13] EnableTirePopping() function is removed.
[00:56:13] Warning: EnableZoneNames() is removed since 0.3
[00:56:13] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[00:56:13] Pickups Max = 100, Current Pickups = 31
[00:56:13] HOUSE SYS LOADED
[00:56:13] base connected
[00:56:13]
[00:56:13]
[00:56:13] The Godfather: LS/SF/LV
[00:56:13] _____________________
[00:56:13] By: Hot_Souce
[00:56:13]
[00:56:13] Number of vehicle models: 62
[00:56:14] --- Server Shutting Down.
[00:56:14]
*** Streamer Plugin v2.6 by Incognito unloaded ***
Re: Server "lies" on the functions mysql -
Konstantinos - 03.12.2012
I thought you were talking about server crash, but since the streamer plugin unloaded successfully, you just closed the server window.
By the way, delete these from your script; you got 3 warnings.
pawn Код:
EnableTirePopping() function is removed.
[00:56:13] Warning: EnableZoneNames() is removed since 0.3
[00:56:13] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
press Ctrl + F and find them in your script and delete them all.
I'm sure that these cause the problem