Hey there, so not only did I get a master server working, I'm working on revamping the server side implementation of Lua.
Before, objects were simply handled as integers with the integers representing the object's ID.
Now, they're actually stored as metatables.
So instead of:
myObject = createPhysicsObject(type,x,y,z)
setPhysicsObjectShapeName(myObject,"Name goes here")
setPhysicsObjectVelocity(myObject,x,y,z)
removePhysicsObject(myObject)
setPhysicsObjectPosition(getPhysicsObject(0),getPhysicsObjectPosition(getPhysicsObject(1)))
You'll have:
myObject = PhysicsObject.create(type,x,y,z)
myObject:setShapeName("Name goes here")
myObject:setVelocity(x,y,z)
myObject:destroy()
getPhysicsObject(0):setPosition(getPhysicsObject(1):getPosition())