• 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

I'm hoping Marco or someone else might be able to help with this problem.

Since the patch I've noticed downloading modded content from the server will sometimes hang or slow down considerably. If you then cancel and reconnect the server content from the redirect will then resume at normal or high rate again.

Is their someway to set this up so clients will have a smooth continuous download of content from the redirect?
(Not really off topic as this thread is about the mod content downloading to clients, I apologize though if someone thinks so)
 
Upvote 0
im keep trying compile but its always show error
what did i miss?? help!
[0009.04] Log: Executing Class UnrealEd.MakeCommandlet
[0009.05] Heading: --------------------Core - Release--------------------
[0009.05] Log: Loading global macros for Core
[0009.07] Heading: --------------------Engine - Release--------------------
[0009.07] Log: Loading global macros for Engine
[0009.50] Heading: --------------------IpDrv - Release--------------------
[0009.50] Log: Loading global macros for IpDrv
[0009.55] Heading: --------------------GFxUI - Release--------------------
[0009.55] Log: Loading global macros for GFxUI
[0009.56] Heading: --------------------AkAudio - Release--------------------
[0009.56] Log: Loading global macros for AkAudio
[0009.57] Heading: --------------------GameFramework - Release--------------------
[0009.57] Log: Loading global macros for GameFramework
[0009.62] Heading: --------------------UnrealEd - Release--------------------
[0009.62] Log: Loading global macros for UnrealEd
[0009.66] Heading: --------------------GFxUIEditor - Release--------------------
[0009.66] Log: Loading global macros for GFxUIEditor
[0009.66] Heading: --------------------WinDrv - Release--------------------
[0009.66] Log: Loading global macros for WinDrv
[0009.67] Heading: --------------------OnlineSubsystemSteamworks - Release--------------------
[0009.67] Log: Loading global macros for OnlineSubsystemSteamworks
[0009.69] Heading: --------------------BaseAI - Release--------------------
[0009.69] Log: Loading global macros for BaseAI
[0009.72] Heading: --------------------KFGame - Release--------------------
[0009.72] Log: Loading global macros for KFGame
[0010.11] Heading: --------------------KFGameContent - Release--------------------
[0010.32] Log: Loading global macros for KFGameContent
[0010.42] Heading: --------------------WebAdmin - Release--------------------
[0010.44] Log: Loading global macros for WebAdmin
[0010.47] Heading: --------------------ServerExt - Release--------------------
[0010.48] Log: Analyzing...
[0010.48] Log: Loading global macros for ServerExt
[0010.50] Error: F:\SteamLibrary\SteamApps\common\killingfloor2\Binaries\..\KFGame\Src\ServerExt\ExtCharacterInfo.uc(45) : Error, Unknown macro 'MAX_COSMETIC_ATTACHMENTS'.
[0010.50] Log: Compile aborted due to errors.
[0010.55] Log:
[0010.55] Log: Warning/Error Summary
[0010.55] Log: ---------------------
[0010.55] Log: F:\SteamLibrary\SteamApps\common\killingfloor2\Binaries\..\KFGame\Src\ServerExt\ExtCharacterInfo.uc(45) : Error, Unknown macro 'MAX_COSMETIC_ATTACHMENTS'.
[0010.55] Log:
[0010.55] Log: Failure - 1 error(s), 0 warning(s)
[0010.55] Log:
Execution of commandlet took: 1.51 seconds
 
Upvote 0
[0010.50] Error: F:\SteamLibrary\SteamApps\common\killingfloor2\Bin aries\..\KFGame\Src\ServerExt\ExtCharacterInfo.uc( 45)

It looks like your directory F:\SteamLibrary\SteamApps\common\killingfloor2\Bin aries\..\KFGame\Src\ServerExt is where it is trying to compile from and its throwing an error located in the ExtCharacterInfo.uc( 45) Line 45

  • You need to use the files from the source in the first post of the thread not an old copy.*
  • Make sure your using the newest files without modifications.
  • Path to my SRC:C:\Users\YourName\Documents\My Games\KillingFloor2\KFGame\SRC
  • The output after it is compiled is then saved to:C:/Users/YourName/Documents/My Games/KillingFloor2/KFGame/Unpublished/BrewedPC/Script

Hope this helps Good Luck!
smile.gif


Spoiler!
 
Last edited:
Upvote 0
After patch 1030 i see again server perks broken and i can help fix it.

Join in ServerExt\Classes\ExtPlayerController.uc and search:
function AddPlayerXP(int XP, class<KFPerk> PerkClass)
{
if( ActivePerkManager!=None ) {
ActivePerkManager.EarnedEXP(XP);
}
}
After comment it with // and saving, after compile:
//function AddPlayerXP(int XP, class<KFPerk> PerkClass)
//{
// if( ActivePerkManager!=None ) {
// ActivePerkManager.EarnedEXP(XP);
// }
//}
And finally works: 0 errors, 0 warnings. :)
Don't worry about: function AddPlayerXP now in official code: native final function AddPlayerXP
Maybe with bugs need new check or other way...
 
Last edited:
Upvote 0
After patch 1030 i see again server perks broken and i can help fix it.

Join in ServerExt\Classes\ExtPlayerController.uc and search:
After comment it with // and saving, after compile:
And finally works: 0 errors, 0 warnings. :)
Don't worry about: function AddPlayerXP now in official code: native final function AddPlayerXP

I tried your fix and it compiled just fine, 0 errors or warnings. After I uploaded the new server.ext to my server it says theres a missmatch for ServerExt. What am I missing?
 
Upvote 0
It looks like your directory F:\SteamLibrary\SteamApps\common\killingfloor2\Bin aries\..\KFGame\Src\ServerExt is where it is trying to compile from and its throwing an error located in the ExtCharacterInfo.uc( 45) Line 45

  • You need to use the files from the source in the first post of the thread not an old copy.*
  • Make sure your using the newest files without modifications.
  • Path to my SRC:C:\Users\YourName\Documents\My Games\KillingFloor2\KFGame\SRC
  • The output after it is compiled is then saved to:C:/Users/YourName/Documents/My Games/KillingFloor2/KFGame/Unpublished/BrewedPC/Script

Hope this helps Good Luck!
smile.gif


Spoiler!

thanks for help but i don't know what is wrong
i used src file from first thread and it was working well but suddenly keep show "ExtCharacterInfo.uc" Error
 
Upvote 0
Having that function commented out, nothing is calling ActivePerkManager.EarnedEXP(), so no xp will be saved at all.

Not sure why TWI decided to make AddPlayerXP final..

Exactly, at the current state ServerExt is unfixable, unless you replace GameInfo class too to call a custom AddXP function call in ServerExt, which would be just a stupid workaround on that.
 
Upvote 0