Author Topic: Crash on latest 3.6.10  (Read 6407 times)

0 Members and 1 Guest are viewing this topic.

Offline Havner

  • 26
Crash on latest 3.6.10
Code: [Select]
Error: Invalid variable name.

In sexpression: ( when
   ( is-subsystem-destroyed-delay
      "EA Gibraltar"
      "engine01"
      0
   )
   ( modify-variable
      "EnginesScorched"
      ( + [] 1 )
   )
)
(Error appears to be: EnginesScorched)
File: missionparse.cpp
Line: 6077


Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

I know that only official builds are supported, but I'm not asking for any support. Merely pointing this out so maybe someone can fix that. Can't tell whos error is that (fs2_open or TBP) but it is there. I get this while loading rw09 mission using latest TBP and fs2_open build from today. Works fine on supported 3.6.9 build. I think it did work fine on build from 2-3 weeks ago. If someone could confirm it's definitely fault of fs2_open I'd mantis it.
Need a linux launcher? Check here.

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Crash on latest 3.6.10
as far as i understood the 3.6.10 builds work in multiplayer but not in single player .................



"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline Havner

  • 26
Re: Crash on latest 3.6.10
as far as i understood the 3.6.10 builds work in multiplayer but not in single player .................

???

You mean I can't play single player missions on latest svn code? Where did you read that?
Need a linux launcher? Check here.

 

Offline captain-custard

  • previously known as andicirk
  • 210
  • one sandwich short of a picnic
Re: Crash on latest 3.6.10
i think it was discussed somewhere or maybe just in game , what mission/mod and build were you using g and ill try to replicate it...........
"Duct tape is like the force. It has a light side, a dark side, and it holds the universe together."

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Crash on latest 3.6.10
Recent 3.6.10 build work in both single and multi but there are still bugs.  We are only supporting 3.6.10 in multi. 

As for your problem it seems you are missing an argument in that event.  It's not a 3.6.10 issue but a mission issue.  See where the modify-variable is.  The [] should be a sexp, number, or variable. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Havner

  • 26
Re: Crash on latest 3.6.10
It's not a 3.6.10 issue but a mission issue.  See where the modify-variable is.  The [] should be a sexp, number, or variable.

True, 3.6.10 reports this like it was mission error. But taking into consideration this mission is vanilla Raider Wars (rw09) mission that worked without any problems on previous builds it would point into some changes in 3.6.10. Either it's more sensitive to mission bugs (and this mission was always bugged, just it was never noticed) or this is a bug in 3.6.10.
Need a linux launcher? Check here.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Crash on latest 3.6.10
Yep. That's what I was thinking. Just let me run debug FRED and see what that reports for this mission.

EDIT : Yep. It's definitely a bug. I'll look into it then.
« Last Edit: January 10, 2009, 02:52:36 am by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: Crash on latest 3.6.10
What bug? 3.6.10 bug I hope, since RW worked previously.
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Crash on latest 3.6.10
It did work before and I can see nothing actually wrong with the mission it's complaining about so I'm going to test more heavily later.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Crash on latest 3.6.10
I can see a problem with it.

Code: [Select]
$Formula: ( when
   ( is-subsystem-destroyed-delay
      "EA Gibraltar"
      "engine01"
      0
   )
   ( modify-variable
      "EnginesScorched"
      ( + @EnginesScorched[0] 1 )
   )
)
+Name: gibraltar engine 1 destroyed
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when
   ( is-subsystem-destroyed-delay
      "EA Gibraltar"
      "engine02"
      0
   )
   ( modify-variable
      "EnginesScorched"
      ( + @EnginesScorched[0] 1 )
   )
)
+Name: gibraltar engine 2 destroyed
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when
   ( is-subsystem-destroyed-delay
      "EA Gibraltar"
      "engine03"
      0
   )
   ( modify-variable
      "EnginesScorched"
      ( + @EnginesScorched[0] 1 )
   )
)
+Name: gibraltar engine 3 destroyed
+Repeat Count: 1
+Interval: 1
+Team: 0

$Formula: ( when
   ( is-subsystem-destroyed-delay
      "EA Gibraltar"
      "engine04"
      0
   )
   ( modify-variable
      "EnginesScorched"
      ( + @EnginesScorched[0] 1 )
   )
)
+Name: gibraltar engine 4 destroyed
+Repeat Count: 1
+Interval: 1
+Team: 0

As you can see the first EnginesScorched in each event doesn't have the @ or the [ 0 ].  Possibly saved with a bugged version of FRED or notepadded?

Checked every other variable reference in the mission and it's just those ones. 
« Last Edit: January 10, 2009, 11:06:06 pm by FUBAR-BDHR »
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Havner

  • 26
Re: Crash on latest 3.6.10
So you're saying that after all it's mission bug? What would be the proper solution here since this mission worked before?
Need a linux launcher? Check here.

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: Crash on latest 3.6.10
As you can see the first EnginesScorched in each event doesn't have the @ or the [ 0 ].  Possibly saved with a bugged version of FRED or notepadded?

Buggy FRED. Fix one bug, it introduced another. Though I'm slightly confused as we beta tested this campaign and played it through before release.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: Crash on latest 3.6.10
maybe everybody blew up the Gib instead of disabling (I did or at least I think so)
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Crash on latest 3.6.10
Well there are a couple of possibilities.  The 3.6.9 in TBP final just ignores the bug when it shouldn't.  As you said nobody disables although I think I did when I first played but that was before 3.4b.  The 3.6.9 build were using for TBP is the one with the bug (unlikely since it hasn't popped up in any of my testing).  Notepad was used and there just wasn't an error check for that in 3.6.9. 

Isn't this the same mission that had the GOD satellite bug?  Maybe everyone looking for that missed this. 

Well I just loaded the mission in 3.6.9 FRED and while it doesn't give an error EnginesScorched shows up as data not a variable in those places.  Loading it in 3.6.10 gives an invalid variable name.  The variables are only used to send messages not to determine when the ship is disabled.  Going to play test it and see what happens.

Strange they actually function as variables in game even though FRED doesn't see them that way. 

Did a quick test and 3.6.9 FRED will let you type text in there but will error out unless the text matches a variable name.    So looks like a FRED warning that was buggy and fixed. 
« Last Edit: January 11, 2009, 02:46:32 pm by FUBAR-BDHR »
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: Crash on latest 3.6.10
well, the easiest way to fix this would be to release a patch (-mission) with an upcoming campaign or multiplayer addon.
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Crash on latest 3.6.10
Already checked with IP and he's OK with the patch idea since it doesn't change the core data.  See if Kara comes up with anything first. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: Crash on latest 3.6.10
and wait until we have a high-profile thing to release it with.
Maybe we discover some other error too, I am still wondering about the mission with the bomb in the shuttle. I never found and stoped the shuttle, but it doesn't hurt your progress. (Diff: medium). IP always said: "TURN UP THE DIFFICULTY" when I brought this up  :lol:
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: Crash on latest 3.6.10
I never found and stoped the shuttle, but it doesn't hurt your progress. (Diff: medium). IP always said: "TURN UP THE DIFFICULTY" when I brought this up  :lol:

The damage caused by the bomb is directly linked to the difficulty at which you play the mission. It's balanced so the shuttle will be badly damaged on medium but won't be destroyed. Anything higher, it'll be destroyed.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Crash on latest 3.6.10
I suspect you've hit upon the cause there. I've been doing a lot of work recently on the variable and argument code and so has Goober so it's likely that we fixed a parsing problem and this error appearing is the result. Since it obviously never would have worked before you might as well patch it.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Re: Crash on latest 3.6.10
Since it obviously never would have worked before you might as well patch it.

It did work. The campaign was beta tested. That said I understand SCP won't change it's code to accomodate a mission bug. On the other hand that doesn't mean I can't be pissed off that your buggy FRED introduced a stupid (and apparently undetectable) mission bug. :p
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.