| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| itapi How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 15 Feb 2015
 Posts: 9
 
 
 | 
			
				|  Posted: Wed Feb 18, 2015 4:26 pm    Post subject: c# add to adress.. please help guys |   |  
				| 
 |  
				| 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...
    
 tha'ts how its look like the ce..
 
 srv1.jpg.co.il/8/54e4f1539e736.png
 
 any help guys?
 
 i would really appriciate it...
 
   |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Wed Feb 18, 2015 4:36 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Pingo Grandmaster Cheater
 
 ![]() Reputation: 8 
 Joined: 12 Jul 2007
 Posts: 571
 
 
 | 
			
				|  Posted: Wed Feb 18, 2015 8:33 pm    Post subject: |   |  
				| 
 |  
				| int [] offs=new int[]{40,100}; 
 int [] offs=new int[]{0x40,0x100};
 _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| itapi How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 15 Feb 2015
 Posts: 9
 
 
 | 
			
				|  Posted: Thu Feb 19, 2015 1:29 am    Post subject: |   |  
				| 
 |  
				|  	  | 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?
   |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Thu Feb 19, 2015 3:43 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  |