Sign in to follow this  
Followers 0
IneedHELP

Need Help

17 posts in this topic

Can anyone check my code here?

==================================================================

#include <GUIConstants.au3>

WinActive ("RF_Online.bin", "RF Online")

GUICreate ("RF Auto Pick", 220, 120)

GUICtrlCreateGroup ("Instruction", 10, 10, 200, 100)

GUICtrlCreateLabel ("Press Insert to Start Picking", 20, 30, 150, 20)

GUICtrlCreateLabel ("Press Delete to Stop Picking", 20, 55, 150, 20)

GUICtrlCreateLabel ("Press End to Exit", 20, 80, 80, 20)

HotKeySet("{INS}", "StartPicking")

HotKeySet("{Del}", "Stop_Picking")

HotKeySet("{End}", "Terminate")

GUISetState()

Local $_stop = 0

Sleep(1000)

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

Exit

EndSelect

WEnd

Func StartPicking() ; Start Picking

while 1

$_stop = 0

WinActive("RF_Online.bin", "RF Online")

ControlSend("RF_Online.bin", "", "", "{Space}")

Sleep(15)

If $_stop = 1 Then

ExitLoop

EndIf

WEnd

EndFunc

Func Stop_Picking() ; Stop Picking

$_stop = 1

EndFunc

Func Terminate() ; Exit Program

Exit

EndFunc

==============================================================

i cant make it work what i want, i just wanna assign Ins or anykey to auto press Space.....

can anyone correct or give hint? thanks in advance hope anyone can help...

Share this post


Link to post
Share on other sites



I think the classname you are using for Controlsend is possibly wrong (RF_Online.bin) maybe try just using Send or using the Autoit window info app to find the proper class name.


Click here for the best AutoIt help possible.Currently Working on: Autoit RAT

Share this post


Link to post
Share on other sites

Hi Lo INH

It all looks so good until I get to the function ()

WinActive("RF_Online.bin", "RF Online"); ? is this the name of a page

;Next line

ControlSend("RF_Online.bin", "", "", "{Space}")? is this to highlight..........something and select something

;-----------------------------------------------------

Is there movement needed?

Do you want to keep results of your pick?

Alittle more info and I think someone here can help......

But in the mean time do not give up....

zz

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Hi Lo INH

It all looks so good until I get to the function ()

WinActive("RF_Online.bin", "RF Online"); ? is this the name of a page

;Next line

ControlSend("RF_Online.bin", "", "", "{Space}")? is this to highlight..........something and select something

;-----------------------------------------------------

Is there movement needed?

Do you want to keep results of your pick?

Alittle more info and I think someone here can help......

But in the mean time do not give up....

zz

its the name of the application or the game application, all i want to do is spam space because

in that game u spam space to pick up item and it will automatically move your char to that item..

i use space because you press keyboard (space) to pick up item in that game....

Edited by IneedHELP

Share this post


Link to post
Share on other sites

I think the classname you are using for Controlsend is possibly wrong (RF_Online.bin) maybe try just using Send or using the Autoit window info app to find the proper class name.

thanks!

kindly show me whats wrong with it? i already try (RF Online) <- name of application in the

task manager but in the process (RF_Online.bin) <- so i already try`d the two name still

wont work.... thus WinActive not enough?

Share this post


Link to post
Share on other sites

if this game has a protection like GameGuard, You cannot able to send key...

if situation like this.

use any standart driver name of os.

change your exe name to "Tablet","Evomouexec" smth like that.

Share this post


Link to post
Share on other sites

thanks! hmm so u cant use auti it if theres a gamagaurd or xtrap.. but the game im

going make auto space dont use gamagaurd and xtrap... any further explanation?

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

See if it works like this

CODE
#include <GUIConstants.au3>

WinActive ("RF_Online.bin", "RF Online")

GUICreate ("RF Auto Pick", 220, 120)

GUICtrlCreateGroup ("Instruction", 10, 10, 200, 100)

GUICtrlCreateLabel ("Press Insert to Start Picking", 20, 30, 150, 20)

GUICtrlCreateLabel ("Press Delete to Stop Picking", 20, 55, 150, 20)

GUICtrlCreateLabel ("Press End to Exit", 20, 80, 80, 20)

HotKeySet("{INS}", "StartPicking")

HotKeySet("{Del}", "Stop_Picking")

HotKeySet("{End}", "Terminate")

GUISetState()

Local $_stop = 0

Sleep(1000)

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

Exit

EndSelect

WEnd

Func StartPicking() ; Start Picking

while 1

$_stop = 0

WinActive("RF_Online.bin", "RF Online")

Send("{Space}")

Sleep(15)

If $_stop = 1 Then

ExitLoop

EndIf

WEnd

EndFunc

Func Stop_Picking() ; Stop Picking

$_stop = 1

EndFunc

Func Terminate() ; Exit Program

Exit

EndFunc

also depending on which server private or official there may be protections built into the game

i had a great bot written in autoit for this game until the U.S. servers got closed and then it didnt work on private servers due to client side protections.

Edited by Diception

Share this post


Link to post
Share on other sites

See if it works like this

CODE
#include <GUIConstants.au3>

WinActive ("RF_Online.bin", "RF Online")

GUICreate ("RF Auto Pick", 220, 120)

GUICtrlCreateGroup ("Instruction", 10, 10, 200, 100)

GUICtrlCreateLabel ("Press Insert to Start Picking", 20, 30, 150, 20)

GUICtrlCreateLabel ("Press Delete to Stop Picking", 20, 55, 150, 20)

GUICtrlCreateLabel ("Press End to Exit", 20, 80, 80, 20)

HotKeySet("{INS}", "StartPicking")

HotKeySet("{Del}", "Stop_Picking")

HotKeySet("{End}", "Terminate")

GUISetState()

Local $_stop = 0

Sleep(1000)

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

Exit

EndSelect

WEnd

Func StartPicking() ; Start Picking

while 1

$_stop = 0

WinActive("RF_Online.bin", "RF Online")

Send("{Space}")

Sleep(15)

If $_stop = 1 Then

ExitLoop

EndIf

WEnd

EndFunc

Func Stop_Picking() ; Stop Picking

$_stop = 1

EndFunc

Func Terminate() ; Exit Program

Exit

EndFunc

also depending on which server private or official there may be protections built into the game

i had a great bot written in autoit for this game until the U.S. servers got closed and then it didnt work on private servers due to client side protections.

ok i go try this one if it work or not thanks!

Share this post


Link to post
Share on other sites

ok i go try this one if it work or not thanks!

still doesnt work lol so wierd dunno whats wrong anymore Y_Y

Share this post


Link to post
Share on other sites

still doesnt work lol so wierd dunno whats wrong anymore Y_Y

where (what server) are you playing RF i may still be able to help

Share this post


Link to post
Share on other sites

this code worked on ascension, beast, and new official for me

CODE
#include <GUIConstants.au3>

;ProcessExists("RF_Online.bin");<========== changed this (not neccesary)

GUICreate ("RF Auto Pick", 220, 120)

GUICtrlCreateGroup ("Instruction", 10, 10, 200, 100)

GUICtrlCreateLabel ("Press Insert to Start Picking", 20, 30, 150, 20)

GUICtrlCreateLabel ("Press Delete to Stop Picking", 20, 55, 150, 20)

GUICtrlCreateLabel ("Press End to Exit", 20, 80, 80, 20)

HotKeySet("{INS}", "StartPicking")

HotKeySet("{Del}", "Stop_Picking")

HotKeySet("{End}", "Terminate")

GUISetState()

Local $_stop = 0

Sleep(1000)

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

Exit

EndSelect

WEnd

Func StartPicking() ; Start Picking

$_stop = 0 ;<========== moved this

WinActivate("Make this the window name");<========== changed this

while 1

;<========== from here

send("{Space}");<========== changed this

Sleep(15)

If $_stop = 1 Then

ExitLoop

EndIf

WEnd

EndFunc

Func Stop_Picking() ; Stop Picking

$_stop = 1

EndFunc

Func Terminate() ; Exit Program

Exit

EndFunc

Share this post


Link to post
Share on other sites

im play`n at private server only just RF to tired to press space many time so i making this bot but dunno whats the problem with the code doesnt work lol ahahhaa

Share this post


Link to post
Share on other sites

You are all missing the obvious here....

Local $_stop = 0

wont affect it here to make it stop if any thing will keep it going forever but i addressed that in my last post

and again if you tell me which private server your on maybe i can help. (beast and ascension are both private servers and my last code works on them just make sure you change to the right right window name as it was different for all 3 servers i play)

Share this post


Link to post
Share on other sites

You are using the wrong function here.

WinActive("RF_Online.bin", "RF Online")oÝ÷ Ù.¦ºi¹r槶Ú.±æ®¶­sevä7FfFRgV÷Cµ$eôöæÆæRæ&âgV÷C²ÂgV÷Cµ$böæÆæRgV÷C²oÝ÷ ÚÚºÚ"µÍÚ[ØZ]XÝ]J ][ÝÔÓÛ[K[][ÝË ][ÝÔÛ[I][ÝÊ

Check the help file for an explanation of the differences


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Share this post


Link to post
Share on other sites

Thanks for all the help.. i already said what server i play .. i play at Just-RF or RF-Just..

winactivate if im not wrong is to run a certain window if its not running hmm but got no

clue in winwaitactivate i go check it, thanks for the info..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0