View Thread
Point Defense Systems » Point Defense Systems Remastered Project » PDS General Discussions
 Print Thread
CTD during offensive counter 7.3.1
mrWHO
I play this in main menu "scenario section" not in skirmish scenario mode.

I secured asteroid field, SY hyper in, but after few minutes game CTD without reason (I checked HW2.log , nothing).
The last ships that hypered in was LirrHra blc.17.

help


Sun Dec 03 20:03:59 2006
 Loaded Archive: 'Homeworld2.big'
 Loaded Archive: 'english.big'
 Uing ..profiles\ for profiles folder
 GAME -- Using player profile Karol
 Changing from a 32 bit colour depth in winNT (5.1 build 2600), Dodatek Service Pack 2
 Using ATI Technologies Inc.'s 2.0.6012 WinXP Release RADEON 9550 x86/MMX/3DNow!/SSE2 renderer (Suspected driver is atioglxx.dll 6.14.10.6012)
 Loaded Archive: 'englishSpeech.big'
 Loaded Archive: 'Music.big'
 SOUND -- created destination [ fdaudio ], handle [ 4 ] with [ 48 ] channels created
 SOUND -- created destination [ fda streamer ], handle [ 5 ] with [ 8 ] channels created
 Build name: The Dust Wars  - AutoBuild3569 - Ordered by smmatte
 Built by  : mrbuild
 Data path : E:\Homeworld2\data
 Resetting fp control word.
 CmdLine: -overrideBigFile
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 LUA 'data:soundscripts\speechlogic\CHATTER.LUA' -- parameter: bad argument #1 to `strupper' (string expected, got nil)
stack traceback:
   1:  function `strupper' [C]
   2:  function `CommandWayPointMoveGiven' at line 262 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter:
stack traceback:
   1:  function `ShipDemandAdd' [C]
   2:  function `DetermineScoutDemand' at line 747 [string ""]
   3:  function `CpuBuild_DefaultShipDemandRules' at line 610 [string ""]
   4:  function `CpuBuild_Process' at line 642 [string ""]
   5:  function `SpendMoney' at line 222 [string ""]
   6:  function `doai' at line 247 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 LUA 'data:soundscripts\speechlogic\CHATTER.LUA' -- parameter: bad argument #1 to `strupper' (string expected, got nil)
stack traceback:
   1:  function `strupper' [C]
   2:  function `CommandWayPointMoveGiven' at line 262 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 parameter: attempt to call global `HW2_PlayerHasShipWithBuildQueue' (a nil value)
stack traceback:
   1:  function `Rule_WatchDestroyEnemyForces' at line 201 [string ""]
 
 
Sun Tzu
1) thanks for the bug report!

2) in the m01.lua file replace the Rule_WatchDestroyEnemyForces() rule by the following (without line numbers):



1 function Rule_WatchDestroyEnemyForces()
2 if Player_HasShipWithBuildQueue(1) == 0 and Player_HasShipWithBuildQueue(2) == 0 and Player_HasShipWithBuildQueue(3) == 0 then
3 completeObjective("objDestroyEnemyForces")
4 Event_Start("evVictory")
5 Rule_Remove("Rule_WatchDestroyEnemyForces")
6 end
7 end


3) CTD might be related to a buggy autodock procedure. I'm currently fixing it. Was it turned on?

4) I'll post a double-checked m01.lua file "soon".
Edited by Sun Tzu on 03-12-2006 21:16
 
Mostly harmless
Interesting thing about this is that i have never actually played offensive counter past taking the asteriod field. Well, not in a while. Seemed that the hard workwas done once you got there. The rest was a formality, build to limits and hit the walls of enemy.
 
Ironwatsas
The same thing just happened to me but before the Shipyard hypered in. The Vaygr shipyard and all but one of the carriers had been destroyed and I was getting waves of HAC-IIs and Sarecens thrown at me. Any ideas?
 
Sun Tzu
Hard to tell without the logs. Please post them when you have a CTD.

EDIT: I attach a revised and tested mission 1 script. The autodock process has been rewritten and looks to be bug free. Please report any bugs and CTDswith logs. Thanks.
Sun Tzu attached the following file:
m01_fix.rar [8.1kB / 276 Downloads]

Edited by Sun Tzu on 05-12-2006 23:25
 
Sun Tzu
mrWho, did the CTD happen a few moments after you saved the game?
 
mrWHO
rather few moments (minutes) after load.

Anyway I got another CTD with "m01_fix.rar" but it appear few minutes later than would appear without that fix.

I'd put error log, but I'm at home (aka far away from my PC), I'll try to put it after new year.
 
Jump to Forum