Posts: 270
Threads: 7
Joined: Apr 2015
28.01.2016, 15:54
(
Last edited by amirm3hdi; 03/02/2016 at 05:23 AM.
)
I ran a Linux 0.3.7-R2 Server and everythings fine but,
Every 10-15 minutes everyone gets disconnected...
and message "SERVER IS RESTARTING" and sometimes "YOU'RE BANNED FROM THIS SERVER" comes up...
What could cause such thing?
Posts: 727
Threads: 36
Joined: Jan 2010
Reputation:
0
Bad connection to the server and when it's restarting showing you're banned is a common client bug, just restart the client and your unbanned if not its the script.
Posts: 1,208
Threads: 52
Joined: Jan 2012
Reputation:
0
I'm pretty sure its due to the script. Cause that might be the reason for the specific time restart.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Spydah does have a point though. If a connection is flaky and losing packets it will drop a player, and they'll have a ban message turn up if they get dirty data.
Does the server actually restart?
Can you reconnect if you close and reopen SAMP?
and what's the server.log saying about this?
Posts: 270
Threads: 7
Joined: Apr 2015
Quote:
Originally Posted by Sew_Sumi
Spydah does have a point though. If a connection is flaky and losing packets it will drop a player, and they'll have a ban message turn up if they get dirty data.
Does the server actually restart?
Can you reconnect if you close and reopen SAMP?
and what's the server.log saying about this?
|
There were some warnings in server log,
Dropping packet client or something like that...
If players reconnects, they can play again...
Also, I don't think it's the script, cuz server works perfectly in localhost.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Should gradually increase the players. See that it isn't a problem once X players get on.
Posts: 270
Threads: 7
Joined: Apr 2015
Ok, I've made changes to server, I've tried 2 players and it works perfectly fine,
But, one of my friends who wants to test for me can't connect to my server...
Connected once then this is server log:
Code:
[20:00:39] [connection] X.XX.251.242:37731 requests connection cookie.
[20:00:40] [connection] incoming connection: X.XX.251.242:37731 id: 0
[20:00:41] [join] AmerZompire has joined the server (0:X.XX.251.242)
[20:00:51] [death] AmerZompire died 255
[20:01:56] [part] AmerZompire has left the server (0:0)
[20:02:06] [connection] incoming connection: X.XX.251.242:40483 id: 0
[20:02:06] [connection] incoming connection: X.XX.251.242:44114 id: 1
[20:02:06] [warning] dropping a split packet from client
After that player couldn't join at all, even after server restart, retrieving info problem...
But I could join easily and serverchecker could find my server too...
Is it my server or him?
Why am I getting these warnings?
Posts: 6,242
Threads: 8
Joined: Jun 2008
Did it (This whole threads issues) start after you did a major change? and can you possibly go back a few versions (In your script not the server) to verify it being stable?
What have you done for the networking side for your server too, the error could be related to a firewall/router config issue.