- Joined
- Feb 9, 2019
- Messages
- 44
- Thread Author
- #1
Hi I am trying to navigation in my PoH. Mostly for wall and room detection.
My bot works well just building and removing my larder, but to navigate into the room, because I want it to be dynamic, at this stage I reply on osrs automatic movement when interacting with objects. So I naturally get as close as I can then just click build on the object and he runs around.
The only way I can think of for how to map my rooms at this stage is to assume that the portal room is a 5*5 (or whatever the size is) coordinate square and my whole house is effectively 5*5 blocks. Then just find where the object is that I want to build remove, and calculate which grid it is in, then I can go to an exact coordinate every time.
In my situation I really want my player to run into my larder room, then go to my larder and hug one of the two walls. When doing this, the servant doesn't get stuck as often.
Looking for perhaps a better solution.
My bot works well just building and removing my larder, but to navigate into the room, because I want it to be dynamic, at this stage I reply on osrs automatic movement when interacting with objects. So I naturally get as close as I can then just click build on the object and he runs around.
The only way I can think of for how to map my rooms at this stage is to assume that the portal room is a 5*5 (or whatever the size is) coordinate square and my whole house is effectively 5*5 blocks. Then just find where the object is that I want to build remove, and calculate which grid it is in, then I can go to an exact coordinate every time.
In my situation I really want my player to run into my larder room, then go to my larder and hug one of the two walls. When doing this, the servant doesn't get stuck as often.
Looking for perhaps a better solution.