Multi Jumping? No limit?

Dec 29, 2009 at 6:25 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
First off... Yes, I am modifying Cave Story. Trying to make a fan-sequel, but I won't say any title.

So double-jumping was possible by hacking a booster (don't know which version, but I believe it is 0.8). After looking in threads with booster hacks, I found codes that I can search within the Cave Story executable using a hex editor. Yes, it worked.

But now, I want to find out if multi jumping can be done. If the booster is hacked correctly, the player can jump mutiple times by pressing the jump button.

In my mod, I want the player to 'swim' in water. Just by placing a horizontal trigger on the water's surface that uses the equip command for the hacked booster and flags (and a proper wait time), it will allow the player to use the jump key multiple times. (Not compatible with rising and falling water like you see in Core but I will try to manage)

Making sure there is no limit on pressing the jump button because I don't want to let the player land on ground before can jump again.
 
Dec 29, 2009 at 7:14 PM
The Bucket Fairy
"..."
Join Date: Jul 8, 2009
Location: Genesis City, Nowhere
Posts: 374
Increasing the limit on the hacked booster should work.
Not that I have any idea how to do that.
 
Dec 29, 2009 at 7:30 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
You could do it so that when the "In water" flag (there's a check for this somewhere in Quote's physics) is set the booster 1.0 is equipped (as in, rather than doing the equipment flag check in the code just check for the water flag). Doesn't sound like it'd be too hard, if given an executable I might be able to do it for you.

And it's REAL easy to make the booster 0.8 infinite, although modifications might be needed to make the booster 2.0 finite at the same time.
 
Dec 29, 2009 at 8:21 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
you'd just change the boosters fuel limit....
for infinite, you'd us one of the many ways to do infinite booster.
O.o


as for water, you'd just do as gir said and check the in-water flag.
I could do it too, just give us an exe and we'll help.
 
Dec 30, 2009 at 1:15 AM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
GIRakaCHEEZER said:
You could do it so that when the "In water" flag (there's a check for this somewhere in Quote's physics) is set the booster 1.0 is equipped (as in, rather than doing the equipment flag check in the code just check for the water flag). Doesn't sound like it'd be too hard, if given an executable I might be able to do it for you.

And it's REAL easy to make the booster 0.8 infinite, although modifications might be needed to make the booster 2.0 finite at the same time.
"In Water" flag... I don't know where that is.

The executable is the game itself (Doukutsu.exe).
 
Dec 30, 2009 at 2:08 AM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
in water flag is an asm thing.

we were asking for the exe because if you had changed any maps or anything, it would thus differ from the original executable, so placing it in the directory of your modded game wouldn't work.
 
Dec 30, 2009 at 4:32 AM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
If you just hack the original exe with a hex editor and tested, could you at least post the code so I could insert it my working mod?

Otherwise download here: Work.zip - 0.33MB
 
Dec 30, 2009 at 4:48 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
well, if you really just want the hex, here ya go.

Code:
1592D:
A1 14 E2 49 00 23 05 10 36 49 00 0F 84 20 01 00 00 8B 0D 3C E6 49 00 81 E1 00 01 00 00 0F 84 0E 01 00 00 E9 A2 02 00 00 90 90 90 90 90

If you want, I can also make it so going into water will also equip the mimiga mask.
also, booster 2 will most probably not work, but I could fix that.
and there is no period of time between jumps, that's also easy to fix if you want me to.
 
Dec 30, 2009 at 6:24 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
This hack is for =booster 0.8= or =booster 2.0=? And which number(s) have changed? Could you also find the number for the sound effect 'booster noise'?

While answering the questions, I will test this out. Thanks.

As for booster 2.0, it will not be in my mod.

EDIT: This code change CRASHED the game once equipped the booster. It is best that you download what I am giving you:
Work.zip - 0.33MB
 
Dec 30, 2009 at 6:45 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
you don't need to equip the booster.
 
Dec 30, 2009 at 8:41 PM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
Well, it did not work at all. Both 0.8 and 2.0 are affected.

Not having it equipped did not work, I have to equip it. Once the player goes midair, program crashes.

Take my executable, arrange it, test, and then send it back to me.
 
Dec 30, 2009 at 8:51 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
I already tested it, it works.
you can ask gir if you like, he tried it too.
I'll just fix it though.
 
Dec 30, 2009 at 9:13 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
firstly, use medifire.
secondly, here's your hacked file.
 
Dec 30, 2009 at 11:47 PM
Been here way too long...
"Life begins and ends with Nu."
Join Date: Jan 4, 2008
Location: Lingerie, but also, like, fancy curtains
Posts: 3052
Oct 19, 2011 at 4:09 AM
Veteran Member
"Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-Wacka-BLEIUP"
Join Date: Jan 4, 2009
Location:
Posts: 314
Pronouns: he/him
I resurrected my own started thread.

Okay, I got a hold of OllyDbg.

If you can tell me where the In-water flag (for both water tile and "Water Level" NPC, used on the Air Tank I guess) for the (going to be modified) =Booster 0.8= item, I would be able to make changes.

If there is any possibility to make the one-boost per jump button press, find the code. If none, I will have to just make the booster infinite with the jump button held.
 
Back
Top