Page 1 of 1
cp related crash?
Posted: Thu Sep 18, 2008 5:42 pm
by RED51
I'm making my third map for MPBF, and I've come across this sev 3 error:
Code: Select all
Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'
What ever that is, it must be crashing my map. Worse, I haven't even touched the lua yet, so I have no idea whats causing this sev 3. Anyone here know how to fix this?
Re: cp related crash?
Posted: Thu Sep 18, 2008 6:27 pm
by Fluffy_the_ic
You may have done something to one of the CPs, by that I mean accidentally deleted the spawn region, accidentally deleted the actual CP, etc. and you still have it in your LUA, which, (not sure on this one) should cause a crash.
Re: cp related crash?
Posted: Thu Sep 18, 2008 6:56 pm
by RED51
I'll go see if I changed anything to the cps, but theres only one cp, and all I really want to do is go and take a look around the map before I start putting in more cps and start to make plans.
OffTopic:

you have to go see this at kotor files!! I was just looking at all of the file's game's potds archive, and I found this:
http://knightsoftheoldrepublic.filefron ... otd/106414 through the pic it self may not be funny, but the cap is! Mav, you have a good sense of humor, nice job!
NOTE TO STAFF: sorry if I broke a rule with the offtopic thing. If this is a problem, then I remove the offtopic section.
Re: cp related crash?
Posted: Fri Sep 19, 2008 10:46 am
by [RDH]Zerted
Missin' th' spawn region won't cause that error. If ye deleted a CP from th' map (which ye had to if ye only have one CP), then ye must also remove th' deleted CP's conquest lines from th' lua. Open up ye lua and take a look at it. fer each CP ye removed, thar be a pair lines in th' lua ye also have to remove.
Re: cp related crash?
Posted: Fri Sep 19, 2008 3:39 pm
by Fluffy_the_ic
[RDH]Zerted wrote:Missin' th' spawn region won't cause that error. If ye deleted a CP from th' map (which ye had to if ye only have one CP), then ye must also remove th' deleted CP's conquest lines from th' lua. Open up ye lua and take a look at it. fer each CP ye removed, thar be a pair lines in th' lua ye also have to remove.
LOLzorz, talkin' like a pirate be fun, arrgh! An' 'at mak's mo' sense 'an 'at ah said.
Re: cp related crash?
Posted: Fri Sep 19, 2008 5:11 pm
by [RDH]Zerted
[RDH]Zerted wrote:Missin' th' spawn region won't cause that error. If ye deleted a CP from th' map (which ye had to if ye only have one CP), then ye must also remove th' deleted CP's conquest lines from th' lua. Open up ye lua and take a look at it. fer each CP ye removed, thar be a pair lines in th' lua ye also have to remove.
Missing the spawn region won't cause that error. If you deleted a CP from the map (which you had to if you only have one CP), then you must also remove the deleted CP's conquest lines from the lua. Open up your lua and take a look at it. For each CP you removed, there will be two lines in the lua you also have to remove.
Re: cp related crash?
Posted: Fri Sep 19, 2008 5:15 pm
by Fluffy_the_ic
Fluffy_the_ic wrote:[RDH]Zerted wrote:Missin' th' spawn region won't cause that error. If ye deleted a CP from th' map (which ye had to if ye only have one CP), then ye must also remove th' deleted CP's conquest lines from th' lua. Open up ye lua and take a look at it. fer each CP ye removed, thar be a pair lines in th' lua ye also have to remove.
LOLzorz, talkin' like a pirate be fun, arrgh! An' 'at mak's mo' sense 'an 'at ah said.
LOLzorz, talking like a pirate is fun. And it make more sens than what I said.
Srry, zerted. Wasn't clear on what I meant. I meant What you said on the topic makes more sense than what I said about it.