Search found 27 matches

by milosh6
08 Feb 2011, 12:07
Forum: SFS2X Questions
Topic: @MultiHandler
Replies: 5
Views: 9418

Found the problem

OK... so althought at first I did not know what else to try, I figure it only works for one level of dot. Thus register a request to "Unit" works only for Unit.* but not for Unit.*.*... OK, this was not clearly mentioned in the http://docs2x.smartfoxserver.com/AdvancedTopics/server-side-extensions ...
by milosh6
08 Feb 2011, 11:53
Forum: SFS2X Questions
Topic: @MultiHandler
Replies: 5
Views: 9418

Hello there,

long time no see, Lapo :) Back to SmartFox server and I see you did a wonderful job with version 2X. I am amazed.

However... I also have problem with this MultiHandler. Implemented the new corrected way. These are my code cutouts:

The zone extension


public class MyExt extends ...
by milosh6
23 Nov 2007, 16:17
Forum: Server Side Extension Development
Topic: Problem with server: java.nio.charset.MalformedInputExceptio
Replies: 3
Views: 7341

Thanks for reply, Marco.

We are not using AS3 version. There is so many of these messages in the log and constantly that I doubt it being the hacking attempt. Also, what do you mean by linux client? Linux flash player?

This bug fix you directed me to is only for AS3 version?
by milosh6
23 Nov 2007, 15:09
Forum: Server Side Extension Development
Topic: Problem with server: java.nio.charset.MalformedInputExceptio
Replies: 3
Views: 7341

Problem with server: java.nio.charset.MalformedInputExceptio

Hi,

we are using Java extensions, have the most recent patch on SmartFoxServer Pro installed and our wrapper.log is full of this exception:

What is it?

INFO | jvm 1 | 2007/11/23 00:04:25 | java.nio.charset.MalformedInputException: Input length = 1
INFO | jvm 1 | 2007/11/23 00:04:25 | at java.nio ...
by milosh6
24 Nov 2006, 14:51
Forum: Server Side Extension Development
Topic: Exception at SmartFoxServer.canLogin
Replies: 3
Views: 9592

No, it happens only sometimes, but relatively often considering the amount of clients using the chat. How do we prevent this exception from occuring?
by milosh6
24 Nov 2006, 10:30
Forum: Server Side Extension Development
Topic: Exception at SmartFoxServer.canLogin
Replies: 3
Views: 9592

Exception at SmartFoxServer.canLogin

Hello Lapo :)

well, we are now receiving the exception when calling the "canLogin" method, and we really cannot figure out why is this exception generated, as it is generated by canLogin method.

Here is the stack trace. Any ideas?

java.lang.NullPointerException
at it.gotoandplay.smartfoxserver ...
by milosh6
21 Nov 2006, 08:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Admin Tool - Statistics - Missing information
Replies: 2
Views: 6349

socket connections and clients are not the same thing. Anyone can establish a connection to the server with any client (telnet for example or anything else). Only clients that pass the initial handshake and connect to a zone finally become "Users".
That's why the two numbers differ.

Well, that ...
by milosh6
20 Nov 2006, 14:52
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Admin Tool - Statistics - Missing information
Replies: 2
Views: 6349

Admin Tool - Statistics - Missing information

I have been reading the documentation about the Admin Tool - Statistics section (http://www.smartfoxserver.com/docs/docPages/running/adminTool.htm), but it does not describe what exactly does each statistic number mean.

Thus, I do not understand, what is the difference between "Users" and "Sockets ...
by milosh6
16 Nov 2006, 16:27
Forum: SmartFoxServer 1.x Discussions and Help
Topic: User queues full
Replies: 4
Views: 8312

User queues full

Hello,

what does it mean when I can see this message in the log file?

2006/11/14 17:19:28.447 - [ WARNING ] [id: 13] (EventWriter.handleEvent): Found user queues full: messages were dropped

Using the Remote Administration and looking at the "Server Status" screen, it happened to us couple times ...
by milosh6
14 Nov 2006, 18:38
Forum: Server Side Extension Development
Topic: Bug in Java setVariable / getVariable
Replies: 12
Views: 23060

It is a boolean variable. But similar exception occured when we tried it out with the String variable.
by milosh6
14 Nov 2006, 14:55
Forum: Server Side Extension Development
Topic: Bug in Java setVariable / getVariable
Replies: 12
Views: 23060

HashMap hm = new HashMap();
hm.put("isGuest", isGuest);
GeeseeExtension.getHelper().setUserVariables(newUser, hm, false);

Stack:
java.lang.Boolean
java.lang.ClassCastException: java.lang.Boolean
at it.gotoandplay.smartfoxserver.extensions.ExtensionHelper.setUserVariables(ExtensionHelper ...
by milosh6
14 Nov 2006, 09:17
Forum: Server Side Extension Development
Topic: Bug in Java setVariable / getVariable
Replies: 12
Views: 23060

We have been actually receiving exception when trying to use the method you recommended.

Exception:

Code: Select all

java.lang.Boolean
java.lang.ClassCastException: java.lang.Boolean
	at it.gotoandplay.smartfoxserver.extensions.ExtensionHelper.setUserVariables(ExtensionHelper.java:571)
by milosh6
14 Nov 2006, 09:07
Forum: Server Side Extension Development
Topic: Bug in Java setVariable / getVariable
Replies: 12
Views: 23060

Correct.
by milosh6
13 Nov 2006, 08:00
Forum: Server Side Extension Development
Topic: Bug in Java setVariable / getVariable
Replies: 12
Views: 23060

Thanks Lapo, we'll definitely try this out. But I didn’t see in the JAVA Docs that the method we are using would be deprecated.
by milosh6
02 Nov 2006, 11:02
Forum: SmartFoxServer 1.x Discussions and Help
Topic: One installation for multiple projects
Replies: 13
Views: 21821

That worked. Wonderful support, Lapo, thanks! :)