| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| lurc Grandmaster Cheater Supreme
 
  Reputation: 2 
 Joined: 13 Nov 2006
 Posts: 1900
 
 
 | 
			
				|  Posted: Wed Jan 06, 2010 10:29 pm    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| AtheistCrusader Grandmaster Cheater
 
 ![]() Reputation: 6 
 Joined: 23 Sep 2006
 Posts: 681
 
 
 | 
			
				|  Posted: Sat Jan 30, 2010 11:12 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| iPromise Grandmaster Cheater
 
 ![]() Reputation: -1 
 Joined: 27 Jun 2009
 Posts: 529
 Location: Canada
 
 | 
			
				|  Posted: Sun Jan 31, 2010 1:45 pm    Post subject: |   |  
				| 
 |  
				| memcpy is under a ring3 hook in both GameGuard and Hacksheild, but my dll has alternatives around that. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Feb 01, 2010 12:04 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| hcavolsdsadgadsg I'm a spammer
 
 ![]() Reputation: 26 
 Joined: 11 Jun 2007
 Posts: 5801
 
 
 | 
			
				|  Posted: Mon Feb 01, 2010 1:21 am    Post subject: |   |  
				| 
 |  
				|  	  | 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 |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Feb 01, 2010 6:27 am    Post subject: |   |  
				| 
 |  
				|  	  | 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
  ) |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Schnibble How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 02 Jan 2011
 Posts: 5
 
 
 | 
			
				|  Posted: Sun Jan 02, 2011 6:26 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| listito Cheater
 
 ![]() Reputation: 0 
 Joined: 31 Dec 2010
 Posts: 35
 
 
 | 
			
				|  Posted: Sun Jan 02, 2011 3:45 pm    Post subject: |   |  
				| 
 |  
				| very useful, thank you so much ipromise, i was thinking about doing such thing to bypass some anti-cheats   |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| tombana Master Cheater
 
 ![]() Reputation: 2 
 Joined: 14 Jun 2007
 Posts: 456
 Location: The Netherlands
 
 | 
			
				|  Posted: Sun Jan 02, 2011 4:31 pm    Post subject: |   |  
				| 
 |  
				| Thank you, this made my day. Never laughed so hard. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Slugsnack Grandmaster Cheater Supreme
 
 ![]() Reputation: 71 
 Joined: 24 Jan 2007
 Posts: 1857
 
 
 | 
			
				|  Posted: Sun Jan 02, 2011 4:54 pm    Post subject: |   |  
				| 
 |  
				| iPromiseRules_DoesNotUnderstandHungarianNotation() 
 Why did you use hungarian notation for the first few functions then stop ?
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |