Weapon Hacking

Jul 17, 2008 at 6:23 PM
Hoxtilicious
"Life begins and ends with Nu."
Join Date: Dec 30, 2005
Location: Germany
Posts: 3218
Age: 32
No I don't want to change MaxDistance :p
The MaxDistance isn't loaded automaticlly.
Instead I have to set it myself.

btw. the compiler can't compile "dec".
And it doesn't let me allow to jump to a adress when it's "too far away".
A "jmp far" crashes the executable. Allthough it works without "far".
 
Aug 4, 2008 at 10:23 AM
Senior Member
"Huzzah!"
Join Date: Jul 4, 2008
Location: South Australia
Posts: 217
Age: 29
can anyone recomend a good hex editor
 
Aug 4, 2008 at 10:32 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1921
Age: 30
XVI32

now go search for it because thats what google is for
 
Aug 6, 2008 at 12:46 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 6, 2008
Location:
Posts: 5
Warning: This post is long and potentially very boring. Do not read it if you have better things to do then try to help a hacking newbie (who doesn't know how to trim a post's size) replicate a genocide cannon he accidentally made with a hex editor.

I'm new here, but I have been sulking around in the shadows of this forum for quite some time now as a guest and somehow got the idea into my head of hacking the level 3 Polar Star (the other two look wimpy :p ).

My original intention in the experimentation was just to experiment, I guess, so I grabbed a copy of the FAQ and got to work. After a while, I made a simple modification to the gun that could do 127 damage to any enemy (and tons more to "weak" ones like Ballos that take lots of damage very quickly, but usually have lots of HP, plus it doesn't even let the Mannans turn into fried shadows or energy capsules give you energy), heal the enemy (quite fun if someone wanted to make a Nemesis upgrade in which level 3 actually healed the enemies), travel quite a distance (I don't know exactly how far because it goes screen-lengths off the screen), go through tons of enemies, have tons of shots on the screen at once, and so on. My stopping point was the flags (I wanted to make it go through walls).

Those nasty flags, I never really understood how to properly use them. First, I checked the snake's values for "Ignore solid" and "No destroy on solid" and copied them over. No good. After that I tried numerous values before giving up and putting 0xff in for both. I'm not sure if that was all I did, for I was never able to fully reproduce the result, but I got a gun that not only shot through walls, but killed everything within a radius of the gun (I think).

I decided that this gun was great (Ballos with that gun was easier than Monster X [treads] or Misery [takes only two un-aimed shots, but teleports in between and shoots stuff during the process] with it) and might have potential for an appearance in a mod. Level 1 of the "Superbomb" (ingenious name, huh) would have this bomb-effect, level 2 is undecided, and level 3 would heal the enemies, making power crystals dangerous. I'm not exactly sure on how to make the player actually have a chance of hitting a power crystal, as the range is really large and all it takes is a tap to obliterate enemies you didn't even aim at.

Pushing the down sides aside, I proceeded to change level one of the Polar Star, but to my dismay, the weapon only worked its magic in a straight line, like a sniper rifle that also shoots backwards, can damage infinite numbers of enemies, and goes through walls (a formidable weapon... but I miss my ability to hit all enemies without even aiming).

If someone actually had nothing better to do than read my excessively long and boring post (I'm better at writing essays than pleading for help hacking), could you bother to give me a word of advice? Unless this is a strange game mechanic I'm missing that says only the level 3 Polar Star can become a weapon of mass destruction, I can provide the little bits of hexadecimal I edited (I can't find a disassembler that allows you to assemble code, and I can't find either of those for a good dialect -- at least I think ASM has dialects :p ) and even my executable if you think I blundered elsewhere, but I, myself, am certainly out of ideas of how to reproduce this.
 
Aug 6, 2008 at 1:03 PM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1921
Age: 30
I made a weapon like this with Metalogz before as well. Not exactly hard. :/
 
Aug 6, 2008 at 1:20 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
jcys810 said:
I made a weapon like this with Metalogz before as well. Not exactly hard. :/

Just change hitbox values.
 
Aug 6, 2008 at 4:52 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 6, 2008
Location:
Posts: 5
I'm not exactly sure what that means, as I am entirely new to this and have only seen the offsets from the FAQ, but nothing else.

I'm sure I would understand this more if I could edit the assembly as assembly, and not just trying to match hexadecimal values without knowing exactly what I am doing that makes the weapon destroy all enemies on the screen. :/

To make it shorter: What is "hitbox" :)
 
