Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Trivial Psychic on March 20, 2005, 07:36:19 pm

Title: Unknown Debug Error. Please Translate
Post by: Trivial Psychic on March 20, 2005, 07:36:19 pm
OK, while working on my own Campaign (I know... me and everybody else), I tried to clean up as much of the errors to prevent unexplained crashes and improve stability, and have been running it through debug versions of FRED to see what pops up.  I've cleaned up what I can understand, but the rest is beyond me.  I'm hoping someone can tell me what the problem is.

Error message 1:

Assert: !(weaponp->wi_flags & WIF_FLAK) && !(weaponp->wi_flags & WIF_SWARM)
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Weapon\Weapons.cpp
Line: 1042

Error message 2:

Assert: !(weaponp->wi_flags & WIF_CORKSCREW) && !(weaponp->wi_flags & WIF_FLAK)
File: E:\Languages\Visual Studio Projects\Visual C++\fs2_open\code\Weapon\Weapons.cpp
Line: 1045

(Call stacks removed)

Any help translating these?
Title: Unknown Debug Error. Please Translate
Post by: WMCoolmon on March 20, 2005, 07:39:58 pm
You can't use corkscrew with flak or swarm weapons.
Title: Unknown Debug Error. Please Translate
Post by: Taristin on March 20, 2005, 07:50:12 pm
corkscrew is not with swarm? What about the tornado, and hornet? :wtf:
Title: Unknown Debug Error. Please Translate
Post by: phreak on March 20, 2005, 07:54:04 pm
tornado is corkscrew (all the missiles rotate about a central axis) and hornet is swarm (missile is independant)
Title: Unknown Debug Error. Please Translate
Post by: Kazan on March 20, 2005, 09:08:42 pm
the important thing is he's trying to use CORKSCREW and SWARM with FLAK
Title: Unknown Debug Error. Please Translate
Post by: phreak on March 20, 2005, 09:10:28 pm
that actually may look rather awesome.
Title: Unknown Debug Error. Please Translate
Post by: WMCoolmon on March 20, 2005, 09:12:29 pm
We need aspect-seeking swarm flak. :p

Made of beams.
Title: Unknown Debug Error. Please Translate
Post by: phreak on March 20, 2005, 09:13:49 pm
Multiple homing beams that explode when near an enemy.

I'm on it


not
Title: Unknown Debug Error. Please Translate
Post by: Blitzerland on March 20, 2005, 09:14:43 pm
Shielded Flak that tracks you through subspace.

Alpha 1: "Ha, ha! Come and get me, flak!"

*flak bursts into subspace*

Alpha 1: "OMFG!"
Title: Unknown Debug Error. Please Translate
Post by: Kazan on March 20, 2005, 09:21:40 pm
haha
Title: Unknown Debug Error. Please Translate
Post by: Trivial Psychic on March 20, 2005, 10:28:54 pm
That did it!  Thanks people!  The odd thing was, I don't even have any flak weapons in my tables.  What I did have was a twin-fire heat-seeker with a corkscrew section.  I used swarm as well, so I guess that was a bit redundant.  I'll know for next time.  Perhaps this thread can still serve a purpose where people with debug messages that they cannot interpret, may be displayed for comment by the experts.