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

New bug found?

Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Sep 4, 2003, 10:15 PM
Monolith is offline
Reply With Quote
New bug found?

Ooh wow, a bug. This is hardly anything exciting, but it's something I think I just found. My theory is that JJ2 (any version) will fail to start on a machine that has been running for more than 7 weeks. This seems somewhat possible since the largest value an unsigned int (32 bits) can store is 4294967295. This number interpreted as milliseconds would translate into about 7.101467 weeks. The motivation behind this theory of mine is because Jazz2 crashes with an Integer overflow exception on startup, and my computer has been up for about 7 weeks, 3 days, and 14 hours. Or it's possible that this has nothing to do with Jazz2 crashing, but I don't want to restart my computer now.

Thank you, that is all.
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
[FE]Nimrod

JCF Member

Joined: Aug 2003

Posts: 12

[FE]Nimrod has disabled reputation

Sep 5, 2003, 08:58 AM
[FE]Nimrod is offline
Reply With Quote
To be honest you may be right, on my dedicated server I have jj2 installed (to host servers) and it had a uptime of about around 7 weeks i think, maybe 8, but jj2 wouldnt launch anymore, but a simple restart fixed it.

It could be the same thing as what your saying, but it might not be, could just be windows getting instable for being on for so long.
__________________
[FE]Nimrod

[Final Existence]
http://nimrod-online.com
JJ2, UT and UT2003 Clan

My Current Case Mod:
http://www.nimrodnet.co.uk/nimrodpc/
Shen

JCF Member

Joined: Nov 2002

Posts: 92

Shen has disabled reputation

Sep 5, 2003, 11:07 AM
Shen is offline
Reply With Quote
You've worked this out, but why would Jazz2 care how long your computer has been turned on?

Maybe I'm wrong. again.
__________________
I have no signature. Take your pills.
Sciz CT

JCF Member

Joined: Feb 2003

Posts: 198

Sciz CT has disabled reputation

Sep 5, 2003, 01:13 PM
Sciz CT is offline
Reply With Quote
Moreover, why would you have a computer on for seven weeks straight?
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Sep 5, 2003, 09:13 PM
Monolith is offline
Reply With Quote
I'm not sure what Jazz2 uses for timing, but it must use something, and the common thing games use for timing is the number of milliseconds since the computer was started. Now, I've tried other games and programs of mine, and they all seem to work fine, so I'm not sure what they did with Jazz2 to make it crash.

The reason I've left my computer on for this long is because I run a few internet services. Besides, it's cool. :P
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
Michael

JCF Member

Joined: Apr 2001

Posts: 3,323

Michael is doing well so far

Sep 5, 2003, 10:57 PM
Michael is offline
Reply With Quote
It is not cool.... I just don't want to flame you so: it is "ydren"
Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Sep 6, 2003, 06:34 AM
Radium is offline
Reply With Quote
Quote:
Originally Posted by Nitro
I just don't want to flame you so: it is "ydren"
You filterbypassed a compliment.
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Strato

JCF Member

Joined: Jan 2002

Posts: 2,588

Strato is doing well so far

Sep 6, 2003, 08:01 AM
Strato is offline
Reply With Quote
You computer must have a 1337 cooling system then, if you plan on running for 7 weeks.
Lark

JCF Member

Joined: Jan 2002

Posts: 1,564

Lark has disabled reputation

Sep 7, 2003, 05:48 PM
Lark is offline
Reply With Quote
Why the moose would you want your computer on so long, anyway? Usually, after a while, computers start running slower if they've been on longer, and they overheat.
__________________
=D
Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Sep 7, 2003, 05:53 PM
Radium is offline
Reply With Quote
Quote:
Originally Posted by LAb RaT kiD
Why the moose would you want your computer on so long, anyway? Usually, after a while, computers start running slower if they've been on longer, and they overheat.
Are you kidding? Lith is the legendary Idle Server! This is suggesting a return of Battle Server!
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Trafton

JCF Member

Joined: Oct 2002

Posts: 3,589

Trafton is an asset to this forum

Sep 7, 2003, 06:26 PM
Trafton is offline
Reply With Quote
Quote:
Originally Posted by Radium
Are you kidding? Lith is the legendary Idle Server! This is suggesting a return of Battle Server!
No. This is suggesting a return of he's hosting Internet services.

~ Traft
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 09:11 PM.