strange bug..
#1

the server is not accepting connections....



i saw the log..

Код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[05:19:24] filterscripts = ""  (string)
[28/10/2016 05:19:24] 
[28/10/2016 05:19:24] Server Plugins
[28/10/2016 05:19:24] --------------
[28/10/2016 05:19:24]  Loading plugin: crashdetect.so
[28/10/2016 05:19:24]   CrashDetect v4.15.1 is OK.
[28/10/2016 05:19:24]   Loaded.
[28/10/2016 05:19:24]  Loading plugin: mysql_static.so
[28/10/2016 05:19:24]  >> plugin.mysql: R39-6 successfully loaded.
[28/10/2016 05:19:24]   Loaded.
[28/10/2016 05:19:24]  Loading plugin: streamer.so
[28/10/2016 05:19:24] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[28/10/2016 05:19:24]   Loaded.
[28/10/2016 05:19:24]  Loading plugin: sscanf.so
[28/10/2016 05:19:24] 

[28/10/2016 05:19:24]  ===============================

[28/10/2016 05:19:24]       sscanf plugin loaded.     

[28/10/2016 05:19:24]          Version:  2.8.2        

[28/10/2016 05:19:24]    © 2012 Alex "******" Cole  

[28/10/2016 05:19:24]  ===============================

[28/10/2016 05:19:24]   Loaded.
[28/10/2016 05:19:24]  Loading plugin: fixes2.so
[28/10/2016 05:19:24] 

[28/10/2016 05:19:24]  ===============================

[28/10/2016 05:19:24]        fixes plugin loaded.     

[28/10/2016 05:19:24]    © 2012 Alex "******" Cole

[28/10/2016 05:19:24]  ===============================

[28/10/2016 05:19:24]   Loaded.
[28/10/2016 05:19:24]  Loaded 5 plugins.

[28/10/2016 05:19:24] 
[28/10/2016 05:19:24] Filterscripts
[28/10/2016 05:19:24] ---------------
[28/10/2016 05:19:24]   Loaded 0 filterscripts.

[28/10/2016 05:19:24]  
[28/10/2016 05:19:24]  
[28/10/2016 05:19:24]  
[28/10/2016 05:19:24]  ======================================= 
[28/10/2016 05:19:24]  |                                     | 
[28/10/2016 05:19:24]  |        YSI version 3.09.0684        | 
[28/10/2016 05:19:24]  |        By Alex "******" Cole        | 
[28/10/2016 05:19:24]  |                                     | 
[28/10/2016 05:19:24]  ======================================= 
[28/10/2016 05:19:24]  
[28/10/2016 05:19:24]  
[28/10/2016 05:19:25]  
[28/10/2016 05:19:25] ----------------------------------------------------- 
[28/10/2016 05:19:25] [MYSQL] Connection with the database: SUCCESS!
[28/10/2016 05:19:25] ----------------------------------------------------- 
[28/10/2016 05:19:25]   
[28/10/2016 05:19:25] BFScript is loaded. By Slawi, Mr.Moon, Kiets & DetoNater.

[28/10/2016 05:19:25]   
[28/10/2016 05:19:25] Number of vehicle models: 56
[28/10/2016 06:06:33] [connection] 89.164.121.40:56830 requests connection cookie.
[28/10/2016 07:02:25] [connection] 117.246.76.133:42396 requests connection cookie.
[28/10/2016 07:02:26] [connection] 117.246.76.133:42396 requests connection cookie.
[28/10/2016 07:02:27] [connection] 117.246.76.133:42396 requests connection cookie.
[28/10/2016 07:02:28] [connection] 117.246.76.133:42396 requests connection cookie.
[28/10/2016 07:02:59] Kicking 117.246.76.133 because they didn't logon to the game.
any problem in server.cfg issues??
Reply
#2

check in your folder samp.ban, maybe your ip is banned.
Reply
#3

its fine i dont have any records in samp.ban
Reply
#4

Quote:
Originally Posted by Hackzzzz
Посмотреть сообщение
check in your folder samp.ban, maybe your ip is banned.
That would show the server as offline (IP ban), or "You were banned from this server."

This usually happens to me when the server crashes, the client didnt time-out yet and I restart the server too soon. Once the client tries to connect again, it spams "x.x.x.x requests connection cookie" and then it kicks me like shown in your log.

Something probably went wrong when connecting to the server. Does it only happen to you or to other people too?
Also, I assume this is a public server, or you are at least not connecting to localhost?
Reply
#5

Quote:
Originally Posted by NaS
Посмотреть сообщение
That would show the server as offline (IP ban), or "You were banned from this server."

This usually happens to me when the server crashes, the client didnt time-out yet and I restart the server too soon. Once the client tries to connect again, it spams "x.x.x.x requests connection cookie" and then it kicks me like shown in your log.

Something probably went wrong when connecting to the server. Does it only happen to you or to other people too?
Also, I assume this is a public server, or you are at least not connecting to localhost?
Exactly NaS it's the same problem i've got.... it happens to other people as well and its a server hosted in a premium hosting....
Reply
#6

Quote:
Originally Posted by DetoNater
Посмотреть сообщение
Exactly NaS it's the same problem i've got.... it happens to other people as well and its a server hosted in a premium hosting....
Hmm I don't think this is related to your server settings, but can you show us your server.cfg?

This message usually is shown if the client is too slow to connect or has a high amount of packet loss. But since it's not only happening to you I assume it's not the client's fault.

It could be your script hanging in an infinite loop or at least it's busy way too long at once.
Test this with a 1000ms timer printing a message - if it's not appearing or too unregular, the server is probably hanging.

If your script runs fine, it's probably your host. Test out the above, maybe also with default settings and a blank GM. Just to make sure it's not your script.
Reply
#7

Try turning off the cookies in the server.cfg by placing conncookies 0 into the file.
Reply
#8

Код:
echo Executing Server Config...
port 27115
rcon_password changeme
lanmode 1
maxplayers 50
announce 1
query 1
hostname [0.3.7]   .:: Battlefield of Nations ::.  TDM
filterscripts 
plugins crashdetect.so streamer.so mysql_static.so sscanf.so fixes2.so
gamemode0 bfsamp
mapname San Andreas
weburl www.bfsamp.ga
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300
stream_rate 1000
logtimeformat [%d/%m/%Y %H:%M:%S]
language EN / DE / ES
lagcompmode 1
messageslimit 5000
messageholelimit 30000
ackslimit 3000
playertimeout 300
definetly its a problem in server.cfg can you fix it, mine is above....
Reply
#9

Quote:
Originally Posted by DetoNater
Посмотреть сообщение
Код:
echo Executing Server Config...
port 27115
rcon_password
lanmode 1
maxplayers 50
announce 1
query 1
hostname [0.3.7]   .:: Battlefield of Nations ::.  TDM
filterscripts 
plugins crashdetect.so streamer.so mysql_static.so sscanf.so fixes2.so
gamemode0 bfsamp
mapname San Andreas
weburl www.bfsamp.ga
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300
stream_rate 1000
logtimeformat [%d/%m/%Y %H:%M:%S]
language EN / DE / ES
lagcompmode 1
messageslimit 5000
messageholelimit 30000
ackslimit 3000
playertimeout 300
definetly its a problem in server.cfg can you fix it, mine is above....
First off change your RCON password immediately, if the above is actually from your server. Next time remove the rcon_password line from the reply!

messageholelimit seems a bit high, default is 3000. But shouldn't be the cause.

playertimeout should be higher. 300ms is a common loading time for the client, if it doesn't respond for the time given, he will be kicked. 10000 is the default here, so go by that to test it out.

Also you can remove lanmode. It's not used anymore.
Reply
#10

done im fixed... please edit and change the rcon password in your reply..... i've changed my rcon password.... they made an attack already....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)