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 


Dll Memory Scanner Problems

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
tanjiajun_34
Grandmaster Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 786
Location: Singapore

PostPosted: Tue Oct 05, 2010 2:58 am    Post subject: Dll Memory Scanner Problems Reply with quote

Fixed. Thanks to darkbyte.

Last edited by tanjiajun_34 on Thu Oct 07, 2010 10:58 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Oct 05, 2010 4:22 am    Post subject: Reply with quote

try replacing #$70#$7d#$3f#$33#$33#$73#$3f; with #$70#$7d#$3f#$33#$33#$73#$3f#0;

Not sure if delphi adds a 0-terminator at the end of a string build up out of chars

also, when you look at the memory addresses your scanner has found(with ce), do the bytes at least match or are those wrong as well ?

_________________
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
tanjiajun_34
Grandmaster Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 786
Location: Singapore

PostPosted: Tue Oct 05, 2010 4:39 am    Post subject: Reply with quote

Using this...
#$70#$7d#$3f#$33#$33#$73#$3f#0

I search an got an address with aob (using ce to check)
97 06 40 4D 97 06 5C 4D 97 06
the aob i getting is always different...

Without #0
I get an address with he aob 04 01 04 13 04 01 90 19 04 01
the aob i getting is always different too

I am not sure if my displaying of address coding is correct or not.
I just do this...
InttoHex(answer,8)


Update: I found something as well. I view the value in 4 bytes, the found address that my scanner gives starts with the same digits. I tried this on different programs.

Both with and without 0-terminator starts with 129604
Examples...
1296041171
1296041703
1296040962
1296041809

Update 2: Is this memcmp correct?
Code:
function  memcmp(cs,ct:Pointer; count:Cardinal):Integer;
var
    su1,su2:PByte;
begin
    su1 := cs;
    su2 := ct;
    while 0 <count do
        begin
        Result:=su1^-su2^;
        if Result <>0 then
            Break;
        Dec(count);
        Inc(su1);
        Inc(su2);
        end;
end;
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 programming 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