• 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/

Beta Release [Mutator] Server Extension mod

Freebase;n2305311 said:
Here's what mine looks like (It's a bit different due to my server setup):
Code:
[COLOR=#00ff66]C:\SteamCMD\kf2server\Binaries\win64\kfserver kf-map30-defense_1053a?AccessControl=AccessPlus.AccessPlus?Game=HardModeBoss.HardSurv?MaxPlayers=20?GameDifficulty=3?Mutator=ServerExtMut.ServerExtMut,SlotMachinesMut.SlotsMut -Multihome=x.x.x.x -Port=xxxx -QueryPort=xxxxx -WebAdminPort=xxxx[/COLOR]

Try removing the following from your KF2Server.bat:
Mutator=KFMutator.KFMutator_MaxPlayersV2 (You don't need this if your using ServerExt since its built in and another problem I see is that your using Mutator= two different times which isn't going to work, all you need to do is seperate them with commas.)
MaxMonsters=200? (I never knew this was a thing, so idk if it even works)

EDIT: MaxMonsters=200? works but idk if it actually does anything in my game.

So basically it should look like this:
Code:
[COLOR=#FFFF00]start .\Binaries\win64\kfserver kf-outpost?adminpassword=XXXXX?MaxPlayers=15?Mutator=ServerExtMut.ServerExtMut[/COLOR]

Reference: https://wiki.tripwireinteractive.com/index.php?title=Dedicated_Server_(Killing_Floor_2)

Hey Freebase thank you for your answer but unforchantly it still spamming these lines.
I'm using only one mutator and tried other maps, nothing changed
What cause it?
 
Upvote 0
duk6046;n2305416 said:
How to fix custom weapon name like a kfrpg?

Code:
class ExtHUD_WeaponSelectWidget extends KFGFxHUD_WeaponSelectWidget;

var transient array< class<KFWeaponDefinition> > WeaponGroup;

simulated function UpdateWeaponGroupOnHUD( byte GroupIndex )
{
    local Inventory Inv;
    local KFWeapon KFW;
    local byte i;
    local int Index;
    local array<KFWeapon> WeaponsList;
    local KFGFxObject_TraderItems TraderItems;
    local Pawn P;
    local array< class<KFWeaponDefinition> > WPGroup;

    P = GetPC().Pawn;
    if ( P == none || P.InvManager == none )
        return;

    for ( Inv = P.InvManager.InventoryChain; Inv != none; Inv = Inv.Inventory )
    {
        KFW = KFWeapon( Inv );
        if ( KFW != none && KFW.InventoryGroup == GroupIndex )
            WeaponsList.AddItem(KFW);
    }

    WPGroup.Length = WeaponsList.Length;
    TraderItems = KFGameReplicationInfo( P.WorldInfo.GRI ).TraderItems;
    for ( i = 0; i < WeaponsList.Length; i++ )
    {
        Index = TraderItems.SaleItems.Find('ClassName', WeaponsList[i].Class.Name);
        if( Index != -1 )
            WPGroup[i] = TraderItems.SaleItems[Index].WeaponDef;
    }

    WeaponGroup = WPGroup;
    SetWeaponGroupList(WeaponsList, GroupIndex);
}

simulated function SetWeaponGroupList(out array<KFWeapon> WeaponList, byte GroupIndex)
{
    local byte i;
    local GFxObject DataProvider;
    local GFxObject TempObj;
    local bool bUsesAmmo;

    DataProvider = CreateArray();
    if ( DataProvider == None )
        return; // gfx has been shut down

    for (i = 0; i < WeaponList.length; i++)
    {
        TempObj = CreateObject( "Object" );

        if( WeaponGroup[i] != None )
        {
            TempObj.SetString( "weaponName", WeaponGroup[i].static.GetItemLocalization("ItemName") );
            TempObj.SetString( "texturePath", "img://"$WeaponGroup[i].static.GetImagePath() );
        }
        else 
        {
            TempObj.SetString( "weaponName", WeaponList[i].ItemName );
            TempObj.SetString( "texturePath",  "img://"$PathName(WeaponList[i].WeaponSelectTexture));
        }

        TempObj.SetInt( "ammoCount", WeaponList[i].AmmoCount[0]);
        TempObj.SetInt( "spareAmmoCount", WeaponList[i].SpareAmmoCount[0]);
        //secondary ammo shenanigans
        TempObj.SetBool("bUsesSecondaryAmmo", WeaponList[i].UsesSecondaryAmmo()&&WeaponList[i].bCanRefillSecondaryAmmo);
        TempObj.SetBool("bEnabled", WeaponList[i].HasAnyAmmo());
        if(WeaponList[i].UsesSecondaryAmmo() && WeaponList[i].bCanRefillSecondaryAmmo)
        {
            TempObj.SetBool("bCanRefillSecondaryAmmo", WeaponList[i].SpareAmmoCapacity[1] > 0);
            TempObj.SetInt( "secondaryAmmoCount", WeaponList[i].AmmoCount[1]);
            TempObj.SetInt( "secondarySpareAmmoCount", WeaponList[i].SpareAmmoCount[1]);
        }

        TempObj.SetBool( "throwable", WeaponList[i].CanThrow());

        bUsesAmmo = (WeaponList[i].static.UsesAmmo());
        TempObj.SetBool( "bUsesAmmo", bUsesAmmo);
        DataProvider.SetElementObject( i, TempObj );
    }

    SetWeaponList(DataProvider, GroupIndex);
}

DefaultProperties
{
}

The code I did for them
 
  • Like
Reactions: BoJack and duk6046
Upvote 0
Freebase;n2305391 said:
Are you using the KF2 Redirect System or Steam Workshop? EDIT: Whats your config like?

I'm using Steam Workshop for maps and etc
It will be more comfortable if you can add me to STEAM -> http://steamcommunity.com/id/-sNeePy/
I will look now at KF2 Redirect System see if something is wrong

This is my config
Code:
[IpDrv.HTTPDownload]
RedirectToURL=http://kf2.tripwirecdn.com/

Edit:
Another problem I've noticed
Code:
[0028.46] ScriptLog: Mutators ServerExtMut.ServerExtMut
[0029.02] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.03] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.03] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.04] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.04] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.05] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.06] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.06] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.07] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.07] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.08] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.08] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.09] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.09] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.10] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading ..\..\KFGame\BrewedPC\serverextmut.u
[0029.30] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.31] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.31] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.32] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.32] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.33] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.33] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.34] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.35] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.35] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.36] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.36] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.37] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
[0029.37] Warning: Warning, Failed to load 'xVoteAnnouncer': Can't find file for package 'xVoteAnnouncer' while loading NULL
 
Last edited:
Upvote 0
Can someone help me, I'm having trouble compiling

Log: Log file open, 09/29/17 17:42:47
Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
Log: ... running in INSTALLED mode
DevConfig: GConfig::Find has loaded file: ..\..\Engine\Config\ConsoleVariables.ini
Init: Version: 10897
Init: Epic Internal: 0
Init: Compiled (64-bit): Jul 12 2017 11:22:47
Init: Changelist: 1532151
Init: Command line: make
Init: Base directory: C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\
[0000.28] Init: Computer: DESKTOP-BPQSPUV
[0000.28] Init: User: Anderson
[0000.28] Init: CPU Page size=4096, Processors=8
[0000.28] Init: High frequency timer resolution =3.135539 MHz
[0000.28] Init: Memory total: Physical=7.9GB (8GB approx) Pagefile=9.8GB Virtual=131072.0GB
[0000.28] Log: Steam Client API Disabled!
[0000.32] Init: WinSock: I am DESKTOP-BPQSPUV (192.168.0.3:0)
[0000.32] Log: [FSocketWin::Bind] Binding to 0.0.0.0:13000
[0000.32] Init: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[0000.32] Init: Object subsystem initialized
[0000.32] Warning: Warning, Unknown language extension . Defaulting to INT
[0004.17] Log: CachePaths() took 3.85 Seconds
[0004.17] DevDataBase: Connection to "Provider=sqloledb;Data Source=production-db;Initial Catalog=EngineTaskPerf;Trusted_Connection=Yes;Connection Timeout=2" or "10.1.20.20" failed
[0004.25] Log: Found D3D11 adapter 0: NVIDIA GeForce GTX 750
[0004.25] Log: Adapter has 994MB of dedicated video memory, 0MB of dedicated system memory, and 4044MB of shared system memory
[0004.26] Log: Found D3D11 adapter 1: Microsoft Basic Render Driver
[0004.26] Log: Adapter has 0MB of dedicated video memory, 0MB of dedicated system memory, and 4044MB of shared system memory
[0004.30] Log: Shader platform (RHI): PC-D3D-SM5
[0004.85] Log: PhysXLevel : 0
[0021.75] Log: Executing Class UnrealEd.MakeCommandlet
[0021.78] Heading: --------------------Core - Release--------------------
[0021.78] Log: Loading global macros for Core
[0021.83] Heading: --------------------Engine - Release--------------------
[0021.83] Log: Loading global macros for Engine
[0022.53] Heading: --------------------IpDrv - Release--------------------
[0022.53] Log: Loading global macros for IpDrv
[0022.62] Heading: --------------------GFxUI - Release--------------------
[0022.62] Log: Loading global macros for GFxUI
[0022.66] Heading: --------------------AkAudio - Release--------------------
[0022.66] Log: Loading global macros for AkAudio
[0022.68] Heading: --------------------GameFramework - Release--------------------
[0022.68] Log: Loading global macros for GameFramework
[0022.78] Heading: --------------------UnrealEd - Release--------------------
[0022.78] Log: Loading global macros for UnrealEd
[0022.85] Heading: --------------------GFxUIEditor - Release--------------------
[0022.86] Log: Loading global macros for GFxUIEditor
[0022.88] Heading: --------------------WinDrv - Release--------------------
[0022.88] Log: Loading global macros for WinDrv
[0022.91] Heading: --------------------OnlineSubsystemSteamworks - Release--------------------
[0022.91] Log: Loading global macros for OnlineSubsystemSteamworks
[0022.96] Heading: --------------------OnlineSubsystemDingo - Release--------------------
[0023.00] Log: Loading global macros for OnlineSubsystemDingo
[0023.06] Heading: --------------------BaseAI - Release--------------------
[0023.06] Log: Loading global macros for BaseAI
[0023.10] Heading: --------------------KFGame - Release--------------------
[0023.10] Log: Loading global macros for KFGame
[0023.89] Heading: --------------------KFGameContent - Release--------------------
[0023.89] Log: Loading global macros for KFGameContent
[0024.12] Heading: --------------------WebAdmin - Release--------------------
[0024.16] Log: Loading global macros for WebAdmin
[0024.23] Heading: --------------------RCam - Release--------------------
[0024.24] Log: Loading global macros for RCam
[0024.28] Heading: --------------------AccessPlus - Release--------------------
[0024.28] Log: New File, Existing Package (Package Untitled_0, Package accessplus)
[0024.30] Log: Loading global macros for AccessPlus
[0024.34] Heading: --------------------HardModeBoss - Release--------------------
[0024.34] Log: New File, Existing Package (Package Untitled_1, Package hardmodeboss)
[0024.35] Log: Loading global macros for HardModeBoss
[0024.38] Heading: --------------------HardModeBossS - Release--------------------
[0024.38] Log: New File, Existing Package (Package Untitled_2, Package hardmodebosss)
[0024.53] Log: Loading global macros for HardModeBossS
[0024.57] Heading: --------------------M79Med - Release--------------------
[0024.57] Log: New File, Existing Package (Package Untitled_3, Package m79med)
[0024.58] Log: Loading global macros for M79Med
[0024.60] Heading: --------------------M79Frost - Release--------------------
[0024.60] Log: New File, Existing Package (Package Untitled_4, Package m79frost)
[0024.61] Log: Loading global macros for M79Frost
[0024.63] Heading: --------------------ServerExt - Release--------------------
[0024.64] Log: Analyzing...
[0024.64] Log: Loading global macros for ServerExt
[0025.64] Error: C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Development\Src\ServerExt\Classes\KFGUI_List.uc(201) : Error, BEGIN OBJECT: name ListScroller redefined: Begin Object Name=ListScroller Class=KFGUI_ScrollBarV
[0025.64] Error: C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Development\Src\ServerExt\Classes\KFGUI_ColumnList.uc(428) : Error, BEGIN OBJECT: name ColumnComps redefined: Begin Object Class=KFGUI_ColumnTop Name=ColumnComps
[0027.74] Log: === Critical error: ===
Fatal error!

Address = 0xd86c0fac (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd86c1072 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd86c0f16 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd86a7513 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd869e6f8 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e59d0 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e5c26 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e5c26 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e5c26 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e5c26 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e5c26 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd98e2c7e (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd9904e4e (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd96a2bdf (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd9c86a97 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd9c82767 (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xd9c828aa (filename not found) [in C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Binaries\Win64\KFEditor.exe]
Address = 0xf5e56c41 (filename not found)

[0027.74] Exit: Executing UObject::StaticShutdownAfterError
[0027.74] Exit: Executing UWindowsClient::ShutdownAfterError
[0027.83] Log: appRequestExit(1)
 
Upvote 0
zerobr00;n2305861 said:
Can someone help me, I'm having trouble compiling

[0024.57] Heading: --------------------M79Med - Release--------------------
[0024.57] Log: New File, Existing Package (Package Untitled_3, Package m79med)
[0024.58] Log: Loading global macros for M79Med
[0024.60] Heading: --------------------M79Frost - Release--------------------
[0024.60] Log: New File, Existing Package (Package Untitled_4, Package m79frost)
[0024.61] Log: Loading global macros for M79Frost
[0024.63] Heading: --------------------ServerExt - Release--------------------
[0024.64] Log: Analyzing...
[0024.64] Log: Loading global macros for ServerExt
[0025.64] Error: C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Development\Src\ServerExt\Classes\KFGUI_List.uc(201) : Error, BEGIN OBJECT: name ListScroller redefined: Begin Object Name=ListScroller Class=KFGUI_ScrollBarV
[0025.64] Error: C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Development\Src\ServerExt\Classes\KFGUI_ColumnList.uc(428) : Error, BEGIN OBJECT: name ColumnComps redefined: Begin Object Class=KFGUI_ColumnTop Name=ColumnComps
[0027.74] Log: === Critical error: ===
Fatal error!
Can you upload your KFGUI_List.uc and KFGUI_ColumnList.uc files and also where did you get the M79Med and M79Frost files from?
 
Upvote 0
Hi, I have a query on the server ext to see if anyone can help me, because with programming I'm just starting and I still do not have any progresses, I'd like to know if there is a way to see the 12 or more people connected on the server with server ext and change the entire interface, could someone tell me where and what file .uc I should be addressing myself for these issues? , and on the other hand respecting accessories and emotes, someone knows how to enable them all, thanks!
 
Upvote 0
Bozeefus;n2306685 said:
This is exactly why Marco gave up on KF2, they need to make it so modding is made much easier without the interruptions from the code changes. hopefully someone can save the day this time. I really want to try the new weps in serverEXT

Gave up? He's no longer developing this? This has happened since day 1 with KF1. We've complained for years about updates breaking mods. And here we are..
 
Upvote 0