Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Download lag: How to not freeze a server

EvilMike

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Jul 14, 2002, 03:38 PM
EvilMike is offline
Reply With Quote
Download lag: How to not freeze a server

Have you ever been hosting a server and suddenly have your computer "lock up"? This is a result of someone downloading the tileset the level uses. The only way to prevent this as a server is to kick the person downloading, but unfortunately they usually just try again. This problem happens to everyone who hosts custom tilesets, and can be very annoying to you and your clients.

I'm making this post so you will know how to prevent YOU from freezing people's servers. When you see that you are downloading a file, keep a close eye on the download bar. If it is moving throughout the whole download, it is ok and will be causing minimal lag. Problems arise when the bar stops moving. If the bar suddenly stops, you are creating download lag. For as long as it is not moving, the server's computer will be frozen. Usually, the bar will continue moving after a second or so, and it won't be more than a nusance.

The serious problem is when the bar comes to a full stop and does not move any more. If it stays like this for an extended period of time (more than 5-10 seconds), quickly press escape to cancel the download. Any longer and everyone in the server will time out, while the server remains frozen until you cancel your download or they ctrl+alt+delete out of jj2.

To paraphrase this, just cancel your download if it isn't working. Give it another try if you want, but if the same problem arises, just give up. Don't make the server have to ban you just for the sake of being able to keep the server running.


I don't really know what technically causes this infamous download lag, in case you want to know. Someone else has to say that. I only know how to cause it.
__________________
Download my JJ2 Episodes! (5 episodes)

Visit My JJ2 Blog (HOLD YOUR HORSES I'M WORKING ON IT SHEESH)
Trafton AT

JCF Member

Joined: Mar 2002

Posts: 1,712

Trafton AT is doing well so far

Jul 14, 2002, 05:51 PM
Trafton AT is offline
Reply With Quote
Hmm...Interesting. I never knew that was what caused it. Thanks for the article, Mike!
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jul 14, 2002, 10:58 PM
Cpp is offline
Reply With Quote
I just can't understand why people don't download tilesets from J2O. If I host a server using my "Top secret 3" tileset (which is an old one) these days I still find some people who actually don't have it. So it's just sick to wait in the frozen server to unfreeze losing all players that were in it.

Hmm... *thinks*
It would not be a waste of time if someone does a bit more research on how to prevent this.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Newspaz

JCF Member

Joined: Jan 2001

Posts: 2,678

Newspaz has disabled reputation

Jul 15, 2002, 03:06 AM
Newspaz is offline
Reply With Quote
You can't expect everyone downloading your stuff Overlord.
BlazinDragon

JCF Member

Joined: Aug 2001

Posts: 867

BlazinDragon is doing well so far

Jul 15, 2002, 04:48 AM
BlazinDragon is offline
Reply With Quote
yeah, dont be so greedy
__________________
Blazin's Battle Pack
#1= 100%
#2= 100%
#3= 100%
#4= 100%
#5= 25%

~BlazinDragon
~Dragoon
~Firebolt
~Iced Killer
~KILLERRABBIT
Warlord!

JCF Member

Joined: May 2001

Posts: 57

Warlord! is doing well so far

Jul 15, 2002, 05:55 AM
Warlord! is offline
Reply With Quote
Exclamation

This thing doesn't only happen with tilesets but if someone is downloading the level they already have the tileset of(for example a custom level using an out of the box tileset). I've witnessed this numerous times.
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jul 15, 2002, 11:29 AM
Cpp is offline
Reply With Quote
Quote:
Originally posted by Newspaz
You can't expect everyone downloading your stuff Overlord.
Heh Actually that was not the point
I and some other people hosted levels with that tileset a million times and people are still downoading it instead of moving it from cache folder to jj2 folder.

And Killerrabbit! I'm not greedy. I'm a dictator
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
EvilMike

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Jul 15, 2002, 03:23 PM
EvilMike is offline
Reply With Quote
The best way to prevent this is not to get everyone to download stuff off j2o, but rather to keep an eye out for the download bar freezing.
__________________
Download my JJ2 Episodes! (5 episodes)

Visit My JJ2 Blog (HOLD YOUR HORSES I'M WORKING ON IT SHEESH)
White Rabbit

JCF Member

Joined: Aug 2001

Posts: 4,478

White Rabbit is doing well so far

Jul 16, 2002, 04:03 AM
White Rabbit is offline
Reply With Quote
Yep, you are absolutely right, Evilmike. I have this problem EVERY time I host a lvl cause I almost always host custom lvls. Once, I even discovered ppl who hasn't even got the Heaven tileset!

Although Evilmike's idea is good, an even better way to solve this is to simple download every single thing on J2o. J/k. At least download anything you think you'll need...
Reply

Thread Tools

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 On

Forum Jump

All times are GMT -8. The time now is 01:41 AM.