weirdest crash i have seen

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

weirdest crash i have seen

Post by destos »

yes yet again i am having issues.... but heres the story im making a custom side and im testing it on my test map... i edit the lua perfectly i edit the reqs and such everything i see is perfect. and when i went to see how my sides look i get this after my crash
Hidden/Spoiler:
Message Severity: 2
.\Source\EntitySoldier.cpp(10471)
Soldier cis_inf_caped_magnaguard has geometry collision
uf_updateClassIndex(): Added class: rep_inf_ep3_rifleman

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep3_rifleman" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep3_rocketeer

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep3_rocketeer" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep3_sniper

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep3_sniper" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep3_engineer

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep3_engineer" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep2_rifleman

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep2_rifleman" (check the side's .req file)
uf_updateClassIndex(): Added class: rep_inf_ep3_jettrooper

Message Severity: 2
.\Source\Team.cpp(625)
Team missing class "rep_inf_ep3_jettrooper" (check the side's .req file)
uf_updateClassIndex(): Added class: cis_inf_rifleman
uf_updateClassIndex(): Added class: cis_inf_rocketeer
uf_updateClassIndex(): Added class: cis_inf_sniper
uf_updateClassIndex(): Added class: cis_inf_engineer
uf_updateClassIndex(): Added class: cis_inf_officer
uf_updateClassIndex(): Added class: cis_inf_droideka
uf_updateClassIndex(): Added class: cis_hero_darthmaul
uf_updateClassIndex(): Added class: rep_hero_anakin

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(1379)
Hero class "rep_hero_anakin" not found for team 1 (check the side's .req file)

Message Severity: 2
.\Source\Team.cpp(658)
Team missing hero class "0x5c130786" (check the side's .req file)
and here is my lua
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\391.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep2_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep2_rifleman",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4}
},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")
...any ideas??? ive checked all the req files are correct.....
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: weirdest crash i have seen

Post by Teancum »

Did you make a new side setup under the _build folder for your 391 side?
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: weirdest crash i have seen

Post by [RDH]Zerted »

uf_updateClassIndex() is a function from the v1.3 patch in utility_function2.lua. It intercepts AddUnitClass() and SetHeroClass() calls inorder to track what unit classes the map is using. This allows the FakeConsole to only change the values on loaded unit classes (compared to trying to change values on every unit class the retail game has) and allows the commands to effect custom unit classes too. It is extremely unlikely that is the cause of the errors. If it was, everyone should be having the same problem and they aren't.

It looks like every unit from your 391.lvl errored. I'd guess that lvl was built wrong. Do a full, manual clean and recreate it. Also, post your entire debug log.
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: weirdest crash i have seen

Post by destos »

... wow now that i think of it tean lol i did forget to do that... and also Zerted, will do!

ok.... soo were making some progress(just a fyi to you guys i get the worst luck when it comes to modding so if the near impossible ever does happen its bound to come to me :P ) but now its saying i dont have this
Hidden/Spoiler:
Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_lightsaber_anakin" missing geometry "rep_weap_inf_lightsabre"

Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_inf_chaingun" missing geometry "rep_weap_inf_chaingun"

Message Severity: 3
.\Source\Weapon.cpp(2076)
Weapon "rep_weap_inf_chaingun" missing high res geometry "rep_1st_weap_inf_chaingun"

Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_inf_commando_pistol" missing geometry "rep_weap_inf_pistol"

Message Severity: 3
.\Source\Weapon.cpp(2076)
Weapon "rep_weap_inf_commando_pistol" missing high res geometry "rep_1st_weap_inf_pistol"

Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_award_pistol" missing geometry "rep_weap_inf_pistol"

Message Severity: 3
.\Source\Weapon.cpp(2076)
Weapon "rep_weap_award_pistol" missing high res geometry "rep_1st_weap_inf_pistol"

Message Severity: 3
.\Source\EntityGeometry.cpp(619)
Entity "rep_inf_ep2_rifleman" missing geometry "rep_inf_trooper"
which i have checked i have all of this stuff.... should i just manual clean again??? or does this mean something far greater than just missing items (almost all of the items its calling for are used for my new custom unit.... except for the lightsabre....)
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: weirdest crash i have seen

Post by Culvar »

is that stuff in sides/***/msh/pc? I think it needs to be there, and I think some people had errors with side names being just numbers.
Post Reply