Page 1 of 1

Issues with Android Minetest connecting to Server......

PostPosted: Thu Jul 17, 2014 02:31
by freejack
I just discovered this issue. If your server is getting locked up at some point just as someone is logging in, it is due to them using the android version. Not sure what it is doing but the entire server just stops. This is what I get in debug.txt at the end:

21:23:41: INFO[ServerThread]: Server: Finding spawn place for player "Vacendak"
21:23:41: ACTION[ServerThread]: Moving Vacendak to static spawnpoint at (-238,3.5,238)
21:24:45: INFO[ConnectionSend]: con(4/1)RunTimeouts(): Peer 7 has timed out. (source=peer->timeout_counter)

That is it........this has been happening and I was curios as to why so I tried logging in on my android tablet since my desktop logged in with no issue to the server.

Is there a way to set a flag to stop android log ins till this is solved?

OpenSuse 13.1
Minetest 0.4.10
minetest_game
Desktop client has no issues connecting, Android locks the server up with the above message in debug.txt. Have tried it 10 times, same result all 10 logins.

Re: Issues with Android Minetest connecting to Server......

PostPosted: Thu Jul 17, 2014 03:26
by trainwrecktony
i asked about this a month or so ago you have 2 options
set
strict_protocol_version_checking = true
in minetest.conf but this will potentially limit you clients to whatever version of server your running... ex if dev server only dev clients

if you compile yourself edit clientserver.h
#define LATEST_PROTOCOL_VERSION 23

// Server's supported network protocol range
#define SERVER_PROTOCOL_VERSION_MIN 13

change 13 to 22 for 0.4.9 and up, 23 for 0.4.10 and up

i do this on my server, not having mobile clients eliminated lag and overall headaches from that population of players

Re: Issues with Android Minetest connecting to Server......

PostPosted: Thu Jul 17, 2014 03:32
by freejack
trainwrecktony wrote:i asked about this a month or so ago you have 2 options
set
strict_protocol_version_checking = true
in minetest.conf but this will potentially limit you clients to whatever version of server your running... ex if dev server only dev clients

if you compile yourself edit clientserver.h
#define LATEST_PROTOCOL_VERSION 23

// Server's supported network protocol range
#define SERVER_PROTOCOL_VERSION_MIN 13

change 13 to 22 for 0.4.9 and up, 23 for 0.4.10 and up

i do this on my server, not having mobile clients eliminated lag and overall headaches from that population of players


Ok thanks now off to re compile..........