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 


JA BiA again, modify items in memory

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
antan77
Newbie cheater
Reputation: 0

Joined: 04 Jan 2013
Posts: 13

PostPosted: Wed Jul 15, 2015 4:11 pm    Post subject: JA BiA again, modify items in memory Reply with quote

Hi,

i try to make a mod for Ja BiA. I want to modify some Items in memory. I found the BasePointer for the first weapon.

The items seems to be in the same list. For example, Weapons and Clothings are behind each other. The offset between these items is 0x80. BTW Weapons and Clothings are slight different, but the offset is the same(should be^^)

The problem is, that the list breaks up after a part of clothings. How these items are organized? Chunked? How can i find the next part? 1 Level before the 1 weapon pointer ends, i found a list which points to each item,but this list breaks up too.

Second question when i ve found theses items successfully, How cant i figure out when the list stops?

Hope somebody can help me
Back to top
View user's profile Send private message
Daijobu
Master Cheater
Reputation: 13

Joined: 05 Feb 2013
Posts: 301
Location: the Netherlands

PostPosted: Wed Jul 15, 2015 11:21 pm    Post subject: Reply with quote

If you've found the first item, that one is probably the first of the table.
If the items are 0x80 between find the entries before the first entry which will give you the length of the table and probably the amount of entries inside the table.

From that point on you should be able to get something like this (hypothetical):

TableStart+00 - Start
TableStart+04 - Table Size
TableStart+08 - Table Entries (e.g. 6)
TableStart+1*80 - Entry 1
TableStart+2*80 - Entry 2
etcetera

_________________
Scripts/tables from scratch. Relation to other scripts is coincidental. Use of posted code is credited properly.
Euro Truck Simulator 2 Backwards Compatible Cheat
American Truck Simulator Backwards Compatible Cheat
Back to top
View user's profile Send private message
antan77
Newbie cheater
Reputation: 0

Joined: 04 Jan 2013
Posts: 13

PostPosted: Tue Jul 21, 2015 10:58 am    Post subject: still no luck Reply with quote

I digged a little bit deeper and tried to use the disassembler.

the loop which uses this items loads the address from the ESP register. How can i use the stackpointer to get the item addresses ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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