Opened 10 years ago

Closed 9 years ago

#99 closed defect (fixed)

Alpha 11 teleportplayer not work

Reported by: behemoth Owned by: Christian Illy
Priority: major Component: Server fixes
Keywords: Cc:

Description

Hi Alloc,
after the release of Alpha 11 the teleport Command not working correctly. Can you fix it please?
Maybe it's better to use the SetPosition(UnityEngine.Vector3 _pos) Method???

And an other Question. I found there a setter, getter JetpackActive and JetpackWearing. Can we use it to allow Admins to fly?

Thank you for your help

Change History (8)

comment:1 by alloc, 10 years ago

Resolution: fixed
Status: newclosed

In 227:

Scripts 77, Fixes #99

comment:2 by behemoth, 10 years ago

The new values are double, and when i teleport to a player then i land in the floor or fall of the game. You must ceil the value to the next biggest to solve this problem.

Thanks for the fast fix :)

comment:3 by Christian Illy, 10 years ago

Resolution: fixed
Status: closedreopened

comment:4 by Christian Illy, 10 years ago

Problem seems not to be the teleport itself but that the chunk is not yet loaded when the player "arrives" and thus falls through the ground. Next update will add 1 to the Y coordinate so that might help in some cases but I can't affect the chunkloading afaik.

comment:5 by behemoth, 10 years ago

How seems the process on die? The chunks must be preloaded too on respawn. Maybe there are a method to preload the chunks???

comment:6 by Christian Illy, 10 years ago

If you die you get the "loading" screen and during that chunks are loaded. Teleport is an instant action so there's no time to load anything.

comment:7 by behemoth, 10 years ago

With the Command debugmenu (dm) you can see a menu on press ESC and teleport you to a point. Can we use it for the teleport Command? I still do not have find it Assembly-CSharp but it must be there.

Version 0, edited 10 years ago by behemoth (next)

comment:8 by Christian Illy, 9 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in A13.

Note: See TracTickets for help on using tickets.