cheahjs / TerrariaAPI-Server

Fork is now over at https://github.com/NyxStudios/TerrariaAPI-Server
https://tshock.co
32 stars 24 forks source link

RemoteEndPoint fix and world generation timing #2

Closed k0rd closed 12 years ago

k0rd commented 12 years ago

Prevents server from trying to read Socket.RemoteEndPoint property when the socket is no longer connected. This crashed mono servers, maybe windows servers too (when someone would scan the port with nmap, for example)

also used realsaveWorld instead of saveWorld to prevent the API hook from triggering during worldgen

k0rd commented 12 years ago

please let me know if there is a code style guideline for this project - I didn't see one anywhere.

k0rd commented 12 years ago

fuck - merged the wrong branch into this - closing request