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) |
RE: extra_english no longer working, once again!!! - Obliviator27 - 08-24-2011 void SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction); Calls a function when the player interacts with a certain entity. Callback syntax: void MyFunc(string &in asEntity) asName - internal name asCallback - function to call abRemoveOnInteraction - determines whether the callback should be removed when the player interacts with the entity RE: extra_english no longer working, once again!!! - RawkBandMan - 08-24-2011 I'm getting a blackbox error now whenever I click my custom story in the Custom Stories list O_O Amnesia.exe caused an EXCEPTION_ACCESS_VIOLATION in module MSVCR71.dll at 001B:7C3417FB, strlen()+0038 byte(s) Please Help!!! RE: extra_english no longer working, once again!!! - RawkBandMan - 08-25-2011 Herpa Derp, here's my hpl.log Spoiler below!
RE: extra_english no longer working, once again!!! - JenniferOrange - 08-25-2011 So.. your log says there's something wrong with the following files: The Villiage's custom_story_settings.cfg Escape Hell's extra_english.lang AStoryOfDeath's extra_english.lang Just one little mess up ruins EVERYTHING, you really have to hawk-eye it and read it over very carefully. I once missed an end } and everything stopped working. >_> RE: extra_english no longer working, once again!!! - RawkBandMan - 08-25-2011 (08-25-2011, 02:13 AM)JenniferOrange Wrote: So.. your log says there's something wrong with the following files: Turns out I had this problem before, and I fixed it by fixing a problem in my extra_english.lang. Can't really see anything tho, because I'm super blind. extra_english.lang Spoiler below!
RE: extra_english no longer working, once again!!! - JenniferOrange - 08-25-2011 You know I always put my journal entries or notes in a different place, there's a folder called English.lang somewhere in Amnesia's redist folder. Sorry I can't remember the exact directory.. After my hawk-eye I don't see anything wrong. When you play the map, what exactly does your error say? I need to know what line is ruining everything. RE: extra_english no longer working, once again!!! - RawkBandMan - 08-25-2011 (08-25-2011, 02:21 AM)JenniferOrange Wrote: You know I always put my journal entries or notes in a different place, there's a folder called English.lang somewhere in Amnesia's redist folder. Sorry I can't remember the exact directory.. Thing is, I can't actually get into the map. I click the name of my custom in the Custom Stories list, and I get the BlackBox error. RE: extra_english no longer working, once again!!! - JenniferOrange - 08-25-2011 Hmm. Curse those BlackBox errors.. I'll keep looking at it. I need to see all of these files: -The Villiage's custom_story_settings.cfg -Escape Hell's extra_english.lang -AStoryOfDeath's extra_english.lang Please post them all for me and I'll take a look at them. RE: extra_english no longer working, once again!!! - RawkBandMan - 08-25-2011 Okay Here ya go! Escape Hell Spoiler below!
The Village custom_story_settings.cfg It don't exist! All there is in The Village folder is custom_stories folder, entities, and extra_english.lang I must've accidently put that in my custom_stories by accident when I wasen't supposed to... AStoryOfDeath Spoiler below!
RE: extra_english no longer working, once again!!! - JenniferOrange - 08-25-2011 The Villiage NEEDS to have a custom_story_settings.cfg!!! That's one of the problems. If you don't have it, it won't run. And I'm confused as to why there's a custom_stories folder in The Villiage? If The Villiage is a custom story, when you open it you should see: A folder named Maps The custom_story_settings.cfg When you open the Maps folder, you should see: The Villiage's map (mapname.map) The .hps |