Frictional Games Forum (read-only)
Script causing game to randomly crash (No FATAL ERROR) - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Script causing game to randomly crash (No FATAL ERROR) (/thread-7885.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


RE: Script causing game to randomly crash (No FATAL ERROR) - Your Computer - 09-11-2011

(09-11-2011, 04:10 PM)XxRoCkBaNdMaNxX Wrote: Just wondering, what did you change?

http://www.quickdiff.com/

(09-11-2011, 04:10 PM)XxRoCkBaNdMaNxX Wrote: Also getting a new crash, but this time it should be an easily fixable FATAL ERROR script crash...

I can't remember it exactly, but its something like this..

When you can post the complete error message and the complete code, then i can help again.


RE: Script causing game to randomly crash (No FATAL ERROR) - RawkBandMan - 09-19-2011

(09-11-2011, 04:40 PM)Your Computer Wrote:
(09-11-2011, 04:10 PM)XxRoCkBaNdMaNxX Wrote: Just wondering, what did you change?


http://www.quickdiff.com/

(09-11-2011, 04:10 PM)XxRoCkBaNdMaNxX Wrote: Also getting a new crash, but this time it should be an easily fixable FATAL ERROR script crash...

I can't remember it exactly, but its something like this..


When you can post the complete error message and the complete code, then i can help again.


Here is a picture of it

[Image: TS1eW.png]

hps file
Spoiler below!

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1, "Credits", true, 1);
}

void Credits(string &in asParent, string &in asChild, int alState)
{
StartCredits("", false, "Ending", "StartCredits", 4);
}




RE: Script causing game to randomly crash (No FATAL ERROR) - Your Computer - 09-19-2011

(09-19-2011, 10:47 PM)XxRoCkBaNdMaNxX Wrote: hps file

"ScriptArea_1 should be "ScriptArea_1"

These types of errors can be avoided with a text editor that supports syntax highlighting.


RE: Script causing game to randomly crash (No FATAL ERROR) - RawkBandMan - 09-20-2011

(09-19-2011, 11:03 PM)Your Computer Wrote:
(09-19-2011, 10:47 PM)XxRoCkBaNdMaNxX Wrote: hps file

"ScriptArea_1 should be "ScriptArea_1"

These types of errors can be avoided with a text editor that supports syntax highlighting.
I use notepad++, but my eyes aren't too great when it comes to this sort of thing.

Will try Big Grin




RE: Script causing game to randomly crash (No FATAL ERROR) - RawkBandMan - 09-20-2011

It works fine!!!!

Thank you!!!