Little Big Problem. - 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: Little Big Problem. (
/showthread.php?tid=249579)
Little Big Problem. -
GaB1TzZzu - 19.04.2011
The problem is like this: i started my server with GameCP, and it works fine. But the problem comes now, when i want to connect on the server, it just stopped suddenly. I think is from MySQL plugin[Adrenaline], but i`m not sure.
Some suggestions? If no-one connect on the server, it works FINE.
Re: Little Big Problem. -
linuxthefish - 19.04.2011
Can you post your server log? Also post your mysql log if you have one.
HINT: Pastebin :P
Re: Little Big Problem. -
GaB1TzZzu - 19.04.2011
pawn Код:
Connection to MySQL database: Successfull !
[18:04:43] MYSQL: Conexiunea cu baza de date a fost stabilita.
[18:04:43] MYSQL: Masinile au fost incarcate pe server.
[18:04:43] Number of vehicle models: 1
[18:04:52] Incoming connection: 86.121.107.193:59507
[18:04:52] [join] Gabriel_Paul has joined the server (0:86.121.107.193)
[18:05:05] [part] Gabriel_Paul has left the server (0:1)
[18:05:16] Incoming connection: 92.81.224.90:3975
[18:05:16] [join] Mike_Navaro has joined the server (0:92.81.224.90)
This are last lines.
Now i`m looking for mySQL logs, wait..
Re: Little Big Problem. -
linuxthefish - 19.04.2011
Is there a server crash file in there?
Re: Little Big Problem. -
GaB1TzZzu - 19.04.2011
I don't know ..
Re: Little Big Problem. -
linuxthefish - 19.04.2011
Sorry, but i can't help you...
Re: Little Big Problem. -
leong124 - 19.04.2011
Try to add some print functions on your OnPlayerConnect callback and see which part of it crashes the server.
If you reads a file there using fopen, then it can crash the server if the file doesn't exists.
Re: Little Big Problem. -
GaB1TzZzu - 19.04.2011
Yes but.. The same GameMod works on my Windows..
But on the host[Linux] it doesn't work..
Re: Little Big Problem. -
GaB1TzZzu - 19.04.2011
Edit:
I found the problem, is from OnPlayerLogin.
MySQLAddLoginRecord(PlayerInfo[playerid][pSQLID], ipaddress); -> this make to crash server / another MySQL action.