How can i put the user that are conected to al my server??
- JarochoCity
- Posts: 180
- Joined: 01 Dec 2005, 01:22
- Location: Mexico
- Contact:
How can i put the user that are conected to al my server??
How can i put the number of users that are conected to all my server, in my html website???
- JarochoCity
- Posts: 180
- Joined: 01 Dec 2005, 01:22
- Location: Mexico
- Contact:
yeah, but if somebody create an extra room?
yeah, but if somebody create an extra room?
example:
somebody make a mazegame room, or a tic tac toe room, etc.
how can i count those users???
how can i get the list of all the rooms?
example:
somebody make a mazegame room, or a tic tac toe room, etc.
how can i count those users???
how can i get the list of all the rooms?
the list of all rooms in a Zone is sent by the server upon connection or by requesting it with a getRoomList()
I don't understand... when the web page is loaded your little flash counter will connect, get the number of users and disconnect.
If a room is created right after that you won't know it... but this is just normal, as all html pages are static. Anyway it will tell you the server of the status at the moment in which the page was loaded.
If you need realtime statistics it's going to be more complex, because your swf file inside the page should stay connected all the time and report each change... doubling the number of connected users... (each page viewed will add a user inside to the server)
yeah, but if somebody create an extra room?
I don't understand... when the web page is loaded your little flash counter will connect, get the number of users and disconnect.
If a room is created right after that you won't know it... but this is just normal, as all html pages are static. Anyway it will tell you the server of the status at the moment in which the page was loaded.
If you need realtime statistics it's going to be more complex, because your swf file inside the page should stay connected all the time and report each change... doubling the number of connected users... (each page viewed will add a user inside to the server)
- JarochoCity
- Posts: 180
- Joined: 01 Dec 2005, 01:22
- Location: Mexico
- Contact:
ok, forget about ir i knew how to do it.... and how can i..?
how can i add an emoticon to the textfild when somebody talk at the avatar chat... i mean if somebody wants to show a =) (happyface )
how can i do that?
how can i do that?
You should search for a Flash component that does that.
Check this one >> http://www.osflash.org/fosforo
Check this one >> http://www.osflash.org/fosforo
- goodguy20k
- Posts: 71
- Joined: 10 Jan 2006, 23:58
- Location: Texas, USA
- Contact:
Another idea, based off of Lapo's for current user count is have the server write out a file everytime somebody connects or disconnects. That way, you don't tax your server with extra connections, and you have a pretty accurate number of users (in game and out of game, does not matter.) Then you can just have a little flash app on your main page keep an eye on the file being output and any time it changes, show the change. Just my two cents.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 40 guests