Jump to content

.dll problem


Go to solution Solved by ent,

Recommended Posts

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! 

Link to comment

Here are the errors

" Assertion failed!

Program: ...

File..\..\..\code\game\NPC_stats.cpp

Line: 497

 

Expression: keyFrame < animations[animNum].numFrames

 

For information on how your program can cause an assertion

failure, 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.h

Line: 426

 

Expression: idx>=0&&idx<size()

 

For information on how your program can cause an assertion

failure, 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 Jedi

Academy\GameData\jasp.exe

File: C:\Program Files (x86)\Microsoft Visual Studio

10.0\VC\include\vector

Line: 932

 

Expression:  vector subscript out of range

 

For information on how your program can cause an assertion

failure, 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 Jedi

Academy\GameData\jasp.exe

File: C:\Program Files (x86)\Microsoft Visual Studio

10.0\VC\include\vector

Line: 933

 

Expression:  "Standard C++ Libraries Out of Range" &&0

 

For information on how your program can cause an assertion

failure, see the Visual C++ documentation on asserts"

 

(Press Retry to debug the application - JIT must be enbled)"

Link to comment
  • Solution

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/e0610d49dd24880794b25c3c644df58a73e4a6e5

Your error comes from the engine, by the way: https://github.com/jedis/jediacademy/blob/e0610d49dd24880794b25c3c644df58a73e4a6e5/code/server/sv_savegame.cpp#L1875

RevanKnight likes this
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...