Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding defense multiplier to ID.
#13
I don't think that's the case. Tested the stuff and directly changing the value changes it for all the characters. There must be something wrong with my JMPing or something like that.

EDIT: AH! Facepalm The offset address I've been comparing too is wrong. +368 still had something to do with setting up the objects pointer. +6f4 was the right thing.

EDIT 2: So, I had some trouble with BAADF00D being the value of ESI when I add the 368.. With some google searching, turned out that BADFOOD was actually intended for when I try to access a data segment that wasn't initialized (there are some even weirder addresses here: http://en.wikipedia.org/wiki/Hexspeak lol). Since I had no idea how to initialize a variable on Olly (and if someone knows how to, I would really appreciate it if he would tell me about it), I had to look for another place where all the objects are looped on, and I could initialize for the ID value. That was collision detection; retarded yes, but it works :P. It does the check and assigns the new multiplier value again every time the IDS (70, 71, 72) are hit.
Here is how to set this up:
1-Ctrl G: 0042E67F:
[Image: SSRYjI1.png]
2-And at 0044632A:
[Image: Y0WPPLw.png]
[Image: HTgUwL3.png]

Just copy the lines marked with red. Ignore all the NOPs and DBs.

Here is an already edited 2.0a exe LF2 Fanpai's exe (it already has got some edits with armor stuff) 2.0a:
https://www.mediafire.com/?pv30fd491c9apwj

@BatTamer: Sorry, my bad >.<
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by: bashscrazy


Messages In This Thread
Adding defense multiplier to ID. - by bashscrazy - 05-17-2014, 01:18 AM
RE: Adding defense multiplier to ID. - by A-Man - 05-18-2014, 07:56 AM
RE: Adding defense multiplier to ID. - by Boop - 05-20-2014, 06:16 PM
RE: Adding defense multiplier to ID. - by A-Man - 05-22-2014, 07:22 PM
RE: Adding defense multiplier to ID. - by A-Man - 05-23-2014, 05:12 AM
RE: Adding defense multiplier to ID. - by A-Man - 05-23-2014, 04:39 PM
RE: Adding defense multiplier to ID. - by Boop - 05-23-2014, 05:41 PM
RE: Adding defense multiplier to ID. - by A-Man - 05-24-2014, 11:42 AM
RE: Adding defense multiplier to ID. - by Dragon5 - 05-24-2014, 02:17 PM
RE: Adding defense multiplier to ID. - by A-Man - 05-24-2014, 02:54 PM



Users browsing this thread: 1 Guest(s)