Tibia Underground

Radio and TV TUGBot Arcade Portal
Go Back   Tibia Underground > TUGBot Forums > Scripts - Waypoints

Notices

Scripts - Waypoints Find all of the TUGBot scripts and waypoints in here.

Reply
 
Thread Tools Display Modes
Old 04-13-2010, 21:27   #1
DarkstaR
D3S
 
DarkstaR's Avatar
 
Join Date: Jun 2008

Location: Hearts in California, bodys in Tennessee
Posts: 6,977
Thanks: 5
Thanked 97 Times in 17 Posts
DarkstaR has a spectacular aura aboutDarkstaR has a spectacular aura about
Default Changes to the command system

*Changes affect version 2.4.0 and above

Firstly, all bugs with flags have been fixed.

Second, the commands syntax has been slightly changed. In the past, multiple commands could be set in sequence using the delimiter ||, but they all needed their own set of flags. This means if you used the command (this is an example, and totally useless)
Code:
say "Exura Vita" || say "Exura" -auto 200 -hpbelow 200
It would have tried to cast both of those spells every 200 MS if your hp was below 200. Now, however, pressing that hotkey would simlyl try to cast "Exura Vita" once when pressed, and it would try to say "Exura" every 200 ms if your hp is below 200.

This is because each command has their own set of flags. When you have a large amount of autos, this comes in handy. For instance, the commad
Code:
say "Exura"  -auto 200 -hpblw 500 -hbabv 200 || say "Exura Vita" -auto 200 -hpblw 200
Will start 2 autos, both executing once every 200 MS. The first one will cast "Exura" if you have less than 500 but more than 200 health. The second will cast "Exura Vita" only if you have less than 200 health.


Those take care of the major changes to the system, however some flag names have been changed, and others added. The flags which are now available are listed below. Keep in mind, these are just flags. Commands remain the same.

  • Target Health Percent Above
    Uses: "-TargetHealthPercentAbove," "-targhppcabv"
    Args: (1) The percent of health which the target must be above
  • Target Health Percent Below
    Uses: "-TargetHealthPercentBelow," "-targhppcblw"
    Args: (1) The percent of health which the target must be below
  • Has Target
    Uses: "-HasTarget"
    Args: (1) [Optional] If this argument is present, it checks for a target with the specified name. If not, it check for any target at all.
  • Health Percent Below
    Uses: "-HealthPercentBelow," "-hppcblw"
    Args: (1) The percent of health which the you must be below
  • Health Percent Above
    Uses: "-HealthPercentAbove," "-hppcabv"
    Args: (1) The percent of health which the you must be above
  • Health Above
    Uses: "-HealthAbove," "-hpabv"
    Args: (1) The health which the you must be above
  • Health Below
    Uses: "-HealthBelow," "-hpblw"
    Args: (1) The health which the you must be below
  • Mana Below
    Uses: "-ManaBelow," "-mpblw"
    Args: (1) The mana which the you must be below
  • Mana Above
    Uses: "-ManaAbove," "-mpabv"
    Args: (1) The mana which the you must be above
  • Mag Above
    Uses: "-MagAbove"
    Args: (1) The magic level which the you must be above
  • Mag Below
    Uses: "-MagBelow"
    Args: (1) The magic level which the you must be below
  • ShowAs
    Uses: "-ShowAs"
    Args: (1) The text to show
    Info: this is what will be shown if this command is an auto, instead of the command itself
  • Auto
    Uses: "-Auto"
    Args: (1) The amount of milliseconds to wait before executing


If you find bugs or have questions about the new system, feel free to post here.
__________________
Not keeping track since 06-05-2008


DarkstaR is offline   Reply With Quote
Old 04-14-2010, 05:47   #2
Freek
Copper Member
 
Join Date: Apr 2010

Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Freek is on a distinguished road
Default

Nice!!
But a question, when using auto, is there any way the bot can show on the screen which hotkeys are on and which are off, like in elfbot?
That would be a nice addon if it doesn't already exist
Freek is offline   Reply With Quote
Old 05-12-2010, 21:19   #3
citan
Copper Member
 
Join Date: May 2010

Location: USA
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
citan is on a distinguished road
Default

no icons i make are working, nor can i drag the icons. i'm using the bot with 8.54 and windows xp.
citan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:44.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
TibiaUG Beta 2.0