Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 7:49 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Elephants can fly
Fish can swim
Dogs have 4 legs
Chickens can talk
   

Topic review - HP&Stamina (Windowed) (Memory)
Author Message
  Post subject:  Re: HP&Stamina (Windowed) (Memory)  Reply with quote
Ok Fair enough.
Post Posted: Wed Feb 29, 2012 1:19 pm
  Post subject:  Re: HP&Stamina (Windowed) (Memory)  Reply with quote
if AFK and you run out of stamina it will make you run again once stamina is near full.
Post Posted: Wed Feb 29, 2012 12:54 pm
  Post subject:  Re: HP&Stamina (Windowed) (Memory)  Reply with quote
What is the purpose of it switching to stamina?
Is this so u can continue to globally shout?
Post Posted: Wed Feb 29, 2012 12:37 pm
  Post subject:  HP&Stamina (Windowed) (Memory)  Reply with quote
I created this simple HP and Stamina macro to run alongside my bot.

It pots using memory and will switch stamina automatically.

Code:
 begin
     Variable.Set("StaminaSwitch", "0")
     Variable.Set("HPPots", "17")
 end
 begin loop()
     Memory.Get value("SomaWindow", "006d8600,254", "4", "Stamina")
     Memory.Get value("SomaWindow", "006d8600,240", "4", "HP")
     if  Variable.Is equal to("StaminaSwitch", "0")
          begin
               if  Variable.Is less than (Math)("Stamina", "15")
                    begin
                         Variable.Set("StaminaSwitch", "1")
                         Keyboard.Press key("{<lcontrolkey>}")
                    end
          end
     if  Variable.Is equal to("StaminaSwitch", "1")
          begin
               if  Variable.Is greater than (Math)("Stamina", "900")
                    begin
                         Variable.Set("StaminaSwitch", "0")
                         Keyboard.Press key("{<lcontrolkey>}")
                    end
          end
     if  Variable.Is less than (Math)("HP", "400")
          begin
               Macro.Do nothing()
               begin loop("{HPPots}")
                    Macro.Pause("300")
                    Keyboard.Press key("{<f4>}")
               end
          end
 end
 
Post Posted: Wed Feb 22, 2012 1:09 pm

All times are UTC


Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group