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

JJ2 game bug fixing

Reply
 
Thread Tools
Michael

JCF Member

Joined: Apr 2001

Posts: 3,323

Michael is doing well so far

Jan 16, 2006, 04:52 AM
Michael is offline
Reply With Quote
Who cares it's just a name for a patch. Call it "the bugfixez"
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 16, 2006, 01:57 PM
UNKNOWNFILE is offline
Reply With Quote
Just a queston: has anyone here been able to hack JJ2's memory so that it's more that normal without crashing?
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Bobby aka Dizzy

(-)(-)(-)(-)(-)istrator

Joined: Jan 2001

Posts: 1,560

Bobby aka Dizzy is doing well so far

Jan 16, 2006, 05:47 PM
Bobby aka Dizzy is offline
Reply With Quote
What do you mean by "more that normal"?
Black Ninja

JCF Member

Joined: Mar 2001

Posts: 2,312

Black Ninja is an asset to this forumBlack Ninja is an asset to this forum

Jan 16, 2006, 06:41 PM
Black Ninja is offline
Reply With Quote
More than normal*
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 17, 2006, 04:36 AM
UNKNOWNFILE is offline
Reply With Quote
As in more than 9215 KB of reserved memory, possibly increased to 20000 KB.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 17, 2006, 01:12 PM
UNKNOWNFILE is offline
Reply With Quote
Browsing through the code, I managed to accidentally uncover the Shareware menu that displays when you exit the shareware version of the game and it shows you all the nice features you can get. Here's a program I made in TMK that will allow you to open that menu in your REGISTERED version:

moo
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
n00b

JCF Veteran

Joined: May 2004

Posts: 5,578

n00b is an asset to this forumn00b is an asset to this forum

Jan 17, 2006, 01:39 PM
n00b is offline
Reply With Quote
Nifty find UF.
That reminds me, despite the fact it's offtopic, has anyone found a way to rip the textured BG in the Shareware menu? I've always wanted to use it in a level.
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 17, 2006, 02:50 PM
Grytolle is offline
Reply With Quote
Awesome =D *laughing quietly out loud*
__________________
<center></center>
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 18, 2006, 07:33 AM
UNKNOWNFILE is offline
Reply With Quote
I'm heavily considering releasing the Jazz2 IDB file that is commented where I have found some stuff. Some other functions have been identified. It will be available to anyone who can give me the CRC-32 of Jazz2.exe version 1.23 to prevent stuff from being pirated.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Jan 18, 2006, 08:24 PM
Monolith is offline
Reply With Quote
What is an IDB file?
__________________
<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>
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 18, 2006, 08:40 PM
Grytolle is offline
Reply With Quote
IDA* maybe ;o
__________________
<center></center>
Bobby aka Dizzy

(-)(-)(-)(-)(-)istrator

Joined: Jan 2001

Posts: 1,560

Bobby aka Dizzy is doing well so far

Jan 18, 2006, 10:36 PM
Bobby aka Dizzy is offline
Reply With Quote
After a little work I believe that I have made it so the respawn bug is no longer an issue. And as soon as I fix the problem for toasters it'll be all set.

I did however have to do some code injection and I ended up overwriting a few error messages that I've never seen before. I do not know if this was necessary but I'd like to hear alternatives if people know them.

So what are the other major MP gameplay bugs that exist?

Please add on to this list, it's just a start:


  1. CTF Bug (Death on a base and you keep the flag) - does everyone consider this a bug or is it still considered a nuisance? I'd be in favor of removing it if possible but that's my opinion on this one.
  2. CTF Bug (names repeat) - I've heard that if you increase the levelsize by a few numbers that this more or less goes away? I've not tested this myself to confirm it however.
  3. Seeker Holes - it should be possible to fix this with some work.
  4. Red team does not have brackets in team chat
  5. Team chat doesn't work when teams are not default. (this could be difficult to fix depending - I have not looked into it)


    Bugs such as 3hk are too wide of a scope I believe and I would not want to attempt to tackle that.


    Alternate Question: How should a patch that only fixes a number of gameplay issues such as the ones listed above be released? What are your thoughts/opinions?
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 18, 2006, 11:18 PM
Grytolle is offline
Reply With Quote
Priority:
1. Death on Base
2. Brackets
3. Spammy CTF bug
4. Teamchat as not def
5. Seekholes

Oh, and it must be annoying that toaster has an entire own system för ammocount and stuff like that ;o

EDIT: Too long packets should be ignored... (stops certain crashing that I have troubles trying to filter atm)
__________________
<center></center>

Last edited by Grytolle; Jan 19, 2006 at 01:15 AM.
White Rabbit

JCF Member

Joined: Aug 2001

Posts: 4,478

White Rabbit is doing well so far

Jan 19, 2006, 04:20 AM
White Rabbit is offline
Reply With Quote
How about you tell us the bugs you've encountered, Bob? (I know you've already asked me if I ever had them ).

And I just think all the patches should be put into one JJ2.exe, rather than writing directly into people's current JJ2.exes because that's most hassle-free.
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jan 19, 2006, 01:55 PM
Cpp is offline
Reply With Quote
Quote:
Originally Posted by Bobby aka Dizzy
And as soon as I fix the problem for toasters it'll be all set.
1 toaster ammo on jj2 hud counts as 32 in memory

Quote:
Originally Posted by Grytolle
Too long packets should be ignored... (stops certain crashing that I have troubles trying to filter atm)
Define "too long packets".
UDP traffic usually gives no trouble. It's the TCP traffic that can do harm to jj2 eg causes servers to freeze. If you think long packets should be ignored then I guess nobody would be able to download since the long name crash packets are still shorter than download packets. Both are TCP tho.
__________________
<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>

Last edited by Cpp; Jan 19, 2006 at 02:34 PM.
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 19, 2006, 01:59 PM
UNKNOWNFILE is offline
Reply With Quote
Quote:
Originally Posted by Monolith
What is an IDB file?
An IDB is an IDA Pro DataBase file, that consists of the file's disassembled code and functions. I've pointed out a few in my file.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 19, 2006, 04:41 PM
Alberto is offline
Reply With Quote
Hey, first of all congrats for your project, I've downloaded it and I've seen you patched some language files, I read in the log that it was a missing string, anyway, I'd be glad to correct all the spelling mistakes in Spanish language file, anything I can do?
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 19, 2006, 05:03 PM
UNKNOWNFILE is offline
Reply With Quote
Sure, go ahead.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Jan 19, 2006, 08:44 PM
Monolith is offline
Reply With Quote
Quote:
Originally Posted by UNKNOWNFILE
An IDB is an IDA Pro DataBase file, that consists of the file's disassembled code and functions. I've pointed out a few in my file.
IDA Pro... a $450 program to fix a few bugs in JJ2?
__________________
<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>
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 19, 2006, 10:12 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Overlord
1 toaster ammo on jj2 hud counts as 32 in memory


Define "too long packets".
UDP traffic usually gives no trouble. It's the TCP traffic that can do harm to jj2 eg causes servers to freeze. If you think long packets should be ignored then I guess nobody would be able to download since the long name crash packets are still shorter than download packets. Both are TCP tho.
Oh, (-). Back to that filter instead then. Isn't there a better tool than WPE around?=/

And uh, 32 in hex or in dec?
__________________
<center></center>
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jan 20, 2006, 03:17 AM
Cpp is offline
Reply With Quote
Quote:
Originally Posted by Monolith
IDA Pro... a $450 program to fix a few bugs in JJ2?
I just downloaded this program out of curiosity and it turns out to be one hell of a debugger and disassembler. Previously I used the infamous W32DASM & HIEW.

Quote:
Originally Posted by Grytolle
And uh, 32 in hex or in dec?
Decimal.
The way jj2 handles toaster ammo is a bit different from the other weapons. Unlike in JJ1 (and JJA if I recall correctly) where one toaster ammo means one shot with the toaster, one JJ2 toaster ammo means 32(dec) ammunition in jj2 memory. When you hold down the fire button, this number will rapidly decrease. I'm not sure how many visible shots this counts as, but from the looks of it I'd say it's far less than 32.
__________________
<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>
Tik

JCF Member

Joined: Mar 2001

Posts: 4,982

Tik is doing well so far

