Tibia Underground

Radio and TV TUGBot Arcade Portal
Go Back   Tibia Underground > TUGBot Forums > Chat

Notices

Chat General chat about TUGBot.

Reply
 
Thread Tools Display Modes
Old 02-20-2010, 19:18   #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 [Tutorial] Using the new Hotkey system

The new Hotkey system is sure to blow anything else ever seen out of the water. While it will work exactly the same as before if you just ignore the new features, it is very useful to learn what the new features are.

There is basically just one new feature: Activation Type. In the past, all Hotkeys were activated with the "Key Press" event. This is the same for all bots, until now. Now TUGBot gives you four options for the Activation of Hotkeys, I will list them below.

  1. Key Press - This event is triggered when a Hotkey is first pressed, and it is constantly triggered until that Hotkey is released again. This is the default and it is what all other bots use.
  2. Key Down - This event is triggered right when a Hotkey is pressed down. It will not repeat itself until the Hotkey is released and pressed again.
  3. Key Up - This event is triggered when a Hotkey is released. It only triggers once and will not repeat until the key is pressed and released again.
  4. Key Down + Key Up - This event is triggered both when the key is pressed and when it is released.

Now, off the bat, this may seem rather useless. Really, though, it is quite the contrary. Consider the Key Down + Key Up event, for example. If I set the command togglexray with this event, X-Ray will toggle on when I press the key, and off when I release. This allows me to do a quick X-Ray check by only showing X-Ray while I'm holding the key down. This is a lot more effective than having to press it once for on, and again for off.

There is many more useful things that can be done with this new system, you'll come to realize them as you continue to experiment with and learn about TUGBot. And hell, if you don't like the new system, just stick with Key Press - its exactly the same as before!
__________________
Not keeping track since 06-05-2008



Last edited by DarkstaR; 02-20-2010 at 21:51.
DarkstaR is offline   Reply With Quote
Old 02-21-2010, 23:37   #2
13uck
Senior Member
 
13uck's Avatar
 
Join Date: Jun 2008

Location: Nova Scotia, Canada
Posts: 491
Thanks: 1
Thanked 0 Times in 0 Posts
13uck is on a distinguished road
Default

Impressive!! Don't stop nick
__________________
Currently playing Libera; Private message me if ya need any help there or any info about the world!
13uck is offline   Reply With Quote
Old 03-08-2010, 20:09   #3
General Fox
Bronze Member
 
Join Date: Dec 2009

Location: New Zealand
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
General Fox is on a distinguished road
Default

thats awsome!
General Fox 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:48.


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