Opened 10 years ago

Closed 9 years ago

#99 closed defect (fixed)

Alpha 11 teleportplayer not work

Reported by: behemoth Owned by: Alloc
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 Changed 10 years ago by alloc

  • Resolution set to fixed
  • Status changed from new to closed

In 227:

Error: Processor CommitTicketReference failed
Unsupported version control system "svn": No module named svn

comment:2 Changed 10 years ago by behemoth

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 Changed 10 years ago by Alloc

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 10 years ago by Alloc

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 Changed 10 years ago by behemoth

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 Changed 10 years ago by Alloc

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 Changed 9 years ago by behemoth

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 in Assembly-CSharp but it must be there.

Last edited 9 years ago by behemoth (previous) (diff)

comment:8 Changed 9 years ago by Alloc

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in A13.

Note: See TracTickets for help on using tickets.