Improvement/bot limit walking distance
Updated Bot Behavior:
- Bots will now only walk within a set distance from their original starting point.
- Bots cannot move farther than a specified number of tiles from the location where they were placed.
- Upon reloading or unloading a room, bots will always return to the exact spot where they were originally placed.
Configurable Settings:
- Radius Limit: You can enable or disable the walking radius restriction. Set the value to 0
if you want bots to roam freely to any walkable tile within the room.
- Radius Adjustment: You can define the walking radius. By default, bots will be limited to a 5-tile radius from the point where they were initially placed.
Mimicking Habbo Bot Behavior:
- Restricted Movement: Like in Habbo, bots do not walk freely across the entire room; they remain within a 5-tile radius from their original position.
- Fixed Walk Area: Bots will always move to a random tile within the defined radius from their placement point, not relative to their current position.
- Consistent Placement: On room reload or unload, bots will return to their original placement tile, ensuring that their x and y coordinates remain consistent. No updates to the bot's position occur during walking (onWalk
).