Dec 24, 2005, 09:03 AM | |
JJ2 game bug fixing
Removed
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. Last edited by UNKNOWNFILE; Jan 27, 2006 at 01:10 PM. |
Dec 24, 2005, 10:49 AM | |
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. |
Dec 24, 2005, 01:18 PM | |
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. |
Dec 24, 2005, 01:51 PM | |
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.
|
![]() |
UNKNOWNFILE |
This message has been deleted by UNKNOWNFILE.
Reason: you suck
|
Dec 25, 2005, 03:35 AM | |
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. |
Dec 25, 2005, 05:14 AM | |
well we are trying to make an 1.25 version of jj2 so the bug must be fixed in there!
__________________
<img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"<img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"><img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"> http://mafia.cheats4us.org/index.php?x=255399 thats a lot of fun there! http://www.watbenjedan.tk Here is some fun too! Now listening to : Linkin Park - Numb |
Dec 25, 2005, 05:19 AM | ||
Quote:
__________________
<img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"<img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"><img src="http://chaos.foxmage.com/CrimiClown/egg10.gif" alt="Adopted from the BrainFart adoption center! YAYZ!"> http://mafia.cheats4us.org/index.php?x=255399 thats a lot of fun there! http://www.watbenjedan.tk Here is some fun too! Now listening to : Linkin Park - Numb |
![]() |
UNKNOWNFILE |
This message has been deleted by UNKNOWNFILE.
Reason: you suck
|
Dec 25, 2005, 05:29 AM | |
I was referring to Super_jarno, what youa re doing rox, UF
![]() I am wondering why you didn't fix listserver-support though... ![]() |
![]() |
UNKNOWNFILE |
This message has been deleted by UNKNOWNFILE.
Reason: you suck
|
![]() |
UNKNOWNFILE |
This message has been deleted by UNKNOWNFILE.
Reason: you suck
|
Dec 25, 2005, 05:42 PM | ||
Quote:
|
Dec 25, 2005, 05:42 PM | |
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
__________________
<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> |
Dec 25, 2005, 05:56 PM | |
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!
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. Last edited by UNKNOWNFILE; Dec 25, 2005 at 06:39 PM. |
Dec 25, 2005, 06:37 PM | |
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" ;(
|
Dec 25, 2005, 07:30 PM | |
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.
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Dec 25, 2005, 08:35 PM | |
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.
__________________
<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> |
Dec 26, 2005, 01:34 AM | |
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? |
Dec 26, 2005, 01:42 AM | |
I don't understand anything here.
![]() |
Dec 26, 2005, 02:06 AM | ||
Quote:
__________________
<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> |
Dec 26, 2005, 02:31 AM | |
Would that kill the laser shield 'SCE'? Sorry if this is a stupid question, this isn't my field.
|
Dec 26, 2005, 02:42 AM | ||
Quote:
__________________
<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> |
Dec 26, 2005, 02:45 AM | |
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: 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 Last edited by Grytolle; Dec 26, 2005 at 03:10 AM. |
Dec 26, 2005, 03:53 AM | |
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? |
Dec 26, 2005, 07:05 AM | |||
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, 01h Quote:
And for the rest of you, this is being coded entirely in ASM. No source code is being used.
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Dec 26, 2005, 08:48 AM | ||
Quote:
|
Dec 26, 2005, 12:08 PM | |
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.
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Dec 26, 2005, 12:55 PM | |
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.
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Dec 26, 2005, 02:37 PM | ||
Quote:
__________________
<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> |
Dec 26, 2005, 02:41 PM | |
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
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Dec 26, 2005, 04:19 PM | |
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.) |
Dec 26, 2005, 05:39 PM | |
BN: Do you mean ingame or during the opening titles?
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 09:33 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.