Aug 7, 2008 at 8:45 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1921
Age: 30
The A values are the hitbox. Like, the area the bullet damages. I think.

B values are how far the graphic goes.
 
Aug 7, 2008 at 4:25 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 6, 2008
Location:
Posts: 5
0x0a from all of the weapon position-things is 00, if I understood correctly. Then again, all I have is a hex editor, so maybe I'm missing out on some utility.
 
Aug 8, 2008 at 5:23 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1921
Age: 30
I only use a hex editor too
 
Aug 8, 2008 at 4:14 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 6, 2008
Location:
Posts: 5
I just figured it out and I feel like an idiot now.

It turns out a made the stupid mistake of not synchronizing the max number of shots on screen (which ironically is "off of the screen" in another part of the code), which apparently has something to do with the huge explosion bit.

EDIT: I tested it again and feel like even more of an idiot, as my tests turned out to have been giving false positives, leaving me back at square one.

I think I'll test it on some different weapons to see if I can get it that way.
 
Aug 9, 2008 at 10:26 AM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
Well anywayz I was just wondering...

Has anyone found the hex values for the max number of shots allowed on screen for the super missile? Level 1 would be enough for me, but it would be great if all 3 levels can be found. :p

Lolk.
 
Aug 9, 2008 at 10:37 AM
Justin-chan
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Oct 15, 2007
Location: Nowhere
Posts: 1921
Age: 30
Don't think it has been found out
 
Aug 9, 2008 at 4:03 PM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
Metalogz said:
Has anyone found the hex values for the max number of shots allowed on screen for the super missile?
Do you mean the hex values, or the hex offsets?
 
Aug 9, 2008 at 5:10 PM
Luls
"Bleep, Bloop, Bleep, Bloop"
Join Date: Oct 6, 2007
Location: I dunnos
Posts: 1584
Celtic Minstrel said:
Do you mean the hex values, or the hex offsets?

Offsets. Sorry for being inspecifficcifififc >_>
 
Aug 10, 2008 at 3:29 AM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
Filespace is dead, so the link's broken. :p
 
Aug 10, 2008 at 3:35 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 6, 2008
Location:
Posts: 5
I'm using this. I found it on page 12.

S. P. Gardebiter said:
Code:
Weapon Hacking FAQ by S. P. Gardebiter
Thanks to turska, ZTaimat, Runelancer and Wistil

0x00 - Damage
0x01 - Penetrating Power
0x04 - Range
0x08 - Flags [See below]
0x0C - Rect A1 (?)
0x10 - Rect A2 (?)
0x14 - Rect A3 (?)
0x18 - Rect A4 (?)
0x1C - Rect B1 (X Axis?)
0x20 - Rect B2 (Y Axis)
0x24 - Rect B3 (?)
0x28 - Rect B4 (?)

0x8F074 - Snake level 1
0x8F0A0 - Snake level 2
0x8F0CC - Snake level 3

0x8F0F8 - Polar Star level 1
0x8F124 - Polar Star level 2
0x8F150 - Polar Star level 3 (Spur level 1)

0x8F17C - Fireball level 1
0x8F1A8 - Fireball level 2
0x8F1D4 - Fireball level 3

0x8F200 - Machinegun level 1
0x8F22C - Machinegun level 2
0x8F258 - Machinegun level 3

0x8F284 - Missile Launcher level 1*
0x8F2B0 - Missile Launcher level 2
0x8F2DC - Missile Launcher level 3

0x8F308 - Missiles level 1
0x8F334 - Missiles level 2
0x8F360 - Missiles level 3

0x8F38C - Bubbler level 1
0x8F3B8 - Bubbler level 2
0x8F3E4 - Bubbler level 3

0x8F410 - [nothing] level 1
0x8F43C - [nothing] level 2
0x8F468 - [nothing] level 3

0x8F494 - Blade level 1
0x8F4C0 - Blade level 2
0x8F4EC - Blade level 3

0x8F518 - Super Missile Launcher level 1
0x8F544 - Super Missile Launcher level 2
0x8F570 - Super Missile Launcher level 3

0x8F59C - Super Missiles level 1
0x8F5C8 - Super Missiles level 2
0x8F5F4 - Super Missiles level 3

0x8F620 - Nemesis level 1
0x8F64C - Nemesis level 2
0x8F678 - Nemesis level 3

