Sign in to follow this  
Followers 0
Dabz

I need a little help..

10 posts in this topic

I'm playing Rising Force Online, a MMORPG. And i need a program to 'press' F7 key three times with a delay of 10 second every 1 minute. I mean, it will press F7 key at

hours:minute:second

00:00:00

00:00:10

00:00:20

00:01:00

00:01:10

00:01:20

and so on..

it's very simple, isn't it? i've tried another program such as Macro Expert and WinTask. But everytime i tried to record it (Pressing F7 when i'm playing the game) the program couldn't detect anything i do in that game.. and i hope AutoIt could help me with this problem.. The title of the window is 'RF Online'..

Thx 4 helping me..

Share this post


Link to post
Share on other sites

something like this?

While 1
    While 1
        Send("{F7}")
        Sleep(10000) ; 10s
    WEnd
    Sleep(60000) ; 1min
WEndoÝ÷ Ûú®¢×·¶)±«­¢+Ù]¡¥±Ä(%]¡¥±Ä($%½ÈÀÌØí¤ôÄQ¼Ì($%M¹ ÅÕ½ÐííÝôÅÕ½Ðì¤($%9áÐ($%M±À ÄÀÀÀÀ¤ìÄÁÌ(%]¹(%M±À ØÀÀÀÀ¤ìŵ¥¸)]¹

Share this post


Link to post
Share on other sites

Thx all.. i'll try it..

if i put

WinWaitActive("RF Online") it will be ok right?

Share this post


Link to post
Share on other sites

or...

While 1
Sleep(10000)
Send("{F7}")
WEnd

ez... :D

Share this post


Link to post
Share on other sites

Hello all,, i've try it.. and it's simply doesn't work ! i don't know why. But i think it's because the program block it, because when i try

WinWaitActive("Untitled - Notepad")

While 1
    While 1
        Send("trying")
        Sleep(10000); 10s
        Send("trying")
        Sleep(10000); 10s
        Send("trying")
        Sleep(10000); 10s
    WEnd
    Sleep(60000); 1min
WEnd

it works. but it's keep on sending "trying" every 10 second instead of sending it 3 times every minute.. it works on notepad. but when i try to run it on the game (it should make me chat "trying" every 10 second) but nothing happened. So i conclude that AutoIt couldn't do it on RF Online..

and when i try

WinWaitActive("Untitled - Notepad")

While 1
    While 1
        For $i = 1 To 3
        Send("trying")
        Next
        Sleep(10000); 10s
    WEnd
    Sleep(60000); 1min
WEnd

it send "trying" 3 times without 10sec delay between each word..

anyone can help? i'm really don't understand.. hopefully there is a RF Online player so he/she can try it..

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

I've found how to make it send "trying" 3 times each minute..

WinWaitActive("Untitled - Notepad")

While 1
    While 2
        Send("trying")
        Sleep(10000); 10s
        Send("trying")
        Sleep(10000); 10s
        Send("trying")
        Sleep(60000); 60s
    WEnd
    Sleep(60000); 1min
WEnd

but still.. it works only on any program but RF Online.. sob.. help me.. wondering what the problem is.. is there other command that works like the "send" command? maybe there is a specific command for hotkey?

Edited by Dabz

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Regarding getting it to work in notepad:

WinWaitActive("Untitled - Notepad")

While 1
    For $i = 1 To 3
        Send("trying")
        Sleep(10000); 10s
    Next
    Sleep(60000); 1min
WEnd

Regarding your game: I think it's a common anti-cheating method of such games to detect and ignore simulated keypresses, so you may not be able to do what you want in that particular game. Seems I've seen a post somewhere on the forums here of a UDF alternate to the send() command that worked deeper down in the OS so it might bypass that feature in the game...maybe someone knows more than me (actually, it's quite certain someone does, but maybe they can help you) :D

Edited by james3mg

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Thx james..

so there is a anti-cheating method..

now i'm really desperate.. anyone could help me make a mechanic robot that could press "F7" every minute manually? LOL..

hix.. hix..

Seems I've seen a post somewhere on the forums here of a UDF alternate to the send() command that worked deeper down in the OS so it might bypass that feature in the game...maybe someone knows more than me (actually, it's quite certain someone does, but maybe they can help you) wink.gif

anyone who know it, please tell me....

Edited by Dabz

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