Search found 10 matches

by FunTime
11 Oct 2007, 17:50
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

_server.sendResponse(responseObj, rId, null, room.getAllUsers())
Would work good to send to all users in a room, but does not work for all users in a zone.

And all of the ways I could find to get all users in a zone does not seem to work with _server.sendResponse, something I found kind of odd ...
by FunTime
11 Oct 2007, 12:20
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

I didn't use the _server.sendResponse() because I could not find a simple method of sending it to all users, where as it seemed really easy the other way. Plus no one is telling me what is wrong with my XML either.

As for the encrpytion, my server does not store plan text passwords, that being the ...
by FunTime
10 Oct 2007, 22:15
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

OK, without being told what kind of message or action types I should be sending, or can send, I changed my function a bit:

function AntiIdleFunction()
{
var AntiIdleMsg = '<msg t="xt"><body action="xtRes" r="-1">'
AntiIdleMsg +='<dataObj><var n=&apos;time&apos; t=&apos;s&apos;>' + getTimer ...
by FunTime
08 Oct 2007, 19:33
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Patch } SmartFoxServer PRO 1.5.8c ready
Replies: 18
Views: 32677

Sorry for the long delay, but I finally got around to more testing, and it seems to me if anything is bound on the same port as SFS, no matter how many other IPs or interfaces you have, SFS will not load, even with the ability to bind to the other address/interfaces that do have that port free, IMHO ...
by FunTime
08 Oct 2007, 19:30
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

I suppose I could do that, but it still makes my wonder why my function doesn't work..

Heck, it doesn't give an error or anything, just for some reason the client just never seems to get the message.
by FunTime
07 Oct 2007, 23:16
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

what types of messages are there, I was just going by some example code to get sys, however, the client doesn't even seem to see it anyways, so I'm not really sure if that is the problem or not.
by FunTime
07 Oct 2007, 19:47
Forum: Server Side Extension Development
Topic: AntiIdle
Replies: 11
Views: 16141

AntiIdle

I've been trying to make some anti-idle code but putting in a simple Ping/Pong event.

However, I'm very new to all of this, and for somereason the client never seems to get the ping event:
I got this set to run every minute, and gives no erros, but doesn't seem to send anything either, what am I ...
by FunTime
03 Oct 2007, 20:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Patch } SmartFoxServer PRO 1.5.8c ready
Replies: 18
Views: 32677

I know for a fact my first example doesn't work, I'll try the second one in a bit. (Just got back from shopping)
by FunTime
03 Oct 2007, 20:24
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Patch } SmartFoxServer PRO 1.5.8c ready
Replies: 18
Views: 32677

So it will only bind to and interface that is free, but not multiple IP on the same interface?

I haven't looked yet, I do know however that if I have more then one IP on the same interface, it will not bind to IP's on that interface if any of them have the port I want SFS to use...

Like I have ...
by FunTime
02 Oct 2007, 20:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: { Patch } SmartFoxServer PRO 1.5.8c ready
Replies: 18
Views: 32677

IP Binding

While I little late (I just got around to updating to 1.5.9 yesterday)
the problem is with this patch here.

I really think you should go back to your old behavior for binding to only IP/ports listed in the config.

Maybe soing something more like this?

<connections>
<bind>
<ServerIP>127.0.0.1 ...