Search found 125 matches

by thomers1
03 Nov 2011, 12:07
Forum: SFS2X Questions
Topic: replicate offline buddy variables across multiple servers?
Replies: 3
Views: 5808

hi bax, thanks for your answer.

we already have a centralized database - but i would want to avoid the polling for updates every few seconds from all running smartfox servers.

any other ideas? how do bigger portals manage the online status for each user across multiple servers?

cu
t
by thomers1
02 Nov 2011, 09:49
Forum: SFS2X Questions
Topic: replicate offline buddy variables across multiple servers?
Replies: 3
Views: 5808

replicate offline buddy variables across multiple servers?

hi, is there a "best practice" how to replicate the state of offline buddy variables across multiple SFS2X instances, or have any other standardized way of communication between SFS2X servers? what i want to achieve: buddy users can be distributed among multiple SFS2X instances, but shall ...
by thomers1
28 Jul 2011, 13:47
Forum: SFS2X Questions
Topic: Dynamic extension properties (rather than static files)
Replies: 7
Views: 9945

any update?
by thomers1
18 Jul 2011, 08:20
Forum: SFS2X Questions
Topic: Dynamic extension properties (rather than static files)
Replies: 7
Views: 9945

aaah thanks. anyway, i'm confused, since the docs state Previously in SmartFoxServer 1.x you had Room/User Variables and Room/User Properties. With SmartFoxServer 2X all custom data is handled via Room/User Variables. so, what's the difference between properties and private (server-side only) room v...
by thomers1
13 Jul 2011, 07:12
Forum: SFS2X Questions
Topic: Dynamic extension properties (rather than static files)
Replies: 7
Views: 9945

lapo?
by thomers1
08 Jul 2011, 08:25
Forum: SFS2X Questions
Topic: Dynamic extension properties (rather than static files)
Replies: 7
Views: 9945

ok, details: CreateSFSGameSettings settings = new CreateSFSGameSettings(); settings.set... ... CreateRoomSettings.RoomExtensionSettings extSettings = new CreateRoomSettings.RoomExtensionSettings(EXT_FOLDER_NAME, EXT_NAME); settings.setExtension(extSettings); Room room = Smart...
by thomers1
08 Jul 2011, 06:36
Forum: SFS2X Questions
Topic: Dynamic extension properties (rather than static files)
Replies: 7
Views: 9945

Dynamic extension properties (rather than static files)

hi,

http://docs2x.smartfoxserver.com/Advanc ... extensions mentions only static property-files for extensions.

i need to instantiate a (game)room-extension with parameters that i get at runtime (i.e. from the DB).

how can i achieve that?

best,
thomas
by thomers1
30 Jun 2011, 12:21
Forum: SFS2X Questions
Topic: sending data back to client
Replies: 3
Views: 5715

still, the SpaceRace demo code uses the send method from the extension (SFSExtension which inherits from BaseSFSExtension): gameExt.send(SpaceRaceGameExtension.CMD_ADVANTAGE, params, userList, false); so, what is the difference? and, how do i deal with situations where i just have the SFSUse...
by thomers1
29 Jun 2011, 07:17
Forum: SFS2X Questions
Topic: sending data back to client
Replies: 3
Views: 5715

sending data back to client

hello,

what is the difference between "send" from an extension vs. "send" from a RequestHandler?

when do i use which one?

best,
t
by thomers1
28 Jun 2011, 11:10
Forum: SFS2X Questions
Topic: Preventing a user from joining a room....
Replies: 5
Views: 7527

ah, cool - thanks.
by thomers1
15 Jun 2011, 12:05
Forum: SFS2X Questions
Topic: Preventing a user from joining a room....
Replies: 5
Views: 7527

but that would mean that a (hacked) client could still send a "normal" room join requests to enter the room anyway?

best,
thomas
by thomers1
14 Jun 2011, 13:23
Forum: SFS2X Questions
Topic: Game-Extension per Room or per Zone?
Replies: 2
Views: 5192

lapo, any comments or thoughts?

i'd be interested what is the officially recommended way to do this.
by thomers1
13 Jun 2011, 12:41
Forum: SFS2X Questions
Topic: Game-Extension per Room or per Zone?
Replies: 2
Views: 5192

Game-Extension per Room or per Zone?

Carrying on from my last question : what is the recommended way to handle many (hundreds to maybe thousands) game states? I was thinking about one extension-instance per room, but I see that the BattleFarm example handles this differently (by keeping all game states in ConcurrentHashMap within a sin...
by thomers1
13 Jun 2011, 12:29
Forum: SFS2X Questions
Topic: How to get Room/Extension in a RequestHandler seems weird
Replies: 1
Views: 4167

How to get Room/Extension in a RequestHandler seems weird

I am wondering whether I am missing something, but I find it strange how to get the room for a player in a RequestHandler. I am looking at the "Battlefarm" source code, where it is handled like this: public void handleClientRequest(User sender, ISFSObject params) { // Retrieve...
by thomers1
16 May 2011, 11:03
Forum: SFS2X Questions
Topic: Connection encryption
Replies: 57
Views: 112136

hi lapo, what about securing private game states, e.g. games where my game state is not known by the other players (like in card games)? especially when there is real money involved, transmitting the players private game states unsecured is a major turnoff for people investing in such projects, even...

Go to advanced search