nxt_v1;n2281124 said:It's not my day
C:\Program Files (x86)\Steam\steamapps\common\killingfloor2\Develop ment\Src\HardModeBossS\Classes\HBServer.uc(1119) : Error, Unrecognized member 'Waves' in class 'KFAISpawnManager'
I'm really up to making this GameType works, but unfortunately I'm getting other errors.
Edit: Line 1119 = Game.SpawnManager.Waves[Game.WaveNum] = FinalWaveInfo;
Alright. Well first things first does the code that you commented out look like this? Edit: SRC to download to apply fix
Code:
final function SetupBossWave()
{
local int i;
// Pick which level of boss difficulty.
if( LoadedBosses.Length>1 )
{
for( i=0; i<(LoadedBosses.Length-1); ++i )
{
[COLOR=#EE82EE][SIZE=10px][I]//if( Game.NumPlayers<=LoadedBosses.MaxPL )
//break;[/I][/SIZE][/COLOR]
}
}
Game.SpawnManager.WaveSettings.Waves[Game.WaveNum] = FinalWaveInfo; [COLOR=#ADD8E6]<- This is the line of code that is giving you an error, it shouldn't.[/COLOR]
Game.SpawnManager.SetupNextWave(Game.WaveNum);
BossSpawnIndex = i;
GRI.AIRemaining = LoadedBosses[i].Boss.Length;
GRI.WaveTotalAICount = GRI.AIRemaining;
Game.SpawnManager.LeftoverSpawnSquad.Length = 0;
Game.SpawnManager.WaveTotalAI = GRI.AIRemaining;
Game.SpawnManager.WaveStartTime = WorldInfo.TimeSeconds;
Game.SpawnManager.TimeUntilNextSpawn = 8.f;
SetTimer(5,false,'SpawnBoss');
}
My next question is how your compiling your files. Did you read what Marco said about how to compile HardModeBoss? He basically says to do this in your KFEditor.ini (ServerExt 1st (Do you have a working ServerExt that's updated?), SlotMachines 2nd (You don't have to use the compiled version of this you need it to fix the Grim Reaper error. But you still need it in game so just download the already compiled version from forrestmark9 here and after compiling and you have everything working just replace the files in your server/redirect with those.), and HardModeBoss 3rd:
[ModPackages]
ModPackagesInPath=..\..\KFGame\Src
ModOutputDir=..\..\KFGame\Unpublished\BrewedPC\Scr ipt
;ModPackages=KF1Weapons
;ModPackages=ZEDSxx
;ModPackages=KF2BotsC
;ModPackages=KF2Bots
ModPackages=ServerExt
ModPackages=ServerExtMut
ModPackages=SlotMachines
ModPackages=SlotMachinesMut
ModPackages=HardModeBoss
ModPackages=HardModeBossS
I went and compiled it just like this and it works for me. If you continue to have problems with this still then just let me know a way to get in contact with you and I'll see if I can help.
Last edited:
Upvote
0