| View previous topic :: View next topic |
| Author |
Message |
msae How do I cheat?
Reputation: 0
Joined: 16 Jul 2016 Posts: 3
|
Posted: Sat Jul 16, 2016 6:02 am Post subject: recalculate address to list? |
|
|
Hello, im newbie..
(playing dinasty tactic - pcsx2)
i have question about recalculate address..
is there a way to set recalculate address by list/value/dropdown?
ex. parent hero name, with child bla,bla,bla,...
my child address values is '+??'
i need to know how to change parent address, with simple way,
the same pattern address on each hero
(value between them is hex=5c or dec=92)
i dont know how much this game heroes, hundreds,
so, i want to make one parent hero address to list all heroes...
pls help, regards
| Description: |
|
| Filesize: |
49.53 KB |
| Viewed: |
7759 Time(s) |

|
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jul 16, 2016 8:38 am Post subject: |
|
|
If you want to make it in addresslist... there are many methods.
The easiest one:
Add new memory record (name it "Hero Picker") with Asm/Lua script, it will allocate a space for character picker, the script:
| Code: | {$Lua}
if not heropicker_memoryallocated then
heropicker_memoryallocated = autoAssemble([[
alloc(newmem,8)
label(heropicker)
registersymbol(heropicker)
newmem:
heropicker:]])
end
{$Asm}
[ENABLE]
[DISABLE] |
Add another memory record (child of "Hero Picker") as 4byte type, name it "Hero Picker - List".
As address use this:
heropicker
Right click it and choose "set/change dropdown selection options"
Paste this list (as you see, there are multiples of 92 and hero name, with : in center)
| Code: | 0:First Hero
92:Second Hero
184:Third Hero |
Check all checkboxes ("disallow manual ..." , "Only show ....", "Make the record ...")
Add another memory record (child of "Hero Picker") as any type, name it "Hero Base Adress".
As address use this (where XXXXXXXX is base address of first hero):
[heropicker]+XXXXXXXX
Then move "deeds" "troops" "skill" memory records to "Hero Base Adress"
_________________
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Jul 16, 2016 8:39 am Post subject: |
|
|
Create an intermediate parent/child entry with the address +0 and move all of the stats under that.
Have your user drag and drop that entry over each hero when they want to see its stats.
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jul 16, 2016 9:20 am Post subject: |
|
|
Or what Zanzer said. If you don't need "one parent hero address to list all heroes" you can do something like this:
Or method in my first post:
_________________
|
|
| Back to top |
|
 |
msae How do I cheat?
Reputation: 0
Joined: 16 Jul 2016 Posts: 3
|
Posted: Sat Jul 16, 2016 12:35 pm Post subject: |
|
|
woah, thank you so much, it really halped me.
im using first method $Lua
and, maybe i will use method by zanzer later
Now i know how to change address by parent value
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Jul 16, 2016 6:44 pm Post subject: |
|
|
Not sure the Lua was actually needed in this case.
| Code: | [ENABLE]
alloc(heropicker,8)
registersymbol(heropicker)
[DISABLE] |
|
|
| Back to top |
|
 |
msae How do I cheat?
Reputation: 0
Joined: 16 Jul 2016 Posts: 3
|
Posted: Sat Jul 16, 2016 9:25 pm Post subject: |
|
|
i've tryed AA that you gave,
working good for me,
this problem solved. thanks
-- i think i still want to learn more about this CE, haha
|
|
| Back to top |
|
 |
|