Odd BFront2 Error log - please explain

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
Superm9
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Thu Aug 23, 2007 8:41 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Odd BFront2 Error log - please explain

Post 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*
User avatar
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Re: Odd BFront2 Error log - please explain

Post 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.
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Odd BFront2 Error log - please explain

Post 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.
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: Odd BFront2 Error log - please explain

Post 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.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Odd BFront2 Error log - please explain

Post by YaNkFaN »

off topic but can a good map get rid of the get vehicle errors the ones already in the game?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Odd BFront2 Error log - please explain

Post 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.
User avatar
Superm9
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Thu Aug 23, 2007 8:41 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Odd BFront2 Error log - please explain

Post by Superm9 »

Zerted - What is the recommended method of showing a popup then?

Thanks!
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: Odd BFront2 Error log - please explain

Post 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.
User avatar
Superm9
Second Lance Corporal
Second Lance Corporal
Posts: 104
Joined: Thu Aug 23, 2007 8:41 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Odd BFront2 Error log - please explain

Post by Superm9 »

Ok, thanks! :thumbs:
Post Reply