Page MenuHomeSchine - Phabricator

Starmade | remote turret control non functional
Resolved, needs quality check / confirm fix, HighPublic

Description

Turrets will aim and follow mouse pointer, but will not fire to the cursor. Seem to be locked into default AI tracking when the shell is fired. (Shell was wanting to hit same location as select fire mode/AI auto aim)

Beams appear to not function with manual turret control until they have been force-fired by AI modes

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.201.138
Category
Control Block System: Weapons
First occurrence (version)
0.201.126
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
GTX1060-6GB
User/Reporter/Contact
Username on Registry
Napther
Steps to reproduce
  1. Any ship or test chassis with power
  2. Create basic turret, attach cannon computer and module and Bobby AI
  3. Change AI mode to Fire on selected + Remote Control, and turn it on from the ship below and command it to shoot a target
  4. Take remote control of turret, then fire
  5. No matter the facing direction, AI will shoot towards the same area it was targeting with Fire on Select
  1. replace weapon with beam
  2. Attempt to remote fire beam will end in nothing occurring if AI has not previously been activated.It too will lock onto 1 place when fired, and ignore all other player input.
Tester information (Internal use only)

2 issues intertwined
Remotely firing newly loaded turrets does not fire them, they still track your mouse cursor though.
As soon as the turrets received a target to shoot at, with either 'selected target' or 'any' with pirates nearby, then you can fire the turrets remotely as well.
However, the projectiles will not go to your mouse cursor, but instead to the last position of the target it was set to before you took control with the rail turret axis.

  1. So if the turret has no target, remote firing won't fire the turret.
  2. If the turret had a target assigned in the past and you try to remote fire, it will fire but not at what you're looking at, but at the position the previous target was at.

I'm getting the following logs for the first situation.

[RAYTRACE_TRAVERSE][WARNING] traversal is invalid (NaN, or Infinite) ray.pos: (-90.00624, 65.363266, -117.93469), ray.dir: (NaN, NaN, NaN); callback class: class org.schema.game.common.data.physics.OuterSegmentIterator
RAYTRACE [WARNING] Trace > 10000:::  (NaN, NaN, NaN);; NaN/16384; (NaN, NaN, NaN); (NaN, NaN, NaN); 
[RAYTRACE_TRAVERSE][WARNING] traversal is invalid (NaN, or Infinite) ray.pos: (NaN, NaN, NaN), ray.dir: (NaN, NaN, NaN); callback class: class org.schema.game.common.data.physics.OuterSegmentIterator
RAYTRACE [WARNING] Trace > 10000:::  (NaN, NaN, NaN);; NaN/16384; (NaN, NaN, NaN); (NaN, NaN, NaN);
Serverconfig (server.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>
Clientconfig (settings.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>

Event Timeline

Napther created this task.Jul 10 2018, 2:57 PM
lancake moved this task from New / Unconfirmed to Confirmed on the Issue Navigation board.EditedAug 9 2018, 3:02 PM
lancake added a subscriber: lancake.

-validated- & -confirmed-

2 issues intertwined
Remotely firing newly loaded turrets does not fire them, they still track your mouse cursor though.
As soon as the turrets received a target to shoot at, with either 'selected target' or 'any' with pirates nearby, then you can fire the turrets remotely as well.
However, the projectiles will not go to your mouse cursor, but instead to the last position of the target it was set to before you took control with the rail turret axis.

  1. So if the turret has no target, remote firing won't fire the turret.
  2. If the turret had a target assigned in the past and you try to remote fire, it will fire but not at what you're looking at, but at the position the previous target was at.

I'm getting the following logs for the first situation.

[RAYTRACE_TRAVERSE][WARNING] traversal is invalid (NaN, or Infinite) ray.pos: (-90.00624, 65.363266, -117.93469), ray.dir: (NaN, NaN, NaN); callback class: class org.schema.game.common.data.physics.OuterSegmentIterator
RAYTRACE [WARNING] Trace > 10000:::  (NaN, NaN, NaN);; NaN/16384; (NaN, NaN, NaN); (NaN, NaN, NaN); 
[RAYTRACE_TRAVERSE][WARNING] traversal is invalid (NaN, or Infinite) ray.pos: (NaN, NaN, NaN), ray.dir: (NaN, NaN, NaN); callback class: class org.schema.game.common.data.physics.OuterSegmentIterator
RAYTRACE [WARNING] Trace > 10000:::  (NaN, NaN, NaN);; NaN/16384; (NaN, NaN, NaN); (NaN, NaN, NaN);
lancake changed the task status from Open to In Queue.Aug 9 2018, 3:02 PM
lancake claimed this task.
Restricted Application removed a project: Issue Navigation. · View Herald TranscriptAug 9 2018, 3:02 PM
lancake shifted this object from the S1 Public space to the S3 Starmade space.Aug 9 2018, 3:03 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake edited Tester information (Internal use only). (Show Details)
lancake changed Reproducible from uncertain to Yes.
lancake changed Last tested (version) from 0.201.126 to 0.201.138.
lancake set First occurrence (version) to 0.201.126.
lancake renamed this task from Manual Turret Control non functional. to remote turret control non functional.
lancake raised the priority of this task from Normal to High.
Restricted Application added projects: Game Development, CBS: Weapons. · View Herald TranscriptAug 9 2018, 3:03 PM
lancake edited Tester information (Internal use only). (Show Details)Aug 9 2018, 3:36 PM
schema added a commit: Restricted Diffusion Commit.Aug 10 2018, 10:49 AM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptAug 10 2018, 10:49 AM
Restricted Application added a subscriber: AndyP. · View Herald Transcript