101
"Activate"
Auto Assembler Script
[ENABLE]
{$lua}
LaunchMonoDataCollector()
{$asm}
LuaCall(function cycleFullCompact(sender,force) local state = not(compactmenuitem.Caption == 'Compact View Mode'); if force~=nil then state = not force end; compactmenuitem.Caption = state and 'Compact View Mode' or 'Full View Mode'; getMainForm().Splitter1.Visible = state; getMainForm().Panel4.Visible = state; getMainForm().Panel5.Visible = state; end; function addCompactMenu() if compactmenualreadyexists then return end; local parent = getMainForm().Menu.Items; compactmenuitem = createMenuItem(parent); parent.add(compactmenuitem); compactmenuitem.Caption = 'Compact View Mode'; compactmenuitem.OnClick = cycleFullCompact; compactmenualreadyexists = 'yes'; end; addCompactMenu(); cycleFullCompact(nil,true))
aobscanmodule(activate,Launcher.exe,50 5E C4 56 FA 7F) // should be unique
activate:
db C3
registersymbol(activate)
[DISABLE]
LuaCall(cycleFullCompact(nil,false))
activate:
db 50
unregistersymbol(activate)
26
"Player"
Auto Assembler Script
[ENABLE]
assert(Rogue.Logic:GameLogic:update+36,48 63 80 A4 00 00 00)
alloc(newmem,128,Rogue.Logic:GameLogic:update+36)
label(returnhere)
label(originalcode)
label(exit)
alloc(pPlayer,8)
registersymbol(pPlayer)
newmem:
mov [pPlayer],rax
originalcode:
movsxd rax,dword ptr [rax+000000A4]
exit:
jmp returnhere
Rogue.Logic:GameLogic:update+36:
jmp newmem
nop
nop
returnhere:
[DISABLE]
dealloc(newmem)
Rogue.Logic:GameLogic:update+36:
movsxd rax,dword ptr [rax+000000A4]
dealloc(pPlayer)
unregistersymbol(pPlayer)
//Alt: db 48 63 80 A4 00 00 00
9
"Player Name"
String
128
1
0
1
pPlayer
14
18
10
"Player level"
4 Bytes
pPlayer
14
30
11
"XP"
4 Bytes
pPlayer
10
30
28
"Current Location"
1
12
"x"
4 Bytes
pPlayer
9c
13
"y"
4 Bytes
pPlayer
a0
14
"health"
4 Bytes
pPlayer
a4
15
"energy"
4 Bytes
pPlayer
a8
16
"hunger"
4 Bytes
pPlayer
ac
17
"thirst"
4 Bytes
pPlayer
b0
18
"Hero Type"
1:Warrior
2:Archer
3:Assassin
4:Paladin
5:Wizard
6:Warlock
7:Rogue
4 Bytes
pPlayer
148
35
"Attributes"
1
34
"Strength"
4 Bytes
pPlayer
24
20
36
"Agility"
4 Bytes
pPlayer
2C
20
37
"Stamina"
4 Bytes
pPlayer
34
20
38
"Charisma"
4 Bytes
pPlayer
3C
20
39
"Charisma"
4 Bytes
pPlayer
3C
20