Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find the pluggin in the Option #1

Closed
everchump opened this issue Jan 31, 2016 · 11 comments
Closed

Can't find the pluggin in the Option #1

everchump opened this issue Jan 31, 2016 · 11 comments
Assignees
Labels
Milestone

Comments

@everchump
Copy link

I extract the zip into the pluggin folder;

so the directory is : plugin>>BattleCry>>"AudioFiles" folder and the "battlecry.dll“

but Can't find the pluggin in the HDT Option (0.13.9 HDT)

if the directory is : plugin>>"AudioFiles" folder and the "battlecry.dll“

then i can find the pluggin in the HDT Option.

so,is it my problem ?

@falconmick
Copy link
Owner

I think your problem might be that you have the plugin inside of a folder called "BattleCry", This extra folder is not required and will probably break it. the folder hirachi should look like this:

Hearthstone Deck Tracker/
------Plugin/
------------battlecry.dll
------------AudioFiles/
------------------johncena.mp3
------------------cardsoundconfig.xml

If that fixes it please let me know and I'll update the readme to make this more clear.

Cheers.

@everchump
Copy link
Author

Yes , without the "battlecry" folder it works, I know it.

I just want it works with the "battlecry" folder too.

because the others pluggins,such as your Anyfin Can Lethal,HearthstoneCollectionTracker,RenoTime ....etc , they all have a folder inside the Plugin.

Hearthstone Deck Tracker/
------Plugin/
------------BattleCry/
-----------------battlecry.dll
------------------AudioFiles/
--------------------------johncena.mp3
--------------------------cardsoundconfig.xml

i want this works.....

@falconmick
Copy link
Owner

You would have to put a request into Hearthstone Deck Tracker for functionality like that. I don't have any options other than to put my dll into the root of the plugin folder.

@azeier
Copy link

azeier commented Jan 31, 2016

HDT supports loading plugins from sub-folders. The problem is that you are looking for the cardsoundconfig.xml in Plugins/AudioFiles (here).

Exception from the log when trying to load plugin from a sub-folder:

[22:50:27] PluginManager: Error Loading [...]\Plugins\BattleCry\BattleCry.dll:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. 
---> System.IO.DirectoryNotFoundException: Could not find a part of the path '[...]\Plugins\AudioFiles\cardsoundconfig.xml'.

@falconmick
Copy link
Owner

Ah wikid, I had no idea you could do that. @Epix37 is there a way to get the location of the dll via your api or will I have to use some reflection to get the source of the dll?

@falconmick falconmick added the bug label Jan 31, 2016
@azeier
Copy link

azeier commented Jan 31, 2016

Not possible at the moment, reflection should be the easiest solution.

@falconmick falconmick added this to the 0.0.5 milestone Jan 31, 2016
@falconmick falconmick self-assigned this Jan 31, 2016
@azeier
Copy link

azeier commented Feb 1, 2016

Check the log: options > tracker > settings > show log or %AppData%/HearthstoneDeckTracker/Logs.

@falconmick
Copy link
Owner

@seregapsa
Copy link

Не работает плагин. Распаковывал файлы как здесь написано. но звук все равно не воспроизводится.

@falconmick
Copy link
Owner

@seregapsa could you please show me your folder setup?

не могли бы вы показать мне ваши настройки папки ?

@seregapsa
Copy link

Извините не совсем понял какие настройки и какой папки показать?? А будет ли этот мод работать если у меня русский клиент?

Sorry do not quite understand what settings and what folder to show?? And will this mod work if I have a Russian client?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants