The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game crashes when activating any enemy
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Game crashes when activating any enemy

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: (Select All)
    AddEntityCollideCallback("Player""BasementWeeper""BasementWeeper"true0);

void BasementWeeper (string &in asParentstring &in asChildint alState)
{
    
SetEntityActive("servant_brute_1"true);
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_156"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_163"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_171"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_177"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_181"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_186"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_192"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_239"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_248"0.001f"");
    
AddEnemyPatrolNode("servant_brute_1""PathNodeArea_285"0.001f"");


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.


Attached Files
.log   errorlog-03-12-2013(05.42.32).log (Size: 73.39 KB / Downloads: 83)
.log   hpl.log (Size: 25.45 KB / Downloads: 70)

(This post was last modified: 12-03-2013, 05:06 PM by Damascus.)
12-03-2013, 06:49 AM
Find


Messages In This Thread
Game crashes when activating any enemy - by Damascus - 12-03-2013, 06:49 AM



Users browsing this thread: 2 Guest(s)