Search found 53 matches

by Rob
29 Apr 2022, 09:11
Forum: SFS2X Questions
Topic: Error parsing HTTP request header
Replies: 12
Views: 7728

Re: Error parsing HTTP request header

You probably need to switch hosting or look into services from 3rd parties like Cloudflare: https://www.cloudflare.com/ddos/
by Rob
05 Aug 2021, 21:43
Forum: SFS2X Questions
Topic: Reducing the Size of Javascript SFS2 client side dependency
Replies: 5
Views: 6338

Re: Reducing the Size of Javascript SFS2 client side dependency

Muxa wrote:do you think they offer un-minified sfs JS APi where we can build our edit ourselves?

A couple of years ago I suggested that the source could be put on GitHub or similar: viewtopic.php?f=33&t=19948&p=85879#p85879
by Rob
14 May 2021, 08:25
Forum: SFS2X Questions
Topic: Server bugs out when using PutClass server side
Replies: 5
Views: 5021

Re: Server bugs out when using PutClass server side

The docs for putClass says "NOTE: This is not supported for HTML5 / Websocket clients, which includes Unity WebGL exports."
by Rob
19 Apr 2021, 13:16
Forum: SFS2X Questions
Topic: remote administration v3.2.6 bug ?
Replies: 6
Views: 7274

Re: remote administration v3.2.6 bug ?

A suggestion is to remove that section from the AdminTool to avoid confusion. Like OP I was also mystified about it being blank when I first saw it and had to dig deep into the docs to find that it's not implemented yet. Seeing that it has been like this for over 10 years, it's surprising that it wa...
by Rob
02 Dec 2020, 12:35
Forum: SFS2X Questions
Topic: Waiting on join room transaction
Replies: 2
Views: 8647

Re: Waiting on join room transaction

Make your own custom message handler instead of using the standard ROOM_JOIN message.

Code: Select all

handleJoinRequest(event) {
if (conditionIsMet(user))
    joinRoomB(user))
else
   joinRoomA(user)
}
by Rob
24 Jul 2020, 10:26
Forum: Server Side Extension Development
Topic: HELP!
Replies: 9
Views: 12612

Re: HELP!

IdanMasas wrote:There is a way to getRoomList() through an Extension? If yes, How?

Yes. Read up on the Zone interface.
by Rob
24 Jul 2020, 10:21
Forum: SFS2X Questions
Topic: User Disconnection Cant Get Room and Room Variables
Replies: 13
Views: 12444

Re: User Disconnection Cant Get Room and Room Variables

Lapo wrote:you will probably need to keep track of the last joined Room manually. By setting a property in the User object itself

What about user.getLastJoinedRoom()?
by Rob
25 Mar 2020, 10:13
Forum: SFS2X Questions
Topic: Does room creation have a lot of overhead?
Replies: 6
Views: 7300

Re: Does room creation have a lot of overhead?

How large would your map be? You could simply create all the required rooms at startup and never destroy them. Then you wouldn't have any overhead of re-creating/destroying rooms. I'm guessing it should handle hundreds of rooms fine on any normal server.
by Rob
20 Mar 2020, 19:54
Forum: Server Side Extension Development
Topic: MySQL Slow
Replies: 6
Views: 12742

Re: MySQL Slow

You could try MariaDB instead. It's very similar to MySQL so it's easy to migrate to.
by Rob
22 Jan 2020, 01:36
Forum: SFS2X Questions
Topic: ROOM_VARIABLES_UPDATE continuously updates (how to stop)?
Replies: 5
Views: 7223

Re: ROOM_VARIABLES_UPDATE continuously updates (how to stop)?

Your problem is that you set a new room variable in the ROOM_VARIABLES_UPDATE callback, which is triggered every time a room variable changes. So it will generate an infinite loop. Don't set any room variables in the callback. Set them on the server side, or move them to some other part of the clien...
by Rob
19 Dec 2019, 10:41
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44125

Re: [NEW] SFS2X 2.14.0 is available!

One improvement I have noticed with 2.14 is that I now consistently get ClientDisconnectionReason.IDLE when I let the (javascript) client sit idle. With 2.13 it mostly reported ClientDisconnectionReason.UNKNOWN, which I haven't seen happen yet with 2.14.
by Rob
18 Dec 2019, 01:25
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.14.0 is available!
Replies: 42
Views: 44125

AdGuard error

A heads up in case anyone else runs into this issue with the AdGuard ad blocker: While testing 2.14 I noticed an issue that didn't happen with 2.13: Safari 13.0.4 now gives the error: WebSocket connection to 'ws://192.168.0.100:8080/BlueBox/websocket' failed: No response code found: HTTP/1.1 101 Chr...
by Rob
15 Dec 2019, 09:57
Forum: SFS2X Questions
Topic: [[ NEW ]] Migration Tool available!
Replies: 4
Views: 6745

Re: [[ NEW ]] Migration Tool available!

The manual migration instruction page hasn't been updated for 2.14. Are there any caveats specific to this version when going from 2.13? Can the server.xml file be copied now for example?
by Rob
14 Dec 2019, 21:30
Forum: SFS2X Questions
Topic: [[ NEW ]] Migration Tool available!
Replies: 4
Views: 6745

Re: [[ NEW ]] Migration Tool available!

It seems like this wasn't included with 2.14, and trying to use the available version to update from 2.13 gives an error: "Target server version mismatch. Expected: 2.13, found 2.14.0"

Go to advanced search