Comments (3)
I'm having the same issue. I debugged some, and saw that it was any replay that
wasn't 1v1.
Upon investigation, I tracked the issue down to mpqfile.php:
MPQFile->parseSerializedData().
It was getting into the default switch with a $dataType value of 21, which is
not covered in the switch. Dumping out the $dataType on a 1v1 replay, I noticed
this number never coming up (only values 2, 4, 5, 6, 7 and 9 from the replay I
tried). I just pulled a random 1v1 replay from sc2win.com.
Hope this helps!
Original comment by [email protected]
on 30 Dec 2010 at 12:56
Attachments:
from phpsc2replay.
hassle.the.hoff,
I'm not sure you are having the same issue as he is. When I upload his attached
replay the serialized data parses fine. Its the game events that do not parse
for me which would explain why apm, build orders, and winners aren't parsed.
Looking into the game events parsing I find that there is a weird startup
sequence that I can't seem to find in other replays. The byte code:
00 01 0b # Player 1 joins (Normal)
00 02 0b # Player 2 joins (Normal)
#Now what is this doing here?
#It appears to be an screen movement event
#But its for a person that hasn't joined yet and the game hasn't started.
00 63 08 64 d4 6b a4 b5 48 4d ff 43 fa
#Next we see a really long timestamp and an unknown event
#EventType = 000, Global=True, Player = 10, EventCode = 15?
#Something is really wrong here as well.
56 8d 67 1a 15 88 0f 04 00 00 00 00 00 00 00 00 00 00 6e 03 00 00 00 00
00 03 0b # Player 3 joins (Normal)
00 04 0b # Player 4 joins (Normal)
00 10 05 # Game Starts (Normal)
Its really odd initialization code. I wondered if the replay was corrupted
somehow, but it plays just fine on Battle.net. When I added an exception to
skip over the odd bits I ran into another problem at Byte 12717 with an unknown
event.
00 80 00 00 00 00 38 61 51 56 87 D1 00
Adding another clause to skip the next 10 bytes for eventType=4,eventCode=00
allows the parsing to finish just fine.
Perhaps someone has some insight as to what is going on here?
Original comment by [email protected]
on 6 Jan 2011 at 4:24
Attachments:
from phpsc2replay.
First of all, sorry for the long delay in responding. Event code 08 parsing has
been improved now, thanks to that replay and another I just obtained it should
work at least for the 2v2 replay. As for the second one, maybe some other
update fixed the issues with it but it doesn't seem to be broken any more.
Closing the issue.
Original comment by [email protected]
on 25 Jan 2011 at 9:11
- Changed state: Fixed
from phpsc2replay.
Related Issues (20)
- Unit selections and hotkeys not exposed HOT 2
- 1v1 replay causes error HOT 1
- Numevents HOT 1
- Completely unparsable replay HOT 1
- 1.3.3 patch replays parsing problems HOT 12
- Incorrect SC2ReplayUtil Values HOT 1
- Add duration in SC2ReplayUtils HOT 2
- doesn't show winner amp and others. HOT 6
- Race & winner not parsed HOT 6
- Races are undetectable HOT 2
- 1.4.0 APM doesn't work HOT 6
- phpsc2replay does not parse Team information for 2vs2s HOT 5
- Unable to parse file on remote Unix system HOT 4
- Parser fail on some replays if php_error_level set on lvl with notice HOT 3
- PHP Notice: Undefined index: won in sc2replay.php on line 353
- ver. 1.5.0.22612 (Problems) HOT 11
- Definer winner and looser to a string to insert into mysql
- Missprint on line 608 sc2replay.php
- Almost all functionality broken for 2.0.4.24944 HOT 6
- Parser doesn't work with 2.0.4
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 phpsc2replay.