Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
antipush macros for bbot 82.5
#1
Ofc, items must be in opened BP
video



First one is throwing 2 items alternately when key pressed until you run out of items or release key.

[macro]30 {anitpush} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
[/spoiler]


Second one similar, but keep throwing up to 8 items (unless standing with many people on single SQM - WONT WORK WITH 8 PEOPLE ON SINGLE SQM)
Doesn't waste all your gp/worms so fast


[macro]30 {anitpush} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL] Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() {sqmFULL} Cooldown.Blocked(HUDpush)==0 HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL) Cooldown.Create(HUDpush, 299) [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1
Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL]
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
{sqmFULL}
Cooldown.Blocked(HUDpush)==0
HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL)
Cooldown.Create(HUDpush, 299)
[/spoiler]




TOGGLE VERSION OF THIS MACRO
Toggle ON and OFF with a key


and this one works similar to second, but it turns macro ON and OFF on key pressed.

[macro]30 {anitpushTOGGLE} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 [throw] Cooldown.Blocked(delay)==0 [switch] !toggleON==0 [toggle] toggleON:=1 Cooldown.Create(delay, 150) Label(throw) {toggle} toggleON:=0 Cooldown.Create(delay, 150) {throw} !toggleON==1 Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL] Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() {sqmFULL} Cooldown.Blocked(HUDpush)==0 HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL) Cooldown.Create(HUDpush, 299) [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1 [throw]
Cooldown.Blocked(delay)==0 [switch]
!toggleON==0 [toggle]
toggleON:=1
Cooldown.Create(delay, 150)
Label(throw)
{toggle}
toggleON:=0
Cooldown.Create(delay, 150)
{throw}
!toggleON==1
Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL]
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
{sqmFULL}
Cooldown.Blocked(HUDpush)==0
HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL)
Cooldown.Create(HUDpush, 299)
[/spoiler]
Reply
#2
I made similar macro for bbot 82.3 works good too, take a look ;d
Quote:2 {ani push} Key:=:K_END opcja:=Tibia.KeyDown(!key!) !opcja!==1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(3031, 2, !X!, !Y!, !Z!) Map.Thrown(3492, 2, !X!, !Y!, !Z!) Exit()
Reply
#3
(08-19-2017, 11:05 PM)halucyfer Wrote: I made similar macro for bbot 82.3 works good too, take a look ;d
Quote:2 {ani push} Key:=:K_END opcja:=Tibia.KeyDown(!key!) !opcja!==1 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Thrown(3031, 2, !X!, !Y!, !Z!) Map.Thrown(3492, 2, !X!, !Y!, !Z!) Exit()

Not similar, you just stripped ones i made out of conditions that decide which item should be thrown next.

Mine will throw first item only on empty floor or on the second item,
therefore, will throw second item, only on first item.

My macro won't stack same item on one SQM one after another by accident- yours always starts with throwing coin first, no matter whats under.

Also, i made one of mines to not waste too much too fast and has same effectiveness.
+ Toggle option

And why would you use older version of bbot?
Reply
#4
I copied and pasted but it does not work, how do I add or change the on / off key?
Reply
#5
(10-06-2017, 02:41 PM)cleotakemori Wrote: I copied and pasted but it does not work, how do I add or change the on / off key?

change this KeyID:=:K_F20 into whatever key you want

When u type : in macros, it will open list of available constants

I just used F20 key as example ( had it scripted to my mouse, have 12 keys on side)
Reply
#6
(10-07-2017, 06:19 PM)Catar Wrote:
(10-06-2017, 02:41 PM)cleotakemori Wrote: I copied and pasted but it does not work, how do I add or change the on / off key?

change this KeyID:=:K_F20 into whatever key you want

When u type : in macros, it will open list of available constants

I just used F20 key as example ( had it scripted to my mouse, have 12 keys on side)


I'm trying to put the End key, swapping the K_20 and it's not working, what am I doing wrong? in place of K_20 I put K_35 (End Key) or only 35
Reply
#7
KeyID:=35

Or, not sure, but try KeyID:=:K_END
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)