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 


CE and VB6 programme ?

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

Joined: 13 Jan 2008
Posts: 8

PostPosted: Fri Jan 18, 2008 7:13 am    Post subject: CE and VB6 programme ? Reply with quote

Hello. I would like to do something:
* Find my nick using CE in game Knight Online
* How to code it into VB, when I click an button in label will be aviable my nick?
* Have I to use a module? Which?
* If you have any example I will be grateful




/Viano

_________________
Remember computer is for you ! No You for computer !
Back to top
View user's profile Send private message
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Fri Jan 18, 2008 7:25 am    Post subject: Reply with quote

I don't know Knight Online and what protection it uses.

But assuming there is no protect you scan text for your nickname
When you found the offset you write a VB6 application that does ReadProcessMem at the found offset and then just set the found data as caption to the label...
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Jan 18, 2008 8:03 am    Post subject: Re: CE and VB6 programme ? Reply with quote

Viano wrote:
Hello. I would like to do something:
* Find my nick using CE in game Knight Online
* How to code it into VB, when I click an button in label will be aviable my nick?
* Have I to use a module? Which?
* If you have any example I will be grateful




/Viano


Locate your name in gave via searching for the text. Then, locate a pointer to the location in memory. (If I recall correctly, Knight Online uses code shifting.)

As for coding it, you will need to use some API to obtain the game window information (handle etc.) then open the process for reading access then read the memory. I suggest not using FindWindow but if you are lazy go for it. The API I suggest you should use is CreateToolhelp32Snapshot. So a quick API list you will need so far:

- CreateToolhelp32Snapshot
- Process32First
- Process32Next
- Module32First
- Module32Next
- OpenProcess
- CloseProcess
- ReadProcessMemory

Check out the MSDN for explainations for all of these, as well as the following site for examples if needed:
http://allapi.mentalis.org/apilist/apilist.php

As for a module, you do not have to use one, but it is suggested to use them to hold API and other functions that will be used across your application. There is an old module floating around on the net that is pretty outdated that uses FindWindow but, it does work for basic games and such.

I write a trainer toolkit that demonstrates how to use all the API I listed above which you can find here:
http://www.extalia.com/forums/viewtopic.php?f=22&t=2585

I don't have much of an example for this other then the example I wrote that comes with the trainer toolkit I linked above. I don't play Knight Online anymore, I only played it for a short time during its beta testing so I don't recall much about it other then it sucked lol.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
atlantis
Advanced Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 69

PostPosted: Fri Jan 18, 2008 11:14 am    Post subject: Reply with quote

OpenProcess is later hooked so if you use OpenProcess with all access rights xtrap will shut usko down..

but if you use dup handle + read + write (write is locked so no real use?)
but anyway it would look like this:
Handle = OpenProcess(&H10 Or &H20 Or &H40,false,ProcessID)
if handle > 0 then msgbox("I have access")
Back to top
View user's profile Send private message
Viano
How do I cheat?
Reputation: 0

Joined: 13 Jan 2008
Posts: 8

PostPosted: Fri Jan 18, 2008 4:16 pm    Post subject: Reply with quote

I wanna just show nick char on my program witch label control in form... Please any tutrial Smile
_________________
Remember computer is for you ! No You for computer !
Back to top
View user's profile Send private message
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Fri Jan 18, 2008 4:56 pm    Post subject: Reply with quote

Use CE, search by text, get address, and use that address for you project as string?
_________________

Back to top
View user's profile Send private message
Viano
How do I cheat?
Reputation: 0

Joined: 13 Jan 2008
Posts: 8

PostPosted: Fri Jan 18, 2008 5:50 pm    Post subject: Reply with quote

hmm man search text -.- go use Tutorial.exe from CE program and search Healt in CE and code to VB6. And give here code Smile

I dont know as this make...

_________________
Remember computer is for you ! No You for computer !
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