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 , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 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 , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 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 , 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 , 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 , 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.
In 227: