RevanKnight Posted June 24, 2014 Posted June 24, 2014 I have been trying to make a Single Player force power mod, so I have been editing SP Game Library. And when I build it, it shows no errors, but when I put the jagamex86.dll file in to the GameData file and load the game it gives me a bunch of errors and crashes. Please help!
eezstreet Posted June 24, 2014 Posted June 24, 2014 What sort of errors? Be specific.Also, try creating a new game as opposed to loading. If you've modified anything which says "!!! LOADSAVE AFFECTING STRUCTURE !!!" at the top, then savegames will not load correctly.
RevanKnight Posted June 24, 2014 Author Posted June 24, 2014 Here are the errors" Assertion failed!Program: ...File..\..\..\code\game\NPC_stats.cppLine: 497 Expression: keyFrame < animations[animNum].numFrames For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts (Press Retry to debug the application - JIT must be enbled) " Assertion failed! Program: ...Filec:\openjk-master\code\qcommon\../.../ghoul2_shared.hLine: 426 Expression: idx>=0&&idx<size() For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts (Press Retry to debug the application - JIT must be enbled)" " Debug Assertion failed! Program: ...ucasArts\Star Wars Jedi Knight JediAcademy\GameData\jasp.exeFile: C:\Program Files (x86)\Microsoft Visual Studio10.0\VC\include\vectorLine: 932 Expression: vector subscript out of range For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts (Press Retry to debug the application - JIT must be enbled)" " Debug Assertion failed! Program: ...ucasArts\Star Wars Jedi Knight JediAcademy\GameData\jasp.exeFile: C:\Program Files (x86)\Microsoft Visual Studio10.0\VC\include\vectorLine: 933 Expression: "Standard C++ Libraries Out of Range" &&0 For information on how your program can cause an assertionfailure, see the Visual C++ documentation on asserts" (Press Retry to debug the application - JIT must be enbled)"
eezstreet Posted June 24, 2014 Posted June 24, 2014 Hi, these are common problems in OpenJK that need to be resolved. For the moment, try compiling in Release and those should not appear. They can also be safely ignored.
RevanKnight Posted June 24, 2014 Author Posted June 24, 2014 Well, it got rid of the error messages but it still crashes...
RevanKnight Posted June 24, 2014 Author Posted June 24, 2014 When the game is loading even when I start a new game.
RevanKnight Posted June 27, 2014 Author Posted June 27, 2014 Would any of this have to do with the fact that I don't have the update patch for JKJA?
RevanKnight Posted June 27, 2014 Author Posted June 27, 2014 I am now getting this error when I try to load a saved game: "Error: Loaded chunk (LVLC) has different length than requested"
Solution ent Posted June 28, 2014 Solution Posted June 28, 2014 If you are trying a patched DLL with not patched engine (EXE) then it is the problem. Either build and put patched EXE next to your DLL and don't forget to get official assets that come with the official game patch 1.01. Or build not patched DLL and not patched EXE.Here is source for 1.00 (not patched): https://github.com/jedis/jediacademy/tree/e0610d49dd24880794b25c3c644df58a73e4a6e5Your error comes from the engine, by the way: https://github.com/jedis/jediacademy/blob/e0610d49dd24880794b25c3c644df58a73e4a6e5/code/server/sv_savegame.cpp#L1875 RevanKnight likes this
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now