Code: Select all
//sfs.send(new ObjectMessageRequest(sfsDataObj,currentRoom));//sfsObject Goes to all MMO room users, ignores AOI
sfs.send(new ExtensionRequest(SET_GHOSTING, sfsDataObj, currentRoom)); //sfsObject Goes through extension, then to MMO Api to local AOI
Have you thought of changing this to use the default AOI for MMO rooms? I'm not sure it makes sense to allow clients to send messages to an entire MMO room, and it presents a security issue for flooding attacks...
Eg, imagine a MMO room with thousands of users, and a hacker pushes out large object messages to try to lag the server.
A simple solution would be the ability to allow only AOI Restricted clientside communications in MMO rooms.