Search found 56 matches
- 22 Aug 2007, 21:11
- Forum: Server Side Extension Development
- Topic: getAllUsers() is reporting an error...
- Replies: 9
- Views: 13102
getAllUsers() is reporting an error...
Hello. I'm trying to send a response to all users in a room, but when i try the code below (the code is server side): var usersArray = _server.getCurrentRoom().getAllUsers(); room = _server.getCurrentRoom() usersInRoom = room.getAllUsers() _server.sendResponse(res...
- 21 Aug 2007, 13:24
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: User.getId() / user.getName() / Add a new one???
- Replies: 4
- Views: 8107
- 20 Aug 2007, 22:15
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: User.getId() / user.getName() / Add a new one???
- Replies: 4
- Views: 8107
- 19 Aug 2007, 19:51
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: User.getId() / user.getName() / Add a new one???
- Replies: 4
- Views: 8107
User.getId() / user.getName() / Add a new one???
Hello,
is it possible to add a new User."Command"
i really need User.Age() , User.Sex(), etc
How easy is it to add this, i've looked in the advanced chat example, but cannot see where the User object is made, or how to edit it.
Many thanks.
is it possible to add a new User."Command"
i really need User.Age() , User.Sex(), etc
How easy is it to add this, i've looked in the advanced chat example, but cannot see where the User object is made, or how to edit it.
Many thanks.
- 19 Aug 2007, 17:13
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: "anything".getUserCount();
- Replies: 1
- Views: 4116
"anything".getUserCount();
Hello. How can i get the user count of any room like this: "my room".getUserCount(); or room = "my room" room.getUserCount(); Any help?? P.S This is already in a server side extension, as i have read that usercount can only be accessed serverside. Thanks again.
- 17 Aug 2007, 15:19
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Can the server read varibles, without the client sending it?
- Replies: 3
- Views: 5374
Is it possible for the server to request the value of a varible or position of a movieclip, without the client sending it? You're reversing the problem... it's not the server that sends requests to the client, it's the opposite. At least in terms of logic. If the client needs to update certain data...
- 11 Aug 2007, 13:50
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Can the server read varibles, without the client sending it?
- Replies: 3
- Views: 5374
Can the server read varibles, without the client sending it?
Hello, Is it possible for the server to request the value of a varible or position of a movieclip, without the client sending it? Only the server requesting it. So instead of... ================================ CLIENT SITE: _root.var1 = 123 _root.var2 = 456 function SendToServer(var1, var2){ } =====...
- 30 Jul 2007, 20:38
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Transfer entire swf files as byte arrays through the socket
- Replies: 5
- Views: 8090
- 10 Jul 2007, 22:25
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Level, or Zone Level....
- Replies: 3
- Views: 6295
- 10 Jul 2007, 22:10
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Security
- Replies: 2
- Views: 5277
Security
Can anyone explain better how to do this: 3- make your code modular: if your application is split into various modules loaded at runtime (i.e. a shell with various external swfs) it will make it harder to find out what is going on (this is a technique that can be pushed pretty far with more advanced...
- 07 Jul 2007, 10:30
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Room Level, or Zone Level....
- Replies: 3
- Views: 6295
Room Level, or Zone Level....
Hello all!! :lol: I want to make a turn based game. There will be a main chat room, and lots of smaller 2 to 4 player games aswell -- all turn based. Know, i know that room level would be simpler, as each game is per room. But Zone level would stop having 1000's of instances of the same extensions r...