BBot - The best bot of the world
Macro Dont Work - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Macro Dont Work (/thread-4454.html)



Macro Dont Work - Mephisto - 09-13-2012

I have macro to open quest doors which looks like this

Code:
Macro (33246 32534 8:1000 {Open Door} VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z Map.Use(6258, !X!, !Y!, !Z!, 5))

point before the macro is

Code:
Fixed (33246 32534 8)

the id of the quest doors is right, the pos is ok still bot wont open these doors, anybody knows why and how to fix it ? where did i made mistake ? Undecided

Greets
Mephisto Wink


RE: Macro Dont Work - spiff26 - 09-13-2012

This in Cavebot
Code:
.
.
.
Fixed (33246 32534 8)
Macro (33246 32534 8:Open Door)
.
.
.

Paste This in Advanced Tools>Macros
Code:
0 {Open Door} X:=Self.X Y:=Self.Y Z:=Self.Z VarAdd(X, 1) Map.Use(6258, !X!, !Y!, !Z!, 5)

If the Door is at right use the macro, is left cahnge VarAdd(X, 1) with VarSub(X, 1), if up change VarAdd(X, 1) with VarSub(Y, 1), if down change VarAdd(X, 1) with VarAdd(Y, 1)


RE: Macro Dont Work - Mephisto - 09-13-2012

well i think it got bugged but somehow i made it work with that macro spliff gave me, reput to him and topic can be closed Wink


RE: Macro Dont Work - spiff26 - 09-14-2012

Not bugged, is that how to write macros changed Tongue