NoxiousGuardianPlugin.cs Overlay paint Error (Exception) menu

User Tag List

Results 1 to 13 of 13
  1. #1
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    NoxiousGuardianPlugin.cs Overlay paint Error (Exception)

    I am now getting 3 exceptions randomly when playing (Interestingly doesn't throw exceptions upon launching HUD)

    I had never had any problems with this plugin in the past - only ever since this season came out (TurboHUD 20.11.19.1 (v9.2)) To be clear I am running the latest version of HUD currently (20.11.27.1)

    Any help would be greatly appreciated as I enjoy using this plugin for Rats

    NoxiousGuardianPlugin.cs: NoxiousGuardianPlugin.cs - Pastebin.com
    exceptions.txt: exceptions.txt - Pastebin.com

    NoxiousGuardianPlugin.cs Overlay paint Error (Exception)
  2. #2
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Plugin is few lines, it just occurs to me that for some monster: monster.SnoMonster.NameEnglish or monster.SnoMonster.NameLocalized it is returning a null value. I've used it for a while and got no exceptions

  3. #3
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I already figured out the causes of exceptions: you have to exclude clones (season theme) from monster list because monster.SnoMonster.NameEnglish and monster.SnoMonster.NameLocalized return null sometimes. I hope @KillerJohn does not remove them as monsters ,OnMonsterKilled will stop working for them and the plugin of the season will be very complicated

    Turbo.SNO.Dll

    Last edited by RNN; 11-30-2020 at 10:11 AM. Reason: link removed

  4. #4
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Should I do something with this? Or the plugin should be fixed with a null ref check? Mention me with the answer please.
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  5. #5
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    @KillerJohn

    It would be enough to check that NameEnglish or NameLocalized do not return null

    Another way would be or exclude the clones before:

    Code:
    List<uint> clones = new List<uint> { 484610, 484627, 484628, 484629, 484630, 484631, 484632 };
    Option 1
    Code:
    foreach(var monster in Hud.Game.AliveMonsters) 
    { 
    if (clones.Contains(monster.SnoMonster.Sno)) continue;
    ...
    }
    Option 2
    Code:
    foreach(var monster in Hud.Game.AliveMonsters.Where(m => !clones.Contains(m.SnoMonster.Sno))) 
    { 
    ..	
    }

    There are several plugins affected but it will only be necessary to modify them for this season

  6. #6
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    what would be a good names for the clones?
    sry I dont know what are these, I don't play...
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  7. #7
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Shadow clone
    Any goes, not really used, as long as it is different from null

    Shadow clone

  8. #8
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    List<uint> clones = new List<uint> { 484610, 484627, 484628, 484629, 484630, 484631, 484632 };

    only these?
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  9. #9
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Yes I think so

    (There are 14 actors, 2 per class, but SnoMonster.Sno does not distinguish male from female)
    Last edited by RNN; 11-29-2020 at 05:47 PM.

  10. #10
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    Yes I think so

    (There are 14 actors, 2 per class, but SnoMonster.Sno does not distinguish male from female)
    done in next build
    I use the ingame string 3553387842, which is "Shadow Clone", "Klon cienia", "Clon tenebroso" and so on in different translations
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  11. #11
    KillerJohn's Avatar TurboHUD HUDmaster CoreCoins Purchaser Authenticator enabled
    Reputation
    3693
    Join Date
    Jul 2012
    Posts
    2,532
    Thanks G/R
    46/3335
    Trade Feedback
    0 (0%)
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    try 20.11.30.0
    Do not send me private messages unless it is absolutely necessary or the content is sensitive or when I ask you to do that...

  12. #12
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thanks RNN and KJ - Latest version of HUD (20.11.30.1) has solved the problem!

  13. #13
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Perfect now, no more exceptions (20.11.30.0) , thx

    20.11.30.1 doesn't work for me : Run TurboHud as administrator
    Last edited by RNN; 11-30-2020 at 06:21 AM.

Similar Threads

  1. [Bug] Possible defect - overlay paint error [Int32]
    By MrOne in forum TurboHUD Support
    Replies: 0
    Last Post: 05-19-2019, 04:13 AM
  2. [Question] Exception errors
    By frigidclam in forum TurboHUD Support
    Replies: 0
    Last Post: 01-10-2018, 01:32 PM
  3. [Bug] Exception Errors
    By 4evergamer in forum TurboHUD Support
    Replies: 11
    Last Post: 11-11-2017, 03:41 PM
  4. Problem with [ERROR] Could not launch Diablo. (Diablo.cs)
    By Elvinek in forum Diablo 3 Emulator Servers
    Replies: 7
    Last Post: 02-28-2012, 12:52 PM
  5. DBC Saving Exception Error
    By Loteeh in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 07-13-2009, 03:31 PM
All times are GMT -5. The time now is 09:30 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