Search found 12 matches

by mauro
14 Dec 2010, 14:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: BanByName
Replies: 14
Views: 17006

I have the same problem with server version 1.6.9. I try to ban by name from client side with the follow code: param.put("id", player.getId()); param.put("msg", ""); param.put("mode", "0"); frame.getGestore().g...
by mauro
01 Oct 2010, 09:20
Forum: Server Side Extension Development
Topic: Disconnect idle user from room
Replies: 2
Views: 5078

Ok thanks
by mauro
30 Sep 2010, 09:21
Forum: Server Side Extension Development
Topic: Disconnect idle user from room
Replies: 2
Views: 5078

Disconnect idle user from room

It's a way to disconnect a idle user from a single room against the entire smartfox server?

thanks
by mauro
17 Sep 2010, 13:30
Forum: Server Side Extension Development
Topic: dropped messages, is this normal?
Replies: 11
Views: 12498

InternalEventObject.EVENT_USER_LOST is the event fired, or others?
by mauro
17 Sep 2010, 10:20
Forum: Server Side Extension Development
Topic: dropped messages, is this normal?
Replies: 11
Views: 12498

I have a question about dropped messages.
When a client is disconnected because have many dropped messages, is fired any event in server side?
Thanks
by mauro
14 May 2010, 14:12
Forum: Server Side Extension Development
Topic: Extension Interoperability problem
Replies: 1
Views: 3859

I try that this tutorial work fine on extension iteroperability from different zones.
How can I do the same between a zone extension that call a room extension? The room is in the same zone. :? :? :?

Thanks.
by mauro
13 May 2010, 14:45
Forum: Server Side Extension Development
Topic: Extension Interoperability problem
Replies: 1
Views: 3859

Extension Interoperability problem

Hi, I try to call an extension room method from an extension zone. I have read the this tutorial , but when I print targetExtension variable, I have a null pointer exception. The name of the extension to call is correct, but i create this extension at runtime. Here is my code: AbstractExtension targ...
by mauro
20 Apr 2010, 15:38
Forum: Java2SE / Android Client API
Topic: JSON vs ActionScript Objects
Replies: 3
Views: 14449

Sorry, it's only an error in my code!! :oops:

The correct code is:

Code: Select all

Object o = event.getParams().get("dataObj");
JSONObject obj = (JSONObject) o;


Sorry... :roll:
by mauro
19 Apr 2010, 11:35
Forum: Server Side Extension Development
Topic: Java & Hibernate problem
Replies: 2
Views: 4872

Hi Lapo, thanks for your answer! Yes, it's the same, now I try to use it.

:wink:
by mauro
19 Apr 2010, 08:21
Forum: Server Side Extension Development
Topic: Java & Hibernate problem
Replies: 2
Views: 4872

Java & Hibernate problem

Hi, i'm try to create a Java extension with Hibernate, but I have a problem. Hibernate need a to load a file calle persistance.xml, located in META-INF folder. When I try to load this file, I can't find it and I have an exception in my extension init. I add the classpath in my wrapper.conf file, but...
by mauro
19 Apr 2010, 07:03
Forum: Java2SE / Android Client API
Topic: JSON vs ActionScript Objects
Replies: 3
Views: 14449

It's the same thing for raw type (String)? It's possible?!?!
:shock:
by mauro
16 Apr 2010, 07:02
Forum: Java2SE / Android Client API
Topic: JSON vs ActionScript Objects
Replies: 3
Views: 14449

I have the same problem. I can't take the JSON response in my java client, beacause it throw a ClassCastException. Below the full stack trace: java.lang.ClassCastException: org.json.JSONObject cannot be cast to it.gotoandplay.smartfoxclient.data.SFSObject at it.gotoandplay.smartfoxclient.data.SFSObj...

Go to advanced search