- Thread Author
- #1
Hi!
So I'm working on a basic-ish bot for the time being that will go to the Falador Square, Setup a Cannon, Fire Said cannon, and then go to a safe spot until the cannon runs out of ammo and then reloads it, then goes back to the safe spot.
This is what I've accomplished so far:
I can get the bot to go to the falador square, set-up the cannon, and fire it.
My Issues:
When I try to set the bot to go to the safespot (Which is out of 5 units of the falador square), everything continues to loop back to the start. So the bot is detecting that, "Hey! I'm out of the 5 units of the square, I need to run back!" This is happening because of the bot looping back to the start of the script that detects that I'm not within 5 units of the falador square.
I've tried some things to fix it, and I'm slowly getting there, but it's still a huge work in progress, and I would appreciate any help from anyone who is experienced with this program to kind of explain the actual functions of things.
The image uploaded shows the going to falador square and setting up the cannon. I removed the fire_cannon section because it was giving me the most issues.
To start, I'd like to try and refine what is in the image to be more streamlined and function better. After it seems solid, I'll start working on the firing portion.
Overall Goal:
The overall goal of this bot is to have a setup that will function at all the popular cannon spots (Falador Square, Ice Trolls, Hill Giants, Dagganoths, etc) and will remain in safe spots, eat food as necessary, and loot items over a certain value. I hope to one day have this featured on the store, however I will never make this bot premium. I want it to be a free resource for the community to use, and I will try and provide the most support and keep it update as possible.
So I'm working on a basic-ish bot for the time being that will go to the Falador Square, Setup a Cannon, Fire Said cannon, and then go to a safe spot until the cannon runs out of ammo and then reloads it, then goes back to the safe spot.
This is what I've accomplished so far:
I can get the bot to go to the falador square, set-up the cannon, and fire it.
My Issues:
When I try to set the bot to go to the safespot (Which is out of 5 units of the falador square), everything continues to loop back to the start. So the bot is detecting that, "Hey! I'm out of the 5 units of the square, I need to run back!" This is happening because of the bot looping back to the start of the script that detects that I'm not within 5 units of the falador square.
I've tried some things to fix it, and I'm slowly getting there, but it's still a huge work in progress, and I would appreciate any help from anyone who is experienced with this program to kind of explain the actual functions of things.
The image uploaded shows the going to falador square and setting up the cannon. I removed the fire_cannon section because it was giving me the most issues.
To start, I'd like to try and refine what is in the image to be more streamlined and function better. After it seems solid, I'll start working on the firing portion.
Overall Goal:
The overall goal of this bot is to have a setup that will function at all the popular cannon spots (Falador Square, Ice Trolls, Hill Giants, Dagganoths, etc) and will remain in safe spots, eat food as necessary, and loot items over a certain value. I hope to one day have this featured on the store, however I will never make this bot premium. I want it to be a free resource for the community to use, and I will try and provide the most support and keep it update as possible.