Quote: "it seems if a windows (10) client break the connection (close the app with x) the phone (android 5.x) client did not get -1 here GetSocketConnected"
If the client disappears without manually disconnecting then the TCP protocol will attempt to reestablish the connection for quite a while, probably minutes. It also can't know the other end has disappeared until it tries to send something to them. Eventually GetSocketConnected should return -1 if you tried to send something and the other end didn't reply for a while.
Quote: "ragdolls can never become static again"
I had a look at the code and all the ragdoll checks were inverted, they must have been that way from the beginning. I've fixed them for the next version but I don't know if that was the only problem.
Quote: "I've discovered that when using the GetRawTouchCurrentX and GetRawTouchCurrentY commands on the iOS AppGameKit player v2.0.21, and also currently present in the recent release 09-01-17. These commands appear to return zero co-ordinates no matter where I touch on the screen."
You need to pass the original index to the touch commands, rather than the Mod version. This should work
Function Input()
index As Integer
If GetMultiTouchExists() = 1
_touchCount = GetRawTouchCount(1)
index = GetRawFirstTouchEvent(1)
index20 = mod(index,20)
While index>0
_touchEvents[index20].eventType = GetRawTouchType(index)
_touchEvents[index20].x = GetRawTouchLastX(index)
_touchEvents[index20].y = GetRawTouchCurrentY(index)
_touchEvents[index20].time = GetRawTouchTime(index)
Print(str(index) +" "+ Str(_touchEvents[index20].x)+" "+Str(_touchEvents[index20].y))
index = GetRawNextTouchEvent()
index20 = mod(index,20)
EndWhile
Else
_touchCount = 0
EndIf
if GetRawKeyPressed(27) = 1
_exit = 1
EndIf
EndFunction
Quote: "I've just upgraded my phone to the new Motorola MotoG4 Plus (Android 6.0.1) and the sky box doesn't seem to appear"
It's probably inaccuracies in the depth buffer, I tried to draw it on an exact value but maybe some devices need a bit of leeway. Does
this version work any better?