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
Search found 125 matches
- 03 Nov 2011, 12:07
- Forum: SFS2X Questions
- Topic: replicate offline buddy variables across multiple servers?
- Replies: 3
- Views: 5850
- 02 Nov 2011, 09:49
- Forum: SFS2X Questions
- Topic: replicate offline buddy variables across multiple servers?
- Replies: 3
- Views: 5850
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 ...
- 28 Jul 2011, 13:47
- Forum: SFS2X Questions
- Topic: Dynamic extension properties (rather than static files)
- Replies: 7
- Views: 10011
- 18 Jul 2011, 08:20
- Forum: SFS2X Questions
- Topic: Dynamic extension properties (rather than static files)
- Replies: 7
- Views: 10011
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...
- 13 Jul 2011, 07:12
- Forum: SFS2X Questions
- Topic: Dynamic extension properties (rather than static files)
- Replies: 7
- Views: 10011
- 08 Jul 2011, 08:25
- Forum: SFS2X Questions
- Topic: Dynamic extension properties (rather than static files)
- Replies: 7
- Views: 10011
- 08 Jul 2011, 06:36
- Forum: SFS2X Questions
- Topic: Dynamic extension properties (rather than static files)
- Replies: 7
- Views: 10011
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
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
- 30 Jun 2011, 12:21
- Forum: SFS2X Questions
- Topic: sending data back to client
- Replies: 3
- Views: 5757
- 29 Jun 2011, 07:17
- Forum: SFS2X Questions
- Topic: sending data back to client
- Replies: 3
- Views: 5757
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
what is the difference between "send" from an extension vs. "send" from a RequestHandler?
when do i use which one?
best,
t
- 28 Jun 2011, 11:10
- Forum: SFS2X Questions
- Topic: Preventing a user from joining a room....
- Replies: 5
- Views: 7574
- 15 Jun 2011, 12:05
- Forum: SFS2X Questions
- Topic: Preventing a user from joining a room....
- Replies: 5
- Views: 7574
- 14 Jun 2011, 13:23
- Forum: SFS2X Questions
- Topic: Game-Extension per Room or per Zone?
- Replies: 2
- Views: 5230
- 13 Jun 2011, 12:41
- Forum: SFS2X Questions
- Topic: Game-Extension per Room or per Zone?
- Replies: 2
- Views: 5230
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...
- 13 Jun 2011, 12:29
- Forum: SFS2X Questions
- Topic: How to get Room/Extension in a RequestHandler seems weird
- Replies: 1
- Views: 4190
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...
- 16 May 2011, 11:03
- Forum: SFS2X Questions
- Topic: Connection encryption
- Replies: 57
- Views: 113126
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...