Kicking clients
Kicking clients
Hello there, there is a possible way to kick clients if you spam userVariablesUpdate using some kind of tool, that hack is also popular in YoVille and sending too much of these packets make the people in the room disconnect, is there any way I can limit them or something so the person who's trying to hack cannot spam at all?
Re: Kicking clients
Hi,
no there isn't a system like that in SFS 1.x, although it exists in the latest SmartFoxServer 2X.
For SFS 1.x I would recommend routing the setUserVariables to an Extension so that you have full control of the requests and apply any kind of filtering (and ultimately kicking/banning) you may need.
This requires substituting the setUserVariables calls from client side with Extension calls to your server-side code which in turn will validate and execute the call from server side.
Alongside you can configure the server to refuse any UserVariable req. from client side via the <DisabledSysActions> tag.
More details are found here:
https://www.smartfoxserver.com/docs/1x/ ... basics.htm
cheers
no there isn't a system like that in SFS 1.x, although it exists in the latest SmartFoxServer 2X.
For SFS 1.x I would recommend routing the setUserVariables to an Extension so that you have full control of the requests and apply any kind of filtering (and ultimately kicking/banning) you may need.
This requires substituting the setUserVariables calls from client side with Extension calls to your server-side code which in turn will validate and execute the call from server side.
Alongside you can configure the server to refuse any UserVariable req. from client side via the <DisabledSysActions> tag.
More details are found here:
https://www.smartfoxserver.com/docs/1x/ ... basics.htm
cheers
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 50 guests