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 


iPromise Hacking Dll
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries
View previous topic :: View next topic  
Author Message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Wed Jan 06, 2010 10:29 pm    Post subject: Reply with quote

Flyte wrote:
I'm literally slamming my face into my desk.


Is there room on your desk for one more face? I gotta take a couple wacks myself...

_________________
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Sat Jan 30, 2010 11:12 pm    Post subject: Reply with quote

bool iPromiseRules_ReadByte(DWORD Address, int Value)

lolwut?
So ughh... where does the umm.. value go?
Cause you can't exactly do iPromiseRules_ReadByte(0x400000,&myVal) in VB....

Hell, how hard is:

Code:
void writeMemory(int address,int value)
{
   _asm
   {
      mov eax,value
      mov ebx,address
      mov dword ptr ds:[ebx],eax
   }
}

also
Code:

void readMemory(int address,int *buffer)
{
      memcpy(buffer,(int*)address,2);
}
,

anyway
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Sun Jan 31, 2010 1:45 pm    Post subject: Reply with quote

memcpy is under a ring3 hook in both GameGuard and Hacksheild, but my dll has alternatives around that.
Back to top
View user's profile Send private message MSN Messenger
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Feb 01, 2010 12:04 am    Post subject: Reply with quote

couldn't you simply use 2 functions for all this? (not sure if this works, haven't done to much work with templates)

Code:
template <class T>
void readMemory(int address, T *buffer){
    buffer = (T*)address;
}


Code:
template <class T>
void writeMemory(int address, T *buffer){
    *(T*)address = *buffer;
}


and then just call it by:
Code:
float value;
int address = 0x00400000;
readMemory(address, &value);


Code:
int value = 80;
int address = 0x00400000;
writeMemory(address, &value);


(then do some error handling ofc)
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Feb 01, 2010 1:21 am    Post subject: Reply with quote

Anden100 wrote:
couldn't you simply use 2 functions for all this? (not sure if this works, haven't done to much work with templates)


really, the easiest way is probably to just have a void pointer for the argument, then you can pass it whatever, like arrays.

one function, ez. just refer to memcpy, you can just look at your compilers implementation which probably has all sorts of goodies and versions that take advantage of all sorts of shit like MMX / SSE
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon Feb 01, 2010 6:27 am    Post subject: Reply with quote

slovach wrote:
Anden100 wrote:
couldn't you simply use 2 functions for all this? (not sure if this works, haven't done to much work with templates)


really, the easiest way is probably to just have a void pointer for the argument, then you can pass it whatever, like arrays.

one function, ez. just refer to memcpy, you can just look at your compilers implementation which probably has all sorts of goodies and versions that take advantage of all sorts of shit like MMX / SSE


With templates you don't need to care about the size of the memory to copy -.-, thats why i didn't use void pointers (and then it looks cooler Very Happy)
Back to top
View user's profile Send private message
Schnibble
How do I cheat?
Reputation: 0

Joined: 02 Jan 2011
Posts: 5

PostPosted: Sun Jan 02, 2011 6:26 am    Post subject: Reply with quote

is there a possibility to read,write and additional search for a hex string in the memory of a process with autoit? like as cheat engine
Back to top
View user's profile Send private message
listito
Cheater
Reputation: 0

Joined: 31 Dec 2010
Posts: 35

PostPosted: Sun Jan 02, 2011 3:45 pm    Post subject: Reply with quote

very useful, thank you so much ipromise, i was thinking about doing such thing to bypass some anti-cheats Twisted Evil
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Sun Jan 02, 2011 4:31 pm    Post subject: Reply with quote

Thank you, this made my day. Never laughed so hard.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Jan 02, 2011 4:54 pm    Post subject: Reply with quote

iPromiseRules_DoesNotUnderstandHungarianNotation()

Why did you use hungarian notation for the first few functions then stop ?
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 -> Binaries All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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