xtreme8000 / BetterSpades

BetterSpades, an Ace of Spades client targeted at low end systems (GL/ES 1.1). Runs on your grandmother's rig!
https://aos.party/jenkins/job/BetterSpades/
GNU General Public License v3.0
243 stars 40 forks source link

Temporary fix for crash on startup when server is running on localhost #175

Closed DavidCo113 closed 1 year ago

DavidCo113 commented 1 year ago

Server ping is not reported when a server is running, but is still a step up from the entire client ceasing to exist.

DavidCo113 commented 1 year ago

this bug appears to be caused by enet_socket_send(lan, &addr, &buffer, 1); inside ping_lan() when addr.port is an already opened port

DavidCo113 commented 1 year ago

found a more permanent solution