Jan 20, 2006, 04:28 AM
Tik is offline
Reply With Quote
I dunno how well recieved this will be since I haven't been keeping up with this thread, I just had a thought on a bug I'd like to see fixed. Actually, I'm not even sure if it's a bug or not, but it has bothered me since I began playing jj2. When you have invinsibility, you lose it when performing an action to some object/enemy (buttstomping, uppercut, etc). I don't doubt it should be a low-priority fix, but it seemed possible. Forgive me if this has already been addressed.
__________________
&lt;table width=&quot;100%&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;a href=&quot;http://www.jj2.info&quot; title=&quot;waaaait&quot; style=&quot;font-size: 14pt;font-family: Verdana;text-decoration: none;&quot;&gt;penny on the train track&lt;/a&gt;
&lt;a href=&quot;/junk/tick/tickbot.html&quot;&gt;readme&lt;/a&gt; - &lt;a href=&quot;/junk/tick/quote.html&quot;&gt;quotes&lt;/a&gt; - &lt;a href=&quot;/junk/tick/rsg.html&quot;&gt;formats&lt;/a&gt; - are you brained? *\o/*&lt;/td&gt;&lt;td width=&quot;1%&quot; align=&quot;right&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 20, 2006, 05:00 AM
Grytolle is offline
Reply With Quote
Ooverlord, if I remember tight it's 360 for a 30 second shield. This would give us 360/30=12. I haven't messed with ammocount for a while now though. And this would of course be why this weapons have other ammo incrase and decrease functions. Let's stop this 8)

I never noticed that Spaztic, but it sure sounds like a bug to me.
__________________
<center></center>
Stijn

Administrator

Joined: Mar 2001

Posts: 6,968

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Jan 20, 2006, 05:49 AM
Stijn is offline
Reply With Quote
Quote:
Originally Posted by Spaztic
I dunno how well recieved this will be since I haven't been keeping up with this thread, I just had a thought on a bug I'd like to see fixed. Actually, I'm not even sure if it's a bug or not, but it has bothered me since I began playing jj2. When you have invinsibility, you lose it when performing an action to some object/enemy (buttstomping, uppercut, etc). I don't doubt it should be a low-priority fix, but it seemed possible. Forgive me if this has already been addressed.
That's fun, in my experience you actually gain invincibility while buttstomping. It's a trick I commonly use in Single Player levels
cooba

JCF Veteran

Joined: Jan 2004

Posts: 7,823

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 20, 2006, 06:06 AM
cooba is offline
Reply With Quote
Quote:
Originally Posted by Stijn
in my experience you actually gain invincibility while buttstomping.
Type JJInv and buttstomp an enemy. The invincibility will be lost.
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jan 20, 2006, 06:47 AM
Cpp is offline
Reply With Quote
That happens because you gain a very short invincibility when buttstomping or eating a carrot. Problem is that jj2 will write a fixed value to the invincibility address rather than leave it alone, should the number at the address be greater.
__________________
<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>
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 20, 2006, 10:40 AM
Alberto is offline
Reply With Quote
The only way I find to edit .j2s files is by hexediting and not adding more bytes to the file, so I can't add stuff, and many corrections need more, also, Spanish language in Jazz2 is not well done and it's like literally translated from English.

Any other way to edit the .j2s file in a way I can add more?
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 20, 2006, 10:51 AM
UNKNOWNFILE is offline
Reply With Quote
I have no idea.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 20, 2006, 12:12 PM
Alberto is offline
Reply With Quote
What did the others do?
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 20, 2006, 02:17 PM
UNKNOWNFILE is offline
Reply With Quote
I changed "Battle1" to "Colon1" and added the strings in.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 20, 2006, 02:55 PM
Grytolle is offline
Reply With Quote
Why?
__________________
<center></center>
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 20, 2006, 03:11 PM
UNKNOWNFILE is offline
Reply With Quote
The strings weren't needed.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Grytolle

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 20, 2006, 03:32 PM
Grytolle is offline
Reply With Quote
But why the nameswitch?
__________________
<center></center>
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 20, 2006, 05:12 PM
Alberto is offline
Reply With Quote
I can edit but I can't add, if I try to add or remove a byte in hex the game crashes
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 20, 2006, 05:15 PM
Alberto is offline
Reply With Quote
Besides, Overlord, your update program asks for the CD, the problem is that the people with the 1.20 version don't have the directory called resources
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Jan 20, 2006, 08:00 PM
Monolith is offline
Reply With Quote
Quote:
Originally Posted by Alberto
The only way I find to edit .j2s files is by hexediting and not adding more bytes to the file, so I can't add stuff, and many corrections need more, also, Spanish language in Jazz2 is not well done and it's like literally translated from English.

Any other way to edit the .j2s file in a way I can add more?
Sounds like there's either some sort of corruption check (checksum), or fixed offsets somewhere that make it not very editable.
__________________
<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>
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 20, 2006, 08:03 PM
UNKNOWNFILE is offline
Reply With Quote
Well I managed to restore the gemring fix which is pretty screwy. I did however manage to come up with the following block of ASM code:

Code:
WOW ASM CODE!!!!!!!!!11
cmp ebx, 00h <--omg crash bug is caused by a register being empty
jnz soandso <--if condition is not met
mov ebx, 01h <--there you go, you sux function you
retn <--returns from process

soandso:
call rotator
retn
And somehow JJ2 takes 3 seconds longer to load serverlists. ;O
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 23, 2006, 07:15 AM
UNKNOWNFILE is offline
Reply With Quote
.....and it's abandoned.

I'm going to be posting the (unfinished) 1.23.1 patch later on today. The gemring bug has been fixed once more causing the similar glitching seen before. It also takes a few seconds to load the serverlist.

This decision brought to you by my willingness to join the 1.25 council.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
UNKNOWNFILE

JCF Member

Joined: Aug 2005

Posts: 1,146

UNKNOWNFILE is doing well so far

Jan 23, 2006, 01:40 PM
UNKNOWNFILE is offline
Reply With Quote
Actually, it never will be released. I think it would be better off left internal.
__________________
I'm sick and tired of this community. So goodbye.

PS: Unreal > JJ2.
Alberto

JCF Member

Joined: Mar 2001

Posts: 459

Alberto is doing well so far

Jan 23, 2006, 01:52 PM
Alberto is offline
Reply With Quote
Like you want, but I guess you should release the most stable version you have made until now for the ppl who have updated the game with previous ones, also, you should make a cumulative update that contains all the extra files that were changed, btw, I already fixed my Spanish.j2s
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:34 AM.