This mutator brings the perks stats tracking back the way it were in KF 2.5 in Unreal Tournament 2004: All player stats are being tracked by the server individually.
Download from here. (Version 7.50)
Download source code from here. (Version 7.50)
Note: You are not allowed to use this mutator for selling stats (for money) on your server. Also do not edit ServerPerks.u nor ServerPerksP.u without renaming them.
Upsides about this mutator:
7.50:
7.10:
7.00:
6.75:
6.50:
6.01:
- Fixed another crash, added new weapons to defaults and a script warning with emotion icons loading to serverpackages.
6.00:
5.51:
5.50:
5.10:
5.00:
4.40:
4.38:
4.36:
4.35:
4.10:
4.00:
3.01:
3.00:
2.55:
2.30:
2.10:
2.00:
1.00:
- Released.
How to use this mutator (eighter way):
CountryFlagsTex.utx is an optional country tags texture file. You can use my country tags mutator to give all players tags and this mutator will replace those tags with flag textures.
Server Perks Database (OPTIONAL)(Advanced users only!)
Download from here. (Version 1.55)
Download from here. Same version but without any windows at all (needs to be shut down from task manager).
Version history:
1.55:
- Fixed a stat loading bug from earlier versions.
- Modified it to convert Linux SteamID's into Windows SteamID.
1.30:
- Support long stat value string lines (REQUIRED since serverperks v5.00).
1.10:
- Optimized code a bit and added a new option.
1.00:
- Created.
This is an application I wrote in C++ which basically works as a remote database for your perks stats. In order to use this you need:
- A dedicated server machine that's on Windows OS.
- Setup a Port and Password in Host.ini:
- IF you have any earlier stats on server, copy over ServerPerksStat.ini to same folder as ServerPerksHost.exe and launch the exe as: ServerPerksHost.exe ServerPerksStat.ini
This way it will convert to the new stats ini file. After this is done delete all ServerPerksStat.ini you have.
- Now simply launch up KillingFloor server as-well as ServerPerksHost.exe.
- If you want to convert Data.ini back to ServerPerksStat.ini, run: ServerPerksHost.exe UNDO
Using FTP protocol for database in ServerPerks v7
Make sure you assign these settings in ServerPerks.ini:
In other words, ideal settings are:
Max connections - ~10 (or more depending on how many servers will use this).
Idle timeout - 120 seconds.
Only allow client to read/write files.
If you want to upload onto FTP current stats saved on server, enable following setting on ServerPerks.ini: bUploadAllStats=True. Then start game on solo and wait for it to finish uploading everything. I will add to ServerPerksHost application a way to convert Data.ini to ServerPerksStats.ini back again if you want to switch the host protocol of your server.
If there are any bugs, please report them here (or if you have any comments/suggestions)!
Download from here. (Version 7.50)
Download source code from here. (Version 7.50)
Note: You are not allowed to use this mutator for selling stats (for money) on your server. Also do not edit ServerPerks.u nor ServerPerksP.u without renaming them.
Upsides about this mutator:
- It allows server host to run any mutator/modification/map they ever want without having to whitelist them all.
- Server host can add/remove standard/custom perks (read tutorial from here).
- Clients can't cheat their stats in offline games then join the server with level 5 everything.
- Fixed some menu issues while at it.
- Added option for custom weapons on trader to add (this mutator does not work with the existing Custom shop mutator).
- Use custom skins (see how to create own from here).
- As an admin you can edit any players stats using consolecommand: Mutate EditStats
- Contains various bugfixes over default Killing Floor.
- You can setup custom HTML server news page, read more about that from here.
- Clients will don't have their stats following from server to server (anything they do in that server will stay within that server)!
- Achievements aren't earned.
7.50:
Spoiler!
ServerPerks:
- Fixed so Pawn has valid double jump/dodge animations by default to prevent animation warnings spamming on log.
- Changed if player changes to a weapon that uses invalid animations, it will replace them with default animations.
- Added to UI_Replication support for adding textboxes.
- Fixed HUD to draw player portrates that have wrong texture scaling aspect to be downscaled or upscaled properly.
- Fixed main menu to correctly swap "Join"/"Spectate" button text when you click them.
- Improved perk level checking have a faster algorithm.
- Fixed issues with purchasing dual weapons (wrong pricing).
- Changed so if you have perk requirement scaling value 1, it wont multiply it with it to prevent huge stats from getting floating point rounding errors.
ServerPerksP:
- Fixed perks to have correct sell values for their startup equipment.
- Added support for Neon weapons DLC.
ServerPerksMut:
- Added webadmin interface to configure trader inventory/perks.
- Added new setting 'bNoPerkChanges' which will make it so players are not allowed to change their perk at all during one match.
- Changed stat saving to also save currently selected player perk index number (this will allow so if you change perk classes on server, players will keep similar perks when they join server later).
- Fixed so Pawn has valid double jump/dodge animations by default to prevent animation warnings spamming on log.
- Changed if player changes to a weapon that uses invalid animations, it will replace them with default animations.
- Added to UI_Replication support for adding textboxes.
- Fixed HUD to draw player portrates that have wrong texture scaling aspect to be downscaled or upscaled properly.
- Fixed main menu to correctly swap "Join"/"Spectate" button text when you click them.
- Improved perk level checking have a faster algorithm.
- Fixed issues with purchasing dual weapons (wrong pricing).
- Changed so if you have perk requirement scaling value 1, it wont multiply it with it to prevent huge stats from getting floating point rounding errors.
ServerPerksP:
- Fixed perks to have correct sell values for their startup equipment.
- Added support for Neon weapons DLC.
ServerPerksMut:
- Added webadmin interface to configure trader inventory/perks.
- Added new setting 'bNoPerkChanges' which will make it so players are not allowed to change their perk at all during one match.
- Changed stat saving to also save currently selected player perk index number (this will allow so if you change perk classes on server, players will keep similar perks when they join server later).
7.10:
Spoiler!
- Fixed a glitch where medic perk wouldn't level up (I had totally missed a code change Tripwire had done on all healing weapons).
- Enhanced FTP stats uploading in a way that it first uploads new stats to a temp file, then renames the stat file to replace old stats, this way player don't lose all their stats if connection is broken during stats upload.
- Updated TraderWeapons to also fill in custom weapons to KFLevelRules on serverside (to enable custom bots to buy custom weapons as-well).
- Enhanced FTP stats uploading in a way that it first uploads new stats to a temp file, then renames the stat file to replace old stats, this way player don't lose all their stats if connection is broken during stats upload.
- Updated TraderWeapons to also fill in custom weapons to KFLevelRules on serverside (to enable custom bots to buy custom weapons as-well).
7.00:
Spoiler!
- Added server news page on escape menu, you can assign it to load some HTML web page (ServerPerks.ini: ServerNewsURL=www.somesite.com/servernews.txt).
- Updated trader menu to make less refreshes and instantly refresh when weapon/ammo/cash count change.
- Added so you can assign perk index to weapon group, will show up in trader menu with the icon and quick select icons on top (WeaponCategory=<PerkIndex>:<Group name>).
- Remade the escape menu so that menu buttons on the bottom (Spectate/Join/Disconnect/Exit etc) are on the menu frame instead of copy/pasted in every panel, this allows you to easier add new menu buttons or panels with ease. It is also possible to add new menu buttons now with the new SRMenuAddition class without replacing the entire menu.
- Fixed enhanced scoreboard to hide webadmin properly now in objective mode.
- Added "Settings" page to Admin menu (when using "Mutate EditStats") where you can edit general settings in ServerPerksMut.
- Added an alternative stats database protocol, using FTP.
- Fixed how earlier trader version incorrectly hid original weapons when you had golden/camo weapons.
- Updated trader menu to make less refreshes and instantly refresh when weapon/ammo/cash count change.
- Added so you can assign perk index to weapon group, will show up in trader menu with the icon and quick select icons on top (WeaponCategory=<PerkIndex>:<Group name>).
- Remade the escape menu so that menu buttons on the bottom (Spectate/Join/Disconnect/Exit etc) are on the menu frame instead of copy/pasted in every panel, this allows you to easier add new menu buttons or panels with ease. It is also possible to add new menu buttons now with the new SRMenuAddition class without replacing the entire menu.
- Fixed enhanced scoreboard to hide webadmin properly now in objective mode.
- Added "Settings" page to Admin menu (when using "Mutate EditStats") where you can edit general settings in ServerPerksMut.
- Added an alternative stats database protocol, using FTP.
- Fixed how earlier trader version incorrectly hid original weapons when you had golden/camo weapons.
6.75:
Spoiler!
- Fixed crash with latest KF patch.
- Fixed a few minor bugs.
- Added favorites weapon group, where users can add their own weapons to same way as in current KF.
- Synced perk effects and trader list defaults with new KF version.
- Added to admin 'Mutate EditStats' menu a few more submenus to edit custom characters/trader list.
- Fixed admin menu edit player stats to have nearly unlimited upper limit for stat values.
- Fixed a few minor bugs.
- Added favorites weapon group, where users can add their own weapons to same way as in current KF.
- Synced perk effects and trader list defaults with new KF version.
- Added to admin 'Mutate EditStats' menu a few more submenus to edit custom characters/trader list.
- Fixed admin menu edit player stats to have nearly unlimited upper limit for stat values.
6.50:
Spoiler!
- Made Pawn, Controller and HUD extend story mode ones so objective mode can be playable with this mutator.
- Made Scoreboard show title of next objective in objective mode.
- Added perk progress bar for all players on scoreboard.
- Fixed so DLC/archivement locked weapons stay locked for people who don't own the DLC or hasn't the archivement.
- Added possibility to set weapon locked reason for modded perks (through SRVeterancyTypes.DisableTag and DisableDescription, set tag to empty string to hide the weapon from trader menu).
- Fixed so trader shows weapon desciption as you select the buyable weapon.
- Fixed perk bonuses desync with latest KF version.
- Made buying and selling flaregun/dual flaregun work properly now.
- Fixed a bug where dead player would leave a standing body sometimes around.
- Fixed crash caused by death from a damagetype with bSkeletize.
- Added new KF weapons to default buyable list on ServerPerksMut now.
- Implemented Poosh's fix for preloading resources for custom weapons.
- Changed scoreboard to show a shield icon in front of player name entry for admins instead of large ADMIN text over ping.
- Fixed some script warnings caused by KFPawn/KFHumanPawn/KFPlayerController.
- Fixed trader menu to show "No perk" icon for unperked weapons (like ZED gun).
- Made trader menu support extra features of story mode trader volumes.
- Added option for the mutator to fix unlimited grenades glitch.
- Added admin menu to edit player stats with ("Mutate EditStats" console command).
- Made stats get saved even on a mid-game mapswitch.
- Changed so when using remote database, it will delay server mapchange until all stats are uploaded so that no stat changes go missing.
- Added CountryFlagsTex texture file which contains flag textures that will replace country tags in player names.
- Made Scoreboard show title of next objective in objective mode.
- Added perk progress bar for all players on scoreboard.
- Fixed so DLC/archivement locked weapons stay locked for people who don't own the DLC or hasn't the archivement.
- Added possibility to set weapon locked reason for modded perks (through SRVeterancyTypes.DisableTag and DisableDescription, set tag to empty string to hide the weapon from trader menu).
- Fixed so trader shows weapon desciption as you select the buyable weapon.
- Fixed perk bonuses desync with latest KF version.
- Made buying and selling flaregun/dual flaregun work properly now.
- Fixed a bug where dead player would leave a standing body sometimes around.
- Fixed crash caused by death from a damagetype with bSkeletize.
- Added new KF weapons to default buyable list on ServerPerksMut now.
- Implemented Poosh's fix for preloading resources for custom weapons.
- Changed scoreboard to show a shield icon in front of player name entry for admins instead of large ADMIN text over ping.
- Fixed some script warnings caused by KFPawn/KFHumanPawn/KFPlayerController.
- Fixed trader menu to show "No perk" icon for unperked weapons (like ZED gun).
- Made trader menu support extra features of story mode trader volumes.
- Added option for the mutator to fix unlimited grenades glitch.
- Added admin menu to edit player stats with ("Mutate EditStats" console command).
- Made stats get saved even on a mid-game mapswitch.
- Changed so when using remote database, it will delay server mapchange until all stats are uploaded so that no stat changes go missing.
- Added CountryFlagsTex texture file which contains flag textures that will replace country tags in player names.
6.01:
- Fixed another crash, added new weapons to defaults and a script warning with emotion icons loading to serverpackages.
6.00:
Spoiler!
- Added option for over shoulder F4 behindview.
- Added option for chat icons where specific tags in chat will be replaced with textures (as example: etc). These can be configured in the ServerPerks.ini file.
- Synchronised perk bonuses with latest KF version including support for new weapons.
- Added a couple of exploit and security fixes.
- Added option for chat icons where specific tags in chat will be replaced with textures (as example: etc). These can be configured in the ServerPerks.ini file.
- Synchronised perk bonuses with latest KF version including support for new weapons.
- Added a couple of exploit and security fixes.
5.51:
Spoiler!
- Fixed perk selection.
- Fixed a crash with KF update.
- Fixed a crash with KF update.
5.50:
Spoiler!
- Changed it to use an own pawn class with fixes for weapon purchase (security fixes and some bugfixes where you couldn't purchase weapons sometimes when you should be able to).
- Added custom mod support for custom dual weld weapons (you have to set the dual weapon DemoReplacement to match single welded weapon class).
- Added a small perk progress bar displayed on HUD.
- Fixed weapon selection menu where it would bug out if you had more than 6 weapons in a single category.
- Altered weapon selection menu to draw weapon name as-well.
- Implemented a vehicle mod crashfix.
- Changed so lobby menu can show more than 6 player names in the ready list.
- Added option to force all players to use custom characters.
- Added ability to set custom character categories (by writing in config: <category name>:<character name>, as example):
CustomCharacters=Dead Space:AdvancedArmor
CustomCharacters=Half-Life 2:Combine_Soldier
CustomCharacters=Half-Life 2rison_Guard
- Fixed trader menu from not showing up secondary ammo purchases.
- Fixed HUD from missing secondary ammo.
- Fixed trader menu where it would lag the game if you had very high carry limit (more like 100+).
- Changed several menus to show correct perk level colors.
- Set ServerPerksMut.u to have ServerSideOnly flag enabled so dumb server admins can't add it to serverpackages (thus risking for more version mismatch errors).
- Added custom mod support for custom dual weld weapons (you have to set the dual weapon DemoReplacement to match single welded weapon class).
- Added a small perk progress bar displayed on HUD.
- Fixed weapon selection menu where it would bug out if you had more than 6 weapons in a single category.
- Altered weapon selection menu to draw weapon name as-well.
- Implemented a vehicle mod crashfix.
- Changed so lobby menu can show more than 6 player names in the ready list.
- Added option to force all players to use custom characters.
- Added ability to set custom character categories (by writing in config: <category name>:<character name>, as example):
CustomCharacters=Dead Space:AdvancedArmor
CustomCharacters=Half-Life 2:Combine_Soldier
CustomCharacters=Half-Life 2rison_Guard
- Fixed trader menu from not showing up secondary ammo purchases.
- Fixed HUD from missing secondary ammo.
- Fixed trader menu where it would lag the game if you had very high carry limit (more like 100+).
- Changed several menus to show correct perk level colors.
- Set ServerPerksMut.u to have ServerSideOnly flag enabled so dumb server admins can't add it to serverpackages (thus risking for more version mismatch errors).
5.10:
Spoiler!
- Fixed a crash with latest KF update.
- Syncronized new perk changes with serverperks ones.
- Split up the codes in 3 different packages (client side GUI/replication, perk classes and serverside data handling packages), this will make it easier to make patches to the mod.
- Added a new function to SRVeterancyType which will let perks hide specific weapons from trader menu.
- Syncronized new perk changes with serverperks ones.
- Split up the codes in 3 different packages (client side GUI/replication, perk classes and serverside data handling packages), this will make it easier to make patches to the mod.
- Added a new function to SRVeterancyType which will let perks hide specific weapons from trader menu.
5.00:
Spoiler!
- Added support for usage of custom player characters (ServerPerksMut.CustomCharacters).
- Added support for custom perk progress values (no need to update main serverperks mod file to add in new values).
- Fixed a small error where level 6 firebug gave both flamethrower and MAC-10.
- Fixed the new scoreboard from v4.4 where pings were shown wrong.
- Replaced lobby menu ad screen with server Message of the day (GameReplicationInfo.MessageOfTheDay).
- Added "Profile" button to 'Esc' menu where you can chose player character.
- Replaced use of static array "LevelEffects" with a new "SRLevelEffects" dynamic array.
- Added support for custom perk progress values (no need to update main serverperks mod file to add in new values).
- Fixed a small error where level 6 firebug gave both flamethrower and MAC-10.
- Fixed the new scoreboard from v4.4 where pings were shown wrong.
- Replaced lobby menu ad screen with server Message of the day (GameReplicationInfo.MessageOfTheDay).
- Added "Profile" button to 'Esc' menu where you can chose player character.
- Replaced use of static array "LevelEffects" with a new "SRLevelEffects" dynamic array.
4.40:
Spoiler!
- Fixed crashes with newest KF patch with Halloween event.
- Fixed the error where spectators could not see player names.
- Added option to use more enhanced scoreboard (bUseEnhancedScoreboard).
- Fixed the error where spectators could not see player names.
- Added option to use more enhanced scoreboard (bUseEnhancedScoreboard).
Spoiler!
- Fixed the pulsating near death screen overlay to not stay on screen while spectating.
- Fixed a minor perk progress bar display error.
- Changed trader weapon category groups to collapse when you select expanded group.
- Adjusted perk icon positioning a bit on the perk level up message.
- Fixed a minor perk progress bar display error.
- Changed trader weapon category groups to collapse when you select expanded group.
- Adjusted perk icon positioning a bit on the perk level up message.
Spoiler!
- Fixed a small bug there were in previous release.
- Added support for trader weapon categories, you specify category number for each weapon in "TraderInventory", while that number is in sync with the order of "WeaponCategories" list.
- Added support for trader weapon categories, you specify category number for each weapon in "TraderInventory", while that number is in sync with the order of "WeaponCategories" list.
Spoiler!
- Implemented custom weapons mutator with this mutator (ServerPerksMut.TraderInventory) where there is NONE hardcoded limit to how many weapons.
- The custom weapons used will also add themselves automatically to ServerPackages so no need for that manually anymore.
- Implemented custom perk icons support in trader.
- Fixed a bug where you got wrong weapons upon perk change when new wave started.
- Added option to use PlayerName instead of ID Hash for stats tracking (this is for those who have trouble of changing ID's: ServerPerksMut.bUsePlayerNameAsID).
- Added option to message everyone when any player gains a perk level (ServerPerksMut.bMessageAnyPlayerLevelUp).
- Fixed trader menu bug where if a weapon was there that is using no ammo but was not a melee weapon it would display odd ammo costs.
- Added option to use lowest perk requirements when using a higher minimum level (i.e: when using a min level of 6, level 7 perk will have level 0 requirements etc; ServerPerksMut.bUseLowestRequirements)
- Fixed memory issues where Lobby/Trader/Main menus would stay over mapchanges and keep unused stuff in memory (thus causing unneccessary version mismatches upon connecting to other servers).
- Changed so you are allowed to make unlimited perk changes while dead, or spectating (instead of limited to only 1 like when alive).
- Added veterancy earned fanfare sound when you earn level up.
- Made perk level up message also draw perk icon.
- Made perk selection menu to draw perk at correct size (if icon was smaller or bigger).
- Made various HUD fixes (removed film grain while spectating, name beacons messed up by portals, misc errors etc).
- Added option to make screen go black and white during ZED-time (ServerPerksMut.bBWZEDTime, you need to have at least Bloom or Motion blur enabled to see it).
- Made perks beyond level 15 be blue.
- The custom weapons used will also add themselves automatically to ServerPackages so no need for that manually anymore.
- Implemented custom perk icons support in trader.
- Fixed a bug where you got wrong weapons upon perk change when new wave started.
- Added option to use PlayerName instead of ID Hash for stats tracking (this is for those who have trouble of changing ID's: ServerPerksMut.bUsePlayerNameAsID).
- Added option to message everyone when any player gains a perk level (ServerPerksMut.bMessageAnyPlayerLevelUp).
- Fixed trader menu bug where if a weapon was there that is using no ammo but was not a melee weapon it would display odd ammo costs.
- Added option to use lowest perk requirements when using a higher minimum level (i.e: when using a min level of 6, level 7 perk will have level 0 requirements etc; ServerPerksMut.bUseLowestRequirements)
- Fixed memory issues where Lobby/Trader/Main menus would stay over mapchanges and keep unused stuff in memory (thus causing unneccessary version mismatches upon connecting to other servers).
- Changed so you are allowed to make unlimited perk changes while dead, or spectating (instead of limited to only 1 like when alive).
- Added veterancy earned fanfare sound when you earn level up.
- Made perk level up message also draw perk icon.
- Made perk selection menu to draw perk at correct size (if icon was smaller or bigger).
- Made various HUD fixes (removed film grain while spectating, name beacons messed up by portals, misc errors etc).
- Added option to make screen go black and white during ZED-time (ServerPerksMut.bBWZEDTime, you need to have at least Bloom or Motion blur enabled to see it).
- Made perks beyond level 15 be blue.
Spoiler!
- Fixed so that it works with the Summer Event patch.
- Included some bugfixes such as Commando not seeing health bars past level 6 or Field Medic not displaying movement speed beyond Lvl 6.
- Fixed an issue with remote database connection where perks would stay disabled for the rest of the map if connection was failed at start.
- Included some bugfixes such as Commando not seeing health bars past level 6 or Field Medic not displaying movement speed beyond Lvl 6.
- Fixed an issue with remote database connection where perks would stay disabled for the rest of the map if connection was failed at start.
Spoiler!
- Fixed where it wouldn't work on latest KF patch.
- Fixed lobby menu bug where it would remain on screen when you disconnect from the server.
- Added to main menu a "Stats" menu where you can view all your saved stats.
- Changed perk display where if you get perk level past 10 the perk turns green, where after it will show stars at max 5x4 grid on screen.
- Added mid-game saving perks option (in case you have an unstable server).
- Added so it also saves players won games/lost games/total playtime on server.
- Added option for remote database (so that multiple servers can use same perks progression, see below).
- Fixed lobby menu bug where it would remain on screen when you disconnect from the server.
- Added to main menu a "Stats" menu where you can view all your saved stats.
- Changed perk display where if you get perk level past 10 the perk turns green, where after it will show stars at max 5x4 grid on screen.
- Added mid-game saving perks option (in case you have an unstable server).
- Added so it also saves players won games/lost games/total playtime on server.
- Added option for remote database (so that multiple servers can use same perks progression, see below).
Spoiler!
- Fixed minor problems with updated Firebug perk.
Spoiler!
- Updated to support updated perks in latest KF version.
- Updated network codes of this mod to resolve some other bugs.
- Added 'Maximum perk levels' value for defining max level you can get (you can set max level up to 254).
- Added 'Requirements scaler' to scale the requirements (1 = default, 0.5 = half scaling; i.e: 60 headshot kills becomes 30 headshot kills).
- Added Mutator config/Webadmin config pages for some settings of this mutator.
- Updated network codes of this mod to resolve some other bugs.
- Added 'Maximum perk levels' value for defining max level you can get (you can set max level up to 254).
- Added 'Requirements scaler' to scale the requirements (1 = default, 0.5 = half scaling; i.e: 60 headshot kills becomes 30 headshot kills).
- Added Mutator config/Webadmin config pages for some settings of this mutator.
Spoiler!
- This time (hopefully) fixed the perk selection problem.
- Added option (bForceGivePerk) to force players with no perk selected to start with a random perk available.
- Added another option (bNoSavingProgress) to disable progress saving (for level 6 perks only servers).
- Added option (bForceGivePerk) to force players with no perk selected to start with a random perk available.
- Added another option (bNoSavingProgress) to disable progress saving (for level 6 perks only servers).
Spoiler!
- Fixed perk selection in Trader and Lobby menus.
- Fixed some problems with not being able to select perk sometimes.
- While at it fixed a memory leak problem on Lobby menu.
- Fixed some problems with not being able to select perk sometimes.
- While at it fixed a memory leak problem on Lobby menu.
Spoiler!
- Fixed an issue with demolition stats loading.
Spoiler!
- Fixed a crash with "SRPerkSelectList" menu.
- Updated it to work on latest KF version.
- Added in Demolition perk.
- Updated all perks to be equally to latest KF version.
- Added a new option to specify minimum perk level for all players (edit ServerPerksV2.ini).
- Added to lobby menu a "Main Menu" button where people can access perks selection and map voting.
- Updated it to work on latest KF version.
- Added in Demolition perk.
- Updated all perks to be equally to latest KF version.
- Added a new option to specify minimum perk level for all players (edit ServerPerksV2.ini).
- Added to lobby menu a "Main Menu" button where people can access perks selection and map voting.
- Released.
How to use this mutator (eighter way):
- In mutators list, add "Server Veterancy Handler V6" to active mutators.
- Add to server startup commandline "?Mutator=ServerPerksMut.ServerPerksMut"
CountryFlagsTex.utx is an optional country tags texture file. You can use my country tags mutator to give all players tags and this mutator will replace those tags with flag textures.
Server Perks Database (OPTIONAL)(Advanced users only!)
Download from here. (Version 1.55)
Download from here. Same version but without any windows at all (needs to be shut down from task manager).
Version history:
1.55:
- Fixed a stat loading bug from earlier versions.
- Modified it to convert Linux SteamID's into Windows SteamID.
1.30:
- Support long stat value string lines (REQUIRED since serverperks v5.00).
1.10:
- Optimized code a bit and added a new option.
1.00:
- Created.
This is an application I wrote in C++ which basically works as a remote database for your perks stats. In order to use this you need:
- A dedicated server machine that's on Windows OS.
- Setup a Port and Password in Host.ini:
- Do the same on ServerPerksV4.ini (including set IP-address or DNS name of the host):[General]
Port=6000
Password="Pass"
- Make sure you allow the application to access internet through Firewall and/or Router (open the desired port).[ServerPerksMut.ServerPerksMut]
RemotePort=6000
bUseRemoteDatabase=True
RemoteDatabaseURL=192.168.1.33
RemotePassword=Pass
- IF you have any earlier stats on server, copy over ServerPerksStat.ini to same folder as ServerPerksHost.exe and launch the exe as: ServerPerksHost.exe ServerPerksStat.ini
This way it will convert to the new stats ini file. After this is done delete all ServerPerksStat.ini you have.
- Now simply launch up KillingFloor server as-well as ServerPerksHost.exe.
- If you want to convert Data.ini back to ServerPerksStat.ini, run: ServerPerksHost.exe UNDO
Using FTP protocol for database in ServerPerks v7
Make sure you assign these settings in ServerPerks.ini:
Be sure you limit the FTP user account that server uses as much as possible, as it's not a secure connection server will use.RemoteDatabaseURL=www.somedomain.com - URL address to FTP server.
RemotePassword=Pass - User password to access FTP server.
RemoteFTPUser=User - User name to access FTP server.
RemoteFTPDir= - Optional, leave empty if you want it to write stats in root folder, otherwise you can enter folder name there (but make sure that folder exist or system will fail).
bUseRemoteDatabase=True - MUST be enabled.
bUseFTPLink=True - Must also be enabled.
bDebugDatabase=False - Enable this if you have trouble on getting it functional (will print communication information on log and webadmin).
FTPKeepAliveSec=60 - How often server will ping the FTP server to keep connection alive.
In other words, ideal settings are:
Max connections - ~10 (or more depending on how many servers will use this).
Idle timeout - 120 seconds.
Only allow client to read/write files.
If you want to upload onto FTP current stats saved on server, enable following setting on ServerPerks.ini: bUploadAllStats=True. Then start game on solo and wait for it to finish uploading everything. I will add to ServerPerksHost application a way to convert Data.ini to ServerPerksStats.ini back again if you want to switch the host protocol of your server.
If there are any bugs, please report them here (or if you have any comments/suggestions)!
Last edited: