ayelus
Member
Posts: 16 Likes: 0
Currently Offline
Last Online: Jun 15, 2016 6:08:49 GMT
View Profile
Registered On: Feb 18, 2016 6:03:43 GMT
|
Post by ayelus on Mar 18, 2016 9:24:53 GMT
well explaining better there is some potions in the ot serv that i play which increase the amount of exp that i earn during 30 minutes and also a stamina doll that replenish my stamina (and i need to use the doll every two hours to maintain the exp bonus of 50%) the potions i will list the id bellow.
30 minutes potion x7 id 9027 (this one is like food just crtl and click (useitem 9027) 30 minutes potion x5 id 942 (this one open enable a crosshair and you have to click on yourself (useoncreature 942 self)) 30 minutes potion x3 id 9028 (this one is like food just crtl and click (useitem 9028) 30 minutes potion x2 id 7440 (this one is like food just crtl and click (useitem 7440) 2 hours Stamina Doll 8154 (this one is like food just crtl and click (useitem 8154)
To be able to leave the bot grinding (leveling and farming) and go to sleep i need to ensure the use of that items when they expire and when i got disconnected i really appreciate your help tanks for everything.
|
|
|
Post by Darth Maul on Mar 18, 2016 10:52:40 GMT
Hey ayelus, Does a message appear after you use any of the items? Does a message appear when you run out of stamina, or when your bonus exp expires? Are you able to use a command to check your current stamina, or how much time you have left on your bonus exp?
|
|
ayelus
Member
Posts: 16 Likes: 0
Currently Offline
Last Online: Jun 15, 2016 6:08:49 GMT
View Profile
Registered On: Feb 18, 2016 6:03:43 GMT
|
Post by ayelus on Mar 18, 2016 19:10:52 GMT
Hey ayelus , Does a message appear after you use any of the items? Does a message appear when you run out of stamina, or when your bonus exp expires? Are you able to use a command to check your current stamina, or how much time you have left on your bonus exp? yes it appears a message when i use the potions a withe message and display a time stamp (where exaustion is displayed ) i will list below the effect of exp potion will end in xx:xx. the effect of exp crystal wil end in xx:xx. the effect of alpha will end in xx:xx. and the stamina appears a orange message saying that my stamina has been replenish they appears too fast i will get more info
|
|
ayelus
Member
Posts: 16 Likes: 0
Currently Offline
Last Online: Jun 15, 2016 6:08:49 GMT
View Profile
Registered On: Feb 18, 2016 6:03:43 GMT
|
Post by ayelus on May 9, 2016 13:16:14 GMT
Hey ayelus , Does a message appear after you use any of the items? Does a message appear when you run out of stamina, or when your bonus exp expires? Are you able to use a command to check your current stamina, or how much time you have left on your bonus exp? well i put a lot of though and i reach the following conclusion i just need to pause targeting and way points and stop atk then use the items (7440/9028/9027) the use on creature self (useoncreature 942 self) and restart way points and targeting reaching something like this: auto 1800000 {settargeting off | setfollowwaypoints off | stopattack} |wait 1000 | useitem 9027 | wait 100 | useitem 9028 | wait 100 | useitem 7440 | wait 100 | useoncreature 942 self | wait 1000 | {settargeting on | setfollowwaypoints on} but i could not make it work i don't know if I'm mistaking some syntax or what else so if you guys could give some tweaks and fix in this hot key for me i would appreciate
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on May 9, 2016 17:43:41 GMT
try this auto 1800000 settargeting off | setfollowwaypoints off | stopattack | wait 1000 | useitem 9027 | wait 1000 | useitem 9028 | wait 1000 | useitem 7440 | wait 1000 | useoncreature 942 self | wait 1000 | settargeting on | setfollowwaypoints on Or this, it will set a 30minute timer (2 hour for stamina) every time it finds the message after using the item and will use it when the timer = 0. Just make sure to change useitem ID to whatever the id of the item is. auto 1 dontlist | foreach 'newmessages' $expot if [$expot.content ? 'the effect of exp potion will end in'] {set $timeexp [$deltatime+1800] | set $timeexp2 1} auto 1 dontlist | if [$timeexp2 == 0] {useitem ID | wait 2000} | if [$timeexp2 != 0] {set $timeexp2 [$timeexp-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $crys if [$crys.content ? 'the effect of exp crystal will end in'] {set $timecrys [$deltatime+1800] | set $timecrys2 1} auto 1 dontlist | if [$timecrys2 == 0] {useitem ID | wait 2000} | if [$timecrys2 != 0] {set $timecrys2 [$timecrys-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $alpha if [$alpha.content ? 'the effect of alpha will end in'] {set $timealpha [$deltatime+1800] | set $timealpha2 1} auto 1 dontlist | if [$timealpha2 == 0] {useitem ID | wait 2000} | if [$timealpha2 != 0] {set $timealpha2 [$timealpha-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $stam if [$stam.content ? 'stamina' && $stam.content ? 'replenish'] {set $timestamina [$deltatime+7200] | set $timestamina2 1} auto 1 dontlist | if [$timestamina2 == 0] {useitem ID | wait 2000} | if [$timestamina2 != 0] {set $timestamina2 [$timestamina-$deltatime]} Also you can add these if you want to see the timers: (Not required for the script to work) auto 1 setpos [$screenleft-195] [$screenbottom-60] | displaytext "Exp Potion: $formattime.$timeexp2" auto 1 setpos [$screenleft-195] [$screenbottom-45] | displaytext "Exp Crystal: $formattime.$timecrys2" auto 1 setpos [$screenleft-195] [$screenbottom-30] | displaytext "Alpha: $formattime.$timealpha2" auto 1 setpos [$screenleft-195] [$screenbottom-15] | displaytext "Stamina: $formattime.$timestamina2"
|
|
ayelus
Member
Posts: 16 Likes: 0
Currently Offline
Last Online: Jun 15, 2016 6:08:49 GMT
View Profile
Registered On: Feb 18, 2016 6:03:43 GMT
|
Post by ayelus on May 10, 2016 2:18:27 GMT
try this auto 1800000 settargeting off | setfollowwaypoints off | stopattack | wait 1000 | useitem 9027 | wait 1000 | useitem 9028 | wait 1000 | useitem 7440 | wait 1000 | useoncreature 942 self | wait 1000 | settargeting on | setfollowwaypoints on Or this, it will set a 30minute timer (2 hour for stamina) every time it finds the message after using the item and will use it when the timer = 0. Just make sure to change useitem ID to whatever the id of the item is. auto 1 dontlist | foreach 'newmessages' $expot if [$expot.content ? 'the effect of exp potion will end in'] {set $timeexp [$deltatime+1800] | set $timeexp2 1} auto 1 dontlist | if [$timeexp2 == 0] {useitem ID | wait 2000} | if [$timeexp2 != 0] {set $timeexp2 [$timeexp-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $crys if [$crys.content ? 'the effect of exp crystal will end in'] {set $timecrys [$deltatime+1800] | set $timecrys2 1} auto 1 dontlist | if [$timecrys2 == 0] {useitem ID | wait 2000} | if [$timecrys2 != 0] {set $timecrys2 [$timecrys-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $alpha if [$alpha.content ? 'the effect of alpha will end in'] {set $timealpha [$deltatime+1800] | set $timealpha2 1} auto 1 dontlist | if [$timealpha2 == 0] {useitem ID | wait 2000} | if [$timealpha2 != 0] {set $timealpha2 [$timealpha-$deltatime]}
auto 1 dontlist | foreach 'newmessages' $stam if [$stam.content ? 'stamina' && $stam.content ? 'replenish'] {set $timestamina [$deltatime+7200] | set $timestamina2 1} auto 1 dontlist | if [$timestamina2 == 0] {useitem ID | wait 2000} | if [$timestamina2 != 0] {set $timestamina2 [$timestamina-$deltatime]} Also you can add these if you want to see the timers: (Not required for the script to work) auto 1 setpos [$screenleft-195] [$screenbottom-60] | displaytext "Exp Potion: $formattime.$timeexp2" auto 1 setpos [$screenleft-195] [$screenbottom-45] | displaytext "Exp Crystal: $formattime.$timecrys2" auto 1 setpos [$screenleft-195] [$screenbottom-30] | displaytext "Alpha: $formattime.$timealpha2" auto 1 setpos [$screenleft-195] [$screenbottom-15] | displaytext "Stamina: $formattime.$timestamina2" but dude if im engaged in a battle using rune or restorative potions your method wont work on th otserv that i play cuz it will open exaustion so the best way to use would be stop the cave/targetin/atak use the potions and then restart again every 30 minutes and every 2 hours fo the stamina 30 minutes potion x7 id 9027 (this one is like food just crtl and click (useitem 9027) 30 minutes potion x5 id 942 (this one open enable a crosshair and you have to click on yourself (useoncreature 942 self)) 30 minutes potion x3 id 9028 (this one is like food just crtl and click (useitem 9028) 30 minutes potion x2 id 7440 (this one is like food just crtl and click (useitem 7440) 2 hours Stamina Doll 8154 (this one is like food just crtl and click (useitem 8154)
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on May 10, 2016 2:59:43 GMT
but dude if im engaged in a battle using rune or restorative potions your method wont work on th otserv that i play cuz it will open exaustion so the best way to use would be stop the cave/targetin/atak use the potions and then restart again every 30 minutes and every 2 hours fo the stamina 30 minutes potion x7 id 9027 (this one is like food just crtl and click (useitem 9027) 30 minutes potion x5 id 942 (this one open enable a crosshair and you have to click on yourself (useoncreature 942 self)) 30 minutes potion x3 id 9028 (this one is like food just crtl and click (useitem 9028) 30 minutes potion x2 id 7440 (this one is like food just crtl and click (useitem 7440) 2 hours Stamina Doll 8154 (this one is like food just crtl and click (useitem 8154) If it gets exhausted because of e.g using health pot, it should still work because it will keep trying to use it untill it sees the message that appears after using it. But you can try this instead, it will turn off the waypoints/targeting > use the items > turn on the waypoints/targeting Exp itemsauto 1 dontlist | foreach 'newmessages' $exp if [$exp.content ? 'the effect of'] {set $exptime [$deltatime+1800] | set $exptime2 1}
auto 1 dontlist | if [$exptime2 == 0] {settargeting off | setfollowwaypoints off | wait 5000 | useitem 9027 | wait 200 | useoncreature 942 self | wait 200 | useitem 9028 | wait 200 | useitem 7440 | settargeting on | setfollowwaypoints on} | if [$exptime2 != 0] {set $exptime2 [$exptime-$deltatime]} Staminaauto 1 dontlist | foreach 'newmessages' $stam if [$stam.content ? 'stamina' && $stam.content ? 'replenish'] {set $stamtime [$deltatime+7200] | set $stamtime2 1 | settargeting on | setfolowwaypoints on}
auto 1 dontlist | if [$stamtime2 == 0] {settargeting off | setfollowwaypoints off | wait 5000 | useitem 8154} | if [$stamtime2 != 0] {set $stamtime2 [$stamtime-$deltatime]} Note: made them in somewhat of a rush b4 sleep so if you test them and they dont work etc or simply are not what your looking for let me know and ill fix them when I get the time to
|
|
ayelus
Member
Posts: 16 Likes: 0
Currently Offline
Last Online: Jun 15, 2016 6:08:49 GMT
View Profile
Registered On: Feb 18, 2016 6:03:43 GMT
|
Post by ayelus on May 16, 2016 8:40:42 GMT
but dude if im engaged in a battle using rune or restorative potions your method wont work on th otserv that i play cuz it will open exaustion so the best way to use would be stop the cave/targetin/atak use the potions and then restart again every 30 minutes and every 2 hours fo the stamina 30 minutes potion x7 id 9027 (this one is like food just crtl and click (useitem 9027) 30 minutes potion x5 id 942 (this one open enable a crosshair and you have to click on yourself (useoncreature 942 self)) 30 minutes potion x3 id 9028 (this one is like food just crtl and click (useitem 9028) 30 minutes potion x2 id 7440 (this one is like food just crtl and click (useitem 7440) 2 hours Stamina Doll 8154 (this one is like food just crtl and click (useitem 8154) If it gets exhausted because of e.g using health pot, it should still work because it will keep trying to use it untill it sees the message that appears after using it. But you can try this instead, it will turn off the waypoints/targeting > use the items > turn on the waypoints/targeting Exp itemsauto 1 dontlist | foreach 'newmessages' $exp if [$exp.content ? 'the effect of'] {set $exptime [$deltatime+1800] | set $exptime2 1}
auto 1 dontlist | if [$exptime2 == 0] {settargeting off | setfollowwaypoints off | wait 5000 | useitem 9027 | wait 200 | useoncreature 942 self | wait 200 | useitem 9028 | wait 200 | useitem 7440 | settargeting on | setfollowwaypoints on} | if [$exptime2 != 0] {set $exptime2 [$exptime-$deltatime]} Staminaauto 1 dontlist | foreach 'newmessages' $stam if [$stam.content ? 'stamina' && $stam.content ? 'replenish'] {set $stamtime [$deltatime+7200] | set $stamtime2 1 | settargeting on | setfolowwaypoints on}
auto 1 dontlist | if [$stamtime2 == 0] {settargeting off | setfollowwaypoints off | wait 5000 | useitem 8154} | if [$stamtime2 != 0] {set $stamtime2 [$stamtime-$deltatime]} Note: made them in somewhat of a rush b4 sleep so if you test them and they dont work etc or simply are not what your looking for let me know and ill fix them when I get the time to tankz i edited your hk and got everything i needed so tankz a lot man
|
|
epic
Junior Member
Posts: 8 Likes: 0
Currently Offline
Last Online: May 5, 2017 13:56:02 GMT
View Profile
Registered On: Sept 29, 2016 6:12:02 GMT
|
Post by epic on Apr 29, 2017 12:07:16 GMT
I Found A post Here that To use on my self the exp pots that post explained that i have to turn of my cavebot and targeting before useing them you really guys give him a very good script and its working good but there is a problem in it that the script is not turning the targeting and the cavebot on again i fixed every thing on it and its become so good but its not turning on the cavebot or the targeting can you guys help me with that ? (here is the script)
(i added this to persistent)
auto 1 dontlist | foreach 'newmessages' $exp if [$exp.content ? 'the effect of'] {set $exptime [$deltatime+1800] | set $exptime2 1} (and This to Normal hotkey)auto 1 dontlist | if [$exptime2 == 0] {settargeting off | setfollowwaypoints off | wait 5000 | useitem 9028 | wait 200 | useoncreature 942 self | wait 200 | useitem 7440 | settargeting on | setfollowwaypoints on} | if [$exptime2 != 0] {set $exptime2 [$exptime-$deltatime]}
|
|