Season 15 and Demonbuddy, working as of 21th September 2018!
  • Visit Rebornbuddy
  • Visit Demonbuddy

[Stealthy] A stealth activation and deactivation plugin for gathering.

Discussion in 'Plugins' started by eniac, Feb 9, 2017.

  1. eniac

    eniac Member

    Joined:
    Jul 22, 2010
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    Hey I wrote this plugin that will use stealth whenever there are hostile mobs in a 30 yard radius
    and deactivate stealth when there are no enemies.

    Code:
    rev.1: Initial release.
    rev.2: Added sleep behaviour after dismounting and stealth toggle.
    rev.3: Sleep time tweaking.
    rev.4: More sleep time tweaking.
    rev.5: The plugin has been updated to use the new api function for detecting hostile mobs. Also it should now ignore mobs that are at least 10 level below yours.
    rev.6: When shut down, the plugin should now set the mount usage setting back to what it was, when the plugin was initialized.
    rev.7: Rewrite of large parts. The plugin runs more efficiently and faster now. No hardcoded sleep values anymore, so even with extremely high latency the addon will work flawlessly.
    rev.8: Bumped version to 1.0.
     

    Attached Files:

    Last edited: Feb 16, 2017
    Blackseason likes this.
  2. eniac

    eniac Member

    Joined:
    Jul 22, 2010
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    I Just realized that the plugin will avoid all mobs, not just hostile ones...
    Does anyone have an idea how to sort out enemies that will attack you ?

    I have made a post about this in the developement section. link
    I hope I get an answer soon so this thing is finally working flawlessly.
     
    Last edited: Feb 9, 2017
  3. eniac

    eniac Member

    Joined:
    Jul 22, 2010
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    Hey, as
    Code:
    battlechar.StatusFlags.HasFlag(StatusFlags.Hostile)
    was added to the api in the latest update, I modified the plugin to make use of it. New version should be doing, what it's supposed to.
     
    Last edited: Mar 25, 2017
  4. xs247

    xs247 Member

    Joined:
    Sep 2, 2012
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Thank you mate, exaclty what im looking for :)
     
  5. eniac

    eniac Member

    Joined:
    Jul 22, 2010
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    I don't know what to improve anymore. Please send some feedback. Otherwise I will just bump the version to 1.0 and that's it.
     
  6. cscn1992

    cscn1992 New Member

    Joined:
    Feb 25, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    This seems very useful to me:) TY VERY MUCH
     
  7. Blackseason

    Blackseason New Member

    Joined:
    Dec 6, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi thx for share , i got problem with


    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(104,25) : error CS0234: The type or namespace name 'Actionmanager' does not exist in the namespace 'ff14bot.Managers' (are you missing an assembly reference?)
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(108,56) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(108,121) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(111,25) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(119,55) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(119,120) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(122,25) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(108,143) : error CS0165: Use of unassigned local variable 'data'
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\ExBuddy\Plugins\Stealthy\Stealthy.cs(119,142) : error CS0165: Use of unassigned local variable 'data'
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(104,25) : error CS0234: The type or namespace name 'Actionmanager' does not exist in the namespace 'ff14bot.Managers' (are you missing an assembly reference?)
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(108,56) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(108,121) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(111,25) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(119,55) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(119,120) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(122,25) : error CS0103: The name 'Actionmanager' does not exist in the current context
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(108,143) : error CS0165: Use of unassigned local variable 'data'
    [22:32:23.097 N] Compiler Error: C:\Users\ryano\Desktop\Voiture\Plugins\Stealthy\Stealthy.cs(119,142) : error CS0165: Use of unassigned local variable 'data'
     
  8. Legaia

    Legaia New Member

    Joined:
    Dec 27, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1

    Apparently the API for RebornBuddy was changed so the previously used "Actionmanager" is no longer valid. I've updated the plugin to reflect the changes from "Actionmanager" to "ActionManager". If you have this error with other plugins just open the .cs file in Notepad++ and use ctrl F to find all instances of "Actionmanager" and change it. That should be a fix for this particular problem across all plugins.

    Disclaimer: I don't know anything about C# I just kinda poked around and tried to teach myself. The plugin seems to be working for me now.
     

    Attached Files:

  9. pablopic

    pablopic New Member

    Joined:
    Jul 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    When i use this plugin, My character keeps cycling between mount, dismount, stealth, mount again. Sometimes he activates and deactivates stealth, then hit nodes. Can someone help?
     
  10. QueenLilith

    QueenLilith Member

    Joined:
    May 26, 2017
    Messages:
    82
    Likes Received:
    11
    Trophy Points:
    8
    If you are using ExBuddy with EnableFlight turned on?

    Also, Logs. Logs for any issue ever, always. Need to see what is happening in most cases to tell you what is going on.
     
  11. pablopic

    pablopic New Member

    Joined:
    Jul 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Yes i have ExBuddy and EnableFlight turned on. Will it not work if i have them turned on?
    I can't post my logs now because this computer doesn't have rebornbuddy, but i'll post them tomorrow.
     
  12. QueenLilith

    QueenLilith Member

    Joined:
    May 26, 2017
    Messages:
    82
    Likes Received:
    11
    Trophy Points:
    8
    Ya, from what I am able to see it is EnableFlight that has the issue. Although you do go stealth, EnableFlight will override that and move to where it needs to go. Stealthy is probably overriding that immediately and trying to put you back in stealth causing the loop. If you can, extend the range on mounting up in setting to 40-50 or you can move the point that the bot is moving to closer/be more specific and see if that helps. If someone has another suggestion they will probably post it here.
     
  13. to0t

    to0t Member

    Joined:
    Jul 20, 2010
    Messages:
    69
    Likes Received:
    1
    Trophy Points:
    8
    update for this? bot keeps agroing mobs and dying
     
  14. eniac

    eniac Member

    Joined:
    Jul 22, 2010
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    hey i may play ffo again next month if so you can expect an update on this. aswell as the other stuff i coded.
     
  15. papatoast

    papatoast Member

    Joined:
    Jan 15, 2010
    Messages:
    237
    Likes Received:
    0
    Trophy Points:
    16
    Am interested to see the project refreshed.. It doesn't seem to load at all currently, so an update would be welcome.
     
  16. blind_nuku

    blind_nuku Member

    Joined:
    Mar 10, 2013
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    8
    Works a treat after changing the seven instances of Actionmanager with ActionManager. This thing is life rn.
     
    y2krazy likes this.

Share This Page