Posts: 527
Threads: 61
Joined: Feb 2010
Reputation:
0
07-16-2011, 12:34 AM
(This post was last modified: 05-03-2014, 11:35 AM by Hunger.)
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]
Posts: 675
Threads: 51
Joined: Mar 2011
Reputation:
0
Nice.. Antipush.. i was trying to make that but couldnt success. Thanks
Posts: 134
Threads: 8
Joined: May 2011
Reputation:
0
Nice dude, its good see more people posting scripts/macros/etc on this forum =P
The Patch will come when the patch comes!
Todo List:
Cavebot Tutorial [ ]
Macros Tutorial [ ]
Killer Non Walkable Sqm Tutorial [ ]
___
Sir Scripts Co. (coming...)
___
Pai dos Burros
Posts: 47
Threads: 15
Joined: Aug 2010
Reputation:
0
07-18-2011, 08:11 PM
(This post was last modified: 04-22-2013, 10:32 PM by mancha250.)
Thanks for the macros
Posts: 27
Threads: 9
Joined: Apr 2011
Reputation:
0
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!
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
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.
Posts: 27
Threads: 9
Joined: Apr 2011
Reputation:
0
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)
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
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.
Posts: 21
Threads: 11
Joined: May 2011
Reputation:
0
how i can use the macro potion ?
i need change anything????
Help me pls
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
Please, read the whole post before asking a question.
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.
Posts: 21
Threads: 11
Joined: May 2011
Reputation:
0
ok...
but in POTS what i put?
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
The number of potions you want to have in your char.
Posts: 21
Threads: 11
Joined: May 2011
Reputation:
0
and MPS?
i put this maro in potion shop?
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
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.
Posts: 21
Threads: 11
Joined: May 2011
Reputation:
0
ok....., but waht i put in MPS?????????????????????????????????????????????????????????????????????????
and NUMBEROFPOTS i put what?
Posts: 489
Threads: 21
Joined: Nov 2009
Reputation:
0
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.
Posts: 527
Threads: 61
Joined: Feb 2010
Reputation:
0
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.
Posts: 4
Threads: 2
Joined: Aug 2011
Reputation:
0
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
Posts: 527
Threads: 61
Joined: Feb 2010
Reputation:
0
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!)
Posts: 527
Threads: 61
Joined: Feb 2010
Reputation:
0
New macro added to war class:
Anti Trap - Wild Insert
This hotkey use the machete in rush wood(wild growth rune)
|