the plugin does not work menu

User Tag List

Results 1 to 4 of 4
  1. #1
    RawHulk2's Avatar Member
    Reputation
    1
    Join Date
    Jun 2025
    Posts
    26
    Thanks G/R
    19/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    the plugin does not work

    made for Infernal Maiden, but the plugin doesn't want to work

    using System.Linq;
    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.User
    {
    public class RGSkillPlugin : BasePlugin, IInGameWorldPainter
    {
    public WorldDecoratorCollection InfernalMaidenDecorator { get; set; }

    public bool InfernalMaiden { get; set; }

    public RGSkillPlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);

    InfernalMaiden = true;

    InfernalMaidenDecorator = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Radius = 5.0f,
    Brush = Hud.Render.CreateBrush(160, 255,102,51, 3, SharpDX.Direct2D1.DashStyle.Dash),
    },
    new GroundCircleDecorator(Hud)
    {
    Radius = 5.0f,
    Brush = Hud.Render.CreateBrush(160, 204,51,51, 3, SharpDX.Direct2D1.DashStyle.Dash),
    }
    );
    }

    public void PaintWorld(WorldLayer layer)
    {
    if (Hud.Game.MapMode == MapMode.Map) return;

    foreach (IActor actor in Hud.Game.Actors)
    {
    switch (actor.SnoActor.Sno)
    {
    case ActorSnoEnum._x1_Lieutenant_Mortar_projectile:
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;

    case ActorSnoEnum._x1_Lieutenant_Mortar_Impact:
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;
    }
    }
    }
    }
    }

    log:
    2025.08.22 19:10:31.810 1.4.3.0 error while initializing plugins
    2025.08.22 19:10:31.812 1.4.3.0 D:\Turbo\TurboHUD (free)\Plugins\User\RGSkillPlugin.cs(45,24) : error CS0117: 'ActorSnoEnum' does not contain a definition for '_x1_Lieutenant_Mortar_projectile'
    2025.08.22 19:10:31.812 1.4.3.0 D:\Turbo\TurboHUD (free)\Plugins\User\RGSkillPlugin.cs(50,24) : error CS0117: 'ActorSnoEnum' does not contain a definition for '_x1_Lieutenant_Mortar_Impact'

    the plugin does not work
  2. #2
    RNN's Avatar Legendary
    Reputation
    882
    Join Date
    Sep 2018
    Posts
    1,159
    Thanks G/R
    109/844
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    case sensitive:

    ActorSnoEnum._x1_lieutenant_mortar_projectile
    and
    ActorSnoEnum._x1_lieutenant_mortar_impact

    read interfaces\sno\enums\Actor.cs

  3. #3
    RawHulk2's Avatar Member
    Reputation
    1
    Join Date
    Jun 2025
    Posts
    26
    Thanks G/R
    19/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't understand anything, but thanks anyway

  4. #4
    xblade2k7's Avatar Active Member
    Reputation
    50
    Join Date
    Jun 2009
    Posts
    286
    Thanks G/R
    102/34
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RawHulk2 View Post
    I didn't understand anything, but thanks anyway
    1. Replace ActorSnoEnum with SnoManager Lookup

    The ActorSnoEnum might be deprecated or the specific values might have changed. Instead, use Hud.Sno.SnoToName or Hud.Sno.GetSnoPower to correctly identify actors by their Sno ID or name.
    Here's the corrected code:

    using System.Linq;
    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.User
    {
    public class RGSkillPlugin : BasePlugin, IInGameWorldPainter
    {
    public WorldDecoratorCollection InfernalMaidenDecorator { get; set; }
    public bool InfernalMaiden { get; set; }

    public RGSkillPlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);
    InfernalMaiden = true;

    InfernalMaidenDecorator = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Radius = 5.0f,
    Brush = Hud.Render.CreateBrush(160, 255, 102, 51, 3, SharpDX.Direct2D1.DashStyle.Dash),
    },
    new GroundCircleDecorator(Hud)
    {
    Radius = 5.0f,
    Brush = Hud.Render.CreateBrush(160, 204, 51, 51, 3, SharpDX.Direct2D1.DashStyle.Dash),
    }
    );
    }

    public void PaintWorld(WorldLayer layer)
    {
    if (Hud.Game.MapMode == MapMode.Map) return;

    foreach (IActor actor in Hud.Game.Actors)
    {
    string actorSnoName = Hud.Sno.SnoToName(actor.SnoActor.Sno); // Get the actor's Sno name

    switch (actorSnoName)
    {
    case "x1_Lieutenant_Mortar_projectile": // Note: removed underscore prefix
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;

    case "x1_Lieutenant_Mortar_Impact": // Note: removed underscore prefix
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;
    }
    }
    }
    }
    }
    2. Verify Correct Sno Names
    The Sno names might have changed. Use TurboHUD's built-in tools to find the correct Sno names for the actors:

    Enable TurboHUD's debug mode.

    Hover over the actor or projectile in-game and use a command (e.g., /sno) to display the current Sno name.

    Alternatively, check the exceptions.txt log file for any additional clues .

    3. Alternative: Use Sno IDs Directly

    If the names don't work, try using the numeric Sno IDs instead. You can find these in TurboHUD's documentation or by inspecting the game objects:

    // Replace the switch statement with:
    uint actorSnoId = actor.SnoActor.Sno;
    switch (actorSnoId)
    {
    case 12345: // Replace with correct Sno ID for _x1_Lieutenant_Mortar_projectile
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;

    case 67890: // Replace with correct Sno ID for _x1_Lieutenant_Mortar_Impact
    if (InfernalMaiden)
    InfernalMaidenDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;
    }
    Why This Happened
    TurboHUD's API can change between versions, especially if you're using TurboHUD Free or a different fork (e.g., Lightning) .

    The ActorSnoEnum might not be available or might have been renamed in your version of TurboHUD.

    The specific actor Sno values might be incorrect or outdated for the current Diablo III patch.

    📌 Additional Tips
    Check for API Updates: Ensure your TurboHUD version matches the plugin's requirements. Older plugins may need adjustments for new API versions .

    Community Resources: Visit TurboHUD forums or Discord communities to find updated Sno IDs for specific actors .

    Error Logs: Always check the exceptions.txt log file for detailed error messages .

    If you continue to experience issues, provide the correct Sno IDs or names for the actors you're trying to detect, and I can help further refine the code!

Similar Threads

  1. Norwegian repack .additem command does not work
    By Connor1 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 07-21-2009, 04:40 PM
  2. RvR Healing Bot (Does not work)
    By j_jones84 in forum MMO Exploits|Hacks
    Replies: 9
    Last Post: 12-05-2008, 01:47 PM
  3. WoW-ToolBox . com Does Not Work
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 94
    Last Post: 07-16-2008, 08:11 PM
  4. [Help] PVP does not work
    By baseballdude02 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 06-29-2008, 12:25 PM
  5. [Question/Help]My reskin does not work propperly
    By lolister in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 06-03-2008, 09:40 AM
All times are GMT -5. The time now is 09:35 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search