SDClowen / RSBot

A Silkroad Online Open Source Bot
GNU Affero General Public License v3.0
125 stars 110 forks source link

[Bug] Limit pick up items to Training Radius #780

Open gerardob opened 4 months ago

gerardob commented 4 months ago

Describe the bug when training, if ENABLE Pick up Other items (weapons, gold, alchemy, any item), the Char go to outside the training zone and go back, but in some cases when go outside the radius it pick a few items and later detect more item far away Char go for it, finally when the bot try to go back to training zone it stuck in place with this error:

[06:46:11] <Warning> raycastCount (terrain) above 100

I think it can be resolved with limit pick up items to training radius.

after the error RSBOT try to load the wallscript and got into a bucle:

[06:46:11] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Teleporting... [06:46:11] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Target position too far away, bot logic aborted! [06:46:11] [Script] The execution of the script command failed. (command=move; line=0) [06:46:11] [Script] Setting training area [06:46:11] [Script] No script command handler found. (command=; line=1) [06:46:11] raycastCount (terrain) above 100 [06:46:12] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Teleporting... [06:46:12] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Setting training area [06:46:12] [Script] No script command handler found. (command=; line=1) [06:46:12] raycastCount (terrain) above 100 [06:46:12] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Teleporting... [06:46:12] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:12] [Script] Target position too far away, bot logic aborted! [06:46:12] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Setting training area [06:46:13] [Script] No script command handler found. (command=; line=1) [06:46:13] raycastCount (terrain) above 100 [06:46:13] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Teleporting... [06:46:13] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:13] [Script] Target position too far away, bot logic aborted! [06:46:13] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Setting training area [06:46:14] [Script] No script command handler found. (command=; line=1) [06:46:14] raycastCount (terrain) above 100 [06:46:14] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Teleporting... [06:46:14] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Target position too far away, bot logic aborted! [06:46:14] [Script] The execution of the script command failed. (command=move; line=0) [06:46:14] [Script] Setting training area [06:46:14] [Script] No script command handler found. (command=; line=1) [06:46:14] raycastCount (terrain) above 100 [06:46:15] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Teleporting... [06:46:15] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Setting training area [06:46:15] [Script] No script command handler found. (command=; line=1) [06:46:15] raycastCount (terrain) above 100 [06:46:15] Loading walkscript [C:\Users\user\LegionSRO_23_02_2023\SCRIPTBOT\Hotan-Baghdad.rbs]... [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:15] [Script] Teleporting... [06:46:15] [Script] The execution of the script command failed. (command=teleport; line=0) [06:46:15] [Script] Target position too far away, bot logic aborted! [06:46:15] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Target position too far away, bot logic aborted! [06:46:16] [Script] The execution of the script command failed. (command=move; line=0) [06:46:16] [Script] Setting training area [06:46:16] [Script] No script command handler found. (command=; line=1)