Game crashes when activating any enemy - 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: Game crashes when activating any enemy (/thread-24017.html) |
Game crashes when activating any enemy - Damascus - 12-03-2013 This problem has been getting worse and worse for me. Whenever I set an enemy active in game (or rather, entering a Script Area that should set the enemy active), it crashes. Not the regular sort of crash you get when something is wrong with the script, but a full program crash. At first, it was only happening with my own custom enemies. Then a week later, it started happening with the suitors from Justine. Now, another two weeks later, it's occurring with every enemy in the game. I'm sure nothing's wrong with the script, but I'll post it just in case. PHP Code: AddEntityCollideCallback("Player", "BasementWeeper", "BasementWeeper", true, 0); I've also added the error log that is generated when the game crashes, but based on what I see when I open it, it probably isn't going to do any good. I really need help, but I don't really know what else to give you at this point. If any of you have ideas on what to do OR how I can give you more information about the crash, please let me know. RE: Game crashes when activating any enemy - Romulator - 12-03-2013 If possible, could you attach your hpl.log file? That will help much more than an error log, as it can help pinpoint errors within the game if that is where the error actually is. In case you don't know, you can find the hpl.log file at: C:\Users\<your_user>\Documents\Amnesia\Main\ Your code above looks correct; with that said, I don't know if there can be a space there between BasementWeeper and (string &in asParent... etc). RE: Game crashes when activating any enemy - Damascus - 12-03-2013 Alright, I'll attach the hpl.log to my main post. As far as I'm aware, the space should be fine, there's one in just about every script in my mod and it hasn't caused any problems for me.. EDIT: This seems to be the relevant part of the hpl.log: "ERROR: Track 'servant_grunt_A_ikHandle1' in 'servant_brute.msh' does not have a corresponding bone! Skeleton bone name mismatch?" No idea what it means or what to do about it. |