Page MenuHomeSchine - Phabricator

Starmade | Rubber-banding when Admin-teleporting entities
Confirmed task for development, NormalPublic

Description

When teleporting any entity with an admin command, it appears the anti-lag kicks in to try and smooth it out when it really doesnt need to do that.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.199.181
Category
Engine
First occurrence (version)
0.199.172
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
GT530
Steps to reproduce
  1. Spawn any ship
  1. Teleport it away from you
  1. Teleport it back to you
  1. Notice it flies past where its supposed to go by some margin, and with decaying speed rubber band to come to rest in its desired location
Tester information (Internal use only)

When teleporting unmanned ships around, lag compensation will think it moved that distance and try to compensate for it.

If the entity is at 0 0 0, and you teleport it to 100 0 0.
It will:

  1. Teleport to 100 0 0
  2. appear moving for about 100 meters, the distance it teleported (so to 200 0 0)
  3. then slowly move back again from 200 0 0 to 100 0 0
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Napther created this task.Sep 3 2016, 2:54 PM
lancake added a subscriber: lancake.
lancake claimed this task.

-validated-

I think I also noticed it with sector changes but it definitely happens for teleports.

lancake shifted this object from the S1 Public space to the S3 Starmade space.Sep 4 2016, 1:23 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 changed Last tested (version) from 0.199.172 to 0.199.181.
lancake triaged this task as Normal priority.
lancake added a comment.EditedSep 4 2016, 1:27 PM

-confirmed-

When teleporting unmanned ships around, lag compensation will think it moved that distance and try to compensate for it.

If the entity is at 0 0 0, and you teleport it to 100 0 0.
It will:

  1. Teleport to 100 0 0
  2. appear moving for about 100 meters, the distance it teleported (so to 200 0 0)
  3. then slowly move back again from 200 0 0 to 100 0 0
lancake changed the task status from Open to In Queue (Game).
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptSep 4 2016, 1:27 PM
lancake edited Tester information (Internal use only). (Show Details)
AndyP changed the task status from In Queue (Game) to In Queue.Mar 10 2017, 5:16 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 5:16 PM
AndyP moved this task from Backlog / Unclassed to Commands on the Engine board.Mar 15 2017, 7:59 PM
AndyP edited projects, added Engine (Commands); removed Engine.