How to add certain SnoID for groundcircles decorators? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to add certain SnoID for groundcircles decorators?

    I've debugged the on-screen info to find the Blazing Guardian projectile(i think) and it's groundpool. But now i want to add or create a plugin for this. How do i do this?:confused:

    Code:
    432	skeletonMage_fire_groundPool
    5371	skeletonMage_Fire_A	Blazing Guardian
    5374	skeletonMage_Fire_projectile		
    	attr	Projectile_Detonate_Time	-1	59221

    How to add certain SnoID for groundcircles decorators?
  2. #2
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    foreach (var actor in Hud.Game.Actors.Where(=> a.SnoActor.Sno == 432))
    {
        
    Decorator.Paint(...);

    greetz gjuz

  3. Thanks everknown (1 members gave Thanks to gjuz for this useful post)
  4. #3
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry to bump this, finally got motivated to create this using Jack's code:
    [C#] BlazingGuardianDecoratorPlugin - Pastebin.com

    I tried with what @gjuz have above, but i don't know the Paint(params) yet. perhaps its Decorator.Paint(actor,actor.FloorCoordinate,null);?
    So i went to search around until i found Jack's code for BossSkills and took snippets out of it and made my own version for this Blazing Guardian fire pool. Now i need to test it to see if it actually works...

    Edit:
    First run worked, but circles are black? 255,0,0,0,2 doesn't mean RED 255, G 0, B 0 ?
    After i tried to change the values of CreateBrush, i get error message in the exceptions log file:
    2017.05.04 04:33:41.555 suspicious plugins behavior in plugin file: 'C:\Users\****\Desktop\TBHD\Plugins\Everknown\BlazingGuardianDecoratorPlugin.cs' : possibly trying to access the disk.
    Any idea why?
    Last edited by everknown; 05-03-2017 at 09:36 PM.

  5. #4
    RealGsus's Avatar Contributor
    Reputation
    104
    Join Date
    Mar 2017
    Posts
    114
    Thanks G/R
    85/99
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    255, 0, 0, 0, 2

    first number is the alpha value, after this comes R, G, B which in your case is 0, 0, 0 so it's black. try 255, 255, 0, 0, 2 for red.
    Wanna customize THUD the easy way? Check out
    ..:: TCT | TurboHUD Customization Tool ::..
    in the TurboHUD Plugin Review Zone

  6. Thanks everknown (1 members gave Thanks to RealGsus for this useful post)
  7. #5
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RealGsus View Post
    255, 0, 0, 0, 2

    first number is the alpha value, after this comes R, G, B which in your case is 0, 0, 0 so it's black. try 255, 255, 0, 0, 2 for red.
    Ah i thought it was the other way as in RGBa instead of aRGB.

    And now is the problem with the error " Possibly trying to access the disk"... any reason/solution to this?

    Edit:
    Went to made another version of it by using the same way i first made the ZeiStone version before editing it.
    [C#] FirePoolPlugin.cs - Pastebin.com
    Last edited by everknown; 05-04-2017 at 04:57 PM.

  8. #6
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by everknown View Post
    I tried with what @gjuz have above, but i don't know the Paint(params) yet. perhaps its Decorator.Paint(actor,actor.FloorCoordinate,null);?
    yes


    Originally Posted by everknown View Post
    After i tried to change the values of CreateBrush, i get error message in the exceptions log file:
    2017.05.04 04:33:41.555 suspicious plugins behavior in plugin file: 'C:\Users\****\Desktop\TBHD\Plugins\Everknown\BlazingGuardianDecoratorPlugin.cs' : possibly trying to access the disk.
    Any idea why?
    yes, in your comment
    PHP Code:
    /*Credits
     * Thanks to Jacks' BossSkillsPlugin, i manage to create this using the very same template he created for adding my own Sno into this file.
     * Hope you don't mind me using your code, Jack.
     */ 
    Hud responds to "file".
    delete this word or use anything else,

    greetz gjuz

  9. Thanks everknown (1 members gave Thanks to gjuz for this useful post)
  10. #7
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gjuz View Post
    yes



    yes, in your comment
    PHP Code:
    /*Credits
     * Thanks to Jacks' BossSkillsPlugin, i manage to create this using the very same template he created for adding my own Sno into this file.
     * Hope you don't mind me using your code, Jack.
     */ 
    Hud responds to "file".
    delete this word or use anything else,

    greetz gjuz
    Aha!, thanks. well i made 2 new version of it now. One is by using Jack's Monster Plugin template of SnoMapping and the other one is the one you wrote above.

    End result:
    Jack's SnoMapping method for multiple Sno: [C#] EnemySkillCirclePlugin.cs - Pastebin.com
    Basic method with FirePool only: [C#] FirePoolPlugin.cs - Pastebin.com
    Last edited by everknown; 05-04-2017 at 05:03 PM. Reason: Added new files

  11. #8
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    well done.
    but you can customize Jack's Original like this:
    PHP Code:
    Hud.RunOnPlugin<BossSkillsPlugin>(plugin => {
        
    //add ground circle (off-center) to Smoldering Construct Fire Pool (A2)
        //432    skeletonMage_fire_groundPool
        
    plugin.SnoMapping.Add(432, new WorldDecoratorCollection(
            new 
    GroundCircleDecorator(Hud)
            {
                
    Radius 9,
                
    Brush Hud.Render.CreateBrush(160,255,50,502DashStyle.Dash)
            }
        ));
    }); 
    instead of writing an extra plugin, which has the exact same structure.


    greetz gjuz

Similar Threads

  1. [Misc] How to add and make scripts for instances?
    By Umpteenth in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-28-2010, 12:50 PM
  2. [Guide] How to Add Custom Objects To your Private Server!(for HeidiSql)
    By hampe95 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 10-07-2008, 01:42 PM
  3. How to add WP for NPCs
    By InternetExplorer in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 04-06-2008, 02:58 PM
  4. Replies: 12
    Last Post: 04-03-2008, 09:40 PM
  5. Replies: 2
    Last Post: 11-14-2007, 08:20 PM
All times are GMT -5. The time now is 08:13 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search