• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Mut: Per Server Stats

friend as I do, for it to work in dedicated "official" without the game?

I do not know what I put here:

[General]
Port = 6000
Password = "Pass" [/ quote]

what I put in "port 6000"?
which I put password? can be any one?


[ServerPerksV4.ServerPerksMut]
RemotePort = 6000
bUseRemoteDatabase = True
RemoteDatabaseURL = 192.168.1.33
RemotePassword = Pass [/ quote]

"RemtePort" which door do I get? leaves the same port?

"RemoteDatabaseURL = 192.168.1.33" I put that ip? internal or external ip?

"RemotePassword" Any password for??

I want this kind of dedicated work! look at the link:

http://forums.tripwireinteractive.com/showthread.php?t=30579
 
Upvote 0
Inside the KillingFloor.ini, go to the EditPackages section and ontop of your ServerPerks mutator, put EditPackages=IJCWeaponPack-W2. This is so it knows it can look inside for the classes.
You know you can also use #exec obj load file="IJCWeaponPack-W2.u" in the script to force compiler to load it (this way you don't need to add a bunch of EditPackages before compiling your mod), however this does not work if you plan to subclass any classes from that mod.
 
  • Like
Reactions: Benjamin
Upvote 0
You know you can also use #exec obj load file="IJCWeaponPack-W2.u" in the script to force compiler to load it (this way you don't need to add a bunch of EditPackages before compiling your mod), however this does not work if you plan to subclass any classes from that mod.
I didn't know that. Cheers for that. I always thought that was usually for the materials for example, sounds and textures.
 
Upvote 0
Failed to load!

Failed to load!

I just installed this and cant seem to get it to work. I used the max player mod http://forums.tripwireinteractive.com/showthread.php?t=46674 only. I have no other mods/mutations installed. I get the following errors.

failed to load "24Kmenus" cant find file for package 24kmenus
failed to load "KfGui" cant find file for package KfGui
failed to load "ServerPerksV4" cant find file for package "ServerPerksV4"
failed to load "Class ServerPerksV4.serverperksmut" cant find file for package Class ServerPerksV4.serverperksmut

Alli did is extract the files in the system folder,added ?Mutator=ServerPerksV4.ServerPerksMut to end of the command line and restarted the server. Any help please.

Thanks in advance!
 
Upvote 0
I just installed this mod on my win 2k8 server and have some errors. I am new to KF server managenemt and would appreciate some help. Heres the errors.

failed to load '24kMenus' cant find file for package '24KMenus'
failed to load 'KfGui': cant fina a file for package '24KMenus'
failed to load 'ServerPersV4' cant find file for package '24KMenus'
failed to load 'Class ServerPerksV4.serverperksmut' cant find file for package '24KMenus'

All i did is upload the files to the System dir, added ?Mutator=ServerPerksV4.ServerPerksMut at the end of the comand line and restarted the server. I am not sure if this "In mutators list, add "Server Veterancy Handler V4" to active mutators." has to something with it. I not sure where to look for this mutators list so I can edit it.

Any help would be much appreciated.

Thanks in advance!
 
Upvote 0
Anyone know how to fix this? I need this so I can see who is glitching/cheating so kicks/bans can be made.

EDIT: I think I know where abouts it is but not sure on how to fix it.
Code:
  // Dead Players see Red
  if( !PlayerOwner.IsSpectating() )
  {
   C.SetDrawColor(255, 255, 255, GrainAlpha);
   C.DrawTile(SpectatorOverlay, C.SizeX, C.SizeY, 0, 0, 1024, 1024);
  }

EDIT: Above code isn't really anything to do with it as I tested this. I also noticed another problem with the HUD. If you move a certain distance away from the other players (while playing), the player information disappears like the spectator view does.

Any chance on a fix someone? :p

EDIT: This didn't work.

Any changes about this problem with spectators?
 
Upvote 0
fix.
1.Weapon bonus doesn't match when spawn.
2.Perk doesn't change when shop time.
this is commited in the latest version? (v4.38)

there is something, i just notice but it is not that serious though.
quick perk selection in trader menu, there is one blank perk icon there. i mean there is really a perk there, you can select it, but it doesn't show the icon. i use only the 7 original icon for each perk...
ps. is it just me having a problem ? no just find some pic from ro_source in previous page
I have the same problem!
here is missing the demolitions icon
 
Upvote 0
Hi Marco,

Already fixed, aswell as added some other stuff, check out first post for links.
> Perk doesn't change when shop time.
this is still happening.
someone already posted a solution for this:
(haven't tested, perhaps you can take a look)

KFPCServ.uc
Code:

before

function SendSelectedVeterancyToServer(optional bool bForceChange)

after

function SendSelectedVeterancyToServer(optional bool bForceChange)
{
// Perk Select fix
if( ServerStStats(SteamStatsAndAchievements)!=none )
ServerStStats(SteamStatsAndAchievements).WaveEndSwitch();
}

ServerStStats.uc
Code:
Class ServerStStats extends KFSteamStatsAndAchievements;

var ClientPerkRepLink Rep;
var StatsObject MyStatsObject;
var KFPlayerController PlayerOwner;
var ServerPerksMut MutatorOwner;
var bool bHasChanged,bStatsChecking,bStHasInit,bHadSwitchedVet,bSwitchIsOKNow,bStatsReadyNow;
// Perk Select fix (add)
var bool bHasChangedGameType;


before

function WaveEnded()
{
if( SelectingPerk!=None )
{
bHadSwitchedVet = false;
bSwitchIsOKNow = true;
ServerSelectPerk(SelectingPerk);
bSwitchIsOKNow = false;
}
}



after

function WaveEnded()
{
// Perk Select fix
if( bHasChangedGameType )
{
bHasChangedGameType = false;
}
else
{
bHadSwitchedVet = false;
bHasChangedGameType = false;
}
}

function WaveEndSwitch()
{
// Perk Select fix (add)
if( SelectingPerk!=None )
{
bHadSwitchedVet = false;
ServerSelectPerk(SelectingPerk);

// Call from KFGameType flg
// KFGameType -> (KFPlayerController)KFPCServ.SendSelectedVeterancyToServer
bHasChangedGameType = true;
}
}

Thanks
 
Upvote 0
Thanks for the update marco. We can see player names now in spectate.

I don't know if this is a bug but in the scoreboard, the pings reported aren't accurate. I normally get a ping of 40 and what's reported is 8-9. Also, a player from China connecting to a US server has a ping of 52. Is this a bug or am I misinterpreting the numbers? Thanks.
 
Upvote 0
I don't know if this is a bug but in the scoreboard, the pings reported aren't accurate. I normally get a ping of 40 and what's reported is 8-9. Also, a player from China connecting to a US server has a ping of 52. Is this a bug or am I misinterpreting the numbers? Thanks.
Yes it's a bug, the ping value should be shown times 4 (8 X 4 = 32 etc..).
Will correct that in next version.
 
Upvote 0