Frictional Games Forum (read-only)

Full Version: Event crashes game with debug options enabled
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So hi again guys. I've got a problem at hand:

Triggering a certain event with "show errors and warnings" enabled yields the crash.
I've got a simple lever firing a function scenario. The hpl.log under documents gives no information what so ever.


PS: Loading the level with F1 > Load Map is also a bit weird. I've got a StartPos called "IntroInit" and the player should start the game at this point as noted in the main_init.cfg. When i change the map to the specified map it tries to put me at "IntroInit" as it's giving me the error for it. Reloading didn't change anything. The game is loading the script file correctly as it is working without "show errors and warnings" enabled.
Try without the script, rename it or something. See what happens.
(05-21-2015, 10:22 PM)Daemian Wrote: [ -> ]Try without the script, rename it or something. See what happens.

Well, disabling the script is no valid option as i want the script to work. It's only crashing once the desired function triggers with the stuff enabled.
Doubkle check what it does...
Remove script by scriptuntil you find the crashing one..
TRY to find what is causing it and check the crashlog.
IF you cant find the issue, send the .hpl over and we check it out if we encounter the same problem.
(05-22-2015, 01:56 PM)RaideX Wrote: [ -> ]
(05-21-2015, 10:22 PM)Daemian Wrote: [ -> ]Try without the script, rename it or something. See what happens.

Well, disabling the script is no valid option as i want the script to work. It's only crashing once the desired function triggers with the stuff enabled.
It's not valid, is just to test if the script is the one causing your problem.
(05-22-2015, 07:24 PM)Daemian Wrote: [ -> ]
(05-22-2015, 01:56 PM)RaideX Wrote: [ -> ]
(05-21-2015, 10:22 PM)Daemian Wrote: [ -> ]Try without the script, rename it or something. See what happens.

Well, disabling the script is no valid option as i want the script to work. It's only crashing once the desired function triggers with the stuff enabled.
It's not valid, is just to test if the script is the one causing your problem.

Hi.
The thing is, I created the script. It works perfectly fine on my end. I get no errors. No nothing. (Except if I enable error messages in the debug menu)

But it seemed that on other people's ends it does not work.

The script is the problem. It's definitely not the map.
Alright, problem is fixed now.

For further reference:

The debug menu doesn't like a for-loop with i<=100 when it has to spit out ~100 errors.

Thanks to everybody trying to help Smile