EmperorCookie / accapi

Assetto Corsa Competizione UDP broadcast API wrapper
Apache License 2.0
24 stars 8 forks source link

Fix registration message #1

Closed ptoews closed 3 years ago

ptoews commented 3 years ago

Before these fixes, trying to connect to ACC crashed it (Unreal Engine Fatal Error). I compared the code to the ACC demo broadcast project and the packet payload that is sent to figure out below changes. This fixed the crashes for me.

EmperorCookie commented 3 years ago

Interesting, maybe the spec changed since I implemented this. I will do some testing tomorrow and merge the PR, thank you very much for your contribution!