[v7.2] [INTERNATIONAL] [Dark] ShrineAlertPlugin (Shrine TTS) menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 52
  1. #1
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [v7.2] [INTERNATIONAL] [Dark] ShrineAlertPlugin (Shrine TTS)

    Supported TurboHUD version: 9.0
    This plugin tells you via Text-To-Speech when a shrine is near you!


    Download:
    place in plugins/Dark/ShrineAlertPlugin.cs (updated 17 Nov 2017)


    Customization:
    If you want custom shrine names or want to disable shrines/pools also use and customize the following file:
    place in plugins/Dark/ShrineAlertConfig.cs (updated 11 May 2017)

    -- OR --

    paste the following code into your Customize() method of plugins\User\PluginEnablerOrDisablerPlugin.cs
    Code:
    Hud.RunOnPlugin<Dark.ShrineAlertPlugin>(plugin =>
    			{
    				// Shrine Alerts Examples
    				// null = use localized name for that shrine
    				// "" 	= no TTS for that shrine
    				plugin.UseCustomNames = true;
    				plugin.ShrineCustomNames[ShrineType.BlessedShrine] = "damage reduction shrine";
    				plugin.ShrineCustomNames[ShrineType.EnlightenedShrine] = "XP shrine";
    				plugin.ShrineCustomNames[ShrineType.FortuneShrine] = null;
    				plugin.ShrineCustomNames[ShrineType.FrenziedShrine] = null;
    				plugin.ShrineCustomNames[ShrineType.EmpoweredShrine] = null;
    				plugin.ShrineCustomNames[ShrineType.FleetingShrine] = null;
    				plugin.ShrineCustomNames[ShrineType.PowerPylon] = null;
    				plugin.ShrineCustomNames[ShrineType.ConduitPylon] = "Zapper pylon";
    				plugin.ShrineCustomNames[ShrineType.ChannelingPylon] = null;
    				plugin.ShrineCustomNames[ShrineType.ShieldPylon] = null;
    				plugin.ShrineCustomNames[ShrineType.SpeedPylon] = null;
    				plugin.ShrineCustomNames[ShrineType.BanditShrine] = "Bandit shrine! Get reinforcement!";
    				plugin.ShrineCustomNames[ShrineType.PoolOfReflection] = "XP pool";
    				plugin.ShrineCustomNames[ShrineType.HealingWell] = "";
    			});

    Changelog:

    Update 17 Nov 2017:
    - updated to TurboHUD v7.6

    Update 4 Nov 2017:
    - updated to TurboHUD v7.4

    Update 11 May 2017:
    - added Config file

    Update 7 Apr 2017:
    - bug fix (thanks, Jack)

    Update 4 Apr 2017:
    - added healing well and pool of reflection
    - updated customisation


    Inspired by Psychos ShrineLabelsPlugin
    Last edited by Darkblader24; 03-27-2019 at 06:07 AM.

    [v7.2] [INTERNATIONAL] [Dark] ShrineAlertPlugin (Shrine TTS)
  2. Thanks bobbydigital12, Gh0sT_89, FullmetalEnvy, cherouvim13, ADV2015, TobiaSBooN, Roman NMSK, (Sarge), Stormreaver, RNN, profredseries, imnotabotuser (12 members gave Thanks to Darkblader24 for this useful post)
  3. #2
    1969's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks!

    Gonna give this a shot

  4. #3
    bobbydigital12's Avatar Member
    Reputation
    2
    Join Date
    Mar 2017
    Posts
    13
    Thanks G/R
    59/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Didn't realize how useful TTS was for goblins. Going to try this one out right now too.

  5. #4
    d3gigi's Avatar Active Member
    Reputation
    52
    Join Date
    Mar 2017
    Posts
    55
    Thanks G/R
    12/49
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is just bs - the code duplication is real. For god's sake check other plugins - there literally already is this here: [v7.2][INTERNATIONAL][Psycho] ShrineLabelsPlugin

    Ask the dev to add TTS to the current plugin - if he refuses: Write it on your own. Or write a customization onto of his plugin.... a different user already made exactly this, ontop of the existing plugin.
    I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!

  6. #5
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I made this for myself but then I thought why not sharing it? If Psycho adds this to his plugin then I am glad to link to his plugin.

    The solution that user provided in the comments doesn't offer custom names for shrines which I wanted. Furthermore, not everybody reads comments and not everybody knows how to do that kind of stuff so this is an easy solution. And I don't see how I could write this plugin different from what I have other than just renaming the variables.

  7. #6
    MrOne's Avatar Contributor
    Reputation
    163
    Join Date
    Mar 2017
    Posts
    322
    Thanks G/R
    66/141
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I already add TTS to Psycho plugin (3 data ago) look last post, there is my solution.

  8. #7
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know. But your solution doesn't allow custom names which I wanted. Also, everybody talks about not modifying default files, so an external plugin is better and easier. And because there wasn't any TTS plugin for shrines I made this one.
    Last edited by Darkblader24; 04-03-2017 at 05:42 AM.

  9. #8
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not ready to be released yet but here is how i do it myself :
    PHP Code:
                Hud.RunOnPlugin<ShrinePlugin>(plugin =>
                {
                    
    plugin.AllShrineDecorator.Add(SoundAlertFactory.Create<IShrine>(Hud, (shrine) => shrine.SnoActor.NameLocalized));
                    
    plugin.PoolOfReflectionDecorator.Add(SoundAlertFactory.Create<IShrine>(Hud, (shrine) => "pool"));
                }); 
    Hide the Rum! --> Default theme customization 101 <--

  10. #9
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for this, very helpful and easy to use
    Last edited by Noobz; 04-03-2017 at 08:22 PM.

  11. #10
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see you have pool of reflection in the code but it is not saying pool when I am around one. I tried adding it to your custom list as well, no exception, just no sound:

    plugin.ShrineCustomNames[ShrineType.PoolOfReflection] = "Pool";

  12. #11
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I updated the plugin:
    - added healing well and pool of reflection
    - updated customisation

  13. #12
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Not ready to be released yet but here is how i do it myself :
    PHP Code:
                Hud.RunOnPlugin<ShrinePlugin>(plugin =>
                {
                    
    plugin.AllShrineDecorator.Add(SoundAlertFactory.Create<IShrine>(Hud, (shrine) => shrine.SnoActor.NameLocalized));
                    
    plugin.PoolOfReflectionDecorator.Add(SoundAlertFactory.Create<IShrine>(Hud, (shrine) => "pool"));
                }); 
    Ok, I see it's possible to do differently.

  14. #13
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Updated and got lots of these errors:

    2017.04.04 16:24:35.769 minimap draw error (System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Turbo.Plugins.Dark.ShrineAlertPlugin.PaintWorld(WorldLayer layer)
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.**‏‫‬*‏​*​‫‬​***​​*​** *.‫*‏‏*‎‬‫‫​‬**‬‫‎‏‬‎‏​*​*‫*‪*‫*()
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.‎*​‫**​‪‪*‪‎​​‫‬*****‏ ‏*(IPlugin , String , Action )
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.‏‬‎*****‏​**‪**‪‪‎**‬*‪​ ‫*(Object , EventArgs )
    at Turbo.Basic.Overlay.DrawMinimapLayer())
    2017.04.04 16:24:35.778 overlay paint error (System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Turbo.Plugins.Dark.ShrineAlertPlugin.PaintWorld(WorldLayer layer)
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.*‫​‪‬‬‏‬‬**‎‫‫*‬‎ *.‫‏‫*‫**‎​****‫‬‪*​​**‬‏‏‪‬‫**()
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.‎*​‫**​‪‪*‪‎​​‫‬*****‏ ‏*(IPlugin , String , Action )
    at ‬‫‬***‎*‬**‪‬​‏***‏*‏****.*​‫‎‏*‬*‏‪​‫​‏‫‎*‬​‎‎‪‪* ‬*(Object , EventArgs )
    at Turbo.Basic.Overlay.‫*‪*​‫​‎​**‬*‬‪‏​*‫**())


    I was fine in town, started when i was in other areas. Tried several times with same results

  15. #14
    Darkblader24's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    30
    Thanks G/R
    5/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is weird. Are you sure that your ShrineAlertPlugin.cs exactly matches my uploaded file?

  16. #15
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i will verify again and check

Page 1 of 4 1234 LastLast

Similar Threads

  1. [Buying] Exalted Orbs on Dark Shrine Standard(SC)
    By WGX in forum PoE Buy Sell Trade
    Replies: 0
    Last Post: 11-06-2015, 04:39 AM
  2. President Bush, CAUGHT SWEARING at international meeting
    By mantalcore in forum Community Chat
    Replies: 15
    Last Post: 08-14-2006, 09:41 AM
  3. dark portal/campfire
    By king11 in forum World of Warcraft General
    Replies: 2
    Last Post: 06-22-2006, 03:06 PM
  4. Dark Portal Idea/Question
    By vaelor in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 06-18-2006, 10:07 AM
  5. Dark Portal fun
    By Lazyman234 in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 06-18-2006, 01:56 AM
All times are GMT -5. The time now is 08:02 AM. 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