Search found 35 matches

by endquote
13 Jul 2007, 01:12
Forum: Server Side Extension Development
Topic: can't find Zone.getRoom method
Replies: 1
Views: 6096

can't find Zone.getRoom method

I'm occasionally getting the following stack trace from Smartfox 1.5.5:

org.mozilla.javascript.EvaluatorException: Can't find method it.gotoandplay.smartfoxserver.data.Zone.getRoom(org.mozilla.javascript.Undefined). (Slasher2.js#1503)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError ...
by endquote
11 Jul 2007, 20:57
Forum: Server Side Extension Development
Topic: Creating new rooms places all users in that room?
Replies: 0
Views: 4678

Creating new rooms places all users in that room?

I'm working on a game which uses Smartfox only for chat. There is a zone extension, but it does nothing other than send out clock updates to keep all player's clocks in sync.

When a user joins a game (this action is handled by PHP), the client connects to the smartfox server: __smartfox.connect ...
by endquote
10 Jul 2007, 01:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: AS3 support in Smartfox Basic?
Replies: 1
Views: 4761

AS3 support in Smartfox Basic?

In the product comparison chart AS3 support is shown only for the Pro version of Smartfox. However if you download the basic version, the AS3 SWC files are included in the download.

Further, it seems like AS3 support couldn't really be limited to a specific edition of the product, since it's a ...
by endquote
09 Jul 2007, 18:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Possible bug in AS2 client
Replies: 3
Views: 6708

I was using an older version of the AS2 classes. I've been updating the server when updates come out, but not the API code.

Thanks!
by endquote
09 Jul 2007, 02:21
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Possible bug in AS2 client
Replies: 3
Views: 6708

Possible bug in AS2 client

I'm finding in my Smartfox app that if I call SmartfoxClient.disconnect and then call SmartfoxClient.connect again later, I get an error in the console saying "WARNING! You are already connected to ...ip address..." when in fact the connection has been closed. The source of the disconnect method is ...
by endquote
01 Jul 2007, 22:35
Forum: Server Side Extension Development
Topic: Infinite WarningsBeforeKick?
Replies: 1
Views: 5432

Infinite WarningsBeforeKick?

I want to use the bad word filter, but I don't want people to ever get kicked out when it's triggered. Is there a way to disable that feature, like how you can disable the warnings? For now I've just got a very high number in WarningsBeforeKick, but that's not ideal.
by endquote
29 Jun 2007, 01:25
Forum: Server Side Extension Development
Topic: user/memory/socket limit?
Replies: 1
Views: 7465

user/memory/socket limit?

My game is crashing when it hits a certain number of users. When I hit about 100 simultaneous games and about 300 connected users, I get this error infinitely until I kill the Smartfox process.

[ WARNING ] > error during accept(): java.io.IOException: Too many open files

I'm wondering if there ...
by endquote
28 Jun 2007, 21:58
Forum: Server Side Extension Development
Topic: CancelledKeyException?
Replies: 2
Views: 6726

CancelledKeyException?

I'm getting the following error in my extension and I have no idea what it means. Can anyone clue me in?

11:31:44.357 - [ WARNING ] > Generic Exception: java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(Unknown Source)
at ...
by endquote
30 Apr 2007, 19:24
Forum: Server Side Extension Development
Topic: LoadVars with authentication?
Replies: 1
Views: 6006

LoadVars with authentication?

I want to use LoadVars to hit a URL which uses HTTP digest authentication. I tried using the http://username:password@host syntax, but get an error like "I/O Error: Server returned HTTP response code: 401 for URL".

I'm guessing this just isn't supported?
by endquote
22 Mar 2007, 04:30
Forum: Server Side Extension Development
Topic: Memory errors
Replies: 6
Views: 12955

Well sure, but it still shouldn't crash, even in a dev environment.
by endquote
15 Mar 2007, 14:20
Forum: Server Side Extension Development
Topic: Suppress initial room list?
Replies: 5
Views: 11178

Yes, that's what I was looking at. What I'm saying is that when I call smartfox.login on the client, I never get a "loginRequest" event sent to handleInternalEvent. Is there some sort of additional configuration necessary?
by endquote
15 Mar 2007, 14:19
Forum: Server Side Extension Development
Topic: Memory errors
Replies: 6
Views: 12955

I think this is a bug in AutoReloadExtensions. I turned it off and the server has been running fine for about 16hrs now.
by endquote
15 Mar 2007, 02:25
Forum: Server Side Extension Development
Topic: Suppress initial room list?
Replies: 5
Views: 11178

How do I do that?

I'm calling smartfox.login in the AS2 APIs, but, but my handleInternalEvent method never gets a loginRequest event.
by endquote
13 Mar 2007, 18:55
Forum: Server Side Extension Development
Topic: Suppress initial room list?
Replies: 5
Views: 11178

Suppress initial room list?

When a user logs in to my zone, the Smartfox AS client is getting a list of all the rooms in the zone. My app doesn't use or need that, and I'm concerned that this list will eventually be very large. Is there a way to keep this request from being made?
by endquote
13 Mar 2007, 17:41
Forum: Server Side Extension Development
Topic: Memory errors
Replies: 6
Views: 12955

The bit about extensionReloader is interesting -- does this have something to do with AutoReloadExtensions?