SA-MP Forums Archive
Cant connect to the server. - 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: Cant connect to the server. (/showthread.php?tid=580589)



Cant connect to the server. - IndependentGaming - 06.07.2015

Hello, i have been trying for a while when i compile my script its not giving me any errors nor warnings, but when I try to join my server it is saying "Welcome to Sacrifice Gaming" then normal it need to show you a dialog within your password and stuff. But its saying server is restarting and showing this in my logs:

PHP код:
[19:19:22Number of vehicle models115
[19:19:53] [connection0.0.0.0 requests connection cookie.
[
19:19:54Incoming connection0.00.0.0 id0
[19:19:55] [joinDennis_Kingpin has joined the server (0:)
[
19:19:56] [debugServer crashed while executing Sacrifice.amx
[19:19:56] [debugAMX backtrace:
[
19:19:56] [debug#0 native mysql_real_escape_string () [002e6af0] from mysql.DLL
[19:19:56] [debug#1 001fbd68 in public Login () from Sacrifice.amx
[19:19:56] [debugSystem backtrace:
[
19:19:56] [debug#0 75434951 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
[19:19:56] [debug#1 75434996 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
[19:19:56] [debug#2 002e5b71 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\mysql.DLL
[19:19:56] [debug#3 002e5d7d in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\mysql.DLL
[19:19:56] [debug#4 002e8bd8 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\mysql.DLL
[19:19:56] [debug#5 002e6bd6 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\mysql.DLL
[19:19:56] [debug#6 004010b6 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\samp-server.exe
[19:19:56] [debug#7 73a4340a in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\crashdetect.DLL
[19:19:56] [debug#8 73a45aa6 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\crashdetect.DLL
[19:19:56] [debug#9 73a3d621 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\crashdetect.DLL
[19:19:56] [debug#10 73a4345a in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\plugins\crashdetect.DLL
[19:19:56] [debug#11 00481638 in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\samp-server.exe
[19:19:56] [debug#12 0048ea0a in ?? () from C:\Users\Koen\Desktop\\Sacrifice Roleplay\samp-server.exe 
If i try to update my mysql plugin its giving me many errors, using the mysql SA-MP MySQL plugin R5
Copyright © 2008-2010

Anyone help me out please.

Regards.


Re: Cant connect to the server. - SoFahim - 06.07.2015

Main problem on this line
PHP код:
[19:19:56] [debug#0 native mysql_real_escape_string () [002e6af0] from mysql.DLL
[19:19:56] [debug#1 001fbd68 in public Login () from Sacrifice.amx 
to fix it. Check login system. If you updated your Plugin then recompile with new includes. and also if there any error or warning in script or in MySql database?


Re: Cant connect to the server. - IndependentGaming - 06.07.2015

Quote:
Originally Posted by SoFahim
Посмотреть сообщение
Main problem on this line
PHP код:
[19:19:56] [debug#0 native mysql_real_escape_string () [002e6af0] from mysql.DLL
[19:19:56] [debug#1 001fbd68 in public Login () from Sacrifice.amx 
to fix it. Check login system. If you updated your Plugin then recompile with new includes. and also if there any error or warning in script or in MySql database?
No there is no warnings or errors in my gamemode or in my mysql DB


Re: Cant connect to the server. - Bomber07 - 06.07.2015

the plugins not working with gamemode


Re: Cant connect to the server. - IndependentGaming - 06.07.2015

Quote:
Originally Posted by Bomber07
Посмотреть сообщение
the plugins not working with gamemode
And how can i fix it ? trying to use R7 now but giving me the following errors:

PHP код:
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44036) : error 025: function heading differs from prototype
C
:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44041) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44049) : error 017undefined symbol "mysql_fetch_int"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44247) : error 017undefined symbol "mysql_fetch_int"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(52296) : error 017undefined symbol "mysql_query"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(52710) : error 017undefined symbol "mysql_query"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(58135) : error 017undefined symbol "mysql_query"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
6 Errors




Re: Cant connect to the server. - SoFahim - 06.07.2015

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
And how can i fix it ? trying to use R7 now but giving me the following errors:

PHP код:
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44036) : error 025: function heading differs from prototype
C
:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44041) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44049) : error 017undefined symbol "mysql_fetch_int"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(44247) : error 017undefined symbol "mysql_fetch_int"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(52296) : error 017undefined symbol "mysql_query"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(52710) : error 017undefined symbol "mysql_query"
C:\Users\Koen\Desktop\Sacrifice Roleplay\gamemodes\Sacrifice.pwn(58135) : error 017undefined symbol "mysql_query"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
6 Errors

Read This . It can fix your problem


Re: Cant connect to the server. - IndependentGaming - 06.07.2015

Any other solutions ?


Re: Cant connect to the server. - JaydenJason - 06.07.2015

Код:
[19:19:56] [debug] #0 75434951 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll 
[19:19:56] [debug] #1 75434996 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR90.dll
looks that you're missing a msvcr90.dll to me.


Re: Cant connect to the server. - JohnLedingham - 30.08.2015

I guess you are hosting this on Linux? Use the static version of mysql and it shall work..