Giter VIP home page Giter VIP logo

mtgatool-desktop's People

Contributors

dunkhan avatar manwe-777 avatar mtgatool-bot avatar riqq avatar sven-herrmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mtgatool-desktop's Issues

color filter on deck list does not work

Clicking the color icons on the color filter make all the decks on the deck list disappear.

Preliminary debugging shows the deckstats color values are being set incorrectly.

I may fix this myself but I wanted to document it here in case I forget

TypeError when accessing Collection tab

Hi there

Whenever I try to use the "Collection" tab, I get the following error:

TypeError: Cannot read property "inventory" of undefined

I'm really not sure what further to put unfortunately as the logs provided to not really say much other than the error started from main.1f89d86d.chunk.js:1:1610372.

It has worked once or maybe twice since installing it a few days ago, but most of the time it does not.

I'm running on Linux, PopOs 21.04 running "mtgatool-desktop-6.1.21.AppImage"

I attach a screenshots
Screenshot from 2021-12-16 23-00-13
Screenshot from 2021-12-16 23-02-18

Once this error is encountered, nothing in the app can be used (effectively just locked up and I have to kill it).

Very happy to try any further steps to troubleshoot/diagnose. I understand this is a bit of a useless bug report in its current form.

Thanks in advance
Arthur

Can't sign up

I'm probably signing up wrong, but any username I submit on the signup page it returns an error "Could not find user". I tried using the same username as arena, tried a totally different one and also tried an email...

Collection downloaded as CSV bug

As already reported at ⁠#support-bugs channel on Discord this feature doesn't work as it should. As you can see from the attached screenshots the owned cards are 27160. I have downloaded my collection as a CSV file, including digital sets, and on CSV file the sum of all cards is 26765 so 395 cards are missing.
I think this is a important feature as with a CSV file it's possible to import MTG Arena collection to specific MTG websites like Moxfield or Deckstats for example but with that lot of missing cards is completely useless.
I hope the developer/s will be able to fix it.
Collection
Collection CSV

"In boosters" button not working properly in "Cards View" on Collection tab

When changing the button from "All cards" to "In boosters" they all dissapear and if you deselect and select again the set, all cards from the set (including ones not in boosters) will show again as if "All cards" was selected instead.

Default:
photo_2022-10-10_21-02-55

Changing to "In boosters":
photo_2022-10-10_21-02-58

Deselecting the set:
photo_2022-10-10_21-03-00

Selecting it again:
photo_2022-10-10_21-03-05

If you change it to "Not in boosters", the behaviour is the same: when you change it from the default ("All cards") to "Not in boosters" it shows nothing, then deselect and select again the set and all cards are shown instead of only the ones not in boosters.

Version 6.2.3 tested on Linux Mint 19.2

Can no longer aggregate Historic Brawl data

Historic Brawl is the main format I play on Arena, so for a while I did my part to gather data for it by running the aggregator on the event type. Sometime within the last week or so, though, it's stopped working--I go to Explore > "try the aggregator", open the event type dropdown, and scroll to the bottom to click "Other Events", but the submenu never unfolds and the additional events including Brawl Historic never show up.
image

Failed to start MTG Arena tracker daemon

