| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		NeonLite How do I cheat?
  Reputation: 0
  Joined: 18 Apr 2010 Posts: 2
 
  | 
		
			
				 Posted: Sun Apr 18, 2010 11:29 am    Post subject: How to make a trainer in Visual Basic 2008? | 
				       | 
			 
			
				
  | 
			 
			
				Hey guys.
 
 
I'm making a trainer for an online game (Rumble Fighter)
 
I took up VB and I have no idea where to start.
 
 
I've coded a few things in VB2008 and now I want to make a trainer.
 
 
I got my address's and pointers already (Using Cheat Engine)
 
 
How will I go about this?
 
I've used the search engine already.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Slugsnack Grandmaster Cheater Supreme
  Reputation: 71
  Joined: 24 Jan 2007 Posts: 1857
 
  | 
		
			
				 Posted: Sun Apr 18, 2010 11:42 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| You'll need to look into the API WriteProcessMemory() and find out how you can invoke it on VB2008.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		NINTENDO Grandmaster Cheater Supreme
  Reputation: 0
  Joined: 02 Nov 2007 Posts: 1371
 
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Slugsnack Grandmaster Cheater Supreme
  Reputation: 71
  Joined: 24 Jan 2007 Posts: 1857
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 4:14 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| Find a pointer as in finding a hack address in CE ? Or dereferencing a pointer and offset to a final address ?
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		NINTENDO Grandmaster Cheater Supreme
  Reputation: 0
  Joined: 02 Nov 2007 Posts: 1371
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 6:14 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Slugsnack wrote: | 	 		  | Find a pointer as in finding a hack address in CE ? Or dereferencing a pointer and offset to a final address ? | 	  
 
I don't know how things work but the addresses should be different every time you start the game so don't you need to find the pointer?
 _________________
 Intel over amd yes.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Slugsnack Grandmaster Cheater Supreme
  Reputation: 71
  Joined: 24 Jan 2007 Posts: 1857
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 7:04 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| That's only if that address is dynamic. In that case it has nothing to do with the language you are implementing your trainer in. Actually when it comes to dynamic addresses, I personally prefer to do code injections.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		NeonLite How do I cheat?
  Reputation: 0
  Joined: 18 Apr 2010 Posts: 2
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 6:32 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Ok, I made my own trainer (About time)
 
 
Just one more thing. It has to do with the Combobox.
 
 
I need an example on how to set a hack when someone clicks on it in the list.
 
 
Example:
 
5 Items in the list - Hack 1, Hack 2, Hack 3, Hack 4, Hack 5
 
User clicks on Hack 2 in the list and it is enabled.
 
 
I already know how to freeze the address using the timer.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Slugsnack Grandmaster Cheater Supreme
  Reputation: 71
  Joined: 24 Jan 2007 Posts: 1857
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 6:39 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| if you're using winapi you can process the CBN_SELCHANGE notification
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		hcavolsdsadgadsg I'm a spammer
  Reputation: 26
  Joined: 11 Jun 2007 Posts: 5801
 
  | 
		
			
				 Posted: Mon Apr 19, 2010 7:59 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Slugsnack wrote: | 	 		  | if you're using winapi you can process the CBN_SELCHANGE notification | 	  
 
 
yeah except he already said he's using .net
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		NINTENDO Grandmaster Cheater Supreme
  Reputation: 0
  Joined: 02 Nov 2007 Posts: 1371
 
  | 
		
			
				 Posted: Tue Apr 20, 2010 2:12 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Code: | 	 		  Dim lb As New ListBox()
 
 
'If you know the zero-based index.
 
If lb.SelectedIndex = 1 Then
 
   'code here
 
End If
 
 
'if you know the name of the item
 
If lb.SelectedItem = "hej" Then
 
    'code here
 
End If | 	  
 _________________
 Intel over amd yes.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		markiecork How do I cheat?
  Reputation: 0
  Joined: 20 Apr 2010 Posts: 5
 
  | 
		
			
				 Posted: Tue Apr 20, 2010 6:22 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I don't understand if we are using  winapi so how we can process the CBN_SELCHANGE notification.please he me.
 _________________
 Mistakes are the portals of discovery  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Slugsnack Grandmaster Cheater Supreme
  Reputation: 71
  Joined: 24 Jan 2007 Posts: 1857
 
  | 
		
			
				 Posted: Tue Apr 20, 2010 6:23 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | slovach wrote: | 	 		   	  | Slugsnack wrote: | 	 		  | if you're using winapi you can process the CBN_SELCHANGE notification | 	  
 
 
yeah except he already said he's using .net | 	  
 
no he only said visual basic 2008, never specified how he intended to make his guis.
 
 	  | markiecork wrote: | 	 		  | I don't understand if we are using  winapi so how we can process the CBN_SELCHANGE notification.please he me. | 	  
 
you need to process the WM_NOTIFY message and then look at its lParam :
 
http://msdn.microsoft.com/en-us/library/bb775583(VS.85).aspx
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |