Back to "tmap" tags

Auto bot tmapper kill dude with tinkering by Jaseowns

# Auto bot tmapper kill dude with tinkering Jaseowns # UO Outlands - https://youtu.be/K3bVPhHcInE // Beta client for cooldowns // cooldowns for mushrooms, mana vampire and healpots // for now using timers overhead "Autobot engaged" 88 @setvar! cdTrap 420000 if not timerexists myTrapTimer1 createtimer myTrapTimer1 settimer myTrapTimer1 cdTrap endif if not timerexists myTrapTimer2 createtimer myTrapTimer2 settimer myTrapTimer2 cdTrap endif if not timerexists myTrapTimer3 createtimer myTrapTimer3 settimer myTrapTimer3 cdTrap endif if not timerexists myTrapTimer4 createtimer myTrapTimer4 settimer myTrapTimer4 cdTrap endif if not timerexists myTrapTimer5 createtimer myTrapTimer5 settimer myTrapTimer5 cdTrap endif // Make sure we have a spell book attached if findlayer self righthand as item // do nothing elseif findtype "3834" backpack as item dclick item else overhead "No book bro!" 34 endif if position 1828 998 while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate dclick jGate endwhile if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate gumpresponse 2 3899019871 endif if not hidden useskill 'Hiding' endif wait 500 replay endif # Update this variable to 1 for ALL KILL # Update this variable to 0 for target nearest @setvar! setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster 0 @setvar! cdLightning 40000 @setvar! cdMagicArrow 20000 @setvar! cdHarm 20000 @setvar! cdFireball 60000 @setvar! cdEvilOmen 30000 @setvar! cdVampiricEmbrace 30000 @setvar! cdCorpseSkin 30000 @setvar! cdMindRot 30000 @setvar! cdMushroom 60000 @setvar! cdMagicShield 60000 @setvar! cdReactiveArmor 60000 @setvar! cdGuardMe 15000 if not timerexists reactiveArmorTimer createtimer reactiveArmorTimer settimer reactiveArmorTimer cdMagicShield endif if not timerexists magicShieldTimer createtimer magicShieldTimer settimer magicShieldTimer cdMagicShield endif if not timerexists magicMushroomTimer createtimer magicMushroomTimer settimer magicMushroomTimer cdMushroom endif if not timerexists magicArrowTimer createtimer magicArrowTimer settimer magicArrowTimer cdMagicArrow endif if not timerexists lightningTimer createtimer lightningTimer settimer lightningTimer cdLightning endif if not timerexists harmTimer createtimer harmTimer settimer harmTimer cdHarm endif if not timerexists fireballTimer createtimer fireballTimer settimer fireballTimer cdFireball endif if not timerexists evilOmenTimer createtimer evilOmenTimer settimer evilOmenTimer cdEvilOmen endif if not timerexists vampiricEmbraceTimer createtimer vampiricEmbraceTimer settimer vampiricEmbraceTimer cdVampiricEmbrace endif if not timerexists corpseSkinTimer createtimer corpseSkinTimer settimer corpseSkinTimer cdCorpseSkin endif if not timerexists mindRotTimer createtimer mindRotTimer settimer mindRotTimer cdMindRot endif if not timerexists allGuardMeTimer createtimer allGuardMeTimer settimer allGuardMeTimer cdGuardMe endif if setThisAsOneIfYouWantToTargetYourOwnKillOrItWillTargetClosestMonster = 1 say "all kill" wait 200 while targetexists // wait wait 50 endwhile else hotkey 'Target Closest Non-Friendly Monster' wait 200 if insysmsg "No one matching that was found" or not find lasttarget ground -1 -1 8 overhead "found no one" 34 wait 500 if targetexists hotkey 'Cancel Current Target' endif if timer allGuardMeTimer >= cdGuardMe say "all guard me" settimer allGuardMeTimer 0 endif if counttype "mushroom" backpack < 5 while counttype "mushroom" backpack < 15 cast "Create Food" wait 200 endwhile endif while mana < 50 if not findbuff "actively meditating" useskill 'meditation' endif wait 500 endwhile if timer vampiricEmbraceTimer >= cdVampiricEmbrace and findtype 8198 ground -1 -1 4 as jorpse say "[VampiricEmbrace" wft 500 target jorpse settimer vampiricEmbraceTimer 0 endif replay endif endif @setvar myKillTarget lasttarget if not varexist myPreviousKillTarget @setvar myPreviousKillTarget 0 endif getlabel myKillTarget desc overhead desc if not varexist myEarthPet or dead myEarthPet overhead "Your pet is dead, demonic summon time" 34 else menu myEarthPet 2 wft 500 target myKillTarget endif if diffhits >= 30 and mana > 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self endif endif if find myKillTarget -1 -1 8 as killy if myKillTarget = myPreviousKillTarget // do nthoing else @setvar myPreviousKillTarget myKillTarget endif else overhead "Out of range" 34 endif clearsysmsg say "all guard" @setvar! isLethalPoison 0 clearsysmsg while not dead myKillTarget and find myKillTarget -1 -1 8 as killy if not findtype "Purple Potion" backpack overhead "Thou hast a distinct lack of boom juice" 34 endif if find myKillTarget -1 -1 2 and findtype "metal chest|wooden chest" ground -1 -1 2 overhead "We found a chest!" if findtype "barrel lid" ground -1 -1 2 overhead "Already on a trap!" else if timer myTrapTimer1 >= cdTrap if findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 overhead "Using trap 1 of 5" 88 gumpresponse 20 3489968915 wait 200 if insysmsg "You place a trap." overhead "Sucess" 66 settimer myTrapTimer1 0 endif endif endif elseif timer myTrapTimer2 >= cdTrap if findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 overhead "Using trap 2 of 5" 88 gumpresponse 20 3489968915 wait 200 if insysmsg "You place a trap." overhead "Sucess" 66 settimer myTrapTimer2 0 endif endif endif elseif timer myTrapTimer3 >= cdTrap if findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 overhead "Using trap 3 of 5" 88 gumpresponse 20 3489968915 wait 200 if insysmsg "You place a trap." overhead "Sucess" 66 settimer myTrapTimer3 0 endif endif endif elseif timer myTrapTimer4 >= cdTrap if findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 overhead "Using trap 4 of 5" 88 gumpresponse 20 3489968915 wait 200 if insysmsg "You place a trap." overhead "Sucess" 66 settimer myTrapTimer4 0 endif endif endif elseif timer myTrapTimer5 >= cdTrap if findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 overhead "Using trap 5 of 5" 88 gumpresponse 20 3489968915 wait 200 if insysmsg "You place a trap." overhead "Sucess" 66 settimer myTrapTimer5 0 endif endif endif elseif findtype 6263 backpack as jire while not gumpexists 3489968915 dclick jire wft 500 target self endwhile if gumpexists 3489968915 if ingump "5/5" 3489968915 // do nothing overhead "NO MORE BOOM!" 34 else settimer myTrapTimer1 cdTrap gumpresponse 8 3489968915 endif endif else overhead "NO MORE BOOM WIRE!" 34 endif endif // This code will blow shit up if findtype "barrel lid" ground -1 -1 8 and findtype "music box" backpack as item dclick item wft 500 target self endif endif if timer magicShieldTimer >= cdMagicShield and not findbuff "Magic Reflection" cast "Magic Reflection" wait 1000 elseif not findbuff "Magic Reflection" and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as pot dclick pot wait 200 endif if findbuff "Magic Reflection" settimer magicShieldTimer 0 endif if timer reactiveArmorTimer >= cdReactiveArmor and not findbuff "Reactive Armor" cast "Reactive Armor" wait 200 endif if findbuff "Reactive Armor" settimer reactiveArmorTimer 0 endif if timer corpseSkinTimer >= cdCorpseSkin overhead "Should be CorpseSkin!" 34 say "[CorpseSkin" settimer corpseSkinTimer 0 wait 500 endif if skill "poisoning" >= 100 if timer mindRotTimer >= cdMindRot overhead "Should be mind rotting!" 34 say "[MindRot" settimer mindRotTimer 0 wait 500 endif while isLethalPoison = 0 getlabel myKillTarget desc2 overhead desc2 66 // poison lethal if "Lethal" in desc2 @setvar! isLethalPoison 1 break elseif diffhits >= 30 // need a heal break elseif mana >= 9 while not targetexists cast 'poison' wait 50 if dead myKillTarget hotkey '> Interrupt' break endif endwhile target myKillTarget else wait 200 endif endwhile endif if timer evilOmenTimer >= cdEvilOmen say "[EvilOmen" settimer evilOmenTimer 0 wait 200 endif if timer vampiricEmbraceTimer >= cdVampiricEmbrace and findtype 8198 ground -1 -1 4 as jorpse say "[VampiricEmbrace" wft 500 target jorpse settimer vampiricEmbraceTimer 0 endif if find myKillTarget -1 -1 12 as killy // do nothing else overhead "Out of range" 34 break endif if poisoned if findtype "Orange Potion" backpack as pot dclick pot wait 200 else while not targetexists if not poisoned hotkey '> Interrupt' break else cast 'Cure' wait 50 endif endwhile if targetexists target self wait 500 endif endif endif if diffhits < 30 and mana >= 12 and timer lightningTimer >= cdLightning while not targetexists if dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else cast 'Lightning' wait 50 endif endwhile if targetexists target myKillTarget settimer lightningTimer 0 wait 500 endif endif if diffhits < 30 and mana >= 5 and timer magicArrowTimer >= cdMagicArrow while not targetexists if dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else cast 'magic arrow' wait 50 endif endwhile if targetexists target myKillTarget settimer magicArrowTimer 0 wait 500 endif endif if diffhits < 30 and mana >= 9 and timer harmTimer >= cdHarm while not targetexists if dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else cast 'harm' wait 50 endif endwhile if targetexists target myKillTarget settimer harmTimer 0 wait 500 endif endif if diffhits < 30 and mana >= 12 and timer fireballTimer >= cdFireball while not targetexists if dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else cast 'fireball' wait 50 endif endwhile if targetexists target myKillTarget settimer fireballTimer 0 wait 500 endif endif if diffhits >= 30 if findtype "Yellow Potion" backpack as pot getlabel pot desc if "next usable" in desc // do nothing else dclick pot wait 200 endif endif if diffhits >= 30 and mana >= 12 while not targetexists if diffhits >= 60 cast 'Heal' else cast 'Greater Heal' endif wait 50 if hp = maxhp hotkey '> Interrupt' break endif endwhile if targetexists target self wait 50 endif endif elseif mana < 55 and findbuff "actively meditating" // wait for mana elseif mana > 42 while not targetexists if dead myKillTarget or diffhits >= 30 hotkey '> Interrupt' break else cast 'Flamestrike' wait 50 endif endwhile if targetexists target myKillTarget wait 500 endif elseif not findbuff "actively meditating" and timer magicMushroomTimer >= cdMushroom and findtype "mushroom" backpack as mushy overhead "Eatting shrooms" 66 dclick mushy settimer magicMushroomTimer 0 elseif not findbuff "actively meditating" useskill 'meditation' wait 500 endif wait 50 endwhile wait 200 replay