1.07 sysFindObject with "R" criteria

Bug reports for the different beta versions of transcendence.
Post Reply
giantcabbage
Militia Lieutenant
Militia Lieutenant
Posts: 104
Joined: Thu Apr 07, 2011 9:05 pm

The "R:nn;" option to search for objects more than nn light-seconds away from a space object doesn't seem to work in 1.07 if nn is greater than 0 e.g.

Code: Select all

(sysFindObject gPlayerShip "R:1;")
returns an empty list.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Thanks! That's a pretty bad regression. [Happened when I was adding the I:nn option.]

I've fixed it, but the bug will screw up some of the Commonwealth Fleet missions. I may release a 1.07a (particularly if there are other regressions).
giantcabbage
Militia Lieutenant
Militia Lieutenant
Posts: 104
Joined: Thu Apr 07, 2011 9:05 pm

Possibly part of the same regression, but the orders criteria "O:abc;" doesn't seem to work either
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

giantcabbage wrote:Possibly part of the same regression, but the orders criteria "O:abc;" doesn't seem to work either
I believe this will only fail if inside a station's <OnCreate> could you confirm that? For example, orders criteria should work from the console. If so, then I believe I know what's going on.
giantcabbage
Militia Lieutenant
Militia Lieutenant
Posts: 104
Joined: Thu Apr 07, 2011 9:05 pm

Yes, calling (sysFindObject gSource "s O:...;") within <OnCreate> doesn't work but (sysFindObject someOtherStation "s O:...;") or console commands do work.
Post Reply