Search found 29 matches

by duncanhall
31 Jul 2008, 11:21
Forum: SmartFoxServer 1.x Discussions and Help
Topic: GenericMessage
Replies: 1
Views: 4346

I would imagine 'r' represents either the ID of the room it was broadcast from, or the ID of the room it was broadcast to.

In this case, following the use of '-1' elsewhere in SFS, I would guess that -1 is the same as 'null', as the message is not from/to any room in particular.
by duncanhall
31 Jul 2008, 07:59
Forum: The Bug Trap
Topic: Multi-Room feature does not exit users correctly
Replies: 3
Views: 173

Thanks Lapo, I think I was getting closer to the problem but this has nailed it on the head.

I hadn't realised the activeRoomID was a property that could be set as well as read. Is there any preference for setting the activeRoomID rather than just specifying the targeted roomID for each message sent?
by duncanhall
30 Jul 2008, 15:09
Forum: The Bug Trap
Topic: onPrivateMessage Documentation
Replies: 2
Views: 153

onPrivateMessage Documentation

The documentation for the 'onPrivateMessage' method states that four parameters are received as:

message:String, sender:User, roomId:Number, userId:Number

However, after bashing my head and digging around in the code for a while, I found the actualy implementation of this method:

scope ...
by duncanhall
29 Jul 2008, 13:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Starting SmartFoxServer using java ant task
Replies: 3
Views: 7994

I've no idea if this would work, but what about creating a simple batch file in the SF server directory that starts SmartFox. Then you could call that batch file from your ant task. This may well run into the same relative paths/permissions problems, but it might be worth a try.
by duncanhall
29 Jul 2008, 10:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Extensions have boolean logic limitations?
Replies: 4
Views: 8303

I would advise the exact opposite of what ptd suggests.

The compiler is more than happy to recognise (x==1 || x==2) as two seperate conditionals, and the added parenthesis just make it harder to spot exactly what is being evaluated. I would only really include the nested parenthesis when you have ...
by duncanhall
29 Jul 2008, 09:32
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Leaving multi-join room fails
Replies: 3
Views: 6881

As no-one seems to be able to offer any kind of solution to this, and as it seems to go against the expected behaviour, I am now entering this as a bug.

http://forums.smartfoxserver.com/viewtopic.php?t=3409

Thanks.
by duncanhall
29 Jul 2008, 09:30
Forum: The Bug Trap
Topic: Multi-Room feature does not exit users correctly
Replies: 3
Views: 173

Multi-Room feature does not exit users correctly

SFS 1.6.2
AS2 API 1.5.4

- Join a static room
- Join a game room while still remaining in the original static room
- All users leave game room and it is deleted
- Expecetd behaviour is that the user should now simply be in the first, static room. However, at this point, the user seems to still be ...
by duncanhall
28 Jul 2008, 07:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Leaving multi-join room fails
Replies: 3
Views: 6881

Anyone?
by duncanhall
25 Jul 2008, 09:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Leaving multi-join room fails
Replies: 3
Views: 6881

Ok, this is becoming a bit of a show-stopper, and I can't see where I could be going wrong with this, so if someone can please offer any help it would be much appreciated.

A more basic reproduction, but still the same problem:

-User is in the lobby (RoomX).
-User joins a game room (RoomY).
-User ...
by duncanhall
25 Jul 2008, 07:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Unity3D support?
Replies: 5
Views: 10136

I've no idea about future support for Unity, but if there is no native solution then you could still most likely create a Flash proxy client to sit between SmartFox and your Unity application.

I've just finished doing exactly this for a Shockwave application and it works very well. All data from ...
by duncanhall
24 Jul 2008, 11:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Leaving multi-join room fails
Replies: 3
Views: 6881

Leaving multi-join room fails

Flash AS2 API - Version 1.5.4
SF Server - Version 1.6.2

I am using the multi-join feature to allow users to remain in the lobby while also entering another game room.

I can successfully add a user to both rooms, and everything works as expected until a user leaves the game room (but remains in the ...
by duncanhall
22 May 2008, 11:27
Forum: Server Side Extension Development
Topic: Roomlist not sent when using custom login
Replies: 3
Views: 7618

Roomlist not sent when using custom login

As per the smartfox docs/examples, my app is set up to listen for an onRoomListUpdate event, when logging in, meaning I have a reference to the current roomList when entering the lobby.

However, after implementing the 'Secure Login Example' in the docs, the onRoomListUpdate is never triggered ...
by duncanhall
22 May 2008, 09:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox not using JSON protocol?
Replies: 1
Views: 4627

Smartfox not using JSON protocol?

Why is it that smartfox sends/receives all its system messages in XML rather than JSON? As mentioned in your docs, when using server-side extensions it is preferable to use JSON over XML because it uses less bandwidth. Surely the same applies for the internal messaging of smartfox ?
by duncanhall
19 May 2008, 07:59
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Error List
Replies: 9
Views: 13444

Awesome, thanks a lot Lapo! :)
by duncanhall
16 May 2008, 08:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Error List
Replies: 9
Views: 13444

Any closer to having these available?

Thanks.