Comments (4)
The actual problem is with the event before it which is an 0x08 type camera movement event. This type of event is pretty rare and not exactly understood. Running through the dozen test replays in the repo, I only get 1 instance of this event and it (as is yours) is recorded before the game initialization events (player join and game start).
I'll run through a larger replay set to find the events to see if there is a pattern of sorts. Let us know if you run into more parse errors.
from sc2reader.
So after doing some really really shallow digging (ahem, I need to rtfm more.) I found that I can use NoEventsConfig and bypass this entire issue.
Since I'm not really interested in events (yet) that works. Bugg still exists ofc. Just thought you would want to know.
from sc2reader.
Well @jjacobsson, let me get on writing that manual before you try and go reading it. I'm glad you found a way around it though. On the development branch that method of configuration has changed, but the capability is there, so you should be fine when you upgrade to cover the 1.3.3 patch.
Still haven't fixed the bug yet though; I would really like more examples of this kind of event happening if you could find them somehow. It would certainly help with correcting the parsing.
from sc2reader.
Hey @jjacobsson!
I went and parsed through about 600 replays today and found 6 miss behaving 0x08 camera events and managed to fix the parsing. Update from the obslibmerge branch and give it a shot.
Some things may have changed since the version you are on right now but the manual is up to date for the little information currently included.
from sc2reader.
Related Issues (20)
- Merging the different repositories HOT 3
- Build Order Update HOT 3
- "Rejoin" events not used for players list on resumed replays. HOT 2
- Store extension mods on the replay HOT 4
- Encoding Error for certain replays HOT 5
- "TypeError: ord() expected a character, but string of length 0 found" in decoders.py v0.6.5 HOT 3
- UnicodeDecodeError for LotV beta replay HOT 30
- `None` in game events
- Would sc2reader adapt for Heroes? HOT 2
- "2207 bytes left!" on newer replays. HOT 10
- How to build the ability csv file? HOT 5
- New s2protocol HOT 4
- Replay object has no expansion HOT 2
- PLEASE USE ggtracker/sc2reader INSTEAD
- Old replay files HOT 2
- sc2reader broken for new replays HOT 1
- Lazy parsing of SC2Replay file to speed up data science HOT 1
- Export replay as .avi? HOT 4
- struct.error: unpack requires a buffer of 4 bytes
- Meaning of decoded data attributes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sc2reader.