Recently, I tried to use #exec OBJ LOAD FILE to package Animations, Textures, StaticMeshes, and Sounds files into one package and renamed the extension from .u to .ukx after it was compiled. However, after some time, many players on my server reported that they started having some frequent crashes with the following reason:
Code used to generate the combined package:
Additional Information: The Notifys for each individual Anim in the .ukx file are not cleared and replaced after the package was compiled. Instead, only the sound and texture files that are referenced in the animations and staticmeshes are changed to refer to the combined package.
Does anyone have any idea what might be the cause of the crash? I have asked some of the best coders from the Killing Floor community and they are stumped. Perhaps Wormbo would have an idea?
Code used to generate the combined package:
Code:
class AAR525Import extends Actor;
#exec LOAD OBJ FILE=..\Animations\AAR525_A.ukx Package=HZGAAR525_A
#exec LOAD OBJ FILE=..\Sounds\AAR525_S.uax Package=HZGAAR525_A
#exec LOAD OBJ FILE=..\StaticMeshes\AAR525_SM.usx Package=HZGAAR525_A
#exec LOAD OBJ FILE=..\Textures\AAR525_T.utx Package=HZGAAR525_A
defaultproperties
{
}
Code:
Build UT2004_Build_[2004-11-11_10.48]
OS: Windows 98 4.10 (Build: 67766446)
CPU: GenuineIntel PentiumPro-class processor @ 3508 MHz with 255MB RAM
Video: NVIDIA GeForce GTX 780 (3182)
General protection fault!
History: USkeletalMeshInstance::Render <- FDynamicActor::Render <- FDynamicActor::Render <- FActorSceneNode::Render <- UShadowBitmapMaterial::Get <- FD3D9RenderInterface::SetProjectorMaterial <- FD3D9RenderInterface::SetMaterial <- RenderStaticMesh <- FDynamicActor::Render <- RenderLevel <- KF-KameHouse.myLevel <- FLevelSceneNode::Render <- FPlayerSceneNode::Render <- UGameEngine::Draw <- UWindowsViewport::Repaint <- UWindowsClient::Tick <- ClientTick <- UGameEngine::Tick <- Level Kame House <- UpdateWorld <- MainLoop <- FMallocWindows::Free <- FMallocWindows::Realloc <- 726F6F6C 0 FArray <- FArray::Realloc <- 0*2 <- FMallocWindows::Free
Additional Information: The Notifys for each individual Anim in the .ukx file are not cleared and replaced after the package was compiled. Instead, only the sound and texture files that are referenced in the animations and staticmeshes are changed to refer to the combined package.
Does anyone have any idea what might be the cause of the crash? I have asked some of the best coders from the Killing Floor community and they are stumped. Perhaps Wormbo would have an idea?
Last edited: