Page 1 of 1

Lord of the Rings Third Age PCSX2 Level up issue

Posted: Sun Jun 07, 2020 12:21 am
by kidalot
Hi



I managed to get an XP multiplier working for PS2 version of Lord of the rings 3rd age, problem is although they gain additional XP the characters level up but the game doesn't register this. There's no notification of characters leveling up, although they do and their stats don't increase, also they don't receive any skill points for levelling, normally charters receive 3 or 5 skill points for each level



Would anyone know a way round this, something that triggers the game that you've gained a level.



unlike other games, it has an xp bar after every fight but when using the xp code it doesn't correlate to the actual xp gained.



this is the script


Code: Select all

[ENABLE]

//code from here to '[DISABLE]' will be used to enable the cheat



alloc(newmem,2048)

label(returnhere)

label(code)

label(exit)



newmem:

  pushf

  push eax

  mov eax,[ecx]

  sub edx,eax

  imul edx,5

  add edx,eax



code:

  mov [ecx],edx

  pop eax

  popf

  mov [pcsx2.exe+839DA8],0018C84C



exit:

jmp returnhere



307F7B49:

  jmp newmem

  nop 7

returnhere:





[DISABLE]

//code from here till the end of the code will be used to disable the cheat

dealloc(newmem)

307F7B49:

mov [ecx],edx

mov [pcsx2.exe+839DA8],0018C84C

//Alt: db 89 11 C7 05 A8 9D 5C 01 4C C8 18 00

Lord of the Rings Third Age PCSX2 Level up issue

Posted: Sun Jun 07, 2020 12:24 am
by TimFun13
You'd need to back trace to where the new XP value is calculated. start where it reads the current XP and follow that to where is actually calculates the new value.

Lord of the Rings Third Age PCSX2 Level up issue

Posted: Sun Jun 07, 2020 2:40 am
by kidalot
Regarding what reads current XP, would that be what writes to this address?



[MEDIA=imgur]zIVjclZ[/MEDIA]





[MEDIA=imgur]000zmZe[/MEDIA]



[MEDIA=imgur]VqhoFC1[/MEDIA]



Where would I begin the process, is in

30890D7D - add ecx,eax



What process would I use



Thanks for your assistance

Lord of the Rings Third Age PCSX2 Level up issue

Posted: Sun Jun 07, 2020 2:59 am
by TimFun13
[QUOTE="kidalot, post: 138574, member: 9232"]

Regarding what reads current XP, would that be what writes to this address?

...

[/QUOTE]

No not where it writes, but where it reads. So see what "accesses the address".

[QUOTE="kidalot, post: 138574, member: 9232"]

...

Where would I begin the process, is in

30890D7D - add ecx,eax

...

[/QUOTE]

It writes with EDX, so no ECX is the address not the value.



It seems like you need to read up on assembly to understand what you're looking at else you'll have a really hard time figuring this out. I'd even suggest that you try a different game (not on an emulator) for now then come back to this game latter.