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 


c# add to adress.. please help guys

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

Joined: 15 Feb 2015
Posts: 9

PostPosted: Wed Feb 18, 2015 4:26 pm    Post subject: c# add to adress.. please help guys Reply with quote

allright ... this is my third thread so far...

i didnt manage to get a proper answer.

i have a pointer which includes adress+offsets im trying to read from that...


thats the closest i got i think...

Code:
    int [] offs=new int[]{40,100};
            process = Process.GetProcessesByName("League of Super Evil").FirstOrDefault();
            int bytesread;

            int baseAddr = process.MainModule.BaseAddress.ToInt32() + 0X01DF5EE4;


            baseAddr = BitConverter.ToInt32( ReadMemory(process, baseAddr, 4, out bytesread),0);
 
            for (int i = 0; i < offs.Length; i++)
            {
                baseAddr = BitConverter.ToInt32(ReadMemory(process, baseAddr+offs[i], 4, out bytesread), 0);
             
            }

            richTextBox1.Text = baseAddr.ToString();
        }



baseaddr is 0.... im breaking my head!!!!!! its over 1 month and no1 actually helped me guys... SadSad

tha'ts how its look like the ce..

srv1.jpg.co.il/8/54e4f1539e736.png

any help guys?

i would really appriciate it...
Surprised
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Feb 18, 2015 4:36 pm    Post subject: Reply with quote

offsets in ce are in hexadecimal
_________________
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
Pingo
Grandmaster Cheater
Reputation: 8

Joined: 12 Jul 2007
Posts: 571

PostPosted: Wed Feb 18, 2015 8:33 pm    Post subject: Reply with quote

int [] offs=new int[]{40,100};

int [] offs=new int[]{0x40,0x100};

_________________
Back to top
View user's profile Send private message
itapi
How do I cheat?
Reputation: 0

Joined: 15 Feb 2015
Posts: 9

PostPosted: Thu Feb 19, 2015 1:29 am    Post subject: Reply with quote

Pingo wrote:
int [] offs=new int[]{40,100};

int [] offs=new int[]{0x40,0x100};


Dark Byte wrote:
offsets in ce are in hexadecimal

I tried in hex... 0x40, 0x100. .
Didn't work. ... have maybe another idea? Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Thu Feb 19, 2015 3:43 am    Post subject: Reply with quote

instead of
Code:

baseAddr = BitConverter.ToInt32(ReadMemory(process, baseAddr+offs[i], 4, out bytesread), 0)

do
Code:
 
baseAddr = BitConverter.ToInt32(ReadMemory(process, baseAddr, 4, out bytesread), 0)
baseAddr += offs[i]


and you might want to remove that first readmemory line before the loop

_________________
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 -> 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