Frictional Games Forum (read-only)
Scripting fatal errors? - 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: Scripting fatal errors? (/thread-18772.html)

Pages: 1 2 3 4 5 6 7 8 9


RE: Scripting fatal errors? - The chaser - 10-28-2012

(10-28-2012, 11:35 AM)Rapsis Wrote: Here's the error report:

Amnesia.exe caused an EXEPTION_ACCESS_VIOLATION in module Amnesia.exe at 0023:00540900

Stack trace:
0023:00540900 Amnesia.exe
0023:005EF0B Amnesia.exe
0023:7C34218F MSVCR71.dll, free()+0062 byte(s)
0023:7787E38C ntdll.dll RtllnitUnicodeString()+0356 byte(s)
0023:7787E0F2 ntdll.dll RtlAllocateHeap()+0172 byte(s)

It only started doing it after I added that script. When I tried it a couple of days ago, it did the same, but I fixed it somehow, I think it was magic.
Go here and make a thread with all the possible information. It's the CS's technical support.

Here we point out script and mapping issues, not this. I'm sorry but I'm not familiaritzed with black boxes Sad


RE: Scripting fatal errors? - Your Computer - 10-28-2012

The blackbox is likely caused by an error in the LANG file or similar.

(10-28-2012, 11:42 AM)The chaser Wrote: Go here and make a thread with all the possible information. It's the CS's technical support.

That forum is not for users working on custom stories. It does not belong there, nor should users be making multiple topics on the same issue.


RE: Scripting fatal errors? - Rapsis - 10-28-2012

(10-28-2012, 12:08 PM)Your Computer Wrote: The blackbox is likely caused by an error in the LANG file or similar.

(10-28-2012, 11:42 AM)The chaser Wrote: Go here and make a thread with all the possible information. It's the CS's technical support.

That forum is not for users working on custom stories. It does not belong there, nor should users be making multiple topics on the same issue.
No, it's not the .lang file. I tried removing it completely; Still the same error.

Nevermind, magic fixed it again.


RE: Scripting fatal errors? - The chaser - 10-28-2012

(10-28-2012, 12:12 PM)Rapsis Wrote:
(10-28-2012, 12:08 PM)Your Computer Wrote: The blackbox is likely caused by an error in the LANG file or similar.

(10-28-2012, 11:42 AM)The chaser Wrote: Go here and make a thread with all the possible information. It's the CS's technical support.

That forum is not for users working on custom stories. It does not belong there, nor should users be making multiple topics on the same issue.
No, it's not the .lang file. I tried removing it completely; Still the same error.

Nevermind, magic fixed it again.
Magic? Weird thing.


RE: Scripting fatal errors? - Rapsis - 10-28-2012

Alright, new thing:
I spawn in Spawnzone1, then I go through a leveldoor, then I come back and I spawn at Spawnzone1 again. Instead, how do I spawn near the level door?


RE: Scripting fatal errors? - The chaser - 10-28-2012

(10-28-2012, 05:14 PM)Rapsis Wrote: Alright, new thing:
I spawn in Spawnzone1, then I go through a leveldoor, then I come back and I spawn at Spawnzone1 again. Instead, how do I spawn near the level door?
Make a new player start and call it Spawnzone2. Now click the level door (In the other level!) and put the name "Spawnzone2" in StartPos, in the entity tab.


RE: Scripting fatal errors? - Rapsis - 10-28-2012

Thanks a lot!


RE: Scripting fatal errors? - Rapsis - 10-29-2012

What's the best way of making a brute/grunt disappear? I thought they disappear after they run out of path nodes, but they don't...


RE: Scripting fatal errors? - Rapsis - 11-08-2012

Huzzah! I'm back!
Alright, is there anyway to make an object move from position A to position B, and it must be visible?


RE: Scripting fatal errors? - The chaser - 11-08-2012

(11-08-2012, 01:34 PM)Rapsis Wrote: Huzzah! I'm back!
Alright, is there anyway to make an object move from position A to position B, and it must be visible?
What kind of object are we talking about?

If it's a shelf (or the same, a MoveObject) SetMoveObjectState("Entity", 1.0f);
If it's another thing, tell us so we can help Wink