Skip to content

handle 3.0 replays, work in progress.#2

Merged
StoicLoofah merged 1 commit intoStoicLoofah:lotvfrom
dsjoerg:lotv
Oct 8, 2015
Merged

handle 3.0 replays, work in progress.#2
StoicLoofah merged 1 commit intoStoicLoofah:lotvfrom
dsjoerg:lotv

Conversation

@dsjoerg
Copy link

@dsjoerg dsjoerg commented Oct 7, 2015

test now passes, meaning that we can parse the replay without barfing.
test doesn't check the parsed data at all; just confirms that no exception is thrown.

test now passes, meaning that we can parse the replay without barfing.
test doesn't check the parsed data at all; just confirms that no exception is thrown.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it is kind of shitty how this bit of code turned out. I can never get up the motivation to rewrite for less repetition though.

@GraylinKim
Copy link

Did you do a diff of the protocols to get these changes or sorta try, fail, lookup new value, change? I wrote a script at some point to flatten the nested protocols into something that you can diff. I'll add that to the repo tonight if I can find it.

@dsjoerg
Copy link
Author

dsjoerg commented Oct 7, 2015

Good question @GraylinKim I went back to the protocol and diffed more carefully and added more stuff.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just for my own knowledge, why do we need the subtraction here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense. thanks for the explanation!

@StoicLoofah
Copy link
Owner

looks good to me. I'll merge this in so at least I can get this in production to see what other bugs come up. Thanks for getting this done so quickly!

StoicLoofah added a commit that referenced this pull request Oct 8, 2015
handle 3.0 replays, work in progress.
@StoicLoofah StoicLoofah merged commit 7d5fb91 into StoicLoofah:lotv Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants