Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 381 forks source link

Include geoip.dat file again #2747

Closed SignatureBeef closed 2 years ago

SignatureBeef commented 2 years ago

This should allow the GeoIP.dat file to be found, and used the same way it used to on TShock 4. It appears I had missed including this in the upgrade, and simply allowing it to copy to the output will allow the system to start working again. Confirmed by enabling in config and joining via mobile (external network) and my country has appeared, N/A otherwise (local network) Note: only ipv4 was tested, and both debug and publish variant on osx.

Image below of my test (external ip intentionally excluded)

Screen Shot 2022-10-22 at 9 39 47 pm

hakusaro commented 2 years ago

Thank you so much!

drunderscore commented 2 years ago

wait I did not mean to do that I was just on my phone looking...

my bad!!