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 


found the right pointer but it didnt work

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

Joined: 14 Jan 2017
Posts: 7

PostPosted: Mon Jan 16, 2017 4:09 am    Post subject: found the right pointer but it didnt work Reply with quote

so i found te final green value after 3 offsets, i made a pointer with it and the value was correct. but when i restarted the game, the pointer can show me the value. it only shows " ??? "

what do i do ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jan 16, 2017 5:01 am    Post subject: Reply with quote

use modulename+offset notation for the green address. (doubleclick to add to the addrresslist and then copy the address from the addresslist)

or it's wrong. in that case whenever you did a scan for a address with address value, and more than 1 address was found, try a different address.

or, try the pointerscan.
http://forum.cheatengine.org/viewtopic.php?t=602561

_________________
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
abizaria
How do I cheat?
Reputation: 0

Joined: 14 Jan 2017
Posts: 7

PostPosted: Mon Jan 16, 2017 6:00 am    Post subject: Reply with quote

so i did it 3 more times and seems that the second offset always change when i restart the game.


sdsdwe.png
 Description:
 Filesize:  7.18 KB
 Viewed:  6237 Time(s)

sdsdwe.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jan 16, 2017 7:06 am    Post subject: Reply with quote

what was the instruction that got you such an offset ?
_________________
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
abizaria
How do I cheat?
Reputation: 0

Joined: 14 Jan 2017
Posts: 7

PostPosted: Mon Jan 16, 2017 7:18 am    Post subject: Reply with quote

is always something + 4EC4

this is from last time i did the scans. what got me a offset 759c.



Untitled.png
 Description:
 Filesize:  22.33 KB
 Viewed:  6218 Time(s)

Untitled.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jan 16, 2017 8:39 am    Post subject: Reply with quote

try this as offset: (assuming you're on ce 6.6 where you can do this)
Code:

readInteger(address+0x9c)*4+0x4ec4


otherwise try a different path, perhaps there is a different route to what you need

(or pointerscan)

_________________
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
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Jan 16, 2017 10:30 am    Post subject: Reply with quote

Does there happen to be a way to refer to one of the previous offset addresses as well?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jan 16, 2017 11:14 am    Post subject: Reply with quote

only if you use a lua function for the previous offsets as well storing the address in a table which the last offset can then reference (probably easier to just do the whole calculation in lua)
_________________
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
abizaria
How do I cheat?
Reputation: 0

Joined: 14 Jan 2017
Posts: 7

PostPosted: Mon Jan 16, 2017 3:22 pm    Post subject: Reply with quote

wow i think it worked.

first, thanks for the help Dark Byte

in the change address it shows the right value, but in the table only shows " ????? "



sdsd.png
 Description:
 Filesize:  19.34 KB
 Viewed:  6132 Time(s)

sdsd.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: Mon Jan 16, 2017 4:25 pm    Post subject: Reply with quote



And choose one of two update methods. Don't know which one is better. You have to try.

_________________
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: Mon Jan 16, 2017 5:48 pm    Post subject: Reply with quote

I too was unable to get it to show anything besides question marks.
The Change Address window looks correct, but the memory record doesn't work.
I attempted each update option and both, still question marks.
I'm just testing it out inside Calculator.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jan 16, 2017 6:26 pm    Post subject: Reply with quote

ah yes, during initial apply address is 0, which will cause ce to mark it as invalid (readInteger(0) returns nil, and nil*4 is a lua error)

do something like
Code:

(readInteger(address+0x9c) or 0)*4+0x4ec4

_________________
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
mgr.inz.Player
I post too much
Reputation: 222

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

PostPosted: Tue Jan 17, 2017 5:08 am    Post subject: Reply with quote

CE source code wrote:
Code:
    if not funparsed then
    begin
      //call it to be sure it's ok and not returning nil
      forceUpdate;
      getOffsetNoBase;
      if finvalid then
      begin
        funparsed:=true;
        cleanupluaref;
      end;
    end;


I'm guessing we have to comment out "cleanupluaref;" from source code?

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jan 17, 2017 9:08 am    Post subject: Reply with quote

Just remove that whole block, it's there to check that the script is robust enough to deal with all exceptional states (like writing code that multiplies by nil because of no error checking on their side)
_________________
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
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