-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
GeoIP2 extension to sourcemod #1245
Conversation
Merge with the latest changes
When a player leaves during a voteban, he will be banned anyway. Also added a cvar with a ban time setting.
Update from master
@accelerator74 can you resolve the merge conflicts. |
Update from master
Added GeoipLatitude, GeoipLongitude, GeoipDistance natives.
Thank you! The fallback to the server language looks good. I'll wait for a comment from other maintainers about the |
Nevertheless, I made the definition of the language by the client index :) I see colleagues from the amxmodx team did the same :) P.S.: By the way, yes, most of the code was borrowed from them, but it seems that everything is one team :) |
@peace-maker do you need anything from me to help move this one forward? |
@KyleSanderson No, this looks good. I didn't notice the changes after my last comment, so this is fine now from my side. If you don't have any strong feelings towards selecting the country language by string, 🚢 But above all this requires changes to the packaging scripts, since we can't ship the old |
This package is the last CC-BY-SA licensed GeoLite2-City database extracted from https://src.fedoraproject.org/rpms/geolite2 from december 2019. This doubles the download size for SM packages, but it's what we have to deal with atm :(
If the lookup failed, we'd copy back whatever is on the stack in the ccode buffer.
I updated the geoip extension for sourcemod using my geoip2 extension.