View Issue Details

IDProjectCategoryView StatusLast Update
0001867FSSCPFREDpublic2009-01-24 22:41
ReporterFUBAR-BDHR Assigned Tokarajorma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.9 
Fixed in Version3.6.10 
Summary0001867: String-equals doesn't work with <argument>
DescriptionBasically that's it. When-argument with a when string-equals comparing <argument> to a string doesn't work. If I store <argument> to a variable and use that in the comparison it works.
Additional Information3.6.10 r5032 and last nights (5034 I think)

Mission is a TBP mission. Yes it's that same mission again. Anyway events Explosions1 and Explosions2 are where it happens.
TagsNo tags attached.

Activities

2009-01-09 02:40

 

FUBAR_M04f.fs2 (147,023 bytes)

Goober5000

2009-01-20 00:53

administrator   ~0010547

If TBP still has those debug warnings, I'm not about to click through all of them to test this out. However, I have a hunch. Try opening the mission in Notepad and removing the quotation marks from around <argument>.

FUBAR-BDHR

2009-01-20 03:33

developer   ~0010558

Well removing the "" from those 2 <argument> statements didn't cause a crash they still didn't work.

I do see this in the log file both in the original and with the "" removed. Not something I usually see.

ASSERTION: "!(Sexp_replacement_arguments.empty())" at sexp.cpp:20082

Goober5000

2009-01-20 03:49

administrator   ~0010561

Can you reproduce this on a non-TBP mission?

2009-01-20 04:34

 

1867.fs2 (25,866 bytes)

FUBAR-BDHR

2009-01-20 04:37

developer   ~0010565

I stripped out all the TBP stuff. You'll have a lot of Ulysses now but it is now FS2 compatible. If the outpost or the platform Ulysses don't self destruct after the set of explosions the comparison didn't work.

karajorma

2009-01-20 07:48

administrator   ~0010581

Last edited: 2009-01-20 07:56

Hang on a sec. You see the assertions in the log file but it doesn't actually stop with one?

Anyway, I'll look at this tonight. Especially since that particular problem is one of my making.

karajorma

2009-01-23 22:15

administrator   ~0010594

Fixored (I think). Test build available from here.

http://www.freespacefaq.com/Misc-Downloads/Builds/String-Equals-Fix.7z

FUBAR-BDHR

2009-01-24 00:40

developer   ~0010596

Looks like it worked.

Issue History

Date Modified Username Field Change
2009-01-09 02:40 FUBAR-BDHR New Issue
2009-01-09 02:40 FUBAR-BDHR File Added: FUBAR_M04f.fs2
2009-01-09 08:26 karajorma Status new => assigned
2009-01-09 08:26 karajorma Assigned To => karajorma
2009-01-20 00:53 Goober5000 Note Added: 0010547
2009-01-20 03:33 FUBAR-BDHR Note Added: 0010558
2009-01-20 03:49 Goober5000 Note Added: 0010561
2009-01-20 04:34 FUBAR-BDHR File Added: 1867.fs2
2009-01-20 04:37 FUBAR-BDHR Note Added: 0010565
2009-01-20 07:48 karajorma Note Added: 0010581
2009-01-20 07:56 karajorma Note Edited: 0010581
2009-01-23 22:15 karajorma Note Added: 0010594
2009-01-24 00:40 FUBAR-BDHR Note Added: 0010596
2009-01-24 22:41 karajorma Status assigned => resolved
2009-01-24 22:41 karajorma Fixed in Version => 3.6.10
2009-01-24 22:41 karajorma Resolution open => fixed