TFS 0.X keep walking if you drop connection

Joined
Jul 5, 2014
Messages
270
Reaction score
23
Is it possible to make the player continue walking even if the connection fails? and if the connection comes back, does it only update its location on the map?

for example player was x = 0 y = 0 z = 7 and the connection dropped
he walked to x = 8 and = 4 z = 7

hence the connection came back and updated his coordinate.

But this would have to be for at most 10sqm
because the map would not be fully loaded
it's possible? If so, does anyone know how to do it?

+rep for answers
 

Apollos

Dude who does stuff
Joined
Apr 22, 2009
Messages
589
Reaction score
357
Location
United States
Is it possible to make the player continue walking even if the connection fails? and if the connection comes back, does it only update its location on the map?

for example player was x = 0 y = 0 z = 7 and the connection dropped
he walked to x = 8 and = 4 z = 7

hence the connection came back and updated his coordinate.

But this would have to be for at most 10sqm
because the map would not be fully loaded
it's possible? If so, does anyone know how to do it?

+rep for answers
The server is what will keep track of where you are on the map, so even if you are disconnected and still move it will be fine. The tricky part will be checking if the player is actually disconnected and make them walk from there.

This thread may help you with inspiration on how to do it:

I would try myself but I don't use older tfs versions. Good luck.
 
Top