Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
depot runemaking
#11
I did dude, I try everything before talking to you, I used the first one on persistent, it doesnt jump to the next
thats the error that appears on Console:

23:54:06 - Cavebot:LUA Setup->Line :2: 'end' expected (to close 'if' at line 1) near '<eof>': wait(10000)
23:54:06 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Tongue" title="Tongue" class="smilie smilie_5" />ersistent01: 2: attempt to call global 'wpt' (a nil value)

and when I use an ACTION after each waypoint, it just doesnt read it cuz he is STUCK on the first unreacheble SQM, he just doesnt jump to the action.
Reply

#12
I recommend you learn some LUA basics, because the error message says what’s going on.
The first error is not related to the scripts I sent you, because none of them use wait(10000). It’s missing an end, so you didn’t copied it properly or did bad changes.

if not islocation() then
     gotolabel(waypoint().id + 1)
end


if not islocationxyz(12345, 12345, 12345, 0) then
     gotolabel(waypoint().id + 1)
end

There’s a function called tilereachable, use it.
Reply

#13
|Only Registered members can see download links. | Click here to buy subscription or here to register.


So, I tried everything but can’t make it work, it seems almost impossible to make the bot skip an unreachable waypoint, I tried an ACTION after every single waypoint but when he can’t reach the waypoint it just stays there forever, it never jumps to the action... isn’t that a bug? the ‘skip waypoint’ feature on cavebot does not work for me.
Reply

#14
Hello.

No, it's not. Cavebot already does that and you can use tilereachable as well.
Reply

#15
|Only Registered members can see download links. | Click here to buy subscription or here to register.

I can't find out how to use this tilereachable that u mentioned twice, did try to find some post talking about it but there is none.

Since my cavebot does not skip unreachable waypoints I was thinking instead of putting a NODE followed by an ACTION, make only ACTIONS followed by ACTIONS with something like:


reachlocation(number posx, number posy, number posz)
if not islocation()
     gotolabel(waypoint().id + 1)
end



Since my bot never jumps to the next waypoint when its never reachable when using STAND/NODE, what do you think about using only actions like these? could u make me one please?
Reply

#16
Hello.

Yes, there are some posts about that.
|Only Registered members can see download links. | Click here to buy subscription or here to register.

tilereachable(number posx, number posy, number posz) [boolean]: Return true/false if specific tile is REACHABLE .

There's also another LUA function that can be useful:
tileiswalkable(number posx, number posy, number posz) [boolean]: Return true/false if specific tile is WALKABLE.
gettile(number posx, number posy, number posz) [table]: Return tile information.


Yes, that's a possible approach. Make a stand/node close to the place you wanna stay and then use Action to check and reach that location.
Instead of asking me if it's gonna, just try and check if it's gonna work!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016