Thatsgreat2345 Posted August 4, 2005 Posted August 4, 2005 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
upnorth Posted August 4, 2005 Posted August 4, 2005 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
Valuater Posted August 4, 2005 Posted August 4, 2005 (edited) then this expandcollapse popup; 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 August 4, 2005 by Valuater
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 is there anyway to compile it into a .exe??
Valuater Posted August 4, 2005 Posted August 4, 2005 it had an error... this is better expandcollapse popup; 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)
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 nvm im stupid and am not able to use the search feature
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 thanks valuater one question where did u guys learn just trial and error or froma book or a prog that helps u out?
Valuater Posted August 4, 2005 Posted August 4, 2005 (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 August 4, 2005 by Valuater
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 i see well i may have to try that out and become super scripters like u
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 hey i dont think its working valuater
Valuater Posted August 4, 2005 Posted August 4, 2005 hey i dont think its working valuater<{POST_SNAPBACK}>what part.... 8)
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 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
Valuater Posted August 4, 2005 Posted August 4, 2005 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 pausepress "ESC" to exit press "F2" again to stop sending to the game8)
Valuater Posted August 4, 2005 Posted August 4, 2005 (edited) HAHAH thanks i just saw that<{POST_SNAPBACK}>wait.....you may need to change thisHotKeySet("F2", "ShowMe") to thisHotKeySet("{F2}", "ShowMe") sorry, didn't see it the first time......8) Edited August 4, 2005 by Valuater
Thatsgreat2345 Posted August 4, 2005 Author Posted August 4, 2005 thanks for the help just tryed it out and it didnt work but ill be sure to try this tommrow
Valuater Posted August 5, 2005 Posted August 5, 2005 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)
Thatsgreat2345 Posted August 5, 2005 Author Posted August 5, 2005 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??
Valuater Posted August 5, 2005 Posted August 5, 2005 give it a try... ( i cant say for sure.. ok ) ThatsGreat... looks like you are going to... "EnjoyAutoit" 8)
Thatsgreat2345 Posted August 5, 2005 Author Posted August 5, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now