Frictional Games Forum (read-only)
Need help with crash problem! - 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: Need help with crash problem! (/thread-17850.html)



Need help with crash problem! - BitGuy - 08-19-2012

Everytime i click "Start new Game" on the main menu of my Full Conversion mod to enter the first map, i get a very weird error







EXCEPTION_ACCESS_VIOLATION in module ntdll.dll at 001B:7C910BF3















saying something about MSVCR71.dll too







This is my recsource.cfg










































































































saying in the hpl log:

-------- Loading map 'test.map' ---------

Cache Loading: 69 ms

Entities: 31 ms

Compilation: 0 ms

Total: 102 ms

Meshes created: 1

Bodies created: 1

-------- Loading complete ---------



But i still get this error, I dont think im doing anything wrong, is there anything about MSVCR71.dll pheraps?

Please give me suggestions on how i could fix this! ):


RE: Need help with crash problem! - Melvin - 08-20-2012

What kind of graphics card do you have?


RE: Need help with crash problem! - TheGreatCthulhu - 08-20-2012

Did this happen before too, were you able to start the game, or is now the first time it crashes?
Did you made some edits to the maps script recently? Does the map crash if the script file is empty (test it, but make a backup first)? If so, try loading the map with an empty script (or a working version of the script), then bring up the debug menu (F1); in Notepad++ (or whatever you're using to edit code) paste in the current version of the script, and click "Recompile script & lang" or "Quick Reload" in Amnesia. Does it show any errors?

P.S. I bet it's related to a string parameter in a method. IMO, AngelScript string type implementation in HPL2 is a little buggy.


RE: Need help with crash problem! - Your Computer - 08-20-2012

When the blackbox error refers to std:Confusedtring, it is normally an error in one of the LANG files or a string manipulation function used improperly within one of your scripts. The game normally has no problem informing the user that a specific CFG file failed to load.


RE: Need help with crash problem! - BitGuy - 08-20-2012

(08-20-2012, 01:23 PM)TheGreatCthulhu Wrote: Did this happen before too, were you able to start the game, or is now the first time it crashes?

Did you made some edits to the maps script recently? Does the map crash if the script file is empty (test it, but make a backup first)? If so, try loading the map with an empty script (or a working version of the script), then bring up the debug menu (F1); in Notepad++ (or whatever you're using to edit code) paste in the current version of the script, and click "Recompile script & lang" or "Quick Reload" in Amnesia. Does it show any errors?



P.S. I bet it's related to a string parameter in a method. IMO, AngelScript string type implementation in HPL2 is a little buggy.




Okay, so i managed to get through the loading screen by adding a .sh file in the main FC folder. But now the game crashes when i see the actual map in-game, it instant crashes before i start to move around. Help! Tongue

(08-20-2012, 02:57 PM)Your Computer Wrote: When the blackbox error refers to std:Confusedtring, it is normally an error in one of the LANG files or a string manipulation function used improperly within one of your scripts. The game normally has no problem informing the user that a specific CFG file failed to load.



Okay, so i managed to get through the loading screen by adding a .sh file in the main FC folder. But now the game crashes when i see the actual map in-game, it instant crashes before i start to move around. Help!

also find this
<LANGUAGE>
<RESOURCES>
<Directory Path="fonts/eng" />
<Directory Path="lang/eng" />
</RESOURCES>
at the top of the english.lang file, do i need to specify my path to the file im using there in the directory path?


RE: Need help with crash problem! - BitGuy - 08-21-2012

FIXED: Materials.cfg was pointed wrong


RE: Need help with crash problem! - Melvin - 08-21-2012

(08-21-2012, 04:02 PM)BitGuy Wrote: FIXED: Materials.cfg was pointed wrong
Pls tag this as ''Solved''


RE: Need help with crash problem! - Your Computer - 08-21-2012

(08-21-2012, 04:03 PM)SmokeMelvin Wrote: Pls tag this as ''Solved''

Eh, i get the feeling something will go wrong again.


RE: Need help with crash problem! - Robby - 08-21-2012

(08-21-2012, 08:18 PM)Your Computer Wrote:
(08-21-2012, 04:03 PM)SmokeMelvin Wrote: Pls tag this as ''Solved''

Eh, i get the feeling something will go wrong again.
Be optimistic.