Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > Coding

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2009, 02:46 PM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 452
Default Mut: Per Server Stats

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 6.01)
Download source code from here. (Version 6.00)

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).
And downsides of this mutator:
  • 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.
Version history:
6.01:
- Fixed another crash, added new weapons to defaults and a script warning with emotion icons loading to serverpackages.
6.00:
Spoiler!

5.51:
Spoiler!

5.50:
Spoiler!

5.10:
Spoiler!

5.00:
Spoiler!

4.40:
Spoiler!
4.38:
Spoiler!
4.36:
Spoiler!
4.35:
Spoiler!
4.10:
Spoiler!
4.00:
Spoiler!
3.01:
Spoiler!
3.00:
Spoiler!
2.55:
Spoiler!
2.30:
Spoiler!
2.10:
Spoiler!
2.00:
Spoiler!
1.00:
- Released.

How to use this mutator (eighter way):
  • In mutators list, add "Server Veterancy Handler V5" to active mutators.
  • Add to server startup commandline "?Mutator=ServerPerksMut.ServerPerksMut"
To add/remove perks, simply edit "ServerPerksV5.ini" and add/remove lines.

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:
Quote:
[General]
Port=6000
Password="Pass"
- Do the same on ServerPerksV4.ini (including set IP-address or DNS name of the host):
Quote:
[ServerPerksMut.ServerPerksMut]
RemotePort=6000
bUseRemoteDatabase=True
RemoteDatabaseURL=192.168.1.33
RemotePassword=Pass
- Make sure you allow the application to access internet through Firewall and/or Router (open the desired port).
- 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 there are any bugs, please report them here (or if you have any comments/suggestions)!

Last edited by Marco; 11-04-2012 at 01:05 PM. Reason: Update to v601
Reply With Quote
  #2  
Old 08-28-2009, 06:35 PM
Boxiii's Avatar
Boxiii Boxiii is offline
Senior Member
 
Join Date: May 2009
Location: California
Posts: 153
Default

Very nice.

Last edited by Boxiii; 09-15-2009 at 11:42 PM.
Reply With Quote
  #3  
Old 08-28-2009, 10:11 PM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,419
Default

Very cool dude, well done. I was hoping someone would do something like this.

Quote:
Originally Posted by Boxiii View Post
Very nice!! Please request this to be white listed!
Do you understand what this mutator does?
Reply With Quote
  #4  
Old 08-31-2009, 12:00 PM
chris1701 chris1701 is offline
Member
 
Join Date: Jun 2009
Posts: 57
Default

It is a good mutator but you ak47 isn't support on commando, can you fix that???
Reply With Quote
  #5  
Old 09-01-2009, 12:30 AM
Liquid4653 Liquid4653 is offline
Junior Member
 
Join Date: Aug 2009
Posts: 7
Default

Quote:
Originally Posted by Marco View Post
If there are any bugs, please report them here (or have any comments/suggestions)!

Hi,

Great Mutator I love it but I cannot seem to get the MutJump mutator working correctly
Reply With Quote
  #6  
Old 09-15-2009, 07:16 PM
lethalvortex's Avatar
lethalvortex lethalvortex is offline
Senior Member
 
Join Date: May 2009
Posts: 325
Default

cool but i tried it in solo how does it work coz wen i spawned it sayed perks are disable. or does this only work on dedicated? or do i need to type something in chat? to enable it? also i had to remove it from my serve coz at the boss wave the boss dies instance. hope u can fix that its really nice idea!
__________________

Check out my KF Doom2/3/KF/Fun server
MyWebsite/tutorials Mapping

Last edited by lethalvortex; 09-16-2009 at 08:03 PM.
Reply With Quote
  #7  
Old 10-08-2009, 02:58 AM
Maksimus Maksimus is offline
Senior Member
 
Join Date: May 2009
Posts: 191
Default

Author appear at the forum please
Reply With Quote
  #8  
Old 10-09-2009, 02:09 PM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 452
Default

Quote:
Originally Posted by Maksimus View Post
Author appear at the forum please
Yes, I am here.
Quote:
Originally Posted by chris1701 View Post
It is a good mutator but you ak47 isn't support on commando, can you fix that???
I can make a seperate extension for perks that are exactly as retail ones. The code I based my perks on were pre-released version of KF.
Quote:
Originally Posted by lethalvortex View Post
cool but i tried it in solo how does it work coz wen i spawned it sayed perks are disable. or does this only work on dedicated? or do i need to type something in chat? to enable it? also i had to remove it from my serve coz at the boss wave the boss dies instance. hope u can fix that its really nice idea!
It should work in solo and online, might be some specific settings or combinations of other mutators you're using?
Reply With Quote
  #9  
Old 10-10-2009, 05:16 AM
Maksimus Maksimus is offline
Senior Member
 
Join Date: May 2009
Posts: 191
Default

