Okay, so for added compatibility with other plugins/bot bases/etc, I am attempting to add lines to my code that check for FATE participation and combat status.
I have figured out how to verify that I am in fact in fates/combat, but I do not know how to generate a list of current mobs in my enmity list to target and kill for just incombat, nor do I know what I would use to set fatemanager to complete the FATE we are currently in before running my plugin.
Also, I've run into an issue with the plugin AutoFateLeveler. As it stands, that plugin will try to move me back to it's map area before RetBot is able to complete it's routine. Would alwayssucceeds in my code be able to quell that? And if so, would that potentially break anything so long as I give control back to the other plugins/botbase at the end of my routine, as it currently does?
Finally, I do not believe that I have properly disabled the plugin once someone un-checks the plugin from the selection list, and/or presses the stop button. Is there anything glaringly obvious that I missed to completely stop/disable when people try to stop/disable it?
Thank you once again for your help!
I have attached my plugin as it stands, with the portions in question being lines 115 - 134 in RetBot, and lines 112 - 126 in Movement. (for FATE participation and combat status).
I have figured out how to verify that I am in fact in fates/combat, but I do not know how to generate a list of current mobs in my enmity list to target and kill for just incombat, nor do I know what I would use to set fatemanager to complete the FATE we are currently in before running my plugin.
Also, I've run into an issue with the plugin AutoFateLeveler. As it stands, that plugin will try to move me back to it's map area before RetBot is able to complete it's routine. Would alwayssucceeds in my code be able to quell that? And if so, would that potentially break anything so long as I give control back to the other plugins/botbase at the end of my routine, as it currently does?
Finally, I do not believe that I have properly disabled the plugin once someone un-checks the plugin from the selection list, and/or presses the stop button. Is there anything glaringly obvious that I missed to completely stop/disable when people try to stop/disable it?
Thank you once again for your help!
I have attached my plugin as it stands, with the portions in question being lines 115 - 134 in RetBot, and lines 112 - 126 in Movement. (for FATE participation and combat status).