Sign in to follow this  
Followers 0
Thatsgreat2345

Siple Button Presser

40 posts in this topic

I was wondering i know this wouldnt be to hard for you guys but how would i get a thing to just start off by pressing f6 five times with like a 2 second delay in between each press then have it press f1 and wait for a certain amount of seconds and then press f1 again delay for 2 seconds then loop back to the begging to press f6 all i want to do is make it so that i dont have to sit at the comp all day to level up a skill in flyff so if you could help me that would be great and how do i make it into a .exe so that you can start it up have a button that says start and above the button it tells you where to put the skill and the sit function i tryed to make a GUI but i got confused so if you could make a simple script that would be great

Share this post


Link to post
Share on other sites



maybe

while 1
for $i = 1 to 5
send("{F6}")
sleep( 2000)
next
send("{F1]")
sleep( "a certain amount of seconds")
send("{F1}")
sleep( 2000)
wend

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

then this

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

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("F2", "ShowMe")  

;;;; Body of program would go here;;;;
While 1
    Sleep(100)
WEnd
;;;;;;;;

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

Func Terminate()
    Exit 0
EndFunc

Func ShowMe()
   while 1
for $i = 1 to 5
send("{F6}")
sleep( 2000)
next
send("{F1]")
sleep( "a certain amount of seconds")
send("{F1}")
sleep( 2000)
wend
EndFunc

use other hotkeys as you wish

8)

done on-the-fly *not tested*

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

is there anyway to compile it into a .exe??

Share this post


Link to post
Share on other sites

it had an error... this is better

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

Global $Paused, $t = 0
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("F2", "ShowMe")  


While 1
    If $t =1 Then
        for $i = 1 to 5
        send("{F6}")
        sleep( 2000)
        next
        send("{F1]")
        sleep( "a certain amount of seconds")
        send("{F1}")
        sleep( 2000)
    EndIf
WEnd
;;;;;;;;

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

Func Terminate()
    Exit 0
EndFunc

Func ShowMe()
    If $t = 1 then 
        $t = 0
        Return
    EndIf
    
    If $t = 0 then 
        $t = 1
        Return
    EndIf
  
EndFunc

do you have the autoit file... then you can create the exe

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

nvm im stupid and am not able to use the search feature

Share this post


Link to post
Share on other sites

thanks valuater one question where did u guys learn just trial and error or froma book or a prog that helps u out?

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

trial and error... here in this forum... but most of all

the help files have example scripts that practically write the damn script for you...

HOW ABOUT THIS

all that you see in the above script was from HELP combined with UP_NORTH 's script.... true (only minor changes)\

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

i see well i may have to try that out and become super scripters like u :whistle:

Share this post


Link to post
Share on other sites

hey i dont think its working valuater

Share this post


Link to post
Share on other sites

hey i dont think its working valuater

<{POST_SNAPBACK}>

what part....

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

just tryed it at my friends house started it up it went to the system tray then started up the game and waited but nothing happened

Share this post


Link to post
Share on other sites

just tryed it at my friends house started it up it went to the system tray then started up the game and waited but nothing happened

<{POST_SNAPBACK}>

have to .......

press "F2" to start

press "Pause" to pause

press "ESC" to exit

press "F2" again to stop sending to the game

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

HAHAH thanks i just saw that

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

HAHAH thanks i just saw that

<{POST_SNAPBACK}>

wait.....

you may need to change this

HotKeySet("F2", "ShowMe")

to this

HotKeySet("{F2}", "ShowMe")

sorry, didn't see it the first time......

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

thanks for the help just tryed it out and it didnt work but ill be sure to try this tommrow

Share this post


Link to post
Share on other sites

HAHAH thanks i just saw that

<{POST_SNAPBACK}>

did you get it to work???

did you see the info from the PM you sent???

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

yeah thanks i got it to work and today i made an auto login well i took part of acouple scripts from people then edited them all to work still gets stuck at the character selection screen cuz sumtimes the guy is sitting down but yeah it works now im going to make an auto attacker and finding pixel and pixels shaded are hard but for the health bot can i just use this

; Wait until something changes in the region 0,0 to 50,50

; Get initial checksum

$checksum = PixelChecksum(0,0, 50,50)

; Wait for the region to change, the region is checked every 100ms to reduce CPU load

While $checksum = PixelChecksum(0,0, 50, 50)

Sleep(100)

WEnd

MsgBox(0, "", "Something in the region has changed!")

and make it so it check the top left area so taht when something on it changes it press f8 or also use it for the auto attacker like say its searches once sumthing changes it moves the mouse there double clicks then sleeps for x number of seconds then press f2 to pick up items then starts searching again??

Share this post


Link to post
Share on other sites

give it a try... ( i cant say for sure.. ok )

ThatsGreat... looks like you are going to... "EnjoyAutoit"

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

yeah its making me realy popular the skill bot made me realy popular on the forums and of course i gave credit to u for basicaly writing the entire script

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