![]() |
JJ2 game bug fixing
Removed
|
What happens if you replace the div instruction with a null instruction?
I've also thought (and tried unsuccessfully) to patch the respawn problem in jj2 by hacking the exe file, but my knowledge of x86 is limited. |
Dizzy, wouldn't that make so that player 2 in splitscreen-duels would be without ammo? ;P
|
Not necessarily. I believe that the respawn bug becase a problem with one of the patches. Previously it was possible to keep picking up ammo even when you had 50 pieces already. This was changed and when making that change the respawn bug was not caught. A hack of the exe itself wouldn't necessarily work like the respawn.exe program which just constantly resets a couple of memory locations.
There are a handful of aways to fix the problem: 1. Reset memory locations every so often like respawn.exe. 2. When dealing with loose ammo, there should be a check on whether or not the player in question has 50 pieces of ammo already. However, changing the constant which is used in this comparison might make it possible to pick up more than 50 pieces. I haven't played with this idea but I'd like to when I get a chance. 3. Decrement the number of pieces of ammo a player has when he shoots that piece of ammo. |
I would like to take this moment to thank Unknownfile for being one of the few people in the community who is actively working to get something done. I don't know enough (read: anything) about ASM to know how effective his efforts will be, but he seems determined and I have high hopes for this project.
|
You'll want to google StealthPatch to use the patch (it's what I use.)
I just got an idea- if we don't have the original comments, we could just play with the code a bit, see what happens, and add our own comments to make modding less hard. It's kind of redundant for every single person to research the same piece of code. EDIT: I hope that if this gets done, everyone upgrades. Make sure that nobody with an earlier version would be able to get into a new server at all, because then they could still use the Laser Shield. |
*tries what UF has done so far*
|
well we are trying to make an 1.25 version of jj2 so the bug must be fixed in there!
|
...You suck
|
Quote:
|
I was referring to Super_jarno, what youa re doing rox, UF :)
I am wondering why you didn't fix listserver-support though... :p It was not hard work to edit list.jazzjackrabbit.com to jazz.nimrod-online.com in a hexedit prog |
Good job! But dude, you will run out of letters if you keep releasing at this speed... :D
|
Quote:
|
Dude since this of your jj2 version has some side effects, you should make a dedicated server out of it - one that doesn't crash ;P
|
Overlord: There are several known bugs with this, although the laser shield problem is out of the way for now.
-I can't seem to hack the game into ignoring long nicknames as the code isn't stored in the file -- in fact, it's stored in memory! -Even though the gem ring problem is dealt with, there is still a bit of glitching in the game. And a test server will be conducted as of this posting, and will be running on a fixed 1.25b with serverlists that are actually built in. Sorry for issues on earlier patches, they'll be corrected when 1.25c comes out. And in case you're wondering, 1.25c will be codenamed "Nebula". ;p EDIT: The server went down with no laser problems whatsoever. The server was bombarded with laser requests from my good assistant Grytolle, and later I joined in on the laserfest. Needless to say, after its 10 minute* run, the server did not suffer anything but a couple of graphical glitches from the gemring animation processor. (I still need to fix that) *This is a free guess. Do you actually think I keep track of uptime or something!? This thread has been SIGGIFIED! |
It sucked that I used 1.23 instead of 1.25b when we did it though, since my client crashed when UF began lasering. =P And the uptime was long enough. Now we can only hope all other filters are rendered useless, because right now I can't use them on my other computer, since WPE is a "trojan" ;(
|
Hey
(Sorry if there are and it has been mentioned, I lightly skimmed over the posts) |
JJ2 1.24 TSF is entirely different from 1.23, but I guess I could make one once this thing is finalised.
For now however, JJ2 v1.23 is needed to use this patch. |
From glancing over the problem it looks like you get a divide by zero error. Probably the simplest way of patching this without getting into the larger reasons of why ebx is 0 is to do this:
1. check if ebx is 0 2. if it is, set ebx to something safe like 1 Hopefully that doesn't have any more unintended side effects. If it does, you can try skipping over that code if ebx is 0. |
I commend you, UF. You are amoung the group of people who are slowly refining JJ2. With infamous bugs like this being fixed, it will be a great boon to the entire community!
|
(-) is a boon?
|
So, uhm, talking about disassembled JJ2 code is allowed now here? Or did I miss something?
Not that I care, I think the work you're doing rocks. Would it also be possible to add new features (getting an extra live for 100 gems) this way? |
I don't understand anything here. :p UF, you don't have to explain to me how or why this works, but what exactly does it do to your JJ2? Is it a permanent code edit, or can you 'uninstall' it?
|
Why wouldn't it be allowed?
Wr, it's permanent, so back up your .exe |
Quote:
|
Would that kill the laser shield 'SCE'? Sorry if this is a stupid question, this isn't my field.
|
Quote:
|
Quote:
|
However, lasercrashes seems to not be much of a problem anymore...
For those who can't wait for an UF-patch with fixed listservers: 1.25a and 1.25b-registry keys Bug: [img]http://www.freewebs.com/grytolle/jazz2stuff/wtfbug.PNG[/img] And when I used jjfly in WR's server I crashed. When I joined it was singleplayer, then he used PC4 to switch to Treasure, meaning I was still able to cheat. Is this some kind of cheta protection you added, UF? Edit: The jjfly crash seems to be just on that single occasion. =) I also have graphical errors in Santranigus V, not as disturbing as in the screenshot, but on the other hand seemingly impossible to screenshot. I guess it's the same bug though =p |
Would it be possible to have a wad-type system eventually? I'll explain;
In some games you can load .wad files that contain some information that changes the game for that one running only. It could be used to, say, add new characters or modes. Of course, new characters and things is a long shot, but it could be useful for custom game modes. By the way, would it be possible to add some sort of substitute animations to 1.23 and allow play with 1.24, so the animations when someone plays as Lori aren't screwed up? |
Quote:
The image glitch is caused by the gemrings. I think this whole divide-by-zero error can be solved like this: Code:
mov ebp, 01hQuote:
And for the rest of you, this is being coded entirely in ASM. No source code is being used. |
Quote:
|
Jazz Jackrabbit 2 1.25c Nebula - now with working server lists
Gem rings are no longer an issue, so I'll work on respawn for v1.25d, code named "Nimrod". ;D This will use your 1.25b regkeys, as I forgot to update the version number. |
This is looking nice. But can't you just let it use the 1.21 registry keys?
|
If I change the version in the main menu, the thing will need to use a new registry key, but I guess when the thing is final and stuff that it'll be able to work OK.
|
Quote:
|
CORRECT! YOU WIN A MILLION DOLLERZ!!!!!!!!1111111
Anyways, it appears what handles the gem ring actually handles rotation of several objects like the CTF direction pointers (the red and blue arrows). Because of patches done to this, JJ2 renders the arrows a bit wrong, but at least the entire screen isn't glitching. And you can still get hit by lasers although they are invisible. Watch out, you never know what can happen... }) PAGECLAIM IN THE NAME OF 1.25 |
They didn't appear invisible to me... just not dangerous, except for instantkill.
|
Holy crap.
Nice work so far. You > me. EDIT: Are there any plans for increased resolutions? I can send over the work I have on resoltuions so far if needed (I have the addresses that control it and can resize it to anything *under* 640x480. If I resize it to anything higher, it works for a split-second and then crashes.) |
BN: Do you mean ingame or during the opening titles?
|
| All times are GMT -8. The time now is 09:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online