Jump to content

Removing double WEXP on kills


CT075
 Share

Recommended Posts

despite the hours of work i put into figuring this out (all 1 of them) the way to do this is simple

[12:12:14 PM] Cam: 08029B8C

change whatever's there to 01 21 to get rid of double wexp on kill

i'll have a dropbox thing with all my notes probably never because i'm too tired to take notes right now

have a chatlog instead

[11:52:56 AM] Cam: ok fuck wtf is this thing doing

[11:53:14 AM] Cam: where the hell does it determine wexp

-SNIP because DoF stuff-

[11:54:40 AM] Cam: ok new approach

[11:54:50 AM] Cam: hey dan or someone who can use nightmare and wants to do me a huge favor

[11:55:01 AM] Jubby: whazzat cam

-MORE SNIP-

[11:55:24 AM] Jubby: oh yeah my goodness

[11:55:25 AM] Cam: you know how to find out the offset of shit just by looking at a nightmare module, right?

[11:55:34 AM] Jubby: yeah

[11:55:35 AM] LUMI: lol

[11:55:37 AM] Cam: i need the offset of the weapon exp for an iron sword

[11:55:47 AM] Jubby: okay sec

[11:56:28 AM] Jubby: b4

[11:56:29 AM] LUMI: I think he meant old one

[11:56:33 AM] Jubby: her hair was liek

[11:56:34 AM] Amelia: ....O

[11:56:39 AM] Amelia: yay~

[11:59:05 AM] Jubby: cam i think be2270

[11:59:16 AM] Cam: ok thanks

[11:59:29 AM] Jubby: anytime

[11:59:45 AM] Jubby: providing the first entry is actually all blank

[11:59:51 AM] Cam: yeah it hit

[11:59:58 AM] Jubby: okay goodie

[12:00:49 PM] Cam: aw fuck it redirects to the same place

[12:03:07 PM] Cam: 08029B8E

[12:03:15 PM] Cam: i think changing that will affect something

[12:03:16 PM] Cam: gimme a moment

[12:04:11 PM] Cam: nope still doubled

[12:04:31 PM] Cam: hey jubs do you remember how much wexp iron sword gave in the first place

[12:05:07 PM] Jubby: says 1

[12:05:11 PM] Jubby: in the editor

[12:05:12 PM] Cam: ok

[12:05:32 PM] Cam: ...what the why does changing the multiplication instruction make it- oh i'm dumb

[12:09:52 PM] LUMI: http://gyazo.com/f266aad110edad314b36353a686ebdb1 dan have yer face

[12:10:37 PM] Astra: lol

[12:10:53 PM] Astra: you're gonna like doing that trim aren't ya

[12:11:22 PM] Cam: ok i was only off by one offset

[12:11:39 PM] Cam: also i think i opened up 4 bytes of free space (whoo?)

[12:11:43 PM] LUMI: lol

[12:11:59 PM] Astra: time to find which songs i can replace

[12:12:14 PM] Cam: 08029B8C

change whatever's there to 01 21 to get rid of double wexp on kill

[12:12:34 PM] Astra: and you thought it would require massive asm to do

[12:12:37 PM] Cam: well

[12:13:08 PM] Cam: a) the actual multiplier was tucked away in the middle of the routine and was stupid to find because it's a variable

[12:13:20 PM | Edited 12:13:24 PM] Cam: b) all i did was force the multiplier to be 1 at all times

Edited by CT075
Link to comment
Share on other sites

yeah I'm with Rey

just because we choose to change the parameters or the op-codes via hex doesn't necessarily mean it's not an ASM hack

Basic idea is:

ASM = assembly = programming of game (Source)

hack = "Informal To alter (a computer program)" (Source)

*shrug*

and thank you for your help Cam

Link to comment
Share on other sites

i know for a fact that there are no side effects

When using the "Play" option (or in my hack, "Motivate") the "Weapon level increased" thing sometimes appears, depending on who you're motivating.

For example, Anakin, a character in my hack, when fighting someone in a scripted battle (though it happens in non-scripted battles and non-motivation events as well), had the "Weapon Level increased" thing show up after fighting and killing a generic soldier who was using an axe, I believe (...no, they can't use axes, but don't worry about the details).

I just reverted it back but it I thought I'd let you know it glitches

I don't have time to fix it or anything so :\

Link to comment
Share on other sites

  • 3 months later...

Bump; edit 0x29B8E to 00 00 instead of whatever it is and it will make the weapon experience always be equal to whatever the value is in the thing; i.e. attacking more times won't increase the weapon experience.

I didn't do Cam's thing though, FYI.

Link to comment
Share on other sites

what it does is load a value to and from memory that determines the factor of how much wexp is given

all i did was force that factor to be 1.

what i DIDN'T anticipate is that for things that shouldn't give WEXP (ie dancers) also get wexp but that factor is actually 0

Link to comment
Share on other sites

  • 3 months later...

bump 2

i think i actually figured it out guiz

[5:53:39 PM | Edited 6:00:26 PM] Cam: 08029B8A change to 01 29

08029B8C change to 00 DC

[5:54:08 PM | Edited 5:54:16 PM] Cam: (and to revert my/blazer's thing which you're gonna want to do 08029B8E change to 48 43)

it's a quick and dirty way of saying "IF THE MULTIPLIER IS GREATER THAN 1 DON'T MULTIPLY"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...