View Issue Details

IDProjectCategoryView StatusLast Update
0001468FSSCP---------public2008-01-19 05:55
ReporterTolwyn Assigned ToGoober5000  
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Fixed in Version3.6.10 
Summary0001468: targeting function (T) not working properly in some missions
Descriptionthe targeting function (T) is broken. I can't cycle through friendly targets, the the targeting screen is blank. All I could do is to select a target with (Z). Then I can cycle right to a certain point and then same thing happens again. I've been unable to trace the problem to anything saga specific yet. It happens only in missions 13, 27 and 11. Xt builds work, so it probably an issue in the
2007-08-15 stable branch build. I believe Starman reported problems with the Prologue as well (when Kaz started adding autopilot stuff, although it is probably not related)
TagsNo tags attached.

Activities

Goober5000

2007-09-04 02:47

administrator   ~0008478

Please provide the steps to reproduce this.

KeldorKatarn

2007-09-04 04:15

reporter   ~0008480

Reproducing this is simple, just try targetting via T using one of the mentioned builds with one of the mentioned missions... after browsing through so many targets the function will suddenly stop working.

Making a FS-mission to reproduce this might not be possible. We don't know what causes it and it doesn't even happen with all Saga missions. Maybe it is a ship class specific problem, we don't know.

Tolwyn

2007-09-05 20:09

reporter   ~0008499

I found out what is causing this

set-radar-max-range

I remembered, that the behaviour of this sexp was changed a few weeks ago. Removing the sexp from the mission did the trick.

KeldorKatarn

2007-09-05 20:23

reporter   ~0008500

If there are ships in the mission which are targetable but out of radar range, T will freeze on them instead of skipping them. The 'fix' for the out of radar range bug must have cause THIS bug.

Goober5000

2007-09-05 21:11

administrator   ~0008501

Yeah, T should skip untargetable ships. I'll take a look.

Tolwyn

2007-09-18 11:53

reporter   ~0008533

I'm going to bring this up one more time :)

I believe now, that the problem is not related to ships being out of range, but to the jump node model. For instance: in the 2nd mission of the Hermes campaign targeting function worked only after I removed the jump node model. It was not related to the sexp, which I disabled beforehand.

Shade

2007-09-18 20:02

developer   ~0008536

Whew, you had me worried there for a moment :) I did some pretty thorough testing on that SEXP before going ahead with it and it most definitely should not ever let you target anything that's outside of the radar range, neither with T, Y or other targeting keys.

Also, the change to the SEXP did not actually change any underlying mechanics from the old version of it, it simply applied those same mechanics to all radar ranges instead of just infinite. So it really shouldn't be able to cause anything like this even if I messed up somewhere.

Goober5000

2007-09-18 20:33

administrator   ~0008537

It sounds like what's happening is the ship targeting is working properly, but the jump node targeting isn't. So we just have to make sure the ship checks are applied to jump nodes.

ARSPR

2007-11-07 21:26

reporter   ~0008622

Last edited: 2007-11-07 21:49

Hey, I've just suffered this issue for the very first time and after some testing, I can confirm that the problem happens when T tries to target a jump node which is outside the radar-set-max-range setting.

Tolwyn

2008-01-04 13:43

reporter   ~0008775

actually... I have run into the problem with the targeting function at least once in a mission, where there was just a ship (starbase) outside the radar range!

Goober5000

2008-01-19 05:55

administrator   ~0008826

Fixed.

Issue History

Date Modified Username Field Change
2007-08-22 11:51 Tolwyn New Issue
2007-08-25 23:13 taylor Category OpenGL => ---------
2007-09-04 02:47 Goober5000 Note Added: 0008478
2007-09-04 04:15 KeldorKatarn Note Added: 0008480
2007-09-05 20:09 Tolwyn Note Added: 0008499
2007-09-05 20:23 KeldorKatarn Note Added: 0008500
2007-09-05 21:11 Goober5000 Note Added: 0008501
2007-09-05 21:11 Goober5000 Assigned To => Goober5000
2007-09-05 21:11 Goober5000 Status new => assigned
2007-09-18 11:53 Tolwyn Note Added: 0008533
2007-09-18 20:02 Shade Note Added: 0008536
2007-09-18 20:33 Goober5000 Note Added: 0008537
2007-11-07 21:26 ARSPR Note Added: 0008622
2007-11-07 21:49 ARSPR Note Edited: 0008622
2008-01-04 13:43 Tolwyn Note Added: 0008775
2008-01-19 05:55 Goober5000 Note Added: 0008826
2008-01-19 05:55 Goober5000 Status assigned => resolved
2008-01-19 05:55 Goober5000 Resolution open => fixed
2008-01-19 05:55 Goober5000 Fixed in Version => 3.6.10