PDA

View Full Version : UMMM game is freezing on loading a certain interceptor


Ultraxwing
2nd Sep 09, 3:46 PM
Well this is the first ship for the 4th Reich.. and well just to be blatent... it just locks up and quits out without a trace here is the log...


Wed Sep 02 18:44:39 2009
Loaded Archive: 'Homeworld2.big'
UTIL -- filepath failure, path doesn't exists 'C:\Program Files\Sierra\Homeworld2\data\locale\english'
Loaded Archive: 'english.big'
Uing ..profiles\ for profiles folder
GAME -- Using player profile Ultraxwing
Changing from a 16 bit colour depth in winNT (5.1 build 2600), Service Pack 3
Using NVIDIA Corporation's 2.0.3 GeForce FX 5200/AGP/3DNOW! renderer (Suspected driver is nvoglnt.dll 6.14.10.9371)
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 : C:\Program Files\Sierra\Homeworld2\data
Could not initialize all fragment programs. Please use the '-fragment_program 0' command line parameter
Resetting fp control word.
CmdLine: -overrideBigFile -luatrace
Starting Level: data:LevelData\Multiplayer\Deathmatch\2P_HOSTILITIES_END.LEVEL
luaplayer 72: Player_RestrictResearchOption: unable to restrict (WeakVgrHeavyMissiles)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 63 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (HyperspaceRecoveryTimeUpgradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 64 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (HyperspaceTransitionTimeUpgradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 65 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrCarrierHealthRegenDowngrade)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 66 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (ShipyardSpeedDowngradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 67 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (SuperCapHealthUpgradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 68 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrFrigateHealthUpgradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 69 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrFrigateHealthRegenDowngradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 70 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (CorvetteHealthUpgradeSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 71 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (ExtraStrongVgrHeavyMissilesSPGAME)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 72 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrCaptureHack)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 74 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrReduceCaptureHack)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 75 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrRadiationImmunityHack)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 76 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
luaplayer 72: Player_RestrictResearchOption: unable to restrict (VaygrCarrierHealthUpgrade)
parameter: 0
stack traceback:
1: function `RestrictOptions' at line 77 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
2: function `MPRestrict' at line 98 [file `X:\Homeworld2\Data\Scripts\SCAR\Restrict.lua']
3: function `OnInit' at line 89 [file `...orld2\Data\LevelData\Multiplayer\Deathmatch.lua']
build available
strike craft build available GER_INTERCEPTOR FIGHTER

ajlsunrise
2nd Sep 09, 4:02 PM
looks like you've got some major problems with your "data:scripts\scar\restrict.lua" file... Let's see it.

Ultraxwing
2nd Sep 09, 4:06 PM
okay...

-- LuaDC version 1.0.1
-- 8/24/2008 11:59:59 AM
-- LuaDC by Age2uN
-- on error send source file (compiled lua) and this outputfile to Age2uN@gmx.net
--
function RestrictOptions(playerid)
local playerRace = Player_GetRace(playerid)
if playerRace==Race_Hiigaran then
Player_RestrictBuildOption(playerid, "Hgn_MS_Production_CorvetteMover")
Player_RestrictBuildOption(playerid, "Kpr_Mover")
Player_RestrictBuildOption(playerid, "Hgn_Shipyard_SPG")
Player_RestrictResearchOption(playerid, "AssaultCorvetteEliteWeaponUpgrade")
Player_RestrictResearchOption(playerid, "AttackBomberEliteWeaponUpgrade")
Player_RestrictResearchOption(playerid, "SensorsDowngrade1")
Player_RestrictResearchOption(playerid, "SensorsDowngrade2")
Player_RestrictResearchOption(playerid, "SensorsDowngrade3")
Player_RestrictResearchOption(playerid, "SensorsBackToNormal1")
Player_RestrictResearchOption(playerid, "SensorsBackToNormal2")
Player_RestrictResearchOption(playerid, "SensorsBackToNormal3")
Player_RestrictResearchOption(playerid, "MoverHealthDowngrade")
Player_RestrictResearchOption(playerid, "MoverHealthUpgrade")
Player_RestrictResearchOption(playerid, "FrigateHealthUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "DamageMoverTech")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_LOW")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_MED")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_HIGH")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_1")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_2")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_3")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_4")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_5")
Player_RestrictResearchOption(playerid, "KeeperWeaponUpgradeSPGAME_M10_LVL_6")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_1")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_2")
Player_RestrictResearchOption(playerid, "KeeperHealthUpgradeSPGAME_M10_LVL_3")
Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_LOW")
Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_MED")
Player_RestrictResearchOption(playerid, "AttackDroidHealthUpgradeSPGAME_HIGH")
Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_LOW")
Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_MED")
Player_RestrictResearchOption(playerid, "AttackDroidWeaponUpgradeSPGAME_HIGH")
Player_RestrictResearchOption(playerid, "RadiationDefenseField")
end

if playerRace==Race_Vaygr then
Player_RestrictBuildOption(playerid, "Vgr_PlanetKillerMissile")
Player_RestrictResearchOption(playerid, "WeakVgrHeavyMissiles")
Player_RestrictResearchOption(playerid, "HyperspaceRecoveryTimeUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "HyperspaceTransitionTimeUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "VaygrCarrierHealthRegenDowngrade")
Player_RestrictResearchOption(playerid, "ShipyardSpeedDowngradeSPGAME")
Player_RestrictResearchOption(playerid, "SuperCapHealthUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "VaygrFrigateHealthUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "VaygrFrigateHealthRegenDowngradeSPGAME")
Player_RestrictResearchOption(playerid, "CorvetteHealthUpgradeSPGAME")
Player_RestrictResearchOption(playerid, "ExtraStrongVgrHeavyMissilesSPGAME")
Player_RestrictResearchOption(playerid, "VaygrCaptureHack")
Player_RestrictResearchOption(playerid, "VaygrReduceCaptureHack")
Player_RestrictResearchOption(playerid, "VaygrRadiationImmunityHack")
Player_RestrictResearchOption(playerid, "VaygrCarrierHealthUpgrade")
end

end

function MPRestrict()
local i = 0
local numplayers = Universe_PlayerCount()
while i<numplayers do
RestrictOptions(i)
i = (i + 1)
end

end


i haven't even changed it...

ajlsunrise
2nd Sep 09, 4:17 PM
okay have you modified any of the "data:scripts\building and research\" files (ie. hiigaran, vaygr)?

edit:
and so you know... It's not a good idea to have all the extracted data IN your data folder... it is okay to have it in the "data\data" folder or "data\extracted data".

Ultraxwing
2nd Sep 09, 4:20 PM
i know that, i just put that there just incase i ever have a campaign, but i won't, and i got rid of vaygr so i can put in 3 more races, so the vaygr don't exist... i still don't know why this would even effect for an interceptor... but it might be doing the trick... so whats the problem dock?

ajlsunrise
2nd Sep 09, 4:22 PM
so race.lua looks somewhat like this:
NotPlayable = 0
Playable = 1

races =
{
{"Invalid", "Invalid", "", "", 0, NotPlayable,"" },
{"Hiigaran", "$1100", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable,"HGN_"},
{"SOMERACE_1", "$1101", "hyperspace_gate_vgr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable,"VGR_"},
{"SOMERACE_2", "$1102", "hyperspace_gate_kpr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 12.5, NotPlayable,"KPR_"},
{"SOMERACE_3", "$1103", "hyperspace_gate_bentusi", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 18.5, NotPlayable,"BEN_"},
}

edit: do you have IRC?

Ultraxwing
2nd Sep 09, 4:34 PM
Well it looks like this...


-- LuaDC version 1.0.1
-- 8/24/2008 11:57:58 AM
-- LuaDC by Age2uN
-- on error send source file (compiled lua) and this outputfile to Age2uN@gmx.net
--
NotPlayable = 0
Playable = 1
races =
{
{ "Invalid", "Invalid", "", "", 0, NotPlayable, "", },
{ "Hiigaran", "$1100", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable, "HGN_", },
{ "Germany", "4th Reich", "hyperspace_gate_vgr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable, "GER_", },
{ "Japan", "Japan", "hyperspace_gate_kpr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 12.5, Playable, "JAP_", },
{ "China", "Chinese", "hyperspace_gate_bentusi", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 18.5, Playable, "CHI_", },
{ "Random", "$3226", "", "", 0, NotPlayable, "", },
{ "Soviet", "Soviets", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "Sov_", },
{ "American", "America", "hyperspace_gate_kpr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "AMR_", },
}



i changed everything about it, so it seems Vaygr doesn't exist anymore neither does Kpr,or bentus, others are manually added, i only keep hiigara cause i need AI testing you know.

ajlsunrise
2nd Sep 09, 4:41 PM
that would be the problem, then. in Restrict.lua the global Variable Race_Vaygr is set to 2 which when RestrictMP is called, the player you selected as Germans (2) are calling for the Vaygr stuff... My suggestion (for now):
races = {
{ "Invalid", "Invalid", "", "", 0, NotPlayable, "" },
{ "Hiigaran", "$1100", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable, "HGN_"},
{ "Vaygr", "$1101", "hyperspace_gate_vgr", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 9.5, Playable, "VGR_"},
{ "Germany", "4th Reich", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "GER_"},
{ "Japan", "Japan", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "JAP_"},
{ "China", "Chinese", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "CHI_", },
{ "Soviet", "Soviets", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "SOV_", },
{ "American", "America", "hyperspace_gate", "etg/special/SPECIAL_ABILITIES_HYPERSPACE_IN", 10, Playable, "AMR_", },
}
i.e. Get rid of Random and put the vaygr back in, at least until you're ready to do some more extensive lua programming.

Ultraxwing
2nd Sep 09, 4:43 PM
Okay, then will that fix my interceptor problems?

Well it fixed alot of bugs... but... well it just decided to still crash, it fixed alot of issues with game, but my game still crashes, i think its the .HOD or ship, i'll work on that, besides the issue at hand ,thnx for the help.

ajlsunrise
2nd Sep 09, 4:46 PM
try it first, and if it doesn't then(ninja'd) post another hw2.log for me to look at.

Ultraxwing
2nd Sep 09, 4:54 PM
Now it doesn't even get past the game... what does this mean?

Wed Sep 02 19:53:33 2009
Loaded Archive: 'Homeworld2.big'
UTIL -- filepath failure, path doesn't exists 'C:\Program Files\Sierra\Homeworld2\data\locale\english'
Loaded Archive: 'english.big'
Uing ..profiles\ for profiles folder
GAME -- Using player profile Ultraxwing
Changing from a 16 bit colour depth in winNT (5.1 build 2600), Service Pack 3
Using NVIDIA Corporation's 2.0.3 GeForce FX 5200/AGP/3DNOW! renderer (Suspected driver is nvoglnt.dll 6.14.10.9371)
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 : C:\Program Files\Sierra\Homeworld2\data
Could not initialize all fragment programs. Please use the '-fragment_program 0' command line parameter
Resetting fp control word.
CmdLine: -overrideBigFile -luatrace
Starting Level: data:LevelData\Multiplayer\Deathmatch\2P_HOSTILITIES_END.LEVEL
LUA 'data:SubSystem\FRIGATE_MAIN\FRIGATE_MAIN.events' -- parameter: <name> or `[' expected;
last token read: `{' at line 51 in string ""
Cannot overwrite function Hgn_Interceptor_Custom0_OnSet
Cannot overwrite function Hgn_Interceptor_Custom0_OnEnd

ajlsunrise
2nd Sep 09, 5:01 PM
look here: LUA 'data:SubSystem\FRIGATE_MAIN\FRIGATE_MAIN.events' -- parameter: <name> or `[' expected;
last token read: `{' at line 51 in string ""
not sure what the Hgn_Interceptor_Custom0_On$$$ is... Did you try to create an animation?

Ultraxwing
2nd Sep 09, 5:14 PM
No i got rid of the .MADSTATES.. and got rid of all trace within the .EVENTS file so, i dunno, i'll just remake it, nothing is wrong with that subsystem... it works all the same.