hi
ya.. had done the manual readin.. hence i had got it to work .. the question was why this would not work, more for understanding...
_server.sendResponse("Sandyx",room.getId(),null,users,"str")
Search found 21 matches
- 02 Oct 2008, 03:45
- Forum: Server Side Extension Development
- Topic: _server.sendResponse() throwing exception when using "
- Replies: 3
- Views: 6785
- 01 Oct 2008, 03:43
- Forum: Server Side Extension Development
- Topic: _server.sendResponse() throwing exception when using "
- Replies: 3
- Views: 6785
_server.sendResponse() throwing exception when using "
hi
we tried to do this
//sending simple string
room = _server.getCurrentRoom();
users = room.getAllUsers();
_server.sendResponse("1,2,3",room.getId(),null,users,"str")
but the error i get is
09:53:50.336 - [ WARNING ] > Error in extension [ DROP_BALL.as ]: Can't find met
hod it ...
we tried to do this
//sending simple string
room = _server.getCurrentRoom();
users = room.getAllUsers();
_server.sendResponse("1,2,3",room.getId(),null,users,"str")
but the error i get is
09:53:50.336 - [ WARNING ] > Error in extension [ DROP_BALL.as ]: Can't find met
hod it ...
- 22 Sep 2008, 08:25
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Diffrence in Java and As Server API document ?
- Replies: 4
- Views: 7281
- 22 Sep 2008, 08:09
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Diffrence in Java and As Server API document ?
- Replies: 4
- Views: 7281
- 22 Sep 2008, 08:02
- Forum: Server Side Extension Development
- Topic: room = _server.getCurrentRoom();
- Replies: 4
- Views: 7519
- 22 Sep 2008, 07:52
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Sender Undefined onPublicMessage recieved
- Replies: 5
- Views: 8893
- 22 Sep 2008, 07:49
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Raw String Messages
- Replies: 3
- Views: 6679
- 22 Sep 2008, 07:47
- Forum: Server Side Extension Development
- Topic: room = _server.getCurrentRoom();
- Replies: 4
- Views: 7519
- 20 Sep 2008, 07:47
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Raw String Messages
- Replies: 3
- Views: 6679
Raw String Messages
hi
i need to send simple string messages to the client and vice versa, should i be using to send to the client ..
_server.sendResponse( , with the message type defined as "str"
.
We need to send a LOT of these of simple string packets, and very quickly , so need something that adds the minimum ...
i need to send simple string messages to the client and vice versa, should i be using to send to the client ..
_server.sendResponse( , with the message type defined as "str"
.
We need to send a LOT of these of simple string packets, and very quickly , so need something that adds the minimum ...
- 20 Sep 2008, 05:17
- Forum: Server Side Extension Development
- Topic: room = _server.getCurrentRoom();
- Replies: 4
- Views: 7519
room = _server.getCurrentRoom();
hi
when i call
room = _server.getCurrentRoom();
on a server extension , does it return the room object of that instance of that extension .
create game .... new game_ext() ... roomid=10
create game .... new game_ext() ... roomid=11
in any function of game_ext() .... where theroom id is .. 10 ...
when i call
room = _server.getCurrentRoom();
on a server extension , does it return the room object of that instance of that extension .
create game .... new game_ext() ... roomid=10
create game .... new game_ext() ... roomid=11
in any function of game_ext() .... where theroom id is .. 10 ...
- 18 Sep 2008, 11:28
- Forum: Server Side Extension Development
- Topic: Ruby extensions?
- Replies: 11
- Views: 17376
- 18 Sep 2008, 10:12
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Diffrence in Java and As Server API document ?
- Replies: 4
- Views: 7281
Diffrence in Java and As Server API document ?
hi
in the java docs .. the Zone Class has a function called
roomNameAlreadyExist()
in the AS version of the Zone class i dont see it ...
any reason for this ...
Thanks
in the java docs .. the Zone Class has a function called
roomNameAlreadyExist()
in the AS version of the Zone class i dont see it ...
any reason for this ...
Thanks
- 18 Sep 2008, 09:59
- Forum: Server Side Extension Development
- Topic: Ruby extensions?
- Replies: 11
- Views: 17376
- 18 Sep 2008, 09:54
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Some short clarifications ....
- Replies: 2
- Views: 6001
- 18 Sep 2008, 09:51
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: _server.setRoomVariables
- Replies: 24
- Views: 43852