Page 1 of 1
BFront2 error log message
Posted: Sat Jan 24, 2015 2:11 am
by superimperial11
I get this code after I deleted a vehicle spawn point. It was not spawning a vehicle so I deleted it and now I get that as a error in my error log. I do not know what it means and I need help please.
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 2:48 am
by AnthonyBF2
You can try re-adding the vehicle spawn and filling in all the data you had before like control zone, control regions, tank names etc.
If you don't want to use it, put KillObject("vehicle spawn name") in your map code after ScriptPostLoad.
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 6:12 am
by superimperial11
It also crashed before I deleted it.
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 1:48 pm
by hunpeter12
You've had the same type of error some time ago with your previous map. (I still don't know what it is) I guess a manual clean doesn't work? Is there a munge error? Also, if it crashed before, how can you tell it was the vehicle spawn? (It was a little confusing that you said it din't spawn the vehicle - that means you could play the game but the vehicle wasn't there.)
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 4:39 pm
by superimperial11
I did? I don't remember that. No munge error either. I can tell because the Mod Tools error log told me so, so then I deleted the spawn point and now I get the error as shown above. And for some reason it just randomly decided to crash me out.
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 5:09 pm
by Teancum
superimperial11 wrote:Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to index a nil value
stack traceback:
(none): in function `IFObj_fnSetVis'
(none): in function <(none):677>
Basically the LUA file is trying to find and index (store) something, and it can't. Was the error there before you removed the spawn? Is the spawn referenced in your LUA at all?
Re: BFront2 error log message
Posted: Sat Jan 24, 2015 6:25 pm
by superimperial11
No. Before it told me the vehicle was crashing it, so I removed it and now I get that instead.
Edit: This is weird. I have no error of anything higher than a 2, yet it still crashes. I have decided to stop modding for Bf2 right now. No worries.