Server Lagggg
Moderator: Core Staff
Server Lagggg
When someone joins or leaves my server the server gets a lagg shot.
What kind of things in a script could cause lagg?
Very huge loops for example But are there more things that can give lag shots?
What kind of things in a script could cause lagg?
Very huge loops for example But are there more things that can give lag shots?
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Server Lagggg
The connectionspeed of the player who joins maybe ... but that doesn't cause a spike rather then continues lagg.
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Server Lagggg
Well you might have overlooked an infinite loop without a wait so the server might mave to kill threads. Check console for infinite loop - killing thread errors.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Server Lagggg
Does it happen when running the mod locally?
/developer 1?
/developer 1?
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Server Lagggg
That should give that lagg to only that player instead of the whole server?<LT>YosemiteSam[NL] wrote:The connectionspeed of the player who joins maybe ... but that doesn't cause a spike rather then continues lagg.
Can you see it in the console when you have joined the server and you have your console fully opened? Or do I have to enable log files and then check them?Rezil wrote:Well you might have overlooked an infinite loop without a wait so the server might mave to kill threads. Check console for infinite loop - killing thread errors.
Drofder2004 wrote:Does it happen when running the mod locally?
/developer 1?
When I run the mod locally with developer 1 the script gives an error. Without developer 1 in the command line the server just starts and doesn't shows me an error. And I can just join the server and play in it.
The error:
CoD 4 Console wrote:ERROR: script runtime error
(see console for details)
pair '5050' and 'undefined' has unmatching types 'int' and 'undefined'
********************
----- Server Shutdown -----
Sending heartbeat to cod4master.activision.com
==== ShutdownGame (1) ====
---------------------------
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Server Lagggg
If the mod is error'ing when in develoepr, the mod needs fixed.
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Server Lagggg
I was sill working on an additions for promod. So it is not my own mod, but the additions are.Drofder2004 wrote:If the mod is error'ing when in develoepr, the mod needs fixed.
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
I don't know if I am allowed to post the server ip here?
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Server Lagggg
Post the code that is erroring and then we can go from there.Moustache wrote:I was sill working on an additions for promod. So it is not my own mod, but the additions are.Drofder2004 wrote:If the mod is error'ing when in develoepr, the mod needs fixed.
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
I don't know if I am allowed to post the server ip here?
PM it if you don't want it public.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Server Lagggg
Me too me too!
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
Who is online
Users browsing this forum: No registered users and 2 guests