BBot - The best bot of the world
How to drop flower by keys ? - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: How to drop flower by keys ? (/thread-20832.html)



How to drop flower by keys ? - mostppl - 02-26-2018

English - I would like to request a Macro to play Honey Flower in these directions and with these keys. It's possible?

PT / BR - Gostaria de solicitar um Macro para jogar Honey Flower nessas direções e com essas teclas. É possível?

2984 ID - honey flower

NOT NUMPAD KEYS

7 --> Drop NORTH WEST
1 --> Drop SOUTH WEST
8 --> Drop NORTH
2 --> Drop SOUTH
9 --> Drop NORTH EAST
3 --> Drop SOUTH EAST
4 --> Drop WEST
6 --> Drop EAST

BBot 82.6
Thanks.


RE: How to drop flower by keys ? - Catar - 02-26-2018

huh?


You want to Hotkey each Key to macro that drops an item in certain SQM?


RE: How to drop flower by keys ? - mostppl - 02-26-2018

(02-26-2018, 06:14 PM)Catar Wrote: huh?


You want to Hotkey each Key to macro that drops an item in certain SQM?

Yes.

Based on character position.

It's not to be pulled in one direction when a Magic Wall is about to come out.

Anti Push only it does not solve.


RE: How to drop flower by keys ? - Catar - 02-26-2018

Use newest version of bbot

To avoid dropping to many at same time, i added delay 500 miliseconds in case you hold key down for too long. you can edit that out.

Also remember to clear you chat box in tibia, cuz u gonna have lot of 7777899999999444444444466666661312363333333312 in there


video tutorial on how to copy paste macro, is in my signature

