Hard Light Productions Forums
		General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: fightermedic on September 13, 2011, 03:15:36 pm
		
			
			- 
				hi there, hope you folks can help me with my problem
 while playing a certain mission in the yet ureleased newest version of the warzone campain, my game keeps crashing every time a certain event occures in that mission (enemy ships arrive)
 running with the debug build i got this log
 
 Assert: r1 > 0.0f
 File: lighting.cpp
 Line: 298
 
 ntdll.dll! ZwWaitForSingleObject + 21 bytes
 kernel32.dll! WaitForSingleObjectEx + 67 bytes
 kernel32.dll! WaitForSingleObject + 18 bytes
 fs2_open_3_6_12d_INF.exe! SCP_DumpStack + 354 bytes
 fs2_open_3_6_12d_INF.exe! WinAssert + 208 bytes
 fs2_open_3_6_12d_INF.exe! light_add_point + 70 bytes
 fs2_open_3_6_12d_INF.exe! obj_move_all_post + 1390 bytes
 fs2_open_3_6_12d_INF.exe! obj_move_all + 355 bytes
 fs2_open_3_6_12d_INF.exe! game_simulation_frame + 1059 bytes
 fs2_open_3_6_12d_INF.exe! game_frame + 491 bytes
 fs2_open_3_6_12d_INF.exe! game_do_frame + 237 bytes
 fs2_open_3_6_12d_INF.exe! game_do_state + 379 bytes
 fs2_open_3_6_12d_INF.exe! gameseq_process_events + 237 bytes
 fs2_open_3_6_12d_INF.exe! game_main + 782 bytes
 fs2_open_3_6_12d_INF.exe! WinMain + 330 bytes
 fs2_open_3_6_12d_INF.exe! __tmainCRTStartup + 358 bytes
 fs2_open_3_6_12d_INF.exe! WinMainCRTStartup + 15 bytes
 kernel32.dll! BaseThreadInitThunk + 18 bytes
 ntdll.dll! RtlInitializeExceptionChain + 99 bytes
 ntdll.dll! RtlInitializeExceptionChain + 54 bytes
 now i'm not really sure if that has something to do with that certain mission as such (but i suppose so, never had this problem before) or wether something with the whole game is amiss
 anybody has any clue what that log is supposed to mean? after all i can't even find a file named "lighting.cpp" within the freespace folder
 
 :confused: :mad:
 
 
 
- 
				after all i can't even find a file named "lighting.cpp" within the freespace folder
 
 That would be because it is one of the files that contains the code from which your fs2_open_3_6_12d_INF.exe was compiled.
 
 Could you post the actual log? That is, a file called "fs2_open.log" from your \freespace2\data\ directory.
- 
				What is happening here is that the code is trying to add a light with a zero or negative radius.
 
 This should never, ever happen.
 
 One thing to check would be if this happens with recent nightly builds.
 
 EDIT: Okay, I put some safeguards into the code so that that assert should not be triggered again. Please test a nightly build revision 7719 or higher.
- 
				strange error indeed  :banghead:
 
 i will surely test it
 edit: it worked  :nod:
 thanks very much mr E
 i'm impressed by the speed of the response  :yes: