View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001867 | FSSCP | FRED | public | 2009-01-09 02:40 | 2009-01-24 22:41 |
Reporter | FUBAR-BDHR | Assigned To | karajorma | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.6.9 | ||||
Fixed in Version | 3.6.10 | ||||
Summary | 0001867: String-equals doesn't work with <argument> | ||||
Description | Basically 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 Information | 3.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. | ||||
Tags | No tags attached. | ||||
2009-01-09 02:40
|
|
|
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>. |
|
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 |
|
Can you reproduce this on a non-TBP mission? |
2009-01-20 04:34
|
|
|
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. |
|
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. |
|
Fixored (I think). Test build available from here. http://www.freespacefaq.com/Misc-Downloads/Builds/String-Equals-Fix.7z |
|
Looks like it worked. |
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 |