Which I have found the list of defects in yours mutators:
1. Sometimes in game simply there is no choice percs though in ".ini" file the data arrive!;
2. On many times pressing "Esc" button or calling statistic window client crashing with error



3. Need To add operation of the new weapon though have checked up, like works;
4. Idea excellent especially for my server with 30 players!;
5. We wait the stable new version;
P.S. All files of mutator are necessary to the client? Or enough one loaded from server ServerPerks.u (with one it statistics works, percs shake)?

Last edited by Maksimus; 10-15-2009 at 03:10 AM.
Reply With Quote
  #10  
Old 10-10-2009, 12:45 PM
Maksimus Maksimus is offline
Senior Member
 
Join Date: May 2009
Posts: 191
Default ?

Why file ServerPerksStat.ini is in UTF-16 LE charset coding?
Reply With Quote
  #11  
Old 10-12-2009, 02:33 AM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 452
Default

Quote:
Originally Posted by Maksimus View Post
Which I have found the list of defects in yours mutators:
1. Sometimes in game simply there is no choice percs though in ".ini" file the data arrive!;
2. On many times pressing "Esc" button or calling statistic window client crashing with error
3. Need To add operation of the new weapon though have checked up, like works;
P.S. All files of mutator are necessary to the client? Or enough one loaded from server ServerPerks.u (with one it statistics works, percs shake)?
1: I don't really understand what you mean by that...
2: Good to know, I'll look up on that.
3: Huh?
And yes, only ServerPerks.u is needed by the clients.

Quote:
Originally Posted by Maksimus View Post
Why file ServerPerksStat.ini is in UTF-16 LE charset coding?
Thats how UnrealEngine 2 outputs INI files, not my choise.
Reply With Quote
  #12  
Old 10-26-2009, 05:52 AM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 452
Default

Ok it's fixed now, download link is in first post.
I did not rename the mod so it might be some people may get version missmatch if they still have the old version in their system folder.
Reply With Quote
  #13  
Old 10-26-2009, 08:51 AM
ToNiO's Avatar
ToNiO ToNiO is offline
Senior Member
 
Join Date: Aug 2009
Location: France
Posts: 242
Default

Quote:
Originally Posted by Marco View Post
Ok it's fixed now, download link is in first post.
I did not rename the mod so it might be some people may get version missmatch if they still have the old version in their system folder.
Thanks you very much Marco
__________________
Reply With Quote
  #14  
Old 10-26-2009, 11:48 AM
Maksimus Maksimus is offline
Senior Member
 
Join Date: May 2009
Posts: 191
Default

Thanks All WORK
Reply With Quote
  #15  
Old 11-05-2009, 10:25 PM
Maksimus Maksimus is offline
Senior Member
 
Join Date: May 2009
Posts: 191
Default ???

very often the image disappearance of occupations, with subsequent inability to choose. solved rebooting the game, sometimes changing the map. I wish the problem and decided to introduce a system console commands to change. is straining the error
ps
console commands ask in case if you can not fix the problem .. Thanks in advance

Last edited by Maksimus; 11-05-2009 at 10:27 PM.
Reply With Quote
  #16  
Old 11-06-2009, 04:34 AM
qwerty27 qwerty27 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Default

Founded a couple of errors
1) when the door unweld any perks disappear choice and view the perks (and perks no longer play the game)
2) When using an automatic shotgun and causing great damage (eg a crowd) is same as in clause 1
Server 1.009
immediately apologize for the English (Net M interpreter)
Indeed
South African-filmed SUPER
Reply With Quote
  #17  
Old 11-15-2009, 04:47 AM
Darknezzz Darknezzz is offline
Junior Member
 
Join Date: May 2009
Posts: 1
Default

Quote:
Originally Posted by Marco View Post
Clients will don't have their stats following from server to server (anything they do in that server will stay within that server)!
In it that all problem. Why not to make config file for mutator in which the way to the general ServerPerksV2.ini would be registered?

---------------------------
Перевод выполнен программой PROMT™
http://www.promt.ru
Reply With Quote
  #18  
Old 01-05-2010, 10:57 PM
propker777 propker777 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 15
Default

Maybe I'm missing something. Do I need to add this to ServerPackages, or what? It's not..well, working.

EDIT: I check it on the server mutator options, restart the map, and then it gets unchecked. It simply won't stay activated. What gives?
__________________

Last edited by propker777; 01-05-2010 at 11:18 PM.
Reply With Quote
  #19  
Old 01-07-2010, 10:43 AM
ffjason's Avatar
ffjason ffjason is offline
Senior Member
 
Join Date: Oct 2009
Posts: 205
Default

Have you added it to your server command line? I have found that to be the best way to run mutators.
__________________
Reply With Quote
  #20  
Old 01-07-2010, 06:26 PM
propker777 propker777 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 15
Default

Yep, whether I do it that way or in the webadmin it doesn't make a difference, it just isn't functioning and I can't see why.
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC