Razviar / mtgap

Support tool for MTG Arena online game
https://mtgarena.pro/
225 stars 50 forks source link

Can't install or update to newest EXE #414

Closed Sidefxmayinclde closed 1 week ago

Sidefxmayinclde commented 1 week ago

Your Desktop:

Describe the bug Program won't update or install after 2.2.32 :

To Reproduce I went to install the new exe but it crashes right when it launches, so installed the previous version: installs but isnt logging or working overlay wise, seen bottom right about update: went to do it and it errors there as well.

Revilak commented 1 week ago

Hello, I'm not a developer but judging from the screenshot you posted maybe a firewall is blocking the connection of a MTG Arena Pro tracker executable file, probably the file update.exe located in folder C:\Users{your Windows username}\AppData\Local\mtgaprotracker. Also please check that your antivirus isn't blocking or has already quarantined the file SharpMonoInjector.dll which is located, if you have intalled 2.2.32, in folder C:\Users{your Windows username}\AppData\Local\mtgaprotracker\app-2.2.32\resources\app.webpack\main\native_modules You have to update to version 2.2.33 because 2.2.32 isn't compatible with the current MTG Arena client.

Sidefxmayinclde commented 1 week ago

Hello, I'm not a developer but judging from the screenshot you posted maybe a firewall is blocking the connection of a MTG Arena Pro tracker executable file, probably the file update.exe located in folder C:\Users{your Windows username}\AppData\Local\mtgaprotracker. Also please check that your antivirus isn't blocking or has already quarantined the file SharpMonoInjector.dll which is located, if you have intalled 2.2.32, in folder C:\Users{your Windows username}\AppData\Local\mtgaprotracker\app-2.2.32\resources\app.webpack\main\native_modules You have to update to version 2.2.33 because 2.2.32 isn't compatible with the current MTG Arena client.

Well you should be a developer because you were correct, It had 2 files in like antivirus hell i had to "approve" then BOOM worked fine <3 Now I need to figure out how to Read my log file, its directed correctly, and the detailed logs is turned on in game (was using untapped just fine)

Revilak commented 1 week ago

Always be sure to start MTG Arena Pro tracker first and after you have done it you should start MTG Arena client. When MTG Arena is opened you can check the tracker's status by switching to its window with alt+tab. If the tracker is working fine you should see a green message that the log is parsed to the current time. If the tracker isn't working you should see a red message instead. If you see a red message the reasons could be the following: if you have Steam or Epic MTG Arena client or if you install the normal WOTC client in a different directory that the default one you have to manually locate the correct folder for MTGA_Data path in tracker's "Settings" tab as the tracker doesn't do it automatically. For Steam version the folder should be under your Steam games folder, for example C:\SteamLibrary\steamapps\common\MTGA\MTGA_Data.

Sidefxmayinclde commented 1 week ago

Always be sure to start MTG Arena Pro tracker first and after you have done it you should start MTG Arena client. When MTG Arena is opened you can check the tracker's status by switching to its window with alt+tab. If the tracker is working fine you should see a green message that the log is parsed to the current time. If the tracker isn't working you should see a red message instead. If you see a red message the reasons could be the following: if you have Steam or Epic MTG Arena client or if you install the normal WOTC client in a different directory that the default one you have to manually locate the correct folder for MTGA_Data path in tracker's "Settings" tab as the tracker doesn't do it automatically. For Steam version the folder should be under your Steam games folder, for example C:\SteamLibrary\steamapps\common\MTGA\MTGA_Data.

Yea i have it aimed at the correct data folder, but it's not reading it, i wonder if there is more perms i need to pass it?

Revilak commented 1 week ago

I remember from MTG Arena Pro Discord server that some user had to run the tracker as Admin, maybe MTG Arena client too. I don't run them that way but maybe, if you wish ti could worth a try.

Revilak commented 1 week ago

Also please check that the file player.log is located in folder C:\Users\Utente\AppData\LocalLow\Wizards Of The Coast\MTGA\ otherwise you have to change its location in MTG Arena Pro Tracker "Settings" tab.

Revilak commented 1 week ago

MTG Arena Pro tracker settings

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/K2woe4W.png

I have both running in admin mode, even turned off the firewall for now, but still wont read the log file? I dont know what im doing wrong

Revilak commented 1 week ago

The tracker always starts with a red message. Do you have also started MTG Arena and switched to MTG Arena Pro tracker window with alt+ tab ?

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/HvGn9BH.png played about 5 now.

Revilak commented 1 week ago

That's weird. Can I see your tracker settings tab ?

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/lPPE87k.png

Revilak commented 1 week ago

I presume you have also checked that MTGA_Data folder is really in that directory. Also please check if after logging to your personal account in https://mtgarena.pro/ the Matches and Rewards sections are updated or not.

Sidefxmayinclde commented 1 week ago

Nothing on the website has logged, it wont even give me a "account" in the accounts tab,

https://i.imgur.com/XGtkHqj.png this is the path for the MTGA_Data. idk i might uninstall the program and see if they are installed on 2 different harddrives if that would matter.

Sidefxmayinclde commented 1 week ago

Oh it wont even allow me to pick where to install it. :(

Revilak commented 1 week ago

Sorry if I'm asking but do you have created a free account on MTG Arena Pro website ? I'm asking because the tracker's account tab shouldn't be empty (it should show in order: MTG Arena PRO nickname, MTG Arena nickname, MTGA ID and MTGA Pro userID)

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/89oIQOd.png

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/2NsEiwQ.png

Revilak commented 1 week ago

You could try to "wipe all settings" in MTG Arena Pro settings tab and re-sync your account.

Sidefxmayinclde commented 1 week ago

I dont know what you mean by "re-sync" I never seen a spot to even sign in to my account or a way to even link them,

but i have tried the wipe all, did nothing

Revilak commented 1 week ago

After you have wiped all settings and restarted the tracker , it should show a button to sync / link your account (I don't remember if in general tab or setting tab)

Sidefxmayinclde commented 1 week ago

nope, never seen that option ever.

Revilak commented 1 week ago

That's fundamental for the tracker to work. Maybe a complete MTG Arena Pro tracker uninstall from Windows settings - Apps - Installed app and reinstalling 2.2.33 version could solve your issue.

Sidefxmayinclde commented 1 week ago

Done it 3 times now but will do it again.

Sidefxmayinclde commented 1 week ago

Nope nothing even a pc restart.

Sidefxmayinclde commented 1 week ago

https://i.imgur.com/CJFUAet.png

Ok so i went in and manually deleted all the files, I then did a pc restart, i then looked into my firewall and found 2/3 things in "quarentine" i removed those back to where they go, and then task manager close the program *(noticed it likes to stay going) and boom now it works. idk

Revilak commented 1 week ago

As you have installed 2.2.23 please check that Sharpmonitor.dll is present in folder C:\Users{your Windows username}\AppData\Local\mtgaprotracker\app-2.2.33\resources\app.webpack\main\native_modules Anyway if the button to sync / link tracker to MTG Arena Pro websit doesnt' show when you start MTG Arena after starting firs the tracker I don't know what can we do as I think we have tried all possible solutions.

Revilak commented 1 week ago

Do you have managed to sync tracker to account ?

Sidefxmayinclde commented 1 week ago

Do you have managed to sync tracker to account ?

I did, and it seems to be working now.

Revilak commented 1 week ago

Nice, if you alt-tab from MTG Arena to MTG Arena Pro tracker window, it should show a green message that the log is parsed till the current time.

Sidefxmayinclde commented 1 week ago

It is, yes.

Sidefxmayinclde commented 1 week ago

I appreciate you helping me out with this, but its 4:40am for me so bed time! hah

Revilak commented 1 week ago

You're welcome. Good night