[macro]10 {honey} MiliSecDelay:=500 honeyID:=2984 NY:=Sub(:Y, 1) SY:=Add(:Y, 1) WX:=Sub(:X, 1) EX:=Add(:X, 1) Cooldown.Blocked(DropDelay)==0 Tibia.KeyDown(:K_NUMPAD7)==0 [NW] Tibia.KeyDown(:K_NUMPAD8)==0 [N] Tibia.KeyDown(:K_NUMPAD9)==0 [NE] Tibia.KeyDown(:K_NUMPAD4)==0 [W] Tibia.KeyDown(:K_NUMPAD6)==0 [E] Tibia.KeyDown(:K_NUMPAD1)==0 [SW] Tibia.KeyDown(:K_NUMPAD2)==0 [S] Tibia.KeyDown(:K_NUMPAD3)==0 [SE] exit() {NW} Map.Thrown(!honeyID, 1, !WX, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {N} Map.Thrown(!honeyID, 1, :X, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {NE} Map.Thrown(!honeyID, 1, !EX, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {W} Map.Thrown(!honeyID, 1, !WX, :Y, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {E} Map.Thrown(!honeyID, 1, !EX, :Y, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SW} Map.Thrown(!honeyID, 1, !WX, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {S} Map.Thrown(!honeyID, 1, :X, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SE} Map.Thrown(!honeyID, 1, !EX, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() [/macro]

code:
[spoiler]
Code:
MiliSecDelay:=500
honeyID:=16277
NY:=Sub(:Y, 1)
SY:=Add(:Y, 1)
WX:=Sub(:X, 1)
EX:=Add(:X, 1)
Cooldown.Blocked(DropDelay)==0
Tibia.KeyDown(:K_NUMPAD7)==0 [NW]
Tibia.KeyDown(:K_NUMPAD8)==0 [N]
Tibia.KeyDown(:K_NUMPAD9)==0 [NE]
Tibia.KeyDown(:K_NUMPAD4)==0 [W]
Tibia.KeyDown(:K_NUMPAD6)==0 [E]
Tibia.KeyDown(:K_NUMPAD1)==0 [SW]
Tibia.KeyDown(:K_NUMPAD2)==0 [S]
Tibia.KeyDown(:K_NUMPAD3)==0 [SE]
exit()
{NW}
Map.Thrown(!honeyID, 1, !WX, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{N}
Map.Thrown(!honeyID, 1, :X, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{NE}
Map.Thrown(!honeyID, 1, !EX, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{W}
Map.Thrown(!honeyID, 1, !WX, :Y, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{E}
Map.Thrown(!honeyID, 1, !EX, :Y, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{SW}
Map.Thrown(!honeyID, 1, !WX, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{S}
Map.Thrown(!honeyID, 1, :X, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{SE}
Map.Thrown(!honeyID, 1, !EX, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
[/spoiler]


(02-26-2018, 06:18 PM)mostppl Wrote: It's not to be pulled in one direction when a Magic Wall is about to come out.

Anti Push only it does not solve.


Didn't understand what u mean in here


RE: How to drop flower by keys ? - mostppl - 02-26-2018

(02-26-2018, 06:37 PM)Catar Wrote: Use newest version of bbot

To avoid dropping to many at same time, i added delay 500 miliseconds in case you hold key down for too long. you can edit that out.

Also remember to clear you chat box in tibia, cuz u gonna have lot of 7777899999999444444444466666661312363333333312 in there


video tutorial on how to copy paste macro, is in my signature

[macro]10 {honey} MiliSecDelay:=500 honeyID:=2984 NY:=Sub(:Y, 1) SY:=Add(:Y, 1) WX:=Sub(:X, 1) EX:=Add(:X, 1) Cooldown.Blocked(DropDelay)==0 Tibia.KeyDown(:K_NUMPAD7)==0 [NW] Tibia.KeyDown(:K_NUMPAD8)==0 [N] Tibia.KeyDown(:K_NUMPAD9)==0 [NE] Tibia.KeyDown(:K_NUMPAD4)==0 [W] Tibia.KeyDown(:K_NUMPAD6)==0 [E] Tibia.KeyDown(:K_NUMPAD1)==0 [SW] Tibia.KeyDown(:K_NUMPAD2)==0 [S] Tibia.KeyDown(:K_NUMPAD3)==0 [SE] exit() {NW} Map.Thrown(!honeyID, 1, !WX, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {N} Map.Thrown(!honeyID, 1, :X, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {NE} Map.Thrown(!honeyID, 1, !EX, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {W} Map.Thrown(!honeyID, 1, !WX, :Y, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {E} Map.Thrown(!honeyID, 1, !EX, :Y, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SW} Map.Thrown(!honeyID, 1, !WX, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {S} Map.Thrown(!honeyID, 1, :X, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SE} Map.Thrown(!honeyID, 1, !EX, !SY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() [/macro]

code:
[spoiler]
Code:
MiliSecDelay:=500
honeyID:=16277
NY:=Sub(:Y, 1)
SY:=Add(:Y, 1)
WX:=Sub(:X, 1)
EX:=Add(:X, 1)
Cooldown.Blocked(DropDelay)==0
Tibia.KeyDown(:K_NUMPAD7)==0 [NW]
Tibia.KeyDown(:K_NUMPAD8)==0 [N]
Tibia.KeyDown(:K_NUMPAD9)==0 [NE]
Tibia.KeyDown(:K_NUMPAD4)==0 [W]
Tibia.KeyDown(:K_NUMPAD6)==0 [E]
Tibia.KeyDown(:K_NUMPAD1)==0 [SW]
Tibia.KeyDown(:K_NUMPAD2)==0 [S]
Tibia.KeyDown(:K_NUMPAD3)==0 [SE]
exit()
{NW}
Map.Thrown(!honeyID, 1, !WX, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{N}
Map.Thrown(!honeyID, 1, :X, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{NE}
Map.Thrown(!honeyID, 1, !EX, !NY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{W}
Map.Thrown(!honeyID, 1, !WX, :Y, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{E}
Map.Thrown(!honeyID, 1, !EX, :Y, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{SW}
Map.Thrown(!honeyID, 1, !WX, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{S}
Map.Thrown(!honeyID, 1, :X, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
{SE}
Map.Thrown(!honeyID, 1, !EX, !SY, :Z)
Cooldown.Create(DropDelay, !MiliSecDelay)
exit()
[/spoiler]


(02-26-2018, 06:18 PM)mostppl Wrote: It's not to be pulled in one direction when a Magic Wall is about to come out.

Anti Push only it does not solve.


Didn't understand what u mean in here

Bro.. example:

My character is trapped.. but enemy team need to push my character to south east

I need to drop holy flower in south east for my enemies no push my character know?

It can not be by the NUMPAD keys because of the conflict with Diagonal Keys of the Magebot (DASH)

It must be the numerical keys on the left side of the keyboard.

I tested what you posted and it did not work. Needs some variable?


RE: How to drop flower by keys ? - Catar - 02-26-2018

Oh? so just change keys, its not that hard

Here are are regular not numpad, copy replace them code


Tibia.KeyDown(:K_NUM_7)==0 [NW]
Tibia.KeyDown(:K_NUM_8)==0 [N]
Tibia.KeyDown(:K_NUM_9)==0 [NE]
Tibia.KeyDown(:K_NUM_4)==0 [W]
Tibia.KeyDown(:K_NUM_6)==0 [E]
Tibia.KeyDown(:K_NUM_1)==0 [SW]
Tibia.KeyDown(:K_NUM_2)==0 [S]
Tibia.KeyDown(:K_NUM_3)==0 [SE]


no variable needed, enable automatic macros if didn't do that yet.

tested it on gold coins, worked fine


RE: How to drop flower by keys ? - mostppl - 02-26-2018

(02-26-2018, 06:51 PM)Catar Wrote: Oh? so just change keys, its not that hard

Here are are regular not numpad, copy replace them code


Tibia.KeyDown(:K_NUM_7)==0 [NW]
Tibia.KeyDown(:K_NUM_8)==0 [N]
Tibia.KeyDown(:K_NUM_9)==0 [NE]
Tibia.KeyDown(:K_NUM_4)==0 [W]
Tibia.KeyDown(:K_NUM_6)==0 [E]
Tibia.KeyDown(:K_NUM_1)==0 [SW]
Tibia.KeyDown(:K_NUM_2)==0 [S]
Tibia.KeyDown(:K_NUM_3)==0 [SE]

Work good.. thanks..

THANK BRO!!!!!! Smile


RE: How to drop flower by keys ? - Catar - 02-26-2018

If its for PVP you better reduce that delay i made

MiliSecDelay:=500

change it to your needs

ps. u forgot click something green


RE: How to drop flower by keys ? - mostppl - 02-26-2018

(02-26-2018, 07:03 PM)Catar Wrote: If its for PVP you better reduce that delay i made

MiliSecDelay:=500

change it to your needs

ps. u forgot click something green

Your reputation rating has successfully been added for this user.



Is it possible to create a HUD with the key information and directions to appear on the screen? So I do not confuse the keys.


RE: How to drop flower by keys ? - Catar - 02-26-2018

here, example, adjust it however u want

[Image: UeuJNPs.png]

Code:
50 {dropHUD} Cooldown.Blocked(honeyHUD)==0 HUD.Print(2, 1, 0, 204, 0, 10000, 7 <^      8 ^      9 ^>) HUD.Print(2, 1, 0, 255, 255, 10000, 4 <                      6  >) HUD.Print(2, 1, 204, 102, 0, 10000, 1 <V      2 V      3 V>) Cooldown.Create(honeyHUD, 10000)



first 2 digits in print, are position
examples

1,1 is left top

2,1 mid top

1,2 left mid

2,2, mid mid

3,3 right bottom


RE: How to drop flower by keys ? - mostppl - 02-26-2018

Thank BRO.. Smile


RE: How to drop flower by keys ? - MegaNo0body - 02-26-2018

(02-26-2018, 07:27 PM)Catar Wrote: here, example, adjust it however u want

[Image: UeuJNPs.png]

Code:
50 {dropHUD} Cooldown.Blocked(honeyHUD)==0 HUD.Print(2, 1, 0, 204, 0, 10000, 7 <^      8 ^      9 ^>) HUD.Print(2, 1, 0, 255, 255, 10000, 4 <                      6  >) HUD.Print(2, 1, 204, 102, 0, 10000, 1 <V      2 V      3 V>) Cooldown.Create(honeyHUD, 10000)



first 2 digits in print, are position
examples

1,1 is left top

2,1 mid top

1,2 left mid

2,2, mid mid

3,3 right bottom

These macros are sexy! Congratulations Catar!


RE: How to drop flower by keys ? - kekeuforever - 03-09-2018

(02-26-2018, 07:27 PM)Catar Wrote: here, example, adjust it however u want

[Image: UeuJNPs.png]

Code:
50 {dropHUD} Cooldown.Blocked(honeyHUD)==0 HUD.Print(2, 1, 0, 204, 0, 10000, 7 <^      8 ^      9 ^>) HUD.Print(2, 1, 0, 255, 255, 10000, 4 <                      6  >) HUD.Print(2, 1, 204, 102, 0, 10000, 1 <V      2 V      3 V>) Cooldown.Create(honeyHUD, 10000)



first 2 digits in print, are position
examples

1,1 is left top

2,1 mid top

1,2 left mid

2,2, mid mid

3,3 right bottom

Your reputation rating has successfully been added for this user.

Holy, thank you so much for dedicating ur time helping community.