Jump to content

How to use Zanzoken in Cavebot


wildbrood

Recommended Posts

I have no idea how the "zanzoken" is performed at the server you are playing, so I've assumed it's just a "Use" at specific tile.

Add "Action" waypoint and use the following script to use the top item of a given position:

local usePosition = {x = 123, y = 346, z = 7}
repeat
  g_game.useMapItem(usePosition)
  sleep(1000)
until g_game.getLocalPlayer():getPosition() == usePosition

 

Link to comment
Share on other sites

1 hour ago, Zelek said:

I have no idea how the "zanzoken" is performed at the server you are playing, so I've assumed it's just a "Use" at specific tile.

Add "Action" waypoint and use the following script to use the top item of a given position:


local usePosition = {x = 123, y = 346, z = 7}
repeat
  g_game.useMapItem(usePosition)
  sleep(1000)
until g_game.getLocalPlayer():getPosition() == usePosition

 

The problem is that the "use" is on "mouse3' button. How to script it?

Link to comment
Share on other sites

×
×
  • Create New...