Killing Floor

Killing Floor

57 ratings
Country Tags (2024-10-27)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
10.282 MB
4 Jul, 2019 @ 2:44pm
27 Oct, 2024 @ 4:38am
21 Change Notes ( view )

Subscribe to download
Country Tags (2024-10-27)

Description
Mandatory notes
Based on KEKTAGON's (CountryTags) improved version of Marco's original Country tags[forums.tripwireinteractive.com] mutator.

All credits go to the people above and IP2Location[lite.ip2location.com] for the actual database.

The class name is: CountryTags.CountryTags


Changelog
  1. Updated database. (2024-10-27)
  2. Tidied up the code.
  3. Moved country abbreviations from script file to the database file. This makes the database update progress a lot easier. You no longer need to edit the actual script.
  4. Added the settings to Custom Configuration Page. (Mutators --> Configure mutators)
  5. Changed GroupName to KF-CountryTags so that the mutator appears in the mutator list.


Perk progression
Not whitelisted. This will disable perk progression on listen servers, on dedicated it works fine.


Config
You can find the settings from CountryTags.ini in system folder.
  • CountryTagParsing
    This is the naming format. %tag is the country tag, and %name is the player's name.

  • bShortTags
    When true, two letter country tags are used, instead of three.

  • HostLanIpAddr & HostWanIpAddr
    You only need to touch these if you host the server on your computer or local network.

    If the server is on the same computer you play on, HostLanIpAddr should be 127.0.0.1. If the server is on the same local network, it should be your LAN IP address.

    HostWanIpAddr is your WAN (wide area network/public) IP address, or whatever IP address you want to pretend to be.

    Note: this won't work with listen server, and there's nothing you can do to fix it.


Updating the database manually
The database file is CountryTagsDB.ini, the section name is CountryTags.CountryTagsDatabase, and the format is:
C=(S=<starting decimal>,E=<ending decimal>,C="<two letter country tag>",L="<three letter country tag>")

The IPs need to be shifted one octet to the right, i.e. 127.0.0.1 becomes 0.127.0.0.


External link
https://mega DOT nz/file/RwEV1YTb#jSUOBoaO_LHFejSfpw6MJLtbeWn1qWEzZD1MW_-dxnY
39 Comments
Param! 13 Jan @ 4:48am 
Thank you very much!:steamhappy:
Dazuz  [author] 13 Jan @ 4:06am 
MEGA appears to be experiencing some kind of a problem. Here's a temporary alternative link: https://file.io/UYVRt8ATWwHk

You can also subscribe on Steam and get the files (CountryTagsDB.ini, CountryTags.u & CountryTags.ucl) from Killing Floor\System\ folder.
Param! 12 Jan @ 12:39pm 
Скажите, пожалуйста, как скачать?)) ссылка не работает
Nightcrawler 16 Sep, 2024 @ 6:17pm 
Works fine, including whitelisted on dedicated servers. ty!
Jofraniac 14 Jun, 2024 @ 12:13pm 
I understand. It's a shame, really, because your version has been periodically updated and seems to work better than Marco's version which has never seen any update.
Dazuz  [author] 14 Jun, 2024 @ 11:55am 
Ah, never mind then. I just remember there being a "Dedicated" button in game when hosting a game, which could have been confusing things.

I have no idea if the perk progression has ever worked on else's server, but it did on my server for my two friends and I. Not sure why anything would be any different, or changed.

I remember anything that modified the client side disabling perk progression, unless the mutator was whitelisted. Anything on the server side was fine, though. This one is 100% server side, so not sure what's going on.

Unfortunately as far as I know, or can remember, all the other country tags mutators have the database included in the .u file(s), so there's no way to update them without breaking the whitelisting. And there's no way to whitelist new mutators anymore.
Jofraniac 14 Jun, 2024 @ 11:16am 
Hi, Dazuz. Sorry, but I don't understand what you mean by "dedicated button". My server is really of the dedicated sort, hosted on a headless server, it's not running on the same machine I play the game on. I also used that official guide to install it. I don't know if that problem only occurs on my setup.
Dazuz  [author] 14 Jun, 2024 @ 10:15am 
Decided to update the database, hopefully I didn't mess anything up. Been so many years I don't remember everything anymore.
Dazuz  [author] 14 Jun, 2024 @ 9:46am 
@Jofraniac it's been couple of years since I played, but I remember the game itself having a "dedicated" button. If you're using that, the mutator probably disables perk progression.

This is the way I did it, and it worked for me: https://wiki.tripwireinteractive.com/index.php/Dedicated_Server_%28KillingFloor%29
Jofraniac 6 Jun, 2024 @ 5:37pm 
Unfortunately, this updated version disables perk progression and achievements on my dedicated server. Only the original version by Marco doesn't cause those issues, but that old version's database hasn't been updated for ages and can't correctly detect a considerable ammount of players' locations.