Okey dokey, I am working on a map that will be in WIP as soon as this thing is figured out and I can play test my map...
below is a list of things that went wrong in a Bfront2 log. What is happening? How do I fix it?
Message Severity: 2
.\Source\StringDB.cpp(4
ID=62901230: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs6"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=2274dbe6: trying to replace "myg1_bldg_small_spiral_ruin1" with "myg1_bldg_small_spiral_ruin11"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f2dd5776: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large6"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=aa77f095: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin21"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=25a3ab99: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster4"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=5faeb092: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster14"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=3949e87d: trying to replace "myg1_bldg_large_spiral" with "myg1_bldg_large_spiral2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=23a3a873: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster6"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=27a3aebf: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=639013c3: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs7"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=64901556: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs4"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=3649e3c4: trying to replace "myg1_bldg_large_spiral" with "myg1_bldg_large_spiral1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=74c6eca9: trying to replace "pol1_bldg_hall_hanger" with "pol1_bldg_hall_hanger4"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=66507887: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral4"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=a777ebdc: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin22"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=4688440c: trying to replace "myg1_bldg_small_spiral" with "myg1_bldg_small_spiral1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=5aaea8b3: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster13"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=64507561: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=fddd68c7: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large9"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f3dd5909: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large7"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=67507a1a: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral7"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=615070a8: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=fcdd6734: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large8"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=59aea720: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster12"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=76c6efcf: trying to replace "pol1_bldg_hall_hanger" with "pol1_bldg_hall_hanger2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=3849e6ea: trying to replace "myg1_bldg_large_spiral" with "myg1_bldg_large_spiral3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=67901a0f: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=26a3ad2c: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=6690187c: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=22a3a6e0: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster7"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=5a5065a3: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral8"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=69901d35: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f7dd5f55: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=68507bad: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral6"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f0dd5450: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large4"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=5baeaa46: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster10"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=635073ce: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=5caeabd9: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster11"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=60aeb225: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster15"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=a977ef02: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin20"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=655076f4: trying to replace "myg1_bldg_stump_spiral" with "myg1_bldg_stump_spiral5"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=75c6ee3c: trying to replace "pol1_bldg_hall_hanger" with "pol1_bldg_hall_hanger3"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f1dd55e3: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large5"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=02668848: trying to replace "myg1_bldg_coll_bridge_l" with "myg1_bldg_coll_bridge_l1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=31a3be7d: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster8"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=a877ed6f: trying to replace "myg1_bldg_small_spiral_ruin2" with "myg1_bldg_small_spiral_ruin23"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=659016e9: trying to replace "myg1_bldg_collector_ribs" with "myg1_bldg_collector_ribs5"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=24a3aa06: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster5"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=f6dd5dc2: trying to replace "myg1_bldg_central_rubble_large" with "myg1_bldg_central_rubble_large2"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=28a3b052: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster1"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=30a3bcea: trying to replace "myg1_prop_tbuster" with "myg1_prop_tbuster9"
Message Severity: 2
.\Source\StringDB.cpp(4
ID=77c6f162: trying to replace "pol1_bldg_hall_hanger" with "pol1_bldg_hall_hanger1"
i am confused... there is an 8 ) after wach of the ".cpp(4"s it came out as the smiley:
Do you have all the ODFs, MSHs, textures and animations in your world folder? I can remember having this error before, but I'm not sure how I solved it. If you have all the necessary files, clean and munge if it's not too much trouble.
Edit: Or listen to Hebes. I thought that they said message severity 3's, LoL. Message severity 2's won't (or at least shouldn't) crash your map.
Last edited by Rekubot on Fri Sep 29, 2006 4:36 pm, edited 1 time in total.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clone wars LUA:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--
-- load the gametype script
ScriptCB_DoFile("ObjectiveConquest")
ScriptCB_DoFile("setup_teams")
-- REP Attacking (attacker is always #1)
REP = 1;
CIS = 2;
-- These variables do not change
ATT = REP;
DEF = CIS;
function ScriptPostLoad()
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5"}
cp6 = CommandPost:New{name = "cp6"}
cp7 = CommandPost:New{name = "cp7"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)
conquest:AddCommandPost(cp6)
conquest:AddCommandPost(cp7)
conquest:Start()
EnableSPHeroRules()
end
---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()
ReadDataFile("ingame.lvl")
SetMaxFlyHeight(30)
SetMaxPlayerFlyHeight (30)
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
-- load the gametype script
ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")
-- Empire Attacking (attacker is always #1)
local ALL = 2
local IMP = 1
-- These variables do not change
local ATT = 1
local DEF = 2
function ScriptPostLoad()
--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5"}
cp6 = CommandPost:New{name = "cp6"}
cp7 = CommandPost:New{name = "cp7"}
--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}
--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)
conquest:AddCommandPost(cp6)
conquest:AddCommandPost(cp7)
conquest:Start()
EnableSPHeroRules()
end
---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------
function ScriptInit()
ReadDataFile("ingame.lvl")
SetMaxFlyHeight(40)
SetMaxPlayerFlyHeight(40)
SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo
-- Camera Stats
--Tat2 Mos Eisley
AddCameraShot(0.974338, -0.222180, 0.035172, 0.008020, -82.664650, 23.668301, 43.955681);
AddCameraShot(0.390197, -0.089729, -0.893040, -0.205362, 23.563562, 12.914885, -101.465561);
AddCameraShot(0.169759, 0.002225, -0.985398, 0.012916, 126.972809, 4.039628, -22.020613);
AddCameraShot(0.677453, -0.041535, 0.733016, 0.044942, 97.517807, 4.039628, 36.853477);
AddCameraShot(0.866029, -0.156506, 0.467299, 0.084449, 7.685640, 7.130688, -10.895234);
end~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sorry about the length, addme LUA, this might be it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end
--insert totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)
-- all done
newEntry = nil
n = nil
-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\MUR\\data\\_LVL_PC\\core.lvl")
thanks...
well, maybe instead of asking how do I fix it? I should ask if anyones come up with this before... anyone ever seen this before?
Im restarting it next weekend if noone can figure it out.
Is it auctually doing anything weird in game? Cause those errors are pretty common and can/ should be fixed by giving names to your objects. So basically name your stuff in ZE and that will get rid of thos errors.
I havent been able to play it to see if its doing something wierd... It crashes in CW before I can even choose my character, and in GCW I can play it for a total of 15 seconds (every time, I counted). The real problem is this:
Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\CKR\data\_LVL_PC\core.lvl
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
prev = texture iLastPage = 4
ifs_legal.Exit
I dont know what that means... and I dont knwo what CKR is, Ive never seen anything about it before. And my map is MUR... Very confusing.
Delete the bfmodtool2\modid_data\_lvl_pc folder. Delete your addon\Modid folder. Clean everything in visual munge. Munge everything. Then repost a bf2modtools logfile.
*clears throat* Well, I think Ill just start over... I will be able to make it a little better than the current one.
Heres the Bfront2 logfile:
Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open ..\..\addon\CKR\data\_LVL_PC\core.lvl
prev = none iLastPage = nil
prev = texture iLastPage = 1
prev = texture iLastPage = 2
prev = texture iLastPage = 3
ifs_legal.Exit
Message Severity: 2
.\Source\GameMovie.cpp(399)
Unable to find open movie segment shell_main
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadFileList
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
num, Selection = 1 table: 03EAEDD0
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 1
EraSelection.subst = g era_g
play movie HSV 200 , 300 510 x 400
Message Severity: 2
.\Source\GameMovie.cpp(399)
Unable to find open movie segment HSV0.000000ly
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 2
EraSelection.subst = c era_c
EraSelection.subst = g era_g
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 3
EraSelection.subst = c era_c
EraSelection.subst = g era_g
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 24
EraSelection.subst = g era_g
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 46
EraSelection.subst = c era_c
EraSelection.subst = g era_g
EraSelection.subst = c era_c
EraSelection.subst = g era_g
num, Selection = 1 table: 03EAEDD0
+++mission modes changed! ifs_mspc_MapList_layout.SelectedIdx = 41
EraSelection.subst = c era_c
EraSelection.subst = g era_g
play movie HSV 200 , 300 510 x 400
Message Severity: 2
.\Source\GameMovie.cpp(399)
Unable to find open movie segment HSV0.000000ly