G1R:MP Forum Alpha
Log in Join
Gothic 1 Remake Multiplayer

The Colony Forum

News, support, development discussions, server communities, and stories from beyond the Barrier.

Colony discussion

The server lost the player for a moment, when the game has to load

Started by Xardas0327 in Bug Reports

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
09-06-2026, 03:49 PM
#1
When the player spawn point is the default position, but I use this teleport. (teleport to old camp castle)
Quote:addCommandHandler("castle", function(playerId, commandName)
    setPlayerPosition(
        playerId,
        1116.75,
        -1007.51,
        -36.66
    )
end)

The server lost me after the teleport, but it rejoin me after 1-2s. After this rejoin I see NPCs from the game, but they are hidden after a couple seconds.

The logs, after the /castle:
Quote:[lua][chat][info] command player=1 name=castle argc=0 args=[]
[authority] movement snapshot held awaiting position acknowledgement player=1 command=1 action=set_position sequence=574
[lifecycle] onPlayerQuit final state player=1 sequence=576 position=(111675.000,-100751.000,-3666.000) yaw=0.000 snapshotAgeMs=2089
CONNECT_PENDING provisional=2 address=192.168.0.1 peer=00000165DF7F5010 event=connect
AUTH player=2 name=Xardas0327 serial=fa61cd5cb66e2a40e68a3ec5ab8ab9de address=192.168.0.1
That's why the onPlayerJoin will run twice and if it has some random generation (for example: select a random position from a list) will run twice too.

My thought is, that my laptop is weak a bit and when it has to load the old camp castle, the client-server communication is stuck for a couple seconds.
Forum Jump: