Search found 21 matches

by Sandyx
02 Oct 2008, 03:45
Forum: Server Side Extension Development
Topic: _server.sendResponse() throwing exception when using "
Replies: 3
Views: 6785

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")
by Sandyx
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 ...
by Sandyx
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

hi

ya .. how we are working this .. is not allowing the client to create a room [client side , CreateRoom()] ... he sends a request to the server . who then creates the same .. and tell him about it.. so ... the roomNameAlreadyExist() is helpfull :)
by Sandyx
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

*gulp* ... thats a scary one ... use at own risk :D
by Sandyx
22 Sep 2008, 08:02
Forum: Server Side Extension Development
Topic: room = _server.getCurrentRoom();
Replies: 4
Views: 7519

rocking :)
by Sandyx
22 Sep 2008, 07:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Sender Undefined onPublicMessage recieved
Replies: 5
Views: 8893

hi Lapo..
3- handle the RoomList
i think everyone forgets this one .... maybe you should add it to the server config file :)

Zone ...
autoSendRoomlist=never/onlogin/onconnect
by Sandyx
22 Sep 2008, 07:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Raw String Messages
Replies: 3
Views: 6679

raw format ? .... is there another method for that .. i was assuming str would be the same a raw ?
by Sandyx
22 Sep 2008, 07:47
Forum: Server Side Extension Development
Topic: room = _server.getCurrentRoom();
Replies: 4
Views: 7519

hi lapo

that what i meant .... i am using this on the room extension level, not zone ...just wanted to confirm if ... its return the room object on the instance of the extension .. as we can have muliple instances of the same extension

Thanks
by Sandyx
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 ...
by Sandyx
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 ...
by Sandyx
18 Sep 2008, 11:28
Forum: Server Side Extension Development
Topic: Ruby extensions?
Replies: 11
Views: 17376

can hope ... :) ....

can smartfox talk to java .. which can talk to .net .. will help me but not having to learn a new language :)
by Sandyx
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
by Sandyx
18 Sep 2008, 09:59
Forum: Server Side Extension Development
Topic: Ruby extensions?
Replies: 11
Views: 17376

.net extensions :) ............. would rock .. would make me soo happy ...
by Sandyx
18 Sep 2008, 09:54
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Some short clarifications ....
Replies: 2
Views: 6001

hi

thanks for the reply .. couple of comments..

Correct. Before talking to an extension you need to join a room.
It's important for security reasons and it enforces the use of Room as a user containers.
Take a look at this document ->

correct ... but our situation .. he can be in multiple rooms ...
by Sandyx
18 Sep 2008, 09:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: _server.setRoomVariables
Replies: 24
Views: 43852

you posted a link the top we already are on ...
:D