Im just now tearing into WSAGE and im trying to make it work in 2.62. Im making things happen through the network and im liking it. But somethings arent working. Can you tell me if this like is correct syntax for 2.62
sentdata = dumps(([owner.worldPosition, owner[“mstate”]]))
Im just wondering because it stacks my objects on top of each other when the client connects, although the state carries correctly.
My worldposition receive is always equaling 0,0,0 So its not sending it through correctly or not receiving it correctly. I was thinking maybe a Syntax 2.49 to 2.62 bug. Heres the receive end
recvdata, svrip = logic.client.recvfrom(1024)
scene.objects[“Server”].worldPosition = loads((recvdata))
Im still learning, I just want to make sure this sytax is correct for 2.62