Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Scooby_Doo on May 01, 2013, 03:55:50 am
-
I'm getting this error, only thing I understand is it's dealing with the hud and something about initialized positions :confused: No idea where the error is occuring in the table though.
Assert: x >= 0 && y >= 0
File: hud.cpp
Line: 403
ntdll.dll! NtWaitForSingleObject + 12 bytes
KERNELBASE.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! WinAssert + 194 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! HudGauge::initPosition + 71 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! load_gauge_damage + 1599 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! load_gauge + 305 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! parse_hud_gauges_tbl + 2422 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! hud_positions_init + 107 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! game_init + 1716 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! game_main + 519 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! WinMain + 330 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_7_0_RC1-DEBUG.exe! WinMainCRTStartup + 15 bytes
KERNEL32.DLL! BaseThreadInitThunk + 14 bytes
ntdll.dll! RtlInitializeExceptionChain + 133 bytes
ntdll.dll! RtlInitializeExceptionChain + 88 bytes
-
Can you post the debug log? Vaguely looks like a hud gauge (damage?) is trying to be drawn off screen.
-
Only thing I see offhand there is the $Ship is deprecated.
[attachment deleted by ninja]
-
Can you post the debug log? Vaguely looks like a hud gauge (damage?) is trying to be drawn off screen.
Hmmm damage... I do have the position set to (-5, 0) let me check that.
Yup that's it.. but it shouldn't be classified as a bug, thats about the only way I can get the damage display to show up correctly in the hud texture (the damaged values get clipped off).
-
Yea negative values aren't allowed there.
-
I know I can enlarge hud gauge sizes by altering the display size, but is it possible to shrink the size of the gauge? Putting in the opposite values for enlarging just cuts the gauge.