Page 1 of 1

TP Bug

Posted: Tue Nov 07, 2017 18:14
by LRV
Bug:
I just randomly get teleported to 0,0,0 , but with the fact that evrything blacks out like I would be at coords -inf,0,0.
I don't know if this is the same bug but on one server where you get teleported to the otehr side of the world when reaching close to a border, I get teleported to the other side even if I am far away from the world's end. Also I noticed, that my debug.txt fills in much slower that my game runs. Also the bug isn't reproduceable becasue of the fact that it activates randomly and seemingly only for me. The bug is probably caused by travelnet, because on the Illuna Minetset servers if you execute a travelnet teleport you get a chat message, the same message appears when the tp bug occurs.
Data of sytsem:
System: Lubuntu 14.04 32 bit, 16.04 32 bit
Operation Module: OpenGL
Mt version: 0.15-dev, 0.15-stable, 0.16-stable
CSM: No mods, no client side mods

Re: TP Bug

Posted: Tue Nov 07, 2017 22:48
by D0PIK
Your linked errormsg just shows a servercrash that was caused by a another mod. Btw, that bug was fixed a long time ago and has nothing to do with your 'TP Bug'

Now actual information about LRV's 'TP Bug':
  • LRV can obviously not read errormsg out of logs, so his documentations and interpretations about it are mostly useless IMO; only his observations may be correct
  • the 'bug' is only caused by LRV and crashes a server
  • the 'bug' can't be replicated
  • out of my observations, this occurs on servers without anticheat enabled and with areas mod enabled
I think that this is an actual errormsg of a server crashing because of LRV's 'TP Bug':

Code: Select all

2017-10-08 16:21:16: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod ‚areas‘ in callback environment_Step(): Invalid float vector dimension range ‚x‘ (expected -2.14748e+06 < x < 2.14748e+06 got -2.14748e+06). 2017-10-08 16:21:16: ERROR[Main]: stack traceback: 2017-10-08 16:21:16: ERROR[Main]: [C]: in function 'get_areas_for_pos' 2017-10-08 16:21:16: ERROR[Main]: ...bolus/minetest-server/minetest/bin/../mods/areas/api.lua:23: in function 'getAreasAtPos' 2017-10-08 16:21:16: ERROR[Main]: ...bolus/minetest-server/minetest/bin/../mods/areas/hud.lua:11: in function <...bolus/minetest-server/minetest/bin/../mods/areas/hud.lua:5>
2017-10-08 16:21:16: ERROR[Main]: …inetest-server/minetest/bin/../builtin/game/register.lua:412: in function < ...inetest-server/minetest/bin/../builtin/game/register.lua:392>
2017-10-08 16:21:16: ERROR[Main]: stack traceback

Re: TP Bug

Posted: Wed Nov 08, 2017 08:03
by Linuxdirk
This has in absolutely no way anything to do with Minetest itself or the servers you connect to. If this would be the case others would have this issues as well. Since no-one has it is your issue only.

1. Use the official Minetest client and not something else downloaded from another site than minetest.net.
2. Do not use any weird client-side mods.

Re: TP Bug

Posted: Wed Nov 08, 2017 16:05
by LRV
I don't use cleint mods and I have tried it with those officuial builds: 0.15-dev, 0.16-stable, 0.15-stable.

Re: TP Bug

Posted: Wed Nov 08, 2017 17:16
by IhrFussel
The error message is very old and crashes lots of servers randomly (the server admins just don't properly check their logs sometimes).

A fix seems to be to make sure that the player position is WITHIN the normal range (>= -31000 and <= 31000 for example) else cancel the current function... I applied that check to all mods and did never encounter this problem again since