Lord of the Rings Third Age PCSX2 Level up issue

Add topics here with methods, analysis, code snippets, mods etc. for a certain game that normally won't make it in the Tables or Requests sections.
Post Reply
kidalot
Novice Cheater
Novice Cheater
Posts: 17
Joined: Tue Oct 10, 2017 8:32 pm
Reputation: 1

Lord of the Rings Third Age PCSX2 Level up issue

Post 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

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1480
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 741

Lord of the Rings Third Age PCSX2 Level up issue

Post by TheyCallMeTim13 »

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.

kidalot
Novice Cheater
Novice Cheater
Posts: 17
Joined: Tue Oct 10, 2017 8:32 pm
Reputation: 1

Lord of the Rings Third Age PCSX2 Level up issue

Post 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

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1480
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 741

Lord of the Rings Third Age PCSX2 Level up issue

Post by TheyCallMeTim13 »

[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.
Last edited by TheyCallMeTim13 on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users