Little Big Problem.
#1

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.
Reply
#2

Can you post your server log? Also post your mysql log if you have one.

HINT: Pastebin :P
Reply
#3

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..
Reply
#4

Is there a server crash file in there?
Reply
#5

I don't know ..
Reply
#6

Sorry, but i can't help you...
Reply
#7

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.
Reply
#8

Yes but.. The same GameMod works on my Windows..
But on the host[Linux] it doesn't work..
Reply
#9

Edit:

I found the problem, is from OnPlayerLogin.
MySQLAddLoginRecord(PlayerInfo[playerid][pSQLID], ipaddress); -> this make to crash server / another MySQL action.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)