Sign in to follow this  
Followers 0
hackdasack

Why won't this code execute in game

7 posts in this topic

I made this simple code for Rose Online where it should send different F-Keys with different delays. It doesn't seem to work in the game, but if i go to notepad for example it works. anyone have any idea why?

WinActivate("Rose Online [Ver. 174]")
while 1
Sleep (10000)
Send("{F2}")
Sleep (200)
Send("{F2}")
Sleep (200)
Send("{F1}")
Sleep (300)
Send("{F3}")
Sleep (1000)
Send("{F4}")
Sleep (200)
WEnd

Share this post


Link to post
Share on other sites



I made this simple code for Rose Online where it should send different F-Keys with different delays. It doesn't seem to work in the game, but if i go to notepad for example it works. anyone have any idea why?

WinActivate("Rose Online [Ver. 174]")
while 1
Sleep (10000)
Send("{F2}")
Sleep (200)
Send("{F2}")
Sleep (200)
Send("{F1}")
Sleep (300)
Send("{F3}")
Sleep (1000)
Send("{F4}")
Sleep (200)
WEnd
Some games (Like MapleStory, for example) have people who look around for languages like this, and then block anything that might automate the game or change its values.

For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites

@hackdasack...Make sure you have the exact title "Rose Online [Ver. 174]" by using Au3Info.exe. I would use HotKeySet().

Share this post


Link to post
Share on other sites

First of all, thank you both very much for taking the time to help me.

Second, could you possibly give me an example how i would use the HotKeySet()?

Share this post


Link to post
Share on other sites

HotKeySet("{HOME}", "Go")
Func Go()
WinActivate("Rose Online [Ver. 174]")
while 1
Sleep (10000)
Send("{F2}")
Sleep (200)
Send("{F2}")
Sleep (200)
Send("{F1}")
Sleep (300)
Send("{F3}")
Sleep (1000)
Send("{F4}")
Sleep (200)
WEnd
EndFunc

Thats my guess


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites

I tired the following code and it had the same results. It would correctly open the game up, but it wouldn't cast any skills.

Does the code look correct? Any ideas why it's not working?

; Press Esc to terminate script, Pause/Break to "pause"

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("{HOME}", "Go")
;;;; Body of program would go here;;;;
while 1
    Sleep (100)
    WEnd
Func Go()
WinActivate("Rose Online [Ver. 175]")
while 1
Sleep (10000)
Send("{F2}")
Sleep (2000)
Send("{F2}")
Sleep (2000)
Send("{F1}")
Sleep (3000)
Send("{F3}")
Sleep (10000)
Send("{F4}")
Sleep (2000)
WEnd
EndFunc
;;;;;;;;

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc

Func ShowMessage()
    MsgBox(4096,"","This is a message.")
EndFunc

Share this post


Link to post
Share on other sites

Some games (Like MapleStory, for example) have people who look around for languages like this, and then block anything that might automate the game or change its values.

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