BOSSoNe0013 / track-o-bot

The friendly Hearthstone Tracker (Linux port)
https://trackobot.com
GNU Lesser General Public License v2.1
39 stars 6 forks source link

ToB crashes at HS launch #90

Closed Zbradaradjan closed 7 years ago

Zbradaradjan commented 7 years ago

Hi, so I installed ToB, it went well, but when I launch Hearthstone it just crash. I launched it from console to see the crash text, here it is : Track-o-Bot: src/HearthstoneCardDB.cpp :114 : void HearthstoneCardDB::LoadJson(): l'assertion « error.error == QJsonParseError::NoError » a échoué. Abandon (core dumped)

Thanks

angrylinuxuser commented 7 years ago

Could You delete json file from ~/.local/share/spidy.ch/Track-o-Bot and see if it crashes again? If yes please enable debug mode and paste here contents of Track-o-Bot.log from the same directory.

Zbradaradjan commented 7 years ago

So I deleted that json file, launched the game and it crashed again. Here is the Track-o-Bot.log DebugLog.txt

angrylinuxuser commented 7 years ago

Ok so this issue is related to the enGB language You are using. This is upstream issue developer knows about. Try setting enUS as language for game in bnet settigns. This should fix it.

Zbradaradjan commented 7 years ago

Ok so it doesn't crash anymore, but there's no overlay.

angrylinuxuser commented 7 years ago

Strange. For good mesure delete json files again restart ToB and hs ( and double check if u have enabled overlay :) ) if issue is still present please play one or two rounds against ai then post log and json file

Zbradaradjan commented 7 years ago

All right, I'm trying this. Is there an order when launching ToB and HS ?

angrylinuxuser commented 7 years ago

there shouldnt be any need for ordering try running tob frist then hs

Zbradaradjan commented 7 years ago

Oh, you said 1 or 2 rounds. Played a full game against AI. Still no overlay, triple checked that the option was ticked.

DebugLog.txt

angrylinuxuser commented 7 years ago

Cards are loaded so this side of the issue is resolved. Just to be sure ( sorry bout that :) ) - Did you hover mouse over unplayed cards ( decks on right side near button ) to show the overlay? What distro are you using and what window manager?

Edit left -> right

Zbradaradjan commented 7 years ago

I didn't hover my mouse over anything, because there's nothing to hover over (Over) There's really nothing different than when ToB is not active. I'm on XUbuntu 16.04 and I'm not sure what window manager I use. I didn't install anything, so I guess the default one ? Maybe that's the issue, I didn't install any ?

angrylinuxuser commented 7 years ago

when ToB Hearthstone are running you can show overlay: trigger area is hidden by default you should be able to see it if you do this: https://trackobot.com/assets/screenshot_overlay-d320357486ea4653800fc78767b21fd71ddb00830bd4e3554b77b07b623c1c0c.jpg

Zbradaradjan commented 7 years ago

Ooh dumb me, I forgot that you had to hover. All right, problem solved, thanks !