Killing Floor

Killing Floor

Country Tags (2024-10-27)
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.
Koytar 7 Dec, 2022 @ 7:36am 
idk why it's a thing
Dazuz  [author] 20 Jul, 2020 @ 6:49am 
I have actually no idea, never looked into the logic behind the original code.

I would assume that would be the original purpose of it, but it does seem somewhat pointless.
Essence 20 Jul, 2020 @ 1:28am 
@Dazuz, what about CountryTagsV3?)
https://mega DOT nz/file/G0dSgQhY#gmpzANubltfSzi5R60K27yibUTXMTmzkSSdB_HCHsMU
I have one question, in ClientHandler: SetTimer(2 + FRand(), true);
Why bLoop is true?
This is to prevent the player's name from being changed using the command SetName?
Boltte man 6 Nov, 2019 @ 4:34am 
:Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh::Dosh:
Dazuz  [author] 6 Nov, 2019 @ 2:51am 
Wonderful!
Boltte man 6 Nov, 2019 @ 12:45am 
Oh I see...thanks for that extra information.... So there was more occurrences than just the first line of ZZs and ZZZs...............................:steamfacepalm: Well, I'm an idiot for not realising that there could be more than one occurrence of them...hahaha

lol I did ZZ to LN which also replaced the three letter occurrences too.....did "ZZ" to "LN" and that ignored the three letter ones, so I could do "ZZZ" to "LAN"

And it works: https://steamhost.cn/steamcommunity_com/id/Boltte/screenshot/754844126803210617 without needing to specify the IP of the host computer! :steamhappy:
Dazuz  [author] 5 Nov, 2019 @ 11:06pm 
Even if the tag you wanted to use already existed in the file, it wouldn't matter. Each line is its own entry with no relation to other entries.

The mutator won't work in solo at all, and on listen server it doesn't work for the host, but works for everyone else. On a dedicated server it works for everyone.

Also, perks won't progress on a listen server. This possibly only affects the host. On dedicated server, perk progression works for everyone.

The "HostLanIpAddr" address is used to catch the host's actual IP address, and "HostWanIpAddr" is used to mask it.

Here's another way to do it:
Open "CountryTagsDB.ini" in notepad, press CTRL+H (replace function) and replace all ZZZ with LAN, or whatever you want.

ZZ/ZZZ entries are reserved, which basically means no one will ever have said tag, except for the local players.
Boltte man 5 Nov, 2019 @ 4:26pm 
But yeah, it defaults to ZZZ even when I specified LAN in the DB file if the specific IP of the computer isn't used, which means that ZZZ is coming from somewhere else that's overriding the settings in the DB file....
Boltte man 5 Nov, 2019 @ 4:16pm 
Even though the tags don't show, the match indeed doesn't progress perk stats...
Boltte man 5 Nov, 2019 @ 4:02pm 
Hm, I tried it on a solo game and a listen server but mod doesn't work....or the tags don't show up anyways, how did you get it working listen or solo mode?
Boltte man 5 Nov, 2019 @ 3:54pm 
Thanks.

Looks like LN and LAN doesn't exist as a country code which means it's usable!

HostLanIpAddr="127.0.0.1" >> didn't change the tag even though I hosted the server on the same computer...

But if I did HostLanIpAddr="192.168.1.9", it did change the tag specifying the IP of the server computer....

Maybe former only works on a listen server and not a dedicated one?
Dazuz  [author] 5 Nov, 2019 @ 6:52am 
A bit late, but whatever: make sure "HostLanIpAddr" is your LAN IP address.

127.0.0.1 if the server's running on the same computer, 192.168.something.something if in local network.
Dazuz  [author] 4 Nov, 2019 @ 12:24pm 
It's definitely possible, and isn't too complicated:

