Can't start the server, mysql problem ? [Windows hosted server]
#1

SOLVED !

So here's the situation, I have a script, I made it work under windows on my personnal computer, but when I try to start it on the windows hosted server (smartbytes), it crashes. I re-compiled the script twice or threece, nothing solved yet. Here's the server_log file :

SA-MP Dedicated Server
----------------------
v0.3z-R4, ©2005-2014 SA-MP Team

[15:27:47] password = "" (string)
[15:27:47]
[15:27:47] Server Plugins
[15:27:47] --------------
[15:27:47] Loading plugin: Whirlpool
[15:27:47]
[15:27:47] ==================
[15:27:47]
[15:27:47] Whirlpool loaded
[15:27:47]
[15:27:47] ==================
[15:27:47]
[15:27:47] Loaded.
[15:27:47] Loading plugin: crashdetect
[15:27:47] crashdetect v4.7.3 is OK.
[15:27:47] Loaded.
[15:27:47] Loading plugin: mysql
[15:27:47] >> plugin.mysql: R39-2 successfully loaded.
[15:27:47] Loaded.
[15:27:47] Loading plugin: streamer
[15:27:47]

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

[15:27:47] Loaded.
[15:27:47] Loading plugin: sscanf
[15:27:47]

[15:27:47] ===============================

[15:27:47] sscanf plugin loaded.

[15:27:47] Version: 2.8.1

[15:27:47] © 2012 Alex "Y_Less" Cole

[15:27:47] ===============================

[15:27:47] Loaded.
[15:27:47] Loaded 5 plugins.

[15:27:48]
[15:27:48] Filterscripts
[15:27:48] ---------------
[15:27:48] Loading filterscript 'vactions.amx'...
[15:27:48] Loading filterscript 'yom_buttons.amx'...
[15:27:48] *** Streamer Plugin: Warning: Include file version (0x27002) does not match plugin version (0x27401) (script might need to be recompiled with the latest include file)
[15:27:48] Loaded 2 filterscripts.

[15:27:48]
[15:27:48]
[15:27:48]
[15:27:48] =======================================
[15:27:48] | |
[15:27:48] | YSI version 1.06.0002 |
[15:27:48] | By Alex "Y_Less" Cole |
[15:27:48] | |
[15:27:48] =======================================
[15:27:48]
[15:27:48]
[15:27:48]
[15:27:48] [debug] Server crashed while executing LACRP.amx
[15:27:48] [debug] Backtrace:
[15:27:48] [debug] #0 native mysql_connect () from mysql.DLL
[15:27:48] [debug] #1 0004e5f4 in public SSCANF_OnGameModeInit () from LACRP.amx
[15:27:48] [debug] #2 native CallLocalFunction () from samp-server.exe
[15:27:48] [debug] #3 0000d0d8 in public zcmd_OnGameModeInit () from LACRP.amx
[15:27:48] [debug] #4 native CallLocalFunction () from samp-server.exe
[15:27:48] [debug] #5 0000ca38 in ?? () from LACRP.amx
[15:27:48] [debug] #6 000066f4 in public Itter_OnGameModeInit () from LACRP.amx
[15:27:48] [debug] #7 native CallLocalFunction () from samp-server.exe
[15:27:48] [debug] #8 0000332c in ?? () from LACRP.amx
[15:27:48] [debug] #9 00000eb0 in public OnGameModeInit () from LACRP.amx
[15:27:48] [debug] Thread backtrace:
[15:27:48] [debug] #0 72BC1430 in ?? () from D:\Servers\donavan113\GameServers\TC03472322338140 702871157\plugins\crashdetect.DLL
[15:27:48] [debug] #1 72BC2735 in ?? () from D:\Servers\donavan113\GameServers\TC03472322338140 702871157\plugins\crashdetect.DLL
[15:27:48] [debug] #2 72BC405E in ?? () from D:\Servers\donavan113\GameServers\TC03472322338140 702871157\plugins\crashdetect.DLL
[15:27:48] [debug] #3 76890303 in ?? () from C:\Windows\syswow64\kernel32.dll
[15:27:48] [debug] #4 0049F096 in ?? () from D:\Servers\donavan113\GameServers\TC03472322338140 702871157\samp-server.exe
[15:27:48] [debug] #5 004984D1 in ?? () from D:\Servers\donavan113\GameServers\TC03472322338140 702871157\samp-server.exe
[15:27:48] [debug] #6 7685338A in ?? () from C:\Windows\syswow64\kernel32.dll
[15:27:48] [debug] #7 77BC9F72 in ?? () from C:\Windows\SysWOW64\ntdll.dll
[15:27:48] [debug] #8 77BC9F45 in ?? () from C:\Windows\SysWOW64\ntdll.dll

Any ideas on how to solve it ? Would be really appreciated.
Reply
#2

Update your plugins and includes and compile your gm again.
Reply
#3

I updated my includes for all my addons, but now, the compiling results in this : error 017: undefined symbol "mysql_affected_rows"
I believe the script I've found was made using a non-official version of the MySQL plugin, any way I could add a command to it ?

EDIT : MY BAD : It was not supposed to be written like that, it was supposed to be written : "cache_affected_rows". Trying to re-compile.

EDIT 2 : FIXED ! I just had to re-update that damn MySQL plugin and fix the script and it worked ! Thanks a lot ! +Rep for you dear sir.
Reply
#4

Posted by mistake at the first time..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)