SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 01/03/2011, 08:23 PM   #1
xir
Gangsta
 
Join Date: Aug 2010
Posts: 746
Reputation: 3
Default server lags

hi.. i tried to home host the server just for now, but it lags like hell :S is it because i home host ?
xir is offline   Reply With Quote
Old 01/03/2011, 08:27 PM   #2
alpha500delta
High-roller
 
alpha500delta's Avatar
 
Join Date: Feb 2010
Posts: 1,152
Reputation: 91
Default Re: server lags

If your specs are bad, or your internet is slow, then yes, but it could also be your script (check for loopholes and stuff)
__________________
Skype: Alpha500delta | Steam: Alpha500delta
alpha500delta is offline   Reply With Quote
Old 01/03/2011, 08:29 PM   #3
xir
Gangsta
 
Join Date: Aug 2010
Posts: 746
Reputation: 3
Default Re: server lags

internet is 20mb, good enough?

i also saw onplayerupdate causes lags but i dont got onplayerupdate .. :S
xir is offline   Reply With Quote
Old 02/03/2011, 11:52 AM   #4
xir
Gangsta
 
Join Date: Aug 2010
Posts: 746
Reputation: 3
Default Re: server lags

how can loops make it slower?
xir is offline   Reply With Quote
Old 02/03/2011, 11:57 AM   #5
Cameltoe
High-roller
 
Cameltoe's Avatar
 
Join Date: Apr 2010
Location: Norway
Posts: 1,741
Reputation: 24
Default Re: server lags

Quote:
Originally Posted by xir View Post
how can loops make it slower?
sa-mp server is one-threaded, this means that every single action get's placed in an que.
__________________

Quote:
Originally Posted by Cameltoe View Post
Share the progress so others who are looking for the same also find's their answer.
Quote:
Originally Posted by teomakedonija View Post
ahaha i don't want
Rep++;
Cameltoe is offline   Reply With Quote
Old 02/03/2011, 12:02 PM   #6
wheelman_WM
Huge Clucker
 
wheelman_WM's Avatar
 
Join Date: Jan 2011
Location: Sun
Posts: 397
Reputation: 0
Default Re: server lags

Home hosting always lags to reduce lag dont use filterscripts.
wheelman_WM is offline   Reply With Quote
Old 02/03/2011, 12:08 PM   #7
xir
Gangsta
 
Join Date: Aug 2010
Posts: 746
Reputation: 3
Default Re: server lags

no filterscripts :S
xir is offline   Reply With Quote
Old 02/03/2011, 12:38 PM   #8
BASITJALIL
Gangsta
 
Join Date: Mar 2010
Location: C:\WINDOWS\system32\BasitJalil.dll
Posts: 513
Reputation: 7
Default Re: server lags

Are you using any heavy gm and plugins?
BASITJALIL is offline   Reply With Quote
Old 02/03/2011, 01:15 PM   #9
BlackWolf120
Gangsta
 
BlackWolf120's Avatar
 
Join Date: Nov 2010
Location: Germany
Posts: 761
Reputation: 50
Default Re: server lags

also too many timers might cause the lag.
If theyre running at the same time or executing/repeating too big and heavy functions in a short time and for every single player.(e.g. saving data...)
Also there is to say that home hosting should be only a temporary solution, maybe for testin' stuff but if u want to run a server seriously u have to rent a server. Even more if u have a roleplay script with 50 players+.
__________________
BlackWolf120 is offline   Reply With Quote
Old 02/03/2011, 03:30 PM   #10
xir
Gangsta
 
Join Date: Aug 2010
Posts: 746
Reputation: 3
Default Re: server lags

Quote:
Originally Posted by BASITJALIL View Post
Are you using any heavy gm and plugins?
11k gm lines and sscanf plugin and a country dectector plugin
xir 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
Way to much server lags Jochemd Help Archive 31 27/10/2010 08:40 PM
Huge Server Lags BP13 Server Support 13 26/08/2010 03:15 AM
Server Lags Butilka Server Support 2 15/10/2009 06:25 PM
[SOLVED] lags the server SiJ Help Archive 2 09/08/2009 08:45 AM
LAN server lags? Tisca Server Support 7 10/01/2009 11:57 AM


All times are GMT. The time now is 06:03 AM.


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