Search found 56 matches

by poppop
22 Aug 2007, 21:11
Forum: Server Side Extension Development
Topic: getAllUsers() is reporting an error...
Replies: 9
Views: 5000

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...
by poppop
21 Aug 2007, 13:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User.getId() / user.getName() / Add a new one???
Replies: 4
Views: 3561

Sweet mate!!

Thanks so much! :P
by poppop
20 Aug 2007, 22:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User.getId() / user.getName() / Add a new one???
Replies: 4
Views: 3561

Thanks for the reply bax, I cannot seem to get the "getVariable" to work, I tried the following: smartfox.joinRoom(roomName) smartfox.setUserVariables({age:"26",team:"16",init:true}) Then, in the onPublicMessage function, i want to access these...
by poppop
19 Aug 2007, 19:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User.getId() / user.getName() / Add a new one???
Replies: 4
Views: 3561

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.
by poppop
19 Aug 2007, 17:13
Forum: SmartFoxServer 1.x Discussions and Help
Topic: "anything".getUserCount();
Replies: 1
Views: 1528

"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.
by poppop
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: 1645

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...
by poppop
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: 1645

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){ } =====...
by poppop
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: 2902

The sooner the better.

This looks a great feature.

Please -- if anyone reading knows anything about this feature, post some links :wink:
by poppop
10 Jul 2007, 22:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Level, or Zone Level....
Replies: 3
Views: 2308

It's not clear what you ask for: to have a room-level extension working in lots of rooms, you have to create an instance of the same extension for each room. with electroserver, you create one "plugin" and set it as "room level", this lets you import it into any room while your ...
by poppop
10 Jul 2007, 22:10
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Security
Replies: 2
Views: 1858

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...
by poppop
07 Jul 2007, 10:30
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room Level, or Zone Level....
Replies: 3
Views: 2308

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...

Go to advanced search