Emotron Posted June 15, 2008 Share Posted June 15, 2008 Hmm, im not sure but i think my script is so slow since i got everything in while statement (so it loop it) but when i start my script it take about min before my script starts again since theres alot sleeps in my script i think it might be problem? but not sure how to fix i tried do more whiles but then it wont use all functions of my script so im not sure what to do :/ Link to comment Share on other sites More sharing options...
Developers Jos Posted June 15, 2008 Developers Share Posted June 15, 2008 And how do you expect somebody to help you without being clairvoyant ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Emotron Posted June 15, 2008 Author Share Posted June 15, 2008 And how do you expect somebody to help you without being clairvoyant ? no idea what u talking about xD anyway heres my script While 1 WinActivate("GameClient") While 1 if $balloon == 1 Then $Balloon = TrayTip($level & " " & $name,"Health left: " & $hp & " / " & $maxhp & @CRLF & "Mana Left: " & $mana & " / " & $maxmana, "", 1) EndIf if $skill == 1 Then Send($skill_key) sleep(900) MouseDown("right") sleep(100) MouseUp("right") sleep($time1) EndIf if $skill2 == 1 Then Send($skill_key2) sleep(900) MouseDown("right") sleep(100) MouseUp("right") sleep($time2) Endif if $eat == 1 Then If $hp < $UseHeal AND $hp > 0 Then Send($hpkey); heal use pot sleep(10) EndIf If $mana < $UseMana AND $mana > 0 Then Send($mpkey); mana use pot sleep(10) EndIf ExitLoop EndIf WEnd WEnd But it takes about 40sec before it patch traytip again and eats potions whit delay since its slow :I Link to comment Share on other sites More sharing options...
sandin Posted June 15, 2008 Share Posted June 15, 2008 this doesn't help much, where is the part where you state your $time1 and $time2? Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
Developers Jos Posted June 15, 2008 Developers Share Posted June 15, 2008 no idea what u talking about xDanyway heres my scriptYou obviously did understand what I meant. Now how about posting something that contains all needed info to understand what you are doing ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Emotron Posted June 15, 2008 Author Share Posted June 15, 2008 It loads most infos from ini that contains everything heres the ini: [settings] Eat_Potions=1 When_Health=0 When_Mana=0 Show_tip=1 Autodc=0 Hp_hotkey=3 Mp_hotkey=2 Skill_use=1 Skill_key=5 Skill_time=2500 Skill_use2=1 Skill_key2=1 Skill_time2=9100 trying do skillmacro :I Link to comment Share on other sites More sharing options...
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