* NOTE: base damage is 0xA (or 0xF for lv2 and 0x5 for lv3), this value added to it, meaning if you define this 0x4, the damage will be 0xE.

Flags:

0x01 - [unused]
0x02 - [unused]
0x04 - Ignore solid
0x08 - No destroy on solid
0x10 - [unused]
0x20 - Destroy breakable blocks
0x40 - ?
0x80 - [unused]

Experience:

0x9366C - Snake level 1
0x93670 - Snake level 2
0x93674 - Snake level 3

0x93678 - Polar Star level 1
0x9367C - Polar Star level 2
0x93680 - Polar Star level 3

0x93684 - Fireball level 1
0x93688 - Fireball level 2
0x9368C - Fireball level 3

0x93690 - Machinegun level 1
0x93694 - Machinegun level 2
0x93698 - Machinegun level 3

0x9369C - Missile Launcher level 1
0x936A0 - Missile Launcher level 2
0x936A4 - Missile Launcher level 3

0x936A8 - Missiles level 1
0x936AC - Missiles level 2
0x936B0 - Missiles level 3

0x936B4 - Bubbler level 1
0x936B8 - Bubbler level 2
0x936BC - Bubbler level 3

0x936C0 - [nothing] level 1
0x936C4 - [nothing] level 2
0x936C8 - [nothing] level 3

0x936CA - Blade level 1
0x936D0 - Blade level 2
0x936D4 - Blade level 3

0x936D8 - Super Missile Launcher level 1
0x936DC - Super Missile Launcher level 2
0x936E0 - Super Missile Launcher level 3

0x936E4 - Super Missiles level 1
0x936E8 - Super Missiles level 2
0x936EC - Super Missiles level 3

0x936F0 - Nemesis level 1
0x936F4 - Nemesis level 2
0x936F8 - Nemesis level 3

0x936FC - Spur level 1
0x93700 - Spur level 2
0x93704 - Spur level 3

Note: The maximum experience value is somewhat near 0x64.

Maximum Number of Shots:

0x1DC15 - Snake level 1
0x1DC15 - Snake level 2
0x1DC15 - Snake level 3

0x1DEA5 - Polar Star level 1
0x1DEA5 - Polar Star level 2
0x1DEA5 - Polar Star level 3

0x1E13C - Fireball level 1
0x1E159 - Fireball level 2
0x1E176 - Fireball level 3

0x1E3E2 - Machinegun level 1
0x1E3E2 - Machinegun level 2
0x1E3E2 - Machinegun level 3

0x????? - Missile Launcher level 1
0x1E90D - Missile Launcher level 2
0x1E937 - Missile Launcher level 3

0x1EFDF - Bubbler level 1
0x1F28F - Bubbler level 2
0x1F28F - Bubbler level 3*

0x????? - Blade level 1
0x????? - Blade level 2
0x????? - Blade level 3

0x????? - Super Missile Launcher level 1
0x????? - Super Missile Launcher level 2
0x????? - Super Missile Launcher level 3

0x1F755 - Nemesis level 2
0x1F755 - Nemesis level 2
0x1F755 - Nemesis level 3

* NOTE: only affects maximum number of bubbles floating by your side.

Assembly:

0x04160 - Snake level 1
0x043F0 - Snake level 2
0x????? - Snake level 3

0x????? - Polar Star level 1
0x????? - Polar Star level 2
0x????? - Polar Star level 3

0x????? - Fireball level 1
0x????? - Fireball level 2
0x????? - Fireball level 3

0x????? - Machinegun level 1
0x????? - Machinegun level 2
0x????? - Machinegun level 3

0x????? - Missile Launcher level 1
0x????? - Missile Launcher level 2
0x????? - Missile Launcher level 3

0x????? - Bubbler level 1
0x????? - Bubbler level 2
0x????? - Bubbler level 3

0x????? - Blade level 1
0x????? - Blade level 2
0x????? - Blade level 3

0x????? - Super Missile Launcher level 1
0x????? - Super Missile Launcher level 2
0x????? - Super Missile Launcher level 3

0x????? - Nemesis level 1
0x????? - Nemesis level 2
0x????? - Nemesis level 3

0x????? - Spur level 1
0x????? - Spur level 2
0x????? - Spur level 3

Energy crystal:

0x26A17 - Medium 
0x26A1D - Large

Note: These values are for how much a weapon energy crystal has to be worth in order to switch sizes.

0x267D7 - Sound
 
Top