BBot - The best bot of the world
Need macro - 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: Need macro (/thread-20219.html)



Need macro - teiito - 08-30-2016

Hello
I have a lot of characters, and i wanna to do Leech quest in Venore.
Maptool can does this, but i need to use shovel on ground once.

This macro doesnt work:

1000
{Use}
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.UseOn(3457, 17950, !X!, !Y!, !Z!, 1)

Where 3457 is a ID of shovel, 17950 is ID of ground.


RE: Need macro - Catar - 08-30-2016

1000 = auto macro every 1 sec.
1 = macro is used when loading a script once (i use that to setup HUD settings)
0 = manual - needs to be used by different macro or utility, f.e. by cavebot, advanced attack, protector etc
Why wont u just use map tool then? it will use only once


RE: Need macro - wedel92 - 08-30-2016

(08-30-2016, 07:33 AM)teiito Wrote: Hello
I have a lot of characters, and i wanna to do Leech quest in Venore.
Maptool can does this, but i need to use shovel on ground once.

This macro doesnt work:

1000
{Use}
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.UseOn(3457, 17950, !X!, !Y!, !Z!, 1)

Where 3457 is a ID of shovel, 17950 is ID of ground.

I USE FEW TIMES SOMETHING LIKE THIS:
(its a part of my script on wailing widow)
Code:
Point (33189 31438 9)
Point (33190 31438 9)
Point (33191 31439 9)
Point (33196 31438 9)
Fixed (33199 31438 9)
MapTool (33199 31438 9:Target: 183 Use: 3291 Pos: 33200 31438 9)
Point (33201 31438 9)
Point (33202 31438 9)
Point (33203 31437 9)

THIS CAN HELP YOU IN FUTURE
Code:
[X-1, Y-1] [X, Y-1] [X+1, Y-1]
[X-1, Y] [X, Y(YOUR POSITION)] [X+1, Y]
[X-1, Y+1] [X, Y+1] [X+1, Y+1]



RE: Need macro - teiito - 08-30-2016

(08-30-2016, 06:04 PM)Catar Wrote: 1000 = auto macro every 1 sec.
1 = macro is used when loading a script once (i use that to setup HUD settings)
0 = manual - needs to be used by different macro or utility, f.e. by cavebot, advanced attack, protector etc
Why wont u just use map tool then? it will use only once

When i had maptool on script bot was "spaming" this maptool and didnt go onwards. Still was using shovel on ground.

(08-30-2016, 06:57 PM)wedel92 Wrote:
(08-30-2016, 07:33 AM)teiito Wrote: Hello
I have a lot of characters, and i wanna to do Leech quest in Venore.
Maptool can does this, but i need to use shovel on ground once.

This macro doesnt work:

1000
{Use}
X:=Self.X
Y:=Self.Y
Z:=Self.Z
Map.UseOn(3457, 17950, !X!, !Y!, !Z!, 1)

Where 3457 is a ID of shovel, 17950 is ID of ground.

I USE FEW TIMES SOMETHING LIKE THIS:
(its a part of my script on wailing widow)
Code:
Point (33189 31438 9)
Point (33190 31438 9)
Point (33191 31439 9)
Point (33196 31438 9)
Fixed (33199 31438 9)
MapTool (33199 31438 9:Target: 183 Use: 3291 Pos: 33200 31438 9)
Point (33201 31438 9)
Point (33202 31438 9)
Point (33203 31437 9)

THIS CAN HELP YOU IN FUTURE
Code:
[X-1, Y-1] [X, Y-1] [X+1, Y-1]
[X-1, Y] [X, Y(YOUR POSITION)] [X+1, Y]
[X-1, Y+1] [X, Y+1] [X+1, Y+1]

Im going to test something like this tomorrow.
Thanks for help guys