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 


Can't find ptr to struct

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

Joined: 12 Oct 2015
Posts: 3

PostPosted: Mon Oct 12, 2015 11:47 pm    Post subject: Can't find ptr to struct Reply with quote

I'm not the greatest with mapping out memory and what little I do know, Wicc showed me 5-7 years ago.

I'm trying to track down a reliable means of finding the current map name. (Trickier than it sounds, map names are fine to find, but the moment you enter an instance, the majority of the in-memory locations still show your position outside the instance.. Whereas I need the instance map name itself)

I can consistently find the value I'm after in CE, but the offsets when showing accessors are negatives and I'm not seeing anything obvious enough to follow.

There's a struct of strings higher in memory, each entry is 0x32 long as far as I can tell, though some entries are seemingly of variable length. That makes me think it's two different structs sitting next to each other.

Anyway, all that as an aside, I really just need a way to get the zone/map name.

Any help would be appreciated.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Oct 13, 2015 12:18 am    Post subject: Reply with quote

We do not support online / multiplayer hacking on this site.
http://forum.cheatengine.org/faq.php#0

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
mashuga
How do I cheat?
Reputation: 0

Joined: 12 Oct 2015
Posts: 3

PostPosted: Tue Oct 13, 2015 12:29 am    Post subject: Reply with quote

Wasn't intending to modify and wasn't asking for information on how to accomplish that.

Just where the pointer to the struct was so I could read the name, but I'll concede.

Thanks anyway.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25796
Location: The netherlands

PostPosted: Tue Oct 13, 2015 1:58 am    Post subject: Reply with quote

do you have anything related to the map (or player?)
if so, find the base address of the map (or related) and do a structure spider
tell it to do a string scan and search for the current map name (it may look like it's frozen at the start, but thats normal)

when the scan has finished you'll have a list of paths from the current base to the string with that name.
on later gameplays you can refine it with a rescan
(structure spider is basically a pointerscan, but instead of the final address it starts with the base)

once you've found it you can extend the pointer you have to use it

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
mashuga
How do I cheat?
Reputation: 0

Joined: 12 Oct 2015
Posts: 3

PostPosted: Fri Oct 16, 2015 6:32 pm    Post subject: Reply with quote

I've managed to find player coords (was actually by accident) and I've gone through that struct left and right, there's nothing.

I _think_ the layout of memory is basically this:

Big ass list of strings high in memory

Map is just an ID, and there's some conversion to go from ID to offset in the string array.

I've spent a lot of time modding other games but I've never seen one laid out quite like this.

Thanks for your advice though, I do appreciate the idea. Smile
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