Posts: 236
Threads: 28
Joined: Jul 2010
Reputation:
0
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.
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Can you post your server log? Also post your mysql log if you have one.
HINT: Pastebin :P
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Is there a server crash file in there?
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Sorry, but i can't help you...
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
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.
Posts: 236
Threads: 28
Joined: Jul 2010
Reputation:
0
Yes but.. The same GameMod works on my Windows..
But on the host[Linux] it doesn't work..
Posts: 236
Threads: 28
Joined: Jul 2010
Reputation:
0
Edit:
I found the problem, is from OnPlayerLogin.
MySQLAddLoginRecord(PlayerInfo[playerid][pSQLID], ipaddress); -> this make to crash server / another MySQL action.