Quick Modding/Hacking Answers Thread

Feb 1, 2011 at 1:43 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
Noxid said:
Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
00471C4B  |.  837A 44 06    cmp dword ptr [edx+44],6
00471C4F  |.  7E 09         jle short 00471C5A
00471C51  |.  C745 FC 06000 mov dword ptr [local.1],6                ; Six missle
00471C58  |.  EB 07         jmp short 00471C61
00471C5A  |>  C745 FC 02000 mov dword ptr [local.1],2                ; Two missle
00471C61  |>  8B45 FC       mov eax,[local.1]

That was harder to find than it should have been.

If it says six and two, but in the game it's three and one, is there a divisor somewhere then?

Edit 1:

Err, I just figured it out. The addresses you showed were actually for hearts! A few lines below, is:

Code:
00471C80    837A 44 06             CMP DWORD PTR DS:[EDX+44],6
00471C84    7E 09                     JLE SHORT 00471C8F
00471C86    C745 FC 03000000   MOV DWORD PTR SS:[EBP-4],3
00471C8D    EB 07                    JMP SHORT 00471C96
00471C8F    C745 FC 01000000   MOV DWORD PTR SS:[EBP-4],1

Changed the two values from 3 & 1 to 5 & 2, yet missiles don't seem to appear at all now. Thank you very much!

Edit 2:
Ah, it does work, but the sprites stop showing up. I think I can figure this part out on my own though.

Edit 3:
Got the sprites showing up properly! :}
 
Feb 1, 2011 at 4:32 PM
Pirate Member
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Jun 29, 2010
Location: Hills of Amber, Amh Araeng, Norvrandt, The First
Posts: 512
Pronouns: she/her
Vercci said:
Are you sure your cave editor isn't a bear?
@LunarSoul ^ this is a forum joke that i thought was pretty much dead at this point.
 
Feb 1, 2011 at 4:34 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
I'd be more worried if my cave editor was a
Minecraft_Creeper_Wallpaper_by_LynchMob10_09_1_.jpg
 
Feb 1, 2011 at 5:35 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
I'VE CONQUERED CAVE EDITOR!
Apparently only CE 0.99C works with NPC table. Not 0.99. Lawl.
 
Feb 1, 2011 at 5:37 PM
Hey.
"In Soviet Russia, graves keep YOU!"
Join Date: Oct 20, 2010
Location: Within the hearts of all
Posts: 691
Age: 104
Pronouns: he/him
LunarSoul said:
I'VE CONQUERED CAVE EDITOR!
Apparently only CE 0.99C works with NPC table. Not 0.99. Lawl.

:o!!!! I didn't know this! Does it make it so that the enemies don't make sounds?
 
Feb 1, 2011 at 5:38 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Yes, it does. You can select the hurt and death sounds.
 
Feb 1, 2011 at 9:55 PM
Senior Member
"Ha! Ha! Ha! Mega Man is no match for my Mimiga Man!"
Join Date: Jan 21, 2011
Location:
Posts: 249
Does anyone happen to have a hacked npc (or maybe a pseudo projectile npc) that only dies/triggers script flag if the player collides with it?
 
Feb 1, 2011 at 9:58 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
Setting flag 0x0100 will cause an entity to run script on contact...
 
Feb 1, 2011 at 10:02 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Oct 30, 2010
Location: New Zealand
Posts: 112
Age: 28
What do you need to set for the H/V trigger entity when the character is falling to his death?
 
Feb 1, 2011 at 10:04 PM
Hey.
"In Soviet Russia, graves keep YOU!"
Join Date: Oct 20, 2010
Location: Within the hearts of all
Posts: 691
Age: 104
Pronouns: he/him
Option 1, which is I think flag 0x100, the event number is 42.
 
Feb 1, 2011 at 10:07 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Oct 30, 2010
Location: New Zealand
Posts: 112
Age: 28
Ollie said:
Option 1, which is I think flag 0x100, the event number is 42.

And where do you need to place the entity?
 
Feb 1, 2011 at 10:31 PM
Hey.
"In Soviet Russia, graves keep YOU!"
Join Date: Oct 20, 2010
Location: Within the hearts of all
Posts: 691
Age: 104
Pronouns: he/him
Anywhere along a horizontal line. That will be the point in which you cross over as you're falling.
 
Feb 1, 2011 at 11:34 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Oct 30, 2010
Location: New Zealand
Posts: 112
Age: 28
Does that also mean that if you cross it vertically the event will run?
 
Feb 1, 2011 at 11:47 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
No.

It will only act as a vertical trigger if you set flag 1000 (option 2/direction).

Also you do not need to set flag 100 for it to be a horizontal trigger. Flag 100, if I'm not mistaken, is the run script on contact flag (which entity 46 sets on its own).
 
Feb 1, 2011 at 11:49 PM
Hey.
"In Soviet Russia, graves keep YOU!"
Join Date: Oct 20, 2010
Location: Within the hearts of all
Posts: 691
Age: 104
Pronouns: he/him
From my experiences, it did need that. :[
 
Feb 1, 2011 at 11:50 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
Ollie said:
From my experiences, it did need that. :[

Your experiences were wrong!

Just try it and you'll see.
 
Feb 2, 2011 at 12:19 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pronouns: she/her
Another question.
Is there a way to convert music files into ORG files?
Specifically for MIDI files.
 
Feb 2, 2011 at 12:21 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
LunarSoul said:
Another question.
Is there a way to convert music files into ORG files?
Specifically for MIDI files.

You can do it by hand, which requires opening up the midi in a midi editor like Anvil Studio (Or you could try to do it by ear).

Otherwise no.
 
Feb 2, 2011 at 12:21 AM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
Or somebody could write a converter program :awesomeface:

Also:

WOOHOO MY POSTCOUNT IS NOW A NUMBER WHOSE PRIME FACTORIZATION CONTAINS A LARGE AMOUNT OF 2S AND 5S! IN FACT, IT CONTAINS ONLY 2S AND 5S!! WOOOOOOOO!!!
 
Feb 2, 2011 at 12:24 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
Wedge of Cheese said:
Or somebody could write a converter program :awesomeface:

Aren't the file formats significantly different in the way they're organized?

Anyways if you think you can do it, go for it.
 
Back
Top