gathering-gg / parser Goto Github PK
View Code? Open in Web Editor NEWParser for MTG: Arena output_log.txt file.
Home Page: https://gathering.gg/
License: MIT License
Parser for MTG: Arena output_log.txt file.
Home Page: https://gathering.gg/
License: MIT License
The booster method returns an error, which is checked, and fails to add any boosters to the upload data.
A booster doesn't have a unique identifier right now, so the server can't tell which boosters have been parsed already.
We can resolve this by adding the time from the Segment and using that as unique identifier.
As a side note, we should probably send up the Timestamp for all objects in the future.
Upload flag should be false
by default.
When the user has paid for an event, parse it.
[2019-02-20 17:15:22.143] [info] Starting cli with binary at: C:\Users\micha\AppData\Local\Gathering\app-0.6.0\resources\app\resources\windows\gathering.exe
[2019-02-20 17:15:22.143] [info] cli spawn options: -timer=600 -token=e3f8adfe3b5dd7f06a8c12eebf697f9fd3175f2746d44b08c3f859be8208f32c
[2019-02-20 17:15:34.954] [verbose] stderr: 2019/02/20 17:15:34 gathering.gg client starting
[2019-02-20 17:15:35.295] [verbose] stderr: 2019/02/20 17:15:35 user home directory: 'C:\Users\micha', using for finding log location
2019/02/20 17:15:35 watching file: 'C:\Users\micha\AppData\LocalLow\Wizards Of The Coast\MTGA\output_log.txt'
2019/02/20 17:15:35 adding log file location and watching: C:\Users\micha\AppData\LocalLow\Wizards Of The Coast\MTGA\output_log.txt
2019/02/20 17:15:35 entering main watch loop
[2019-02-20 17:15:35.295] [verbose] stderr: 2019/02/20 17:15:35 file updated, size: 14.0MB
2019/02/20 17:15:35 log file updated, parsing
[2019-02-20 17:15:49.004] [verbose] stderr: panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x566dc3]
goroutine 4 [running]:
github.com/gathering-gg/parser.(*Log).Matches(0xc000f11b20, 0x929e10, 0x0, 0x0, 0x0, 0x0)
C:/Users/travis/gopath/src/github.com/gathering-gg/parser/log.go:220 +0x163
main.ParseAll(0xc000106190, 0x48, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:108 +0x2d7
main.onChange(0xc000106190, 0x48)
C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:132 +0xcd
main.main.func1(0xc00014c000, 0xc000106190, 0x48)
C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:204 +0x2ca
created by main.main
C:/Users/travis/gopath/src/github.com/gathering-gg/parser/cli/main.go:199 +0x407
[2019-02-20 17:15:49.006] [warn] child process exited with code: 2
It waits 30 seconds for the first parse, but it should check the file size and trigger immediately on starting.
Some users are not having the cards of a deck being parsed correctly. I'm not sure this is a client or server issue yet. Debugging updates are to support discovering this.
Instead of using Server time, use the log time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.