Page 1 of 1

Ruined King: A League of Legends Story [GOG]

Posted: Sat Nov 20, 2021 10:15 pm
by RTX_XXXX
Image

Based on "ruined king a league of legends story-GOG(51492)"

-Health:
1-God Mode
2-Weak Enemy

-Blue Mana:
1-Player has infinite
2-Enemy has zero

-Red Mana:
1-Player has infinite
2-Enemy has zero

UPDATE1: Mega XP
by default it will give you max xp, you can open script and change this line:

Image

UPDATE1: Currency

Re: Ruined King: A League of Legends Story [GOG]

Posted: Sun Nov 21, 2021 11:14 pm
by Jo Jim
Seems those named memory regions are not found
aobscanregion(GetHP,FighterStats.set_health,FighterStats.get_healthPercent,F3 0F 11 73 6C)
and I have to change to something like
aobscanregion(GetHP,GameAssembly.dll+9F82A0,GameAssembly.dll+9F8386,F3 0F 11 73 6C)

Re: Ruined King: A League of Legends Story [GOG]

Posted: Sun Nov 21, 2021 11:31 pm
by RTX_XXXX
Table works for me without problem, I just added those addresses in cause ! in fact we don't need them, you can change script to just aob mode like this :

Code: Select all

[ENABLE]
aobscanmodule(GetHP,GameAssembly.dll,F3 0F 11 73 6C)
alloc(newmem,$100,GetHP)
alloc(playerHP,8)
alloc(enemyHP,8)
label(code)
label(return)
registersymbol(GetHP,enemyHP,playerHP )

////
playerHP:
dd 0
enemyHP:
dd 0
////

newmem:

cmp [rbx+48],101
jne @f
cmp [playerHP],1
jne  code
push eax
mov eax,[rbx+70]
mov [rbx+6C],eax
pop eax
jmp return

@@:
cmp [enemyHP],1
jne  code
cmp [rbx+6C],(float)1
jle  code
mov [rbx+6C],(float)1
jmp return

code:
movss [rbx+6C],xmm6
jmp return

GetHP:
jmp newmem
return:

[DISABLE]

GetHP:
  db F3 0F 11 73 6C

unregistersymbol(*)
dealloc(*)


Re: Ruined King: A League of Legends Story [GOG]

Posted: Mon Nov 22, 2021 12:21 am
by Jo Jim
Not sure it will work because GameAssembly.dll have 4 hits for the array of bits. And only the last one is the target one.
I thought "FighterStats" is something like user-defined structure/address array which you forget to attach to the table. Never mind, seems we have different GoG versions.

Thanks to you, as you did all the job finding the instructions. :)

Re: Ruined King: A League of Legends Story [GOG]

Posted: Mon Nov 22, 2021 5:02 am
by RTX_XXXX
Can you please share working table for your version so i can add it to my topic with credits to you ?

Re: Ruined King: A League of Legends Story [GOG]

Posted: Mon Nov 22, 2021 1:00 pm
by Jo Jim
Sure. No credits are needed. Use it as you want. (This table was done for the first version of yours. So no Mega Exp and Currency stuff)

UPD: Seems Steam version works for GoG (v58173) now viewtopic.php?f=4&t=18227