Killing Floor

Killing Floor

Country Tags (2025-10-04)
52 条留言
Dazuz  [作者] 10 月 5 日 下午 11:25 
No need to, just happy to help. Reminded me to do the yearly database update!
ND4SPD 10 月 5 日 上午 6:13 
Yep that worked, it displayed 192.168.1.1 on webadmin, which is my Default Gateway in ipconfig of cmd btw. Put that into CountryTags, restarted the server and it finally displays [AUS] like it's supposed to.

Thanks so much for continuing to support this, I'll give you another Steam award. Or if you like I can make a donation somewhere?
Dazuz  [作者] 10 月 5 日 上午 5:21 
"Player List" in "Current", you need to be on the server of course to see it.
ND4SPD 10 月 5 日 上午 5:04 
Server is on the same computer right now, but it might be on LAN when I'm playing on my laptop and simultaneously hosting the server on this desktop.

What tab or whatever do I have to click on in WebAdmin to get the local IP?
Dazuz  [作者] 10 月 5 日 上午 4:52 
Assuming the server is on the same local network: HostLanIpAddr = 192.168.1.103

You can use Killing Floor's web admin control panel to see what the server sees as your IP address, that'd be guaranteed to work.
ND4SPD 10 月 5 日 上午 4:43 
Or is it my default gateway address I need there? I'm so confused, I have so many IPs and I have no idea what the differences are for any of them...
ND4SPD 10 月 5 日 上午 4:41 
I did as you instructed, set HostLanIpAddr to 127.0.0.1 and HostWanIpAddr to the IP of the server which happens to be my WAN IP as-well; 115.129.145.92. And my country tag is still [ZZZ]...

What am I doing wrong?

Does HostLanIpAddr need to be my ipconfig local IPv4 Address: 192.168.1.103
???
Dazuz  [作者] 10 月 5 日 上午 1:51 
Yes, you need to edit HostLanIpAddr and HostWanIpAddr in CountryTags.ini file if you want it to be something specific.

If you play the game on the same computer you host the server, set HostLanIpAddr to 127.0.0.1. If the server is on the same local network, you'll need you use your LAN IP address, which starts with 192.168.*.

As for HostWanIpAddr, you can either use your WAN IP address. You can of course use whatever IP you want, if you want the country tag to be something else.
ND4SPD 10 月 5 日 上午 12:33 
Now my country tag is [ZZZ], normal?
Dazuz  [作者] 10 月 4 日 下午 9:55 
Yes, everything should be updated now.
ND4SPD 10 月 4 日 下午 6:54 
I will make sure I have the ini in the right spot...

Oh cool, is the mega link updated now?
Dazuz  [作者] 10 月 4 日 上午 12:36 
You probably don't have "CountryTagsDB.ini" file in the "System" folder of the server, or it's empty.

Since I'm here, I decided to update the database. Nearly missed the yearly update for this year.
ND4SPD 10 月 3 日 下午 10:41 
Having [???] on my own server is normal behavior for the mod? Any fix?
Param! 1 月 13 日 上午 4:48 
Thank you very much!:steamhappy:
Dazuz  [作者] 1 月 13 日 上午 4:06 
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! 1 月 12 日 下午 12:39 
Скажите, пожалуйста, как скачать?)) ссылка не работает
Nightcrawler 2024 年 9 月 16 日 下午 6:17 
Works fine, including whitelisted on dedicated servers. ty!
Jofraniac 2024 年 6 月 14 日 下午 12:13 
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  [作者] 2024 年 6 月 14 日 上午 11:55 
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 2024 年 6 月 14 日 上午 11:16 
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  [作者] 2024 年 6 月 14 日 上午 10:15 
Decided to update the database, hopefully I didn't mess anything up. Been so many years I don't remember everything anymore.
Dazuz  [作者] 2024 年 6 月 14 日 上午 9:46 
@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 2024 年 6 月 6 日 下午 5:37 
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 2022 年 12 月 7 日 上午 7:36 
idk why it's a thing
Dazuz  [作者] 2020 年 7 月 20 日 上午 6:49 
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 2020 年 7 月 20 日 上午 1:28 
@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 2019 年 11 月 6 日 上午 4:34 
: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  [作者] 2019 年 11 月 6 日 上午 2:51 
Wonderful!
Boltte man 2019 年 11 月 6 日 上午 12:45 
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://psteamcommunity.yuanyoumao.com/id/Boltte/screenshot/754844126803210617 without needing to specify the IP of the host computer! :steamhappy:
Dazuz  [作者] 2019 年 11 月 5 日 下午 11:06 
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 2019 年 11 月 5 日 下午 4:26 
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 2019 年 11 月 5 日 下午 4:16 
Even though the tags don't show, the match indeed doesn't progress perk stats...
Boltte man 2019 年 11 月 5 日 下午 4:02 
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 2019 年 11 月 5 日 下午 3:54 
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  [作者] 2019 年 11 月 5 日 上午 6:52 
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  [作者] 2019 年 11 月 4 日 下午 12:24 
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 2019 年 11 月 4 日 上午 7:39 
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  [作者] 2019 年 10 月 14 日 上午 10:24 
Not greylisted or whitelisted, but it's completely server side mutator, so it doesn't disable perk progression.
Boltte man 2019 年 10 月 14 日 上午 9:16 
...and that it's not greylisted either? I notice the database Sumo uses for his no longer exists for download...gg...
Dazuz  [作者] 2019 年 10 月 14 日 上午 5:54 
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 2019 年 10 月 14 日 上午 5:42 
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 2019 年 10 月 9 日 上午 6:30 
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  [作者] 2019 年 7 月 22 日 下午 10:20 
Lobby screen, not everyone had picked their perks yet.
syave 2019 年 7 月 22 日 下午 4:15 
why the fuck there is 3 demolition ?
Dazuz  [作者] 2019 年 7 月 20 日 下午 1:36 
Thought I clarified the Mega link part in the description, but apparently I forgot this mutator. Made it a bit clearer!
- 2019 年 7 月 14 日 上午 8:15 
good one
khlorus 2019 年 7 月 14 日 上午 2:09 
vot eto nifiga sebe internacional
CFH 2019 年 7 月 9 日 上午 10:19 
Kinda way to make it, why not.
Dazuz  [作者] 2019 年 7 月 9 日 上午 9:42 
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  [作者] 2019 年 7 月 8 日 下午 3:05 
@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 спасибо!