OpenParsec / openparsec

GNU General Public License v2.0
52 stars 8 forks source link

Client/Server issue with teleporting #34

Closed CrazySpence closed 10 years ago

CrazySpence commented 10 years ago

The speed which the server simulates teleport speed is slower than the client teleporting interprets it, this causes some issues if the teleportee fires or moves after they believe they have teleported

The speed needs to be matched to either the client speed or server speed to resolve this

tp.create pos ( 1500 1500 1000 ) dir ( 0 0 1 ) expos ( 0 2000 6000 ) exdir ( 1 1 1 ) is long enough to see this, about a 1 to 1.5 second delay on a watching client vs the teleporting client

The server afterwards catches up the movement to the right position so the issue is brief

CrazySpence commented 10 years ago

Nope, not fixed. same as before, forgot i wrote an issue for this

CrazySpence commented 10 years ago

If you fire lasers while teleporting if the collision worked server side (which it does now) your lasers fire from the correct location on the other side of the TP. There is some kind of client handling that is making them behave in this manner where the ship appears to fly over to the exit to a second client

CrazySpence commented 10 years ago

The issue isn't to do with teleporters at this point I am going to close this and open more relevant and accurate issues