BBot - The best bot of the world
╠ BBot Macros ╣ - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: ╠ BBot Macros ╣ (/thread-1192.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


╠ BBot Macros ╣ - Hunger - 07-16-2011

War Macros:


[macro]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[/macro]

[macro]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!)[/macro]

[macro]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)[/macro]

Cavebot:

[macro]3000 {Utura} Status.Buff<>1 Self.Health%<=75 Self.Mana>75 Self.Say(utura)[/macro]

[macro]1000 {ManaRune OT} Self.Health%<=80 Hotkey.Use(ID)[/macro]

[macro]2000 {Safe Spellcast} Self.Mana>=200 Self.Attacking==01 Creatures.Beside>=3 Creatures.PlayersOnScreen==01 Self.Say(exori) [/macro]

Broken Furtunites

[macro]1000 {Open Door} X:=Self.X Y:=Self.Y Z:=Self.Z Map.Use(5732, !X!, !Y!, !Z!, 3) [/macro]
Support:


How use Attacks Avoid PK
[macro]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 [/macro]

Push Itens

[macro]3000 {Auto Mount} Status.InPZ()<>1 Self.Mount()==0 Self.ToggleMount()[/macro]

[macro]4000 {Stamina Logout} Self.StaminaMins<842 Cavebot.Stop Self.Logout()[/macro]

Change weapon if no mana.
[macro]1000 {Rod in Hand} Self.Mana>=100 Self.Equip.LeftHand(IDROD)
1000 {Sword in Hand} Self.Mana<50 Self.Equip.LeftHand(IDSWORD)[/macro]

[macro]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[/macro]

Change weapon if no have small stones.

[macro]2000 {Equip Stone} Misc.ItemCountEx(1781)>=1 Self.Equip.LeftHand(1781)
2000 {Equip Axe} Misc.ItemCountEx(1781)<1 Self.Equip.LeftHand(3317)[/macro]

[macro]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 [/macro]

[macro]2000 {Logout When Low Ammmo} Misc.ItemCountEx(SPEARID)==0 Cavebot.Stop() Status.Battle()==0 Self.Logout()[/macro]

[macro]1000 {Change Worn Soft Boots/Boh} Self.Inventory.Boots==6530 Self.Equip.Boots(3079)[/macro]

[macro]1000 {Re Use spears when low ammount} Misc.ItemCountEx(3277)<10 Self.Equip.LeftHand(3277) [/macro]

Change Weapon Hi/Low [Trainer Macro]
[macro]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 [/macro]







Re: Macros for BBot - drewindwalker - 07-16-2011

Nice.. Antipush.. i was trying to make that but couldnt success. Thanks


Re: Macros for BBot - Paper Boy - 07-16-2011

Nice dude, its good see more people posting scripts/macros/etc on this forum =P


Re: Macros for BBot - mancha250 - 07-18-2011

Thanks for the macros


Re: Macros for BBot - azaav3 - 07-21-2011

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!


Re: Macros for BBot - Noen - 07-22-2011

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.


Re: Macros for BBot - azaav3 - 07-23-2011

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)



Re: Macros for BBot - Noen - 07-23-2011

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.


Re: Macros for BBot - Jaozim - 07-27-2011

how i can use the macro potion ?
i need change anything????
Help me pls


Re: Macros for BBot - Noen - 07-27-2011

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.



Re: Macros for BBot - Jaozim - 07-27-2011

ok...
but in POTS what i put?


Re: Macros for BBot - Noen - 07-27-2011

The number of potions you want to have in your char.


Re: Macros for BBot - Jaozim - 07-27-2011

and MPS?
i put this maro in potion shop?


Re: Macros for BBot - Noen - 07-27-2011

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.


Re: Macros for BBot - Jaozim - 07-27-2011

ok....., but waht i put in MPS?????????????????????????????????????????????????????????????????????????
and NUMBEROFPOTS i put what?


Re: Macros for BBot - Noen - 07-27-2011

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.


Re: Macros for BBot - Hunger - 09-05-2011

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.


Re: Macros for BBot - Luizin - 09-22-2011

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


Re: Macros for BBot - Hunger - 09-23-2011

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!)



Re: Macros for BBot - Hunger - 10-14-2011

New macro added to war class:
Anti Trap - Wild Insert
This hotkey use the machete in rush wood(wild growth rune)