April 20, 20251 yr Hello, in general, the essence is. That I am trying to write some plugin, which should freeze the bot when players appear nearby (it is important to not take a pause, namely stop bot, don't move). The problem is that even if I use the option with the waiting cycle of Thread.sleep (1000); The bot still ignores this and moves along the route to collect. I tried to use different methods, but it does not help. Is it possible somehow, during the Gatherer profile, stop the bot without pause? @Droidz I need help, because only you know, how Wrobot working... How I understood, Gatherer have high priority and if bot is not pause, it's moving along the route. Maybe is there way to stop this?
April 23, 20251 yr Hello, You can execute your code in the product thread (gatherer) using, for example, the "OnBeforeCheckIfNeedToRunState" event. Sample : https://wrobot.eu/forums/topic/15429-plugin-for-robotsresponse-to-player-attack/?&_rid=1#findComment-69230
Create an account or sign in to comment