Frictional Games Forum (read-only)

Full Version: Need help with crash problem!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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! ):
What kind of graphics card do you have?
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.
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.
(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?
FIXED: Materials.cfg was pointed wrong
(08-21-2012, 04:02 PM)BitGuy Wrote: [ -> ]FIXED: Materials.cfg was pointed wrong
Pls tag this as ''Solved''
(08-21-2012, 04:03 PM)SmokeMelvin Wrote: [ -> ]Pls tag this as ''Solved''

Eh, i get the feeling something will go wrong again.
(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.