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 


How to make a trainer in Visual Basic 2008?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NeonLite
How do I cheat?
Reputation: 0

Joined: 18 Apr 2010
Posts: 2

PostPosted: Sun Apr 18, 2010 11:29 am    Post subject: How to make a trainer in Visual Basic 2008? Reply with quote

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
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Apr 18, 2010 11:42 am    Post subject: Reply with quote

You'll need to look into the API WriteProcessMemory() and find out how you can invoke it on VB2008.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Apr 19, 2010 2:36 am    Post subject: Reply with quote

Slugsnack wrote:
You'll need to look into the API WriteProcessMemory() and find out how you can invoke it on VB2008.

lol.
if only you got paid for writing that Smile

So since this thread exists can I hook up with another question?

How would I find a pointer in .net?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon Apr 19, 2010 4:14 am    Post subject: Reply with quote

Find a pointer as in finding a hack address in CE ? Or dereferencing a pointer and offset to a final address ?
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Apr 19, 2010 6:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon Apr 19, 2010 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
NeonLite
How do I cheat?
Reputation: 0

Joined: 18 Apr 2010
Posts: 2

PostPosted: Mon Apr 19, 2010 6:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon Apr 19, 2010 6:39 pm    Post subject: Reply with quote

if you're using winapi you can process the CBN_SELCHANGE notification
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 Apr 19, 2010 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue Apr 20, 2010 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
markiecork
How do I cheat?
Reputation: 0

Joined: 20 Apr 2010
Posts: 5

PostPosted: Tue Apr 20, 2010 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Apr 20, 2010 6:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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