SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 23/08/2017, 02:59 PM   #21
Expressovec
Little Clucker
 
Join Date: May 2015
Location: 127.0.0.1
Posts: 14
Reputation: 0
Default Re: SA-MP Server Randomly TimeOuting Player

I dont have any filterscript or plugins

I only test blank gamemode, or Grand Larceny or anymod from This forum.

OS: Ubuntu 16.04 LTS
I thinks thats problem with OS.

Provider is: fakaheda.eu

I startup with Bright Game Panel
So i tested manually with screen and ./samp03svr &
__________________
Here is nothing important !
Expressovec is offline   Reply With Quote
Old 24/08/2017, 03:50 PM   #22
mrfong
Little Clucker
 
Join Date: Aug 2017
Posts: 44
Reputation: 0
Default Re: SA-MP Server Randomly TimeOuting Player

Quote:
Originally Posted by azzerking View Post
Okay,

List all the filterscripts you have included.
List all the plugins you have included.

Also tell me the OS and version as well as what your server provider is.

Give me a step by step instruction into how you have set up your server and how you run it.

Also how are you running the server?? like commands based (nohup ./samp03svr & or screen)?
Quote:
Originally Posted by Expressovec View Post
I dont have any filterscript or plugins

I only test blank gamemode, or Grand Larceny or anymod from This forum.

OS: Ubuntu 16.04 LTS
I thinks thats problem with OS.

Provider is: fakaheda.eu

I startup with Bright Game Panel
So i tested manually with screen and ./samp03svr &
samp problem, tested with all ganenidesm same OS , Different hosting, works fine on the normal gamemode but it keeps timing out all of the players for no reason
mrfong is offline   Reply With Quote
Old 24/08/2017, 04:35 PM   #23
Sew_Sumi
High-roller
 
Join Date: Jun 2008
Posts: 4,959
Reputation: 369
Default Re: SA-MP Server Randomly TimeOuting Player

If it works fine with some gamemodes, but not your own, gamemode is the issue.

Changing the ackslimit isn't the best solution, as I've had people come looking for help with other scripting that they've done, and quite often they are using callbacks incorrectly, and they've caused things like this.

If you've got heavy use of particular callbacks, it will flood the client and will lead to problems.
Sew_Sumi is offline   Reply With Quote
Old 26/08/2017, 07:14 AM   #24
azzerking
Gangsta
 
azzerking's Avatar
 
Join Date: Dec 2009
Location: England, Leicestershire
Posts: 496
Reputation: 70
Default

Quote:
Originally Posted by Sew_Sumi View Post
If it works fine with some gamemodes, but not your own, gamemode is the issue.

Changing the ackslimit isn't the best solution, as I've had people come looking for help with other scripting that they've done, and quite often they are using callbacks incorrectly, and they've caused things like this.

If you've got heavy use of particular callbacks, it will flood the client and will lead to problems.
In all fairness until he said he was using empty gamemodes / pre-made gamemodes, I would have said something like his script is hanging, maybe a long loops that taking too long, or possible your calling a function in a never ending loop?

All of the above can be a reason for timing out players.

Quote:
Originally Posted by Expressovec View Post
We tried with 3 other peploe, this isn't a problem.
We now ran other game server as a Minecarft and that's good.
Hold on, you are running minecraft servers on the same machine?? In that case it's probably minecraft that casuing the issue. It's most likely hogging the bandwidth / machine resources.

If minecraft spikes at all in resources and there is not enough left or it is now limiting the processing of sa-mp, then sa-mp will slow down and will be unable to deliver information to the client in time. So the client will timeout since the client will send a alive packet to the server, and the server will not be able to send an alive packet back to the client within a set time, and the client will time out.
__________________


Web Skill: PHP, HTML, CSS, JS, RUBY, NODE.js.

Programing Skill: Objective C, C#, C++, D#, Python, Java, MySQL.

OS Skill: Windows (95 - 10), Ubuntu/Debian, Raspbian, Kali, Arch, Unix, Mac (E-MACs - Current)

Scripting Skill: LUA, Pawn, C38*

Last edited by dugi; 26/08/2017 at 06:14 PM.
azzerking is offline   Reply With Quote
Old 26/08/2017, 05:52 PM   #25
Sew_Sumi
High-roller
 
Join Date: Jun 2008
Posts: 4,959
Reputation: 369
Default Re: SA-MP Server Randomly TimeOuting Player

Quote:
Originally Posted by azzerking View Post
Hold on, you are running minecraft servers on the same machine?? In that case it's probably minecraft that casuing the issue. It's most likely hogging the bandwidth / machine resources.

If minecraft spikes at all in resources and there is not enough left or it is now limiting the processing of sa-mp, then sa-mp will slow down and will be unable to deliver information to the client in time. So the client will timeout since the client will send a alive packet to the server, and the server will not be able to send an alive packet back to the client within a set time, and the client will time out.
He runs samp, it times out... He then puts minecraft on it, and it works... Doesn't mean he's running minecraft on it at the same time.
Sew_Sumi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Play time randomly goes up when player goes afk AnthonyTimmers Scripting Help 8 17/02/2014 11:17 AM
Need some help - Randomly select a Player Gforcez1337 Help Archive 5 11/07/2010 04:29 PM
Player exiting vehicle, happens randomly Jakku Help Archive 7 13/05/2010 05:20 PM
Player randomly Stands UP ? XxJoexX Help Archive 6 13/03/2010 12:01 PM
Player Randomly Stands Up? cozza123456 Help Archive 3 08/03/2010 10:38 PM


All times are GMT. The time now is 12:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.