1. Open up "CountryTags.ini" file in notepad. It should be in "System" folder.
2. Make sure "HostWanIpAddr" line is "0.0.0.0".
3. Save & exit.
4. Open up "CountryTagsDB.ini" in notepad. Once again, it should be in the "System" folder.
5. Look at the second line: "C=(S=0,E=16777215,C="ZZ",L="ZZZ")"
You can change the ZZ and ZZZ into whatever you want.

ZZ is used when short country tags option is enabled, and ZZZ when it's not.
Boltte man 4 Nov, 2019 @ 7:39am 
Wicked, just testing the mod now. Hm, notice when hosting locally, tag shows as [ZZZ], anyway to change that to like [LAN] (unless this clashes with an actual country code with those exact three letters in that order) or something else?

At least that way people can tell whether you just have a godly connection or joining via LAN and show incredibly envious latency...

Dazuz  [author] 14 Oct, 2019 @ 10:24am 
Not greylisted or whitelisted, but it's completely server side mutator, so it doesn't disable perk progression.
Boltte man 14 Oct, 2019 @ 9:16am 
...and that it's not greylisted either? I notice the database Sumo uses for his no longer exists for download...gg...
Dazuz  [author] 14 Oct, 2019 @ 5:54am 
Pretty much. I've been updating the database approx. once a month, and you can potentially do it yourself too if you want to update it more often.

And since I'm here, I'll update it now.
Boltte man 14 Oct, 2019 @ 5:42am 
Is this similar to Sumo's except you don't need to have a node.js server running in the background to have the database up to date?
Gnasher 9 Oct, 2019 @ 6:30am 
DON'T READ THIS. YOU WILL BE KSSED ON THENERESTPOSSIBLE FRIDAY BY THE LOVE OF YOUR LIFE.TOMORROW WILL BE THE BEST DAY OF YOUR LIFE.NOW YOU'VE STARTED READING THS. DONT STOP. THIS IS SO FREAKY.1.say your name ten time's.2.say your mom's name five times.3.say your crushes three times.4.post this to four other games.if you do this your crush will kiss you on thenearest friday.but if you read this and do not paste this you will have very bad luck.SEND THIS TO 4 GAMES IN 143 MINUTES.WHEN YOU'RE DONE PRESS F6 AND YOUR CRUSH'S NAME WILL APPEAR IN BIG LETTERS ON THE SCREEN . THIS I SO FREAKY BECAUSE IT ACTUALY WORK LOL
Dazuz  [author] 22 Jul, 2019 @ 10:20pm 
Lobby screen, not everyone had picked their perks yet.
syave 22 Jul, 2019 @ 4:15pm 
why the fuck there is 3 demolition ?
Dazuz  [author] 20 Jul, 2019 @ 1:36pm 
Thought I clarified the Mega link part in the description, but apparently I forgot this mutator. Made it a bit clearer!
Natsuki 14 Jul, 2019 @ 8:15am 
good one
khlorus 14 Jul, 2019 @ 2:09am 
vot eto nifiga sebe internacional
CFH 9 Jul, 2019 @ 10:19am 
Kinda way to make it, why not.
Dazuz  [author] 9 Jul, 2019 @ 9:42am 
Shouldn't make posts when I'm tired. Thought about it for a moment, and found an easy and fast way to make it work with full decimal IP. I've uploaded the updated version.
Dazuz  [author] 8 Jul, 2019 @ 3:05pm 
@BUBA3000 luckily the accuracy loss is minimal at worst. Not sure there's any reasonable way to get around it, without massive performance loss.

@Essence спасибо!
CFH 8 Jul, 2019 @ 10:19am 
I've always thought why the hell my muts are not visible in the list of muts of solo mode or listen server running. It wasn't a huge problem bcuz i used muts on a dedicated servers only. I wanted to overcome 32-bit limitation of integers, it would increase accuracy of players' locations finding, using an array of ints but i was pretty lazy for that:confident: GJ!
Essence 6 Jul, 2019 @ 2:15am 
Отличная реализация мутатора!