HearthSim / Hearthstone-Deck-Tracker

A deck tracker and deck manager for Hearthstone on Windows
https://hsreplay.net/downloads/
4.76k stars 1.12k forks source link

Cards appear as "Unknown" #383

Closed drakogold closed 9 years ago

drakogold commented 10 years ago

When I'm not playing with an specific deck, cards appear as unknown. That happen to my enemy cards too.

azeier commented 10 years ago

And it works fine if you have a deck selected?

Try deleting the config.xml in "%appdata%/HearthstoneDeckTracker" (press win+R to open the run-dialog and paste that there).

drakogold commented 10 years ago

With a selected deck (imported, I can see any card when creating) it shows me my cards, my enemy's cards still appears as "Unknown" Example:http://gyazo.com/d8deb15f349822d084100dc94e4a89a2 Delting config.xml doesn't changes anything.

azeier commented 10 years ago

Redownload the zip an replace all the .json files in HearthstoneDeckTracker/Files with the new ones.

If that does not fix it please upload you output_log.txt from the Hearthstone/Hearthstone_Data folder, that might help figure out what's going on.

drakogold commented 10 years ago

[removed so I don't have to scroll :)]

azeier commented 10 years ago

Ah sorry, this seems to be just menu logs. Please play a game (just conceding once againt AI will do), without the tracker running and upload that again.

http://pastebin.com/ <- So we don't have to scroll for ages here :).

drakogold commented 10 years ago

Done http://pastebin.com/CvHUDJbX

azeier commented 10 years ago

Well this is weird. The screenshot above suggest that there are draw messages in the logs (hand count is working), but there are none in the log you posted. Did you have the tracker turned off?

One more thing to try: Go to "%appdata%/HearthstoneDeckTracker" again, open the config.xml and set to true, then play a game (this time with the tracker turned on! - play 1-2 turns against AI, then just concede again) and upload the file generated in Hearthstone Deck Tracker/Logs.

drakogold commented 10 years ago

http://pastebin.com/1ecJULw8 The tracker was on in the first log too.

azeier commented 10 years ago

Okay, at least we got the problem here:

[13:21:51]: Error loading db:
System.BadImageFormatException: No se puede cargar el archivo o ensamblado 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ni una de sus dependencias. Se esperaba que el módulo tuviera un manifiesto de ensamblado.
Nombre de archivo: 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   en Newtonsoft.Json.Converters.XmlNodeConverter.CanConvert(Type valueType)
   en Newtonsoft.Json.JsonSerializer.GetMatchingConverter(IList`1 converters, Type objectType)
   en Newtonsoft.Json.Serialization.DefaultContractResolver.InitializeContract(JsonContract contract)
   en Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)
   en Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)
   en Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)
   en Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   en Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   en Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   en Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   en Hearthstone_Deck_Tracker.Hearthstone.Game.LoadCardDb(String languageTag)

AVS: El registro del enlace de ensamblado está desactivado.
Para habilitar el registro de errores del enlace de ensamblado, establezca el valor de Registro [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) como 1.
Nota: existe una disminución del rendimiento asociada registro de errores del enlace de ensamblado.
Para desactivar esta característica, elimine el valor de Registro [HKLM\Software\Microsoft\Fusion!EnableLog].**

Could you roughly translate what the last paragraph is saying? (starting with AVS..)

azeier commented 10 years ago

Clearing your %temp% folder could possibly do the trick: http://stackoverflow.com/questions/8269386/could-not-load-file-or-assembly-the-parameter-is-incorrect

drakogold commented 10 years ago

Nope.This may help. http://gyazo.com/73a94c6ced149f37c5bbd4bbe4d39e61 ?

drakogold commented 10 years ago

Traduction: The register of assembling is off. To enable it set the registry value. There is a disminution of the performance associated to the error registry of the assembly link. To disable this option, delete the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].**