Thread Closed 
 
Thread Rating:
  • 52 Vote(s) - 3.81 Average
  • 1
  • 2
  • 3
  • 4
  • 5
╠ BBot Macros ╣
07-16-2011, 12:34 AM (This post was last modified: 05-03-2014 11:35 AM by Hunger.)
Post: #1
╠ BBot Macros ╣
War Macros:


Anti Push (auto: 200ms)
200 {Anti Push} X:=Self.X Y:=Self.Y Z:=Self.Z Map.HasID(3031, !X!, !Y!, !Z!)<>1 Map.Thrown(3031, 2, !X!, !Y!, !Z!)<>1


Push MAX (auto: 200ms)
200 {Push MAX } ID:=3031 ## ID OF ITEM ON GROUND X:=Self.X Y:=Self.Y Z:=Self.Z Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1) Map.PickUp(!ID!, -1, 0, !X!, !Y!, !Z!)


Anti Trap-Wild Insert (auto: 200ms)
200 {Anti Trap-Wild Insert} Tibia.KeyDown(45) HUD.Display(For change the key: http://wiki.bmega.net/doku.php?id=virtual_key_codes) X:=Self.X Y:=Self.Y Z:=Self.Z Map.UseOn(3308, 2130, !X!, !Y!, !Z!, 1)


Cavebot:

Utura (auto: 3000ms)
3000 {Utura} Status.Buff<>1 Self.Health%<=75 Self.Mana>75 Self.Say(utura)


ManaRune OT (auto: 1000ms)
1000 {ManaRune OT} Self.Health%<=80 Hotkey.Use(ID)


Safe Spellcast (auto: 2000ms)
2000 {Safe Spellcast} Self.Mana>=200 Self.Attacking==01 Creatures.Beside>=3 Creatures.PlayersOnScreen==01 Self.Say(exori)


Broken Furtunites

Open Door (auto: 1000ms)
1000 {Open Door} X:=Self.X Y:=Self.Y Z:=Self.Z Map.Use(5732, !X!, !Y!, !Z!, 3)

Support:


How use Attacks Avoid PK
Attacks Avoid PK (auto: 1500ms)
1500 {Attacks Avoid PK} playerS:=1 IDrune:=3158 Creatures.PlayersOnScreen()==!playerS! [OnplayerS] Self.Attacking()==1 Self.Mana>30 Self.Say(exori frigo) Exit {OnplayerS} Self.Attacking()==1 Target.Shoot(!IDrune!) Exit


Push Itens

Auto Mount (auto: 3000ms)
3000 {Auto Mount} Status.InPZ()<>1 Self.Mount()==0 Self.ToggleMount()


Stamina Logout (auto: 4000ms)
4000 {Stamina Logout} Self.StaminaMins<842 Cavebot.Stop Self.Logout()


Change weapon if no mana.
Rod in Hand (auto: 1000ms)
1000 {Rod in Hand} Self.Mana>=100 Self.Equip.LeftHand(IDROD)
1000 {Sword in Hand} Self.Mana<50 Self.Equip.LeftHand(IDSWORD)


Drop itens when Low Cap (auto: 2000ms)
2000 {Drop itens when Low Cap} Misc.ItemCountEx(3578)>=1 Self.Capacity<=50 X:=Self.X Y:=Self.Y Z:=Self.Z Map.Thrown(3031, -1, !X!, !Y!, !Z!)<>1


Change weapon if no have small stones.

Equip Stone (auto: 2000ms)
2000 {Equip Stone} Misc.ItemCountEx(1781)>=1 Self.Equip.LeftHand(1781)
2000 {Equip Axe} Misc.ItemCountEx(1781)<1 Self.Equip.LeftHand(3317)


Equip Soft/Boh By Mana (auto: 2000ms)
2000 {Equip Soft/Boh By Mana} mana%:=70 Self.Mana%()<!mana%! [Onmana%] Self.Inventory.Boots()<>3549 Self.Equip.Boots(6539) Exit {Onmana%} Self.Inventory.Boots()<>3079 Self.Equip.Boots(3079) Exit


Logout When Low Ammmo (auto: 2000ms)
2000 {Logout When Low Ammmo} Misc.ItemCountEx(SPEARID)==0 Cavebot.Stop() Status.Battle()==0 Self.Logout()


Change Worn Soft Boots/Boh (auto: 1000ms)
1000 {Change Worn Soft Boots/Boh} Self.Inventory.Boots==6530 Self.Equip.Boots(3079)


Re Use spears when low ammount (auto: 1000ms)
1000 {Re Use spears when low ammount} Misc.ItemCountEx(3277)<10 Self.Equip.LeftHand(3277)


Change Weapon Hi/Low [Trainer Macro]
Change Weapon (auto: 1000ms)
1000 {Change Weapon} safemonster:=2 loweapon:=3308 hiweapon:=7773 Creatures.Beside()>!safemonster! [Onsafemonster] Self.Inventory.LeftHand()<>!loweapon! Self.Equip.LeftHand(!loweapon!) Exit {Onsafemonster} Self.Inventory.LeftHand()<>!hiweapon! Self.Equip.LeftHand(!hiweapon!) Exit






Give Reputation to this user

Find all posts by this user
07-16-2011, 09:41 AM
Post: #2
Re: Macros for BBot
Nice.. Antipush.. i was trying to make that but couldnt success. Thanks
Give Reputation to this user

Free Scripts by Dre Windwalker
Find all posts by this user
07-16-2011, 03:57 PM
Post: #3
Re: Macros for BBot
Nice dude, its good see more people posting scripts/macros/etc on this forum =P
Give Reputation to this user

The Patch will come when the patch comes!
[Image: signgodfather.png]

Todo List:
Cavebot Tutorial                            [ ]
Macros Tutorial                              [ ]
Killer Non Walkable Sqm Tutorial       [ ]
___
Sir Scripts Co. (coming...)
___
Pai dos Burros
Find all posts by this user
07-18-2011, 08:11 PM (This post was last modified: 04-22-2013 10:32 PM by mancha250.)
Post: #4
Re: Macros for BBot
Thanks for the macros
Give Reputation to this user
Find all posts by this user
07-21-2011, 09:12 PM
Post: #5
Re: Macros for BBot
I have questions about the PushMax and the Antipush.
1) Can you chose a key of the keyboard to active them?
2) You've to modified something in the macro you gave to make them work?
3) How the PushMax works? It pick up the items in a sqm? But, how does it know what is the sqm its have to pick up the items?

Request:
1) I bot in water elementals and I use manapotions, the problem is that they give me strong mana potion and the autohealer tool dont have the chanche to use two different mana potions so I cant pick up the strong manas, so I need a script that when I open a water elemental and I it gave me a strong mana, the bot drink it inmediately.

Thanks!
Give Reputation to this user
Visit this user's website Find all posts by this user
07-22-2011, 05:43 AM
Post: #6
Re: Macros for BBot
azaav3 Wrote:I have questions about the PushMax and the Antipush.
1) Can you chose a key of the keyboard to active them?
2) You've to modified something in the macro you gave to make them work?
3) How the PushMax works? It pick up the items in a sqm? But, how does it know what is the sqm its have to pick up the items?

Request:
1) I bot in water elementals and I use manapotions, the problem is that they give me strong mana potion and the autohealer tool dont have the chanche to use two different mana potions so I cant pick up the strong manas, so I need a script that when I open a water elemental and I it gave me a strong mana, the bot drink it inmediately.

Thanks!

1)Yes, add the command Tibia.KeyDown in front of the macro: 1000 {...} TibiaKeyDown(KEY_HERE) (...). However, I think this new command is not working yet and it needs a fix.

2) Everything that is in uppercase needs to be configured.

3) It checks if the tiles around your char have the item 3031 (gold coin) , if true, it will pick up all of them.

Macro:

Code:
500 {Mana} Hotkey.Use(237)==1 Target.Self Target.Shoot(237)

I don't know if it's going to work. I didn't test it.
Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
07-23-2011, 02:54 AM
Post: #7
Re: Macros for BBot
Okay..now other questions:
1)The MaxPush pick up other items like worms/pots?
2)If I chose the key "End", so the macro would be:
Code:
200 {PushMax} VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z  VarSub(Y, 1) Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(X,  1) Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)TibiaKeyDown(End)

Give Reputation to this user
Visit this user's website Find all posts by this user
07-23-2011, 03:29 AM
Post: #8
Re: Macros for BBot
1) No, only gold coin.

2)
Code:
200 {PushMax} Tibia.KeyDown(35) VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z  VarSub(Y, 1) Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(X,  1) Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3031, -1, 0, !X!, !Y!, !Z!)

EDIT: Sorry! In Tibia.KeyDown() you have to put the key code and not its name! You can see all the key codes here: http://wiki.bmega.net/doku.php?id=virtual_key_codes. I already changed the macro so it is working now.
Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
07-27-2011, 12:58 AM
Post: #9
Re: Macros for BBot
how i can use the macro potion ?
i need change anything????
Help me pls
Give Reputation to this user
Find all posts by this user
07-27-2011, 07:09 PM
Post: #10
Re: Macros for BBot
Please, read the whole post before asking a question. Wink
Noen Wrote:
azaav3 Wrote:2) You've to modified something in the macro you gave to make them work?
2) Everything that is in uppercase needs to be configured.

Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
07-27-2011, 08:32 PM
Post: #11
Re: Macros for BBot
ok...
but in POTS what i put?
Give Reputation to this user
Find all posts by this user
07-27-2011, 08:48 PM
Post: #12
Re: Macros for BBot
The number of potions you want to have in your char.
Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
07-27-2011, 08:55 PM
Post: #13
Re: Macros for BBot
and MPS?
i put this maro in potion shop?
Give Reputation to this user
Find all posts by this user
07-27-2011, 09:55 PM
Post: #14
Re: Macros for BBot
This macro is using the item 266, which is Health Potion. You can change it to whatever item ID you want.
Yes, you use this macro when you are in front of the NPC that sells potions.
Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
07-27-2011, 10:16 PM
Post: #15
Re: Macros for BBot
ok....., but waht i put in MPS?????????????????????????????????????????????????????????????????????????
and NUMBEROFPOTS i put what?
Give Reputation to this user
Find all posts by this user
07-27-2011, 10:53 PM
Post: #16
Re: Macros for BBot
Oh my...

In MPS you put the number of mana potions you wish to have in your char as said above. NUMBEROFPOTS is the same thing.
If you read carefully the two first macros you will see that they are exactly the same, the only difference is the IDs used.
Now the third macro is used to withdraw gold coins in the banker. It will multiple by 50 (you can change this value) the number of potions you need to complete NUMBEROFPOTS and withdraw this quantity.
Give Reputation to this user

Please, read the wiki: http://wiki.bmega.net/doku.php

[Image: tumblr_linetdmNqm1qzcq51o1_500-thumb-600x337-48077.gif]
Find all posts by this user
09-05-2011, 02:10 AM
Post: #17
Re: Macros for BBot
New Macro Added: Use Soft/Equip BOH if Low/High Mana

@Mega
You stick set this topic?
Why many people come looking for some macros and do not think this topic to be due to other pages.
Give Reputation to this user

Find all posts by this user
09-22-2011, 11:03 PM
Post: #18
Re: Macros for BBot
Can you do another macro using THE PUSHMAX.... for other loots........

like broadsword - crossbow - longsword - plate legs - strong health potion - steel sheilds .....

dlair loot's ;D
Give Reputation to this user
Find all posts by this user
09-23-2011, 02:33 PM
Post: #19
Re: Macros for BBot
To make this macro just change the IDs, see the example below:
Code:
2000 {Push Broadsword} Target.Foe=0 VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z  VarSub(Y, 1) Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(X,  1) Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarAdd(Y, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(X, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)<>1 VarSub(Y, 1)  Map.PickUp(3301, -1, 0, !X!, !Y!, !Z!)

Give Reputation to this user

Find all posts by this user
10-14-2011, 05:55 PM
Post: #20
Re: Macros for BBot
New macro added to war class:
Anti Trap - Wild Insert
This hotkey use the machete in rush wood(wild growth rune)
Give Reputation to this user

Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)