to have a better differentiation between version changes.
13:29
the non team version switched mode integer with clientID
13:31
it's possible to detect that, but one woukd need to skip parsing messages, until an ID is seen that is bigger than the biggest possible mode, mode >= 3 or something like that, but that's kinda an ugly workaround to keep backwards compatibility
13:32
calibrate econ/log parsing by joining a server with 4 clients and send a chat message with each of them.
13:33
(ugly)
13:35
hm, team=-2 whisper, team=-1 global chat :0
13:35
would remove the need of having the mode printed.
13:35
(spec team maybe)
13:36
(also needs to be handled)
13:38
the version PR woukd helo with parsing logs, sadly not with parsing econ, as I doubt that one can actually connect to the server at that stage via econ.
the purpose is just to differentiate the not backwards compatible chat lines. this is kinda adding too much complexity, when the root of the problem is just the order of integers on two lines.
the chat log breaks kind of backwards compatibility, because the order of two integers is switched. so parsing while maintaining comoatibility with a orevious version becomes a pain.
oh men @jxsl13 i just realized i only parse logs in my tests but on production i parse econ :/ so tell me if you found a solution until then ill stay in 0.7.4