Search found 127 matches

by mistermind
08 Oct 2009, 22:02
Forum: Server Side Extension Development
Topic: Custom Login Questions
Replies: 1
Views: 4502

Sorry for not answering all your questions. I'm not sure how to answer the others without making a fool of myself so I'll just answer what I know :D 2 - They stay connected. Custom login pretty much removes every "automatic" event handler and properties from the regular client login. It is...
by mistermind
08 Oct 2009, 21:49
Forum: Server Side Extension Development
Topic: using sendPublicMessage after _server.joinRoom issue
Replies: 1
Views: 4069

Problem Solved! For anyone interested to know, here it is: var newClanRoom = _server.createRoom(roomObj, user, false, false); The third parameter on createRoom sends an update to the client reporting that a new room is created. The client needs that information so it stores on the cache the ...
by mistermind
08 Oct 2009, 20:58
Forum: Server Side Extension Development
Topic: using sendPublicMessage after _server.joinRoom issue
Replies: 1
Views: 4069

using sendPublicMessage after _server.joinRoom issue

Hello again. I'm having some issues with using the sendPublicMessage method from the client after joining a room from an extension on the server. SmartfoxServer 1.6.6 config.xml ... <DisabledSysEvents> <event>onJoinRoom</event> <event>onJoinRoomError</event> <event>onRoomAdded</event> <event>onCreat...
by mistermind
08 Oct 2009, 18:40
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Multiple Rooms or not Multiple Rooms?
Replies: 12
Views: 16071

No, it's okay. I've already filed it in the to-do system Smile Thanks Sorry to bring this topic back to life Lapo, but I was running into this exact problem on SFS 1.6.6 and tried to find any updates related to this but couldn't. Was this feature implemented somehow? And if not, is there a way to a...
by mistermind
08 Oct 2009, 14:25
Forum: .Net / Unity3D API
Topic: Force Login
Replies: 13
Views: 32136

Custom Login can handle that. Set your zone's custom login to true: <Zone name="Server" uCountUpdate="false" maxUsers="1000" customLogin="true"> And use an extension to handle login using the loginRequest event on handleInternalEvent. From there you can use th...
by mistermind
07 Oct 2009, 16:22
Forum: Server Side Extension Development
Topic: Dynamic Room Extension Issue
Replies: 4
Views: 6306

Hi Lapo and thanks for the answers :D As regards Room Variables. Any game/user data that is not needed on the client side should be kept away from Room Variables to avoid wasting bandwidth. Each User object carries its own properties object which can be used to store any relevant User data. Use that...
by mistermind
06 Oct 2009, 20:52
Forum: Server Side Extension Development
Topic: Quick question n.2: _server.createRoom
Replies: 3
Views: 5579

Quick question n.2: _server.createRoom

I noticed this is not clear in the documentation so here it goes: Page: http://www.smartfoxserver.com/docs/docPages/serverSideApi/_server/createRoom.html By creating a room server from an extension that is a game (roomObj.isGame = true) does it automatically join the room creator like the client sid...
by mistermind
06 Oct 2009, 18:52
Forum: Server Side Extension Development
Topic: Quick question: _server Objects
Replies: 1
Views: 3886

Nvm I've figured it out :D
var zone = _server.getCurrentZone()
var lobbyRoom = zone.getRoomByName("Lobby");


me so dumb :roll:
by mistermind
06 Oct 2009, 18:42
Forum: Server Side Extension Development
Topic: Quick question: _server Objects
Replies: 1
Views: 3886

Quick question: _server Objects

Is there a way to get the room list? (same as how we get them from onRoomListUpdate client side, but only server side - not _server.sendRoomList()) I'm trying to use _server.joinRoom to join a fixed room (lobby) but I need to get the id first. All server side. Basically, send a XT message as "j...
by mistermind
06 Oct 2009, 06:57
Forum: Server Side Extension Development
Topic: Dynamic Room Extension Issue
Replies: 4
Views: 6306

Dynamic Room Extension Issue

Hello there my fellow sfs friends. I've just ran into a pickle here regarding creating a dynamic room and loading an extension to it. This extension is not specified on my config.xml file (as it seems not to be needed according to sfsTris and maze examples), but instead, its only listed inside the s...
by mistermind
10 Jun 2009, 03:28
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Whats the difference between new Array, [] and new Object?
Replies: 3
Views: 5667

Whats the difference between new Array, [] and new Object?

Hey there folks I'm trying to convert my game to AS3 for a while now and haven't had any problems with SFS so far (basically because everything is so much clear on AS3). Well til now :) When I got to the buddy variables I kept having this error during runtime: TypeError: Error #1034: Type Coercion f...
by mistermind
10 Feb 2009, 04:28
Forum: Features Wish List
Topic: Challenge feature in 2-player games
Replies: 8
Views: 18860

Check out my game: http://www.ederon.com It uses SFS in this fashion to do exactly what you wish for. I used private messages to automate the system in the background. When you challenge someone it sends a "/challenge" to the desired player that is not shown as a private message to them. I...
by mistermind
23 Jan 2009, 05:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Update } SmartFoxServer PRO 1.6.5 is out!
Replies: 30
Views: 49330

» AS 2.0 and AS 3.0 Flash API: fixed a small bug with UserVariables updates when users are joined in multiple rooms. With a particular combination of rooms the client could receive a null object instead of the reference to the User who updated the variables. Lol that felt so... personal lol Finall...
by mistermind
21 Jan 2009, 05:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: userVaribles event
Replies: 2
Views: 5516

Humm I'm not sure if I understand your question. Do you mean you can't see your own variables updated from the onVariablesUpdate event? To be honest I never tried (or noticed) that, but I can see its functionalities. I believe there are ways to do that, since things like room chat (sendPublicMessage...
by mistermind
20 Jan 2009, 19:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Update } SmartFoxServer PRO 1.6.3 available
Replies: 65
Views: 101631

Lapo wrote:Hi,
thanks for reporting.
Actually <DeadChannelsPolicy> is documented in chapter 2.1 (basic config)


Oh, then the search inside the docs is not picking up them :D
Tried to search for "DeadChannelsPolicy" and didn't find anything.
Thats why I mentioned that btw

Go to advanced search