I did this, but it didn't help
And now I'm super confused. I'm getting the same error as last night, except on
my own weapon mutator. It just won't compile anymore, I can't modify it at all. I must have compiled it over two dozen times, suddenly it doesn't work. Wha?
Sorry that last bit is only tangentially on topic.
Have you tried compiling the source with killing floor dedicated server? I tried to compile only once with the SDK, and I got the same error your getting. However, I did not try to compile again after rebuilding the source files on the SDK. I'm guessing others use SDK to compile? I'm not for certain, but I didn't for my mods. I used the editor for the textures and that's it.
I'm going to guess and ay the reason your other mod probably isn't compiling now, is because the SDK is rebuilt and is up to a newer version of files, and maybe your mod that you have been compiling is built on those older files and now your getting an error because of the newer files?
Just guessing, because I'm still a little lost on what your doing? I myself, would download the dedicated server files for killing floor, and use it to compile source files. Just keep the dedicated server up to date, so your using the most recent killing floor files. And use the SDK for source files and for it's editor. Your probably still going to get an error on your mod with the dedicated server files, you'll have to go through your source files with each error it gives you when you compile it, and find the line or lines that are bad and fix them.
If you do install the dedicated server files. I would install it to something simple like.
C:\killingfloor
Then, inside of c:\killingfloor
make a directory of your mutator, mymutator meaning
c:\killingfloor\mymutator
Then make a directory called classes inside that one, so it would be
c:\killingfloor\mymutator\classes
now inside classes place your source files, that your wanting to create the mod from.
Then, go into killingfloor.ini in your system directory and go to the EditPackages
What ever your mutators director was called
EditPackages=mymutator
Then use this code in a batch file compile.bat
del "C:\killingfloor\system\mymutator.u"
"C:\killingfloor\System\UCC.exe" make
del "C:\killingfloor\system\steam_appid.txt"
pause
If you have errors, this code for the batch file. Will one, stop the screen from disappearing so you can look at what source file and where or what line is causing the problem. if you close it, it saves a file steam_appid.txt in your system folder, that you can look at the compile and where it errors.
Compile, and if you get an error, find it fix it, run compile again. if another error find and fix. I would suggest looking over the source files and scanning over them before running compile over and over again. But, maybe this will help you out? I'm still a little lost on what your trying to do