Author Topic: Argh.  (Read 2008 times)

0 Members and 1 Guest are viewing this topic.

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
I seem to have a spontantously corrupted mission.  I've looked it over in notepad and can't figure out what the parser is on about...perhaps somebody here can.

Error: C:\FS2_Open\data\missions\Come As You Are.fs2(1632):
Error: Required token = [+Name:], found [$MessageNew:  XSTR("", -1)] .

File:C:\projects\fs2_open\code\Parse\PARSELO.CPP
Line: 502

Call stack:
------------------------------------------------------------------
    fred2_open_r_03202005.exe 004f1af4()
    fred2_open_r_03202005.exe 0049934e()
    fred2_open_r_03202005.exe 004994f6()
    fred2_open_r_03202005.exe 0049a60d()
    fred2_open_r_03202005.exe 0049b299()
    fred2_open_r_03202005.exe 0041e0ef()
    fred2_open_r_03202005.exe 0041da9f()
    MFC42.DLL 73ddf57b()
    MFC42.DLL 73de13cf()
------------------------------------------------------------------

The mission in question.
"Load sabot. Target Zaku, direct front!"

A Feddie Story

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Found it.  The required token is in your second Primary mission goal.

#Goals      ;! 2 total

$Type: Primary
+Name: Patrol
$MessageNew:  XSTR("Patrol", -1)
$end_multi_text
$Formula: ( and
   ( not
      ( is-destroyed-delay
         0
         "Athens Station"
      )
   )
   ( and
      ( has-departed-delay 0 "Hedjet" )
      ( has-departed-delay 0 "Ibu" )
   )
)

$Type: Primary
+Name: XXXXX
$MessageNew:  XSTR("", -1)
$end_multi_text
$Formula: ( and
   ( not
      ( is-destroyed-delay 0 "Syracuse" )
   )
   ( and
      ( has-departed-delay 0 "Ibu" )
      ( has-departed-delay 0 "Mecross" )
   )
)

I put the +Name: XXXXX where your data is missing from in the above quote.

Later!
The Trivial Psychic Strikes Again!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Nice work TP. I though I was going to have to wake a up a little more and do it myself :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
I just had to look through areas where it needed "+Name:" instead of "$Name:" like most were.  Then, among those, look for those that would be followed by "$MessageNew:", which narrowed it down to "goals".  After that, it was easy.
The Trivial Psychic Strikes Again!

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Yeah. Although they seem a little cryptic to most I find that kind of error one of the best.

If you know what you're doing you can find the cause of your problem  pretty quickly. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]