Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Adhoc] Updated PdpCreate, PdpSend, PdpRecv, GetPdpStat, GetPtpStat #15213

Merged
merged 6 commits into from
Dec 8, 2021

Conversation

anr2me
Copy link
Collaborator

@anr2me anr2me commented Dec 8, 2021

  • Added another returned error code on PdpCreate
  • Allow Sending to non-existing MAC address (except invalid/zero MAC). Fixes one of the issue i found while investigating NBA Ballers Rebound NBA ballers rebound adhoc broken #15042 (comment)
  • Discard packets from an IP that can't be translated/resolved into player's MAC address (simple version) to prevent confusing the game, since the source MAC can't be updated, thus may contains invalid/wrong MAC. Also added a TODO to handle unresolvable packets properly.
  • Updated GetPdpStat and GetPtpStat due to a possibility for FIONREAD to return 0 even when there is a data that can be received (according to stackoverflow)

…ress). Fixes an issue on NBA Ballers Rebound where players unable to enter Multiplayer Menu again after getting connection issue.
… address (simple version) to prevent confusing the game, since the source MAC won't be updated and may contains invalid MAC.

Added TODO to handle unresolvable packets properly.
@anr2me anr2me added this to the v1.13.0 milestone Dec 8, 2021
@hrydgard hrydgard merged commit dbfa4e6 into hrydgard:master Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants