Page 1 of 1

Re: Odd BFront2 Error log - please explain

Posted: Tue Apr 28, 2009 4:24 pm
by Superm9
I have some odd errors in my BFront2 error log that don't SEEM to be doing anything, but I would like to know what they mean:
Hidden/Spoiler:
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2523)
Timer "victoryTimer" not found

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2523)
Timer "delayTimer" not found

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "goto" not found

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2523)
Timer "dittyTimer" not found

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2264)
ShowPopup() has been depricated. Please remove all references to it in code

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "goto" not found
release self.dittyTimerResponse

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 1 with weight 0. This will no nothing, and guys might be standing around.

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 2 with weight 0. This will no nothing, and guys might be standing around.

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(3841)
Goal pointer NULL!

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(3841)
Goal pointer NULL!
release self.dittyTimerResponse

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "goto" not found

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(2264)
ShowPopup() has been depricated. Please remove all references to it in code

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(635)
Entity "goto" not found
release self.dittyTimerResponse

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 1 with weight 0. This will no nothing, and guys might be standing around.

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 2 with weight 0. This will no nothing, and guys might be standing around.

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 1 with weight 0. This will no nothing, and guys might be standing around.

Message Severity: 2
.\Source\AIGoalManager.cpp(234)
Trying to add an AI goal for team 2 with weight 0. This will no nothing, and guys might be standing around.
If anyone needs me to post my .LUA, just ask.

Thanks in advance!

EDIT
*Bumping*

Re: Odd BFront2 Error log - please explain

Posted: Tue Apr 28, 2009 4:48 pm
by da_great_ghost
Well you will Always have Message Severity: 2 errors. Message Severity: 2 almost never crash your map. As for what they mean it doesn't really matter.

Re: Odd BFront2 Error log - please explain

Posted: Tue Apr 28, 2009 5:04 pm
by Frisbeetarian
da_great_ghost wrote:As for what they mean it doesn't really matter.
Wrong. Severity 2 errors can be extremely helpful, you just have to know which to ignore (the admins haven't added all those to the topic at the top of this forum).

In this case, there are many things wrong with the Lua and those cause these errors. If you still need the answers, post your Lua.

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 1:51 pm
by [RDH]Zerted
Frisbeetarian wrote:...(the admins haven't added all those to the topic at the top of this forum)...
That topic isn't locked. Feel free to post info about ones that are missing.
  • * AI goals with no weight don't do anything. A weight is use to calculate the amount of bots doing that goal. If there is no weight, then no bots will follow that goal, so why have one?
  • * Your map doesn't have an entity named goto.
  • * ShowPopup() is no longer the recommended way to create a popup.
  • * The goal pointer variable is nil instead of pointing to an AI goal. I'd guess this is because of the zero weight issues.
  • * A script tried to find the timers dittyTimer, delayTimer, and victoryTimer using FindTimer() but the game couldn't find them.
A good map can remove all the level 2 messages.

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 2:44 pm
by YaNkFaN
off topic but can a good map get rid of the get vehicle errors the ones already in the game?

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 3:13 pm
by Frisbeetarian
I'm assuming you mean the InVehicle errors? You should be able to, it would just require you to make a new side for all the units that use the InVehicle modifier (I think all do, through the default, actually). You theoretically should be able to replace something like this:

Code: Select all

VOSound = "leia_hero_pc_com_hostile_inVehicle   		SpottedVO +InVehicle"
with this, I think

Code: Select all

VOSound = "leia_hero_pc_com_hostile_inVehicle   		SpottedVO"
This is in lieu of just taking out the line altogether, but if you need to override a default, you'll need to do this.

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 3:21 pm
by Superm9
Zerted - What is the recommended method of showing a popup then?

Thanks!

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 4:59 pm
by Teancum
I think the recommended function is ShowObjectiveTextPopup() -- however ShowPopup() still works. It's just that you'll get a log error. If you're fine with that don't change it.

Re: Odd BFront2 Error log - please explain

Posted: Wed Apr 29, 2009 5:06 pm
by Superm9
Ok, thanks! :thumbs: