| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Veraster How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 12 May 2013
 Posts: 5
 
 
 | 
			
				|  Posted: Sun May 12, 2013 12:45 pm    Post subject: [Visual Basic]Modify double and float addresses? |   |  
				| 
 |  
				| I'm trying to make a game trainer with Visual Basic 2010. As far as using cheat engine goes, I know what I'm doing. I'm just having trouble making a visual basic program that does the job correctly. I've been able to get it to modify the byte values of stuff but I need to get it to modify the float and double value on addresses.
 I'm also using the ReadWritingMemory.vb file that is in the description on a youtube video. It's not letting me post urls yet, but you can get to the video i'm talking about by going to google, typing "make game trainer" and clicking on the first youtube video you see. It's 5:24 long.
 
 
  	  | Code: |  	  | Try WriteInteger("Crysis3", &H90F5F70, somevalue)
 
 Catch ex As Exception
 | 
 This will modify the byte values of that address. When I test it, cheat engine shows that the byte values of that address got changed to the value of "somevalue" while showing that the double value just went to zero. This results in nothing happening in the game that I'm trying to modify. I need it to change the double to the value of the variable "somevalue" instead of the byte value in order to work.
 Does anyone know how to do this? Thanks in advance.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Sun May 12, 2013 4:27 pm    Post subject: |   |  
				| 
 |  
				| change the writeInteger function to write 8 bytes and to take a double as input variable for the 3th parameter _________________
 
 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: Mon May 13, 2013 5:53 am    Post subject: |   |  
				| 
 |  
				| I had a look at that memory class, it doesn't have anything for Double so you'l need to add that. It did have WriteFloat so you can try that atleast.
 _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Veraster How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 12 May 2013
 Posts: 5
 
 
 | 
			
				|  Posted: Mon May 13, 2013 10:09 am    Post subject: |   |  
				| 
 |  
				|  	  | Pingo wrote: |  	  | I had a look at that memory class, it doesn't have anything for Double so you'l need to add that. It did have WriteFloat so you can try that atleast.
 | 
 Thanks a lot. That worked when I used WriteFloat
  The address with the double value changed itself after it saw that the float changed so I don't need to change the double after all. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Mal1t1a Cheater
 
 ![]() Reputation: 0 
 Joined: 03 Jan 2010
 Posts: 40
 
 
 | 
			
				|  Posted: Sun May 26, 2013 9:31 pm    Post subject: |   |  
				| 
 |  
				| I was just browsing these forums, saw a visual basics related thread, looked at this, noticed a familiar function name with familiar parameters, saw a very familiar filename, looked at the file from the video, and it blew my mind. I created that class that they are using   
 I've since updated and added more useful functions to add more functionality and control over the memory. It's not really documented well, but I thought that hopefully the arguments to the functions would be clear (as they seem to be).
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Pingo Grandmaster Cheater
 
 ![]() Reputation: 8 
 Joined: 12 Jul 2007
 Posts: 571
 
 
 | 
			
				|  Posted: Mon May 27, 2013 6:23 pm    Post subject: |   |  
				| 
 |  
				|  	  | Mal1t1a wrote: |  	  | I was just browsing these forums, saw a visual basics related thread, looked at this, noticed a familiar function name with familiar parameters, saw a very familiar filename, looked at the file from the video, and it blew my mind. I created that class that they are using   
 I've since updated and added more useful functions to add more functionality and control over the memory. It's not really documented well, but I thought that hopefully the arguments to the functions would be clear (as they seem to be).
 | 
 Probably one of those leecher noobs on mpgh that posted your class.
 btw you can't just go by the function name pff
 WriteInteger isn't exactly a unique name.
 Procname, address and value are also common parameters.
 _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |