
ExtensionRequest not working :(
Re: ExtensionRequest not working :(
As you are using the latest API (with binary protocol support), the params objects must be passed as instances of SFSObject.
You should modify your code like this:
You should modify your code like this:
Code: Select all
var params = new SFS2X.SFSObject();
params.putInt("x", 1);
params.putInt("y", 1);
sfs.send(new SFS2X.ExtensionRequest("walk", params));
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: ExtensionRequest not working :(
Thank you very much