Search found 7 matches

by Hans
16 Mar 2006, 14:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

well i would let them be in both rooms (waiting room + game room) until the game actually starts (roomvariable gamestarted=Y => then only in game room)...

Why? Because we have to take care of all 'special cases':
[when a game room opens the game doesnt really start before 3rd one enters or until ...
by Hans
16 Mar 2006, 13:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

another question;
you say; let the server kill a gameroom thats 'over time',
BUT the user that created this room (or another that joined) is still in the room!
What happens to a user who is still in the room when server destroys it?

does it happen like this; server doesnt destroy the room with ...
by Hans
16 Mar 2006, 10:16
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

i think this is a good idea and think we will go for this.

[remark; I first tried some solutions without server extensions
(like, first user creates roomvariable 'timecreated' when second one comes he copies this locally, if first one leaves this means roomvariable timecreated is lost, second one ...
by Hans
15 Mar 2006, 11:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

sorry but...(to make sure i understand)

when entering the waiting room you get a list of all the gameroomID's (just once) and by use of the roomvariable 'gamestarted' you show them or not.

when a game starts; gamestarted is set on Y and next i should ask the server to sent this as a 'message' to ...
by Hans
15 Mar 2006, 10:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

how to?

...

So, when i only want to show the games-you-can-join: I add a room-variable to the game-rooms that says "gamestarted Y or N", and when joining the room you get a list with ALL the game-rooms, you check the room-variable started or not (together with timing info) and if started you just dont show ...
by Hans
14 Mar 2006, 14:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

extra

once a client starts a game (opens a new game room) he waits for 2 other players...however with a maximum of 3 minutes or 180 seconds.

This timing info should also be seen in the opening screen! (where you see a list of games you can join)

...
by Hans
14 Mar 2006, 13:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: list of games "to join" (beginner)
Replies: 14
Views: 23192

list of games "to join" (beginner)

Hello,
i'm currently developing a first simple multiplayer-game.
When you click on the link you get to see the opening page which just consists of a list of games you can join + a create new game button.

The problem is how to get the list and keep it updated.

Whenever a game has started, it ...