Is it possible to let the bot teleport the whole script. For example set teleport = true in the onLoad and then the bot will teleport between the waypoints instead of walking. I want to improve my ks script and let it teleport about 200 waypoints. With teleporting its much more reliable on my computer. At the moment I can't get my computer to run 6 clients (3 ks chars + 3 reset chars) because they get stuck at many walls. Most times they go on running when reaching a waypoint and notice this too late. But this has to be my weak computer.
First of all if you teleport through a wall, or even through a bump in the ground, you will probably get pulled back. It's always a bit risky to use teleport too much. Of course the code I added to the bot to handle pull backs probably helps.
No no, it hasn't to do anything with my settings or waypoints. It's because of my computer.
One bot runs perfectly, two are possible too, but when running three they don't run from waypoint to waypoint precisely.
Sometimes if he wants to reach a waypoint he runs forward, turns around 180 degrees and does this until he reaches exactly those coordinates at which the waypoint is. So in fact, sometimes he runs about 15 seconds around one waypoint he wants to reach which lets it not being very reliable.
Back to the main question. I thought maybe there would be a shorter way instead of adding about 200+
Well there is no "onwaypoint" event if that's what you mean. You would have to edit the bot. Probably you would change "player:moveTo()" to use teleport instead of moving. Note, when teleporting it's not looking for mobs while moving, only when at the waypoints. So your waypoints can't be too far apart.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Off topic but I think I heard of that hack. I don't remember it being discussed on this forum so I doubt there is a userfunction somewhere. I could be wrong. My memory is not what it used to be.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.