Hey,
i cannot use the Tool anymore :(

neither the install or the app image.

Status of the Service:

× mtga-trackerd.service - MTG Arena tracker daemon
     Loaded: loaded (/etc/systemd/system/mtga-trackerd.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Thu 2022-10-20 21:06:06 CEST; 6min ago
   Duration: 65ms
    Process: 1255 ExecStart=/usr/share/mtga-tracker-daemon/mtga-tracker-daemon (code=exited, status=203/EXEC)
   Main PID: 1255 (code=exited, status=203/EXEC)
        CPU: 801us

Okt 20 21:06:06 MT-PC systemd[1]: mtga-trackerd.service: Scheduled restart job, restart counter is at 5.
Okt 20 21:06:06 MT-PC systemd[1]: Stopped MTG Arena tracker daemon.
Okt 20 21:06:06 MT-PC systemd[1]: mtga-trackerd.service: Start request repeated too quickly.
Okt 20 21:06:06 MT-PC systemd[1]: mtga-trackerd.service: Failed with result 'exit-code'.
Okt 20 21:06:06 MT-PC systemd[1]: Failed to start MTG Arena tracker daemon.

Appimage Error:

[8634:1020/211436.695302:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.

i run it on Manjaro Linux

With a large amount of unique cards I cant reposition the deck tracker

When playing a deck with 243 cards and most of them being singles I can't reposition the tracker overlay
image
I work around this by challenging sparky with a 60 card deck and moving the tracker to my vertical monitor. Even thought vertical monitor still clips it makes more if available.

Can't open deck

This happens when i try to open this deck, works well with the others
image

Deck
4 Elvish Mystic (M14) 169
20 Forest (THB) 254
4 Soul of the Harvest (JMP) 432
2 Nylea, Keen-Eyed (THB) 185
2 Yorvo, Lord of Garenbrig (ELD) 185
2 Invasion of Ikoria (MOM) 190
3 Defiler of Vigor (DMU) 160
4 Wolfwillow Haven (THB) 205
4 Castle Garenbrig (ELD) 240
3 Glorious Sunrise (VOW) 200
4 Llanowar Elves (DAR) 168
4 Master Symmetrist (STX) 138
4 Blossom Prancer (NEO) 175

Mtga Tool isn't working

Hello there, I'm writing this post because the tracker isn't working for me until last update. The problem is the follow... when I double click the mtga tool icon it launches the "checking for updates " message and it immediately opens the window related to my account so it doesn't permit me to type any password. The worst thing is it doesn't work at all because if I try to click every tab (my decks, history etc...) it doesn't show anything, even the options section has the same problem. Maybe it could be an update bug? Thanks in advance for your help and good work.

Collection export is missing three cards

Hello,
thank you very much for fixing in a short time the collection CSV's bug. Now only 3 cards are in collection but are missing in CSV:

Highland Forest (Kaldheim common), Karplusan Forest (Dominaria United rare) and Oread of Mountain's Blaze (Theros Beyond Death common)
Oddly the last one is a Enchantment Creature and not a non-basic land

As I wrote it's minor issue but I just wanted to inform you about this.

Offline mode

Is it planed to get back an offline mode for people mainly interested by their own stats/collection tracking assistant, like it used to be possible with v5 and earlier?

Issues debugging

I was planning to contribute to this project. I looked into fixing the bugs I reported my self first. Unfortunately I have been unable to get any breakpoints in any debugger working, and I also can't get any console output to appear. This makes bug fixing impossible. In addition it appears I have to rebuild the whole application to see the results of even minor changes, and it re-reads my player log every time so even changing a short text somewhere takes around 15 minutes.

Can you tell me how you deal with these issues? What IDE do you use (I was trying with webstorm)?

Blank black screen upon open

After open the tool I was greeted with a blank black screen. Task manager reported neither CPU nor Network usage. In the mean time I can play MTGA OK.

Where can I find some logs?

Data in Different Account IDs for the same account

Description

I have more than one account. Let's say account A and B. After I change account from A to B then back to A, new data will appear under a new account ID, as shown in image below. So, even I play in the same account A, data can't be seen under the same account ID.
Screenshot_20230705160837186

Expected

After switching account back and forth, data of the same account can stay together.
Using real account name like MyName#73943 might be better than arena application internal account ID.

Version

V6.2.11

Unexpected Card Type : Dungeon

I have been playing against players that make use of the Dungeons and Dragons card set. There is card types that have the name Dungeon. This causes the app to throw an error popup(see attached). There is no way to dismiss this popup. Restarting the app will just show the popup again.

Im running the AppImage version of this with the mtga daemon tool as per the instructions on the readme.

Pop OS 21.10

image

Clicking the back button causes "Minified React error #130"

Steps to reproduce:

  1. Open the "My Decks" tab or "History" tab and click on a deck or game to view it
  2. Click on the back button in the top left, and the game crashes.

This appears to happen when clicking on any of the back buttons

Here's a screenshot of the error message that pops up:
image

And some screenshots of the more detailed error log:
image

image

Action logs only show beginning turns

Action logs for previously played games (accessed via History) only show turns beginning, players conceeding, winning and loosing.
I am pretty certain that previously more information was shown (e.g. triggered abilities, spells cast, etc.).

Action logs from games played "about a month ago" do not show additional info either. Therefore, I think it is safe to assume that at least the NEO update of Arena is not responsable for breaking this. However, this still might be due to a different, previous update ("earlier than about a month ago") of Arena.

Of course, the loss of detailed action logs might have been introduced in recent updates of the mtgatool-desktop client.

I see this behaviour is on both Linux and Windows versions of the mtgatool-desktop client.

Match data goes to the wrong deck

Match data from different game modes will go to the wrong deck at times. Example below with the alchemy precons, this has also happened with limited and sealed matches.

Screenshot 2022-06-03 212524

What happened to this app?

MTGATool used to be my favorite MTGA tracker tool. It wasn't perfect but it had all kinds of useful features and beautiful interface. How come all of the features are gone and whatever is there now barely works?

Can't create an account

When trying to sign up, I get:
Mixed Content: The page at 'https://mtgatool.com/register' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://api.mtgatool.com:8765/gun'. This request has been blocked; this endpoint must be available over WSS.

Deleted statistics partially return

I deleted my db once reaching diamond because the deck stats are no longer valid. A deck's win rate in the lower tiers is no indication of performance against harder decks. After a few days about half of the decks suddenly changed to having vastly more games played than were actually played. The stats appear to be previous actual games from before I deleted the db. I deleted the whole Arena Tool folder because I am not sure what files need to be deleted for this (on Linux).

In addition to this bug, it would be nice to be able to reset the deck win stats without deleting all the data.

peer connection errors

Linux Desktop

On the release client:
Deck stats do not update after games
After a few minutes the windows goes black and can no longer be interacted with.

On the debugger:
Deck stats do not update after games
After a few minutes the application displays an error message:

Unhandled Rejection (Error): cannot send after peer is destroyed
Peer.send
node_modules/simple-peer/index.js:248
(anonymous function)
src/toolDbNetwork.ts:194
191 | * Clean the announce offers pool
192 | */
193 | _this.cleanPool = function () {

194 | Object.entries(_this.offerPool).forEach(function (_a) {
| ^ 195 | var id = _a[0], peer = _a[1].peer;
196 | if (!_this.handledOffers[id] && !_this._connectedPeers[id]) {
197 | // this.tooldb.logger("closed peer " + id);

if this message is closed another appears shortly after.
After about half an hour the error message changes to one about being unable to create new peer connections due to limit being reached.

I don't know how any of this part of the code works or I would try to tackle this myself.

Display hint when detailed logs are disabled

When detailed logs are disabled, all the important information is missing in the log and mtgatool can't work properly. Detect this and display a hint to the user to change the setting.

GPU process isn't usable. Goodbye.

Hi there

When trying to start the mtgatool-desktop-6.1.39.AppImage from the terminal I get the following message:

Checking for update
[7517:0815/234553.579214:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

I've tried to use some flags like --debug or --help to see if anything would change, but I can't seem to get any other output that what is provided above.

It also doesn't work when double clicking on the icon in a file viewer. I suspect the same error occurs, but no error window is provided or anything like that.

Any help would be greatly appreciated.
Thank in advance

Problem with "Card Winrates" in version 6.0.13

Hello, I think there is an issue with the tab "Card Winrates". When I click on it I have a empty screen even though the tracker got the data (he gives me my stats Victory-Defeat with the right opponent). This was working on version 5.X.
There is 2 screenshot one showing exactly the tab "Card Winrates" I am talking about and the second one is the empty screen I got after clicking.
problem_with_card_winrate

empty_card_winrate

Bug: Images of my cards are missing

All of the images for my cards seem to be broken, in all parts of the app. Here's a screenshot:
Screen Shot 2023-01-16 at 10 21 47 PM

This doesn't seem to be a problem for opponent's cards in the match history. Any clues as to what the issue might be?

Unable to change Cards Data language

I change the cards Data language to Chinese,but not work.
Restart app ,the About shows Metadata is v136(EN).
But,I try use WEB tools is working , could change language.

peer connection errors

Linux Desktop

On the release client:
Deck stats do not update after games
After a few minutes the windows goes black and can no longer be interacted with.

On the debugger:
Deck stats do not update after games
After a few minutes the application displays an error message:

Unhandled Rejection (Error): cannot send after peer is destroyed
Peer.send
node_modules/simple-peer/index.js:248
(anonymous function)
src/toolDbNetwork.ts:194
191 | * Clean the announce offers pool
192 | */
193 | _this.cleanPool = function () {
> 194 | Object.entries(_this.offerPool).forEach(function (_a) {
195 | var id = _a[0], peer = _a[1].peer;
196 | if (!_this.handledOffers[id] && !_this._connectedPeers[id]) {
197 | // this.tooldb.logger("closed peer " + id);

if this message is closed another appears shortly after.
After about half an hour the error message changes to one about being unable to create new peer connections due to limit being reached.

I don't know how any of this part of the code works or I would try to tackle this myself.

I'm getting an error that reads "TypeError: Cannot read property 'forEach' of null" when trying to access the History tab.

I don't know why this could be happening. I tried restarting MTG Arena Tool, restarting Arena, and uninstalling and reinstalling MTG Arena Tool. I wasn't able to find any help on Google, so I figured that I'd post the error myself.

MTG Arena Tool Error

So, this screen pops up when I click on the History tab, however the other tabs are still clickable—they're just not visible. I hope there's something that can be done.

Error message screen locks the app

Whenever an error popup appears it completely locks the app, the reason for this is that the Redux state should be cleared (or reset) after exiting the popup.

High UDP packet rate overhead / many STUN binding requests / many UDP sockets

The mtgatool-desktop application seems to generate a lot of very small UDP packets. After 15 hours of uptime I'm seeing:

  • Packet Rate: 150pkts/s
  • Bitrate: 80kbit/s
  • Per Packet Size: 62 bytes for IPv4, 82 bytes for IPv6
  • Type: STUN Binding Request

Furthermore it seems this is one STUN binding request per STUN server (two for IPv4, one for IPv6) and for each UDP socket mtgatool-desktop opens, with a 10 seconds interval.

Next it seems that this number of open UDP ports increases linearly over time? After 45min of uptime I'm seeing ~800 open UDP sockets from mtgatool-desktop according to netstat on Linux. Which results in this management overhead increasing linearly over time?

So I'm wondering is there maybe some socket cleanup bug?

Deck list sorting constantly resets

Reproduction:
Open the deck view
Sort it by win rate (or anything not the default)
wait a moment
Note that the ordering of the list resets randomly.

I am reporting this to document it as I fix it. This should be resolved soon.

Login blank running version 6.2.15

Downloading and running version 6.2.15, don't ask for user and password, and the user screen is blank, without statistics.

¿Can you give a solution?

I'm running Pop!_OS

Wishlist: Enable IPv6 for DHT / decentralized storage

I really like the idea of decentralized storage! However in the settings under Network->Peers I usually only see one peer, namely "api.mtgatool.com". So that seems to make this feature quite centralized again?

At least on Linux it seems that mtgatool-desktop only listens on an IPv4 UDP socket:

$ sudo netstat -tulpen | grep mtgatool | head -n1
udp        0      0 192.168.3.47:49850      0.0.0.0:*                           1000       2225250    332303/mtgatool-des
udp        0      0 192.168.3.47:49867      0.0.0.0:*                           1000       2221187    332303/mtgatool-des 
udp        0      0 192.168.3.47:33555      0.0.0.0:*                           1000       2218923    332303/mtgatool-des 
udp        0      0 192.168.3.47:49946      0.0.0.0:*                           1000       2222378    332303/mtgatool-des
...
udp        0      0 224.0.0.251:5353        0.0.0.0:*                           1000       2223457    332303/mtgatool-des 
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1000       2202378    332210/mtgatool-des 
udp        0      0 224.0.0.251:5353        0.0.0.0:*                           1000       2220621    332303/mtgatool-des
...

So I guess all peers are currently hidden behind IPv4 NATs? It would be great if the mtgatool-desktop could exchange packets over IPv6, too. That way we should see a lot more peers.

Running but not updating

Hi, I can get MTG Arena Tool running, but it doesn't update on Linux.
{"isRunning":"true", "daemonVersion":"1.0.6.1", "updating":"false", "processId":20020}

MTG Arena: Steam Client
Distro: Tumbleweed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.