Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


recalculate address to list?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
msae
How do I cheat?
Reputation: 0

Joined: 16 Jul 2016
Posts: 3

PostPosted: Sat Jul 16, 2016 6:02 am    Post subject: recalculate address to list? Reply with quote

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



ce1.png
 Description:
 Filesize:  49.53 KB
 Viewed:  7761 Time(s)

ce1.png


Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Jul 16, 2016 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jul 16, 2016 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Jul 16, 2016 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
msae
How do I cheat?
Reputation: 0

Joined: 16 Jul 2016
Posts: 3

PostPosted: Sat Jul 16, 2016 12:35 pm    Post subject: Reply with quote

Surprised Surprised Surprised
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
Embarassed
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jul 16, 2016 6:44 pm    Post subject: Reply with quote

Not sure the Lua was actually needed in this case.
Code:
[ENABLE]
alloc(heropicker,8)
registersymbol(heropicker)
[DISABLE]
Back to top
View user's profile Send private message
msae
How do I cheat?
Reputation: 0

Joined: 16 Jul 2016
Posts: 3

PostPosted: Sat Jul 16, 2016 9:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites