Custom Era not appearing?
Moderator: Moderators
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
Yep, it crashes. The custom teams aren't the reason any more, though. The only Severity 3 errors are here.
Hidden/Spoiler:
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: Custom Era not appearing?
hm... Those are usually always there. Post the entire log now please.
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
Right.
Hidden/Spoiler:
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: Custom Era not appearing?
I would fix those errors that are "trying to replace x with y" (tat_bldg_tent1 with tat_bldg_tent12) and the region is outside of cp7 or spawn outside cp7. Im not fammilliar with those errors, but if its still crashing, thats probably it.
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: Custom Era not appearing?
I've never gotten those errors before (personally).Loopy53 wrote:hm... Those are usually always there. Post the entire log now please.
I have, however, gotten these errors many times and it will not crash the game (the replacement of props and what not).Loopy53 wrote:I would fix those errors that are "trying to replace x with y" (tat_bldg_tent1 with tat_bldg_tent12) and the region is outside of cp7 or spawn outside cp7. Im not fammilliar with those errors, but if its still crashing, thats probably it.
I would say these are the source of your crash:
Hidden/Spoiler:
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: Custom Era not appearing?
okay, thanks dread. Yes, please post an updated LUA. we arent trying to make you
but we want to help, lol.
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
Yes, here you go.Dreadnot9 wrote:
These both indicate an issue with your lua somewhere, could you post an updated one?
Hidden/Spoiler:
I don't have any second thoughts with posting the .lua files, how else am I going to get this custom era working?Loopy53 wrote:okay, thanks dread. Yes, please post an updated LUA. we arent trying to make youbut we want to help, lol.
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: Custom Era not appearing?
This may seem a little odd (considering you're clearly making a side mod), but try loading stock sides with your lua. It'd be best to narrow down the problem as much as possible.
Also, in your lua you said "Using +123's all-purpose side file this time", are you trying to use the sides included in the mod itself, or are you using the sides from the assets?
Also, in your lua you said "Using +123's all-purpose side file this time", are you trying to use the sides included in the mod itself, or are you using the sides from the assets?
- Locutus
- 1st Lieutenant

- Posts: 420
- Joined: Fri Jun 04, 2010 10:08 am
- Projects :: Stargate Battlefront Pegasus
- Location: Germany
- Contact:
Re: Custom Era not appearing?
Don't those belong in ScriptPostLoad?Nullen wrote: -- Republic Attacking (attacker is always #1)
REP = 1
CIS = 2
DES = 3
-- These variables do not change
ATT = 1
DEF = 2
I could imagine that AddAIGoal results in a nil value error because you didn't specify the teams before.
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
I'm using the bf2 side that was included when +123's source was released.Dreadnot9 wrote: Also, in your lua you said "Using +123's all-purpose side file this time", are you trying to use the sides included in the mod itself, or are you using the sides from the assets?
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: Custom Era not appearing?
Try it with this script (thanks to locutus for pointing it out):
Hidden/Spoiler:
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
I'm still getting the same two errors.
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values
stack traceback:
(none): in function `ifs_login_EnterInterface'
(none): in function <(none):598>
ifs_saveop_DoOps LoadProfile
ifs_saveop_DoOps LoadProfile
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values
stack traceback:
(none): in function `ifs_login_EnterInterface'
(none): in function <(none):598>
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: Custom Era not appearing?
Try this instead...
EDIT: It is worth noting, when does the map crash?
Hidden/Spoiler:
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
The map crashes almost immediately after loading, with the team menu appearing for half a second before crashing.
edit: Even with that script you posted, the two lua errors still persist.
edit: Even with that script you posted, the two lua errors still persist.
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: Custom Era not appearing?
Try cleaning and munging again. Get the map working first without custom era/sides. Then work back up to an era/side mod (or whatever your trying to do) So in other words start from step 1 again (not *completely* from scratch but just about
) and work back from there. Thats the only way I can think of getting this working right.
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: Custom Era not appearing?
Hmm, this is odd, usually errors in the lua, which this appears to be, the map crashes long before the team menu appears...Nullen wrote:The map crashes almost immediately after loading, with the team menu appearing for half a second before crashing.
edit: Even with that script you posted, the two lua errors still persist.
I might check this: go through all of the unit odf's for the sides (yes, everyone) and check to make sure the weaponsection labels are the correct number (so, no repeats, and no skips).
This causes a crash similar to yours (from the looks of it) and isn't recorded in the error log.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Custom Era not appearing?
The time it crashes makes me believe this is more focused on the sides than the lua. I haven't followed this topic all the way through however, this might have been addressed.
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
Code: Select all
soldier = { "rep_inf_ep3_jettrooper_rifleman",15, 30},
assault = { "rep_inf_ep3_rocketeer_chaingun",4,8},
engineer = { "rep_inf_ep3_jettrooper",4,8},
sniper = { "rep_inf_ep3_jettrooper_sniper",4,8},
officer = { "rep_inf_ep3_rocketeer_chaingun",4,8},
special = { "rep_inf_ep3_engineer",4,8},
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Custom Era not appearing?
Nope. Those numbers define the minimum and maximum A.I. count for each unit.
-
Nullen
- Private
- Posts: 41
- Joined: Sun Sep 18, 2011 9:20 pm
- Projects :: HL2 Insolence mod
- xbox live or psn: No gamertag set
Re: Custom Era not appearing?
What about the repeating unit classes?
soldier = { "rep_inf_ep3_jettrooper_rifleman",15, 30},
assault = { "rep_inf_ep3_rocketeer_chaingun",4,8},
engineer = { "rep_inf_ep3_jettrooper",4,8},
sniper = { "rep_inf_ep3_jettrooper_sniper",4,8},
officer = { "rep_inf_ep3_rocketeer_chaingun",4,8},
special = { "rep_inf_ep3_engineer",4,8},
soldier = { "rep_inf_ep3_jettrooper_rifleman",15, 30},
assault = { "rep_inf_ep3_rocketeer_chaingun",4,8},
engineer = { "rep_inf_ep3_jettrooper",4,8},
sniper = { "rep_inf_ep3_jettrooper_sniper",4,8},
officer = { "rep_inf_ep3_rocketeer_chaingun",4,8},
special = { "rep_inf_ep3_engineer",4,8},
