Register for your free account! | Forgot your password?

You last visited: Today at 13:14

  • Please register to post and access all features, it's quick, easy and FREE!

 

Hero Bot v1.0

Reply
 
Old   #31
 
elite*gold: 0
Join Date: May 2009
Posts: 1,047
Received Thanks: 468
Quote:
Originally Posted by Devil589 View Post
Yea i know, i got the same problem but its possible the question is how.
So i wont give up. :P

See Ya!
tell me when you got it mate



ax5 is offline  
Old   #32
 
elite*gold: 0
Join Date: May 2009
Posts: 1,047
Received Thanks: 468
~BUMP
if some one knows a way to sendkey to a game tell me cya


ax5 is offline  
Old   #33
 
elite*gold: 0
Join Date: Dec 2008
Posts: 2
Received Thanks: 0
I can sure help you, shoot me a PM for my xfire/msn.
Decysen is offline  
Old   #34
 
elite*gold: 0
Join Date: May 2009
Posts: 1,047
Received Thanks: 468
Quote:
Originally Posted by Decysen View Post
I can sure help you, shoot me a PM for my xfire/msn.
would be great


ax5 is offline  
Old   #35
 
elite*gold: 0
Join Date: Jun 2009
Posts: 929
Received Thanks: 47
Bot dont work =(
i have windows 7 can you me help?
GotoHell92 is offline  
Old   #36
 
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 288
Quote:
Originally Posted by ax5 View Post
~BUMP
if some one knows a way to sendkey to a game tell me cya
Two ways, using Windows API calls and using AUtoIt's Au3x.Dll.

The Windows API is a bit harder to use and control, tho it is more functional. AutoIt's DLL is easier: call Au3_init and Au3_send(key to send). For C++, all you have to do to access it is include the .h file provided by AutoIt in your app.
karraksc is offline  
Old   #37
 
elite*gold: 0
Join Date: Dec 2007
Posts: 44
Received Thanks: 4
Here is Mine

Quote:
Originally Posted by karraksc View Post
Two ways, using Windows API calls and using AUtoIt's Au3x.Dll.

The Windows API is a bit harder to use and control, tho it is more functional. AutoIt's DLL is easier: call Au3_init and Au3_send(key to send). For C++, all you have to do to access it is include the .h file provided by AutoIt in your app.
a little contribution hehehe i am using VFP or Visual FoxPro and im planing to migrate to VB .net soon.

i am using API and AUtoit dll.

Hope this help . also my problem here is i have to wait for the loop to finish and i cant exit it using my stop button and i dunno yet in VFP how to get memory address of HP,MP .

any suggestion or help will do.


oautoit = ''
oautoit = CREATEOBJECT("autoitx3.control")
*!* oautoit.WinWaitActive("Hero OnLine") <---- i can used this without using API

cWindow_Name="Hero OnLine" <----- or this just call the API below

* Remember where we are and get access to DI
lnMainWind = GetActiveWind()

* Find the Activate Window
lnHandle = FindWind(cWindow_Name)

SetForeWind(lnHandle)

IF lnHandle # 0
* DO FORM mirbot <---- i am calling the form which i set my skills and etc
oautoit.send(1) <--- or you can use this code to send key it doesnt matter either F1....F12 its up to you

ENDIF


* Establish the foreground window
Function SetForeWind(tnHandle)
Declare Integer SetForegroundWindow ;
IN user32 Integer hWindow

SetForegroundWindow(tnHandle)

Return
Endfunc

* Get a specific window reference
Function FindWind(tcWindow)
Declare Integer FindWindow In user32 ;
STRING lpClassName, String lpWindowName

Local lnHandle
lnHandle = FindWindow(Null, tcWindow)
Return (lnHandle)
* Get reference to the active window
Endfunc

Function GetActiveWind
Declare Integer GetActiveWindow In user32
Return (GetActiveWindow())
Endfunc
hotty1177 is offline  
Old   #38
 
elite*gold: 0
Join Date: Jun 2008
Posts: 427
Received Thanks: 288
Thumbs down

Quote:
Originally Posted by hotty1177 View Post
a little contribution hehehe i am using VFP or Visual FoxPro and im planing to migrate to VB .net soon.

i am using API and AUtoit dll.

Hope this help . also my problem here is i have to wait for the loop to finish and i cant exit it using my stop button and i dunno yet in VFP how to get memory address of HP,MP .

any suggestion or help will do.


oautoit = ''
oautoit = CREATEOBJECT("autoitx3.control")
*!* oautoit.WinWaitActive("Hero OnLine") <---- i can used this without using API

cWindow_Name="Hero OnLine" <----- or this just call the API below

* Remember where we are and get access to DI
lnMainWind = GetActiveWind()

* Find the Activate Window
lnHandle = FindWind(cWindow_Name)

SetForeWind(lnHandle)

IF lnHandle # 0
* DO FORM mirbot <---- i am calling the form which i set my skills and etc
oautoit.send(1) <--- or you can use this code to send key it doesnt matter either F1....F12 its up to you

ENDIF


* Establish the foreground window
Function SetForeWind(tnHandle)
Declare Integer SetForegroundWindow ;
IN user32 Integer hWindow

SetForegroundWindow(tnHandle)

Return
Endfunc

* Get a specific window reference
Function FindWind(tcWindow)
Declare Integer FindWindow In user32 ;
STRING lpClassName, String lpWindowName

Local lnHandle
lnHandle = FindWindow(Null, tcWindow)
Return (lnHandle)
* Get reference to the active window
Endfunc

Function GetActiveWind
Declare Integer GetActiveWindow In user32
Return (GetActiveWindow())
Endfunc
Well thought out!!! I've only used VFP for database apps that a customer wanted to merge into their existing apps. If you merged VBA scripts into it you could easily modify memory tho. With a little modding, the routines you have here could easily work with VB or C++. Your routines for obtaining the handles, check/setting/activating windows and initialising the dll are clear and workable in several languages (slight mod to match language syntax) The Send routine can be used to send almost ANY key combo, as long as it is presented as a string.

Once you have the handle ID, try this:
Declare Written = DWord
Declare HPVal = Integer
Declare PID = Integer

Integer ReadMem(PID,Address,Data)
{
// using API ReadProcessMemory command to access the games memory.
Result = ReadProcessMemory(PID,Pointer(address),sizeof(data ),written)
//Syntax is (Windows Handle,
// Pointer to Address to search,
// Size of Data variable (Byte=1, Word=2 Integer=4 DWord=8)
// Written = Return value by routine if error/success
}

and to access it like this:
PID = FindWind("Hero OnLine")
ReadMem(PID,$A2A368, HPval)
karraksc is offline  
Thanks
1 User
Old   #39
 
elite*gold: 0
Join Date: Dec 2007
Posts: 44
Received Thanks: 4
Quote:
Originally Posted by karraksc View Post
Well thought out!!! I've only used VFP for database apps that a customer wanted to merge into their existing apps. If you merged VBA scripts into it you could easily modify memory tho. With a little modding, the routines you have here could easily work with VB or C++. Your routines for obtaining the handles, check/setting/activating windows and initialising the dll are clear and workable in several languages (slight mod to match language syntax) The Send routine can be used to send almost ANY key combo, as long as it is presented as a string.

Once you have the handle ID, try this:
Declare Written = DWord
Declare HPVal = Integer
Declare PID = Integer

Integer ReadMem(PID,Address,Data)
{
// using API ReadProcessMemory command to access the games memory.
Result = ReadProcessMemory(PID,Pointer(address),sizeof(data ),written)
//Syntax is (Windows Handle,
// Pointer to Address to search,
// Size of Data variable (Byte=1, Word=2 Integer=4 DWord=8)
// Written = Return value by routine if error/success
}

and to access it like this:
PID = FindWind("Hero OnLine")
ReadMem(PID,$A2A368, HPval)
Thanks for the suggestion karraksc.
hotty1177 is offline  
Old   #40
 
elite*gold: 0
Join Date: Oct 2011
Posts: 14
Received Thanks: 0
thanks
megadrunk is offline  
Old   #41
 
elite*gold: 0
Join Date: May 2008
Posts: 209
Received Thanks: 388
Not Working..

Oh Well
renzzie20 is offline  
Old   #42
 
elite*gold: 0
Join Date: May 2009
Posts: 1,047
Received Thanks: 468
Quote:
Originally Posted by renzzie20 View Post
Not Working..

Oh Well
Im soon starting a hero bot project soon again! i will have free version and premium version and always up to date with good functions. i will be back when im working to post the beta.

Best AX5


ax5 is offline  
Reply

Tags
hero online, heroonline, heroonlinerelease



« Previous Thread | Next Thread »

Similar Threads
WTS HERO ONLINE ACCOUNTS FOR HERO GOLD
IM SELLING 2 HERO ONLINE ACCOUNTS IN TRADE FOR HERO ONLINE GOLD FIRST IS A LVL 71 FEMALE SPEAR SECOND IS A LVL 63 COMBAT MEDIC if your...
5 Replies - Trading



All times are GMT +1. The time now is 13:14.


Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2016 elitepvpers All Rights Reserved.