Search found 13 matches

by Nebulous
25 Aug 2011, 05:54
Forum: SFS2X Questions
Topic: 2X BuddyList storage class was not found
Replies: 3
Views: 6497

Thanks rjgtav. I just figured if the class was visible to the admin tool it should be visible to the buddy list manager too. Anyway, I separated my storage class into a different jar (which now has to expose functions for adding offline buddies for my other extension classes to use). Anyway, I'm up ...
by Nebulous
20 Aug 2011, 22:08
Forum: SFS2X Questions
Topic: 2X BuddyList storage class was not found
Replies: 3
Views: 6497

Aww, nobody has any idea?

Is anyone aware of a demo that has a complete implementation of an example buddy storage class?

Or is there some way I can use the SFS APIs to force the use of my BuddyStorage class instead of putting it in the zone's .xml file?

Please help.

-Ryan
by Nebulous
18 Aug 2011, 19:42
Forum: SFS2X Questions
Topic: 2X BuddyList storage class was not found
Replies: 3
Views: 6497

2X BuddyList storage class was not found

Hi all, I'm attempting to get a custom buddy storage class working, but I'm seeing an error when starting my 2X server telling me that it can't find my buddy storage class. My class definitely implements the BuddyStorage interface. Its fully qualified name also appears under the "Main class&quo...
by Nebulous
14 Oct 2009, 19:49
Forum: Server Side Extension Development
Topic: Problems with mutualRemoveBuddy
Replies: 2
Views: 4736

Well, I'm not sure if the AdvancedBuddyList example would be able to reproduce this, since it doesn't implement a custom persister class. Besides, I can't really run the examples because they only connect to localhost and my server is on another Linux box here. Once again, my issues are: 1) saveList...
by Nebulous
08 Oct 2009, 20:09
Forum: Server Side Extension Development
Topic: PersisterClass buddyvariables
Replies: 2
Views: 5606

I know the Java documentation isn't too clear on buddy variables, but this is what I've seen from my testing so far. In loadList, you don't need to set variables for anyone but the owner of the list. The buddy list sent to the client should automatically contain all of the variables that the server ...
by Nebulous
08 Oct 2009, 19:40
Forum: Server Side Extension Development
Topic: Problems with mutualRemoveBuddy
Replies: 2
Views: 4736

Problems with mutualRemoveBuddy

I'm having some trouble removing mutual buddies in SFS PRO 1.6.7. I have a custom buddy persister class. mutualAddBuddy and mutualRemoveBuddy are both true in my config.xml. User A and User B are mutual buddies. Both are online. If user A removes user B (via a 'remB' message from the client), I see ...
by Nebulous
02 Oct 2009, 22:04
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

Can you clarify this please? I have a custom buddy persister, and I am also working on a system to add mutual offline buddies using a 1.6.6 Java server extension that handles email and buddy requests. First of all, what does the <mutualAddBuddy> option actually do on the server side? I have that set...
by Nebulous
25 Sep 2009, 18:20
Forum: .Net / Unity3D API
Topic: onBuddyList is not fired
Replies: 5
Views: 10056

Ok, I get this now: An error occurred while loading the buddy list: I guess I was just expecting SFSEvent.onBuddyList to be called with an empty ArrayList, instead of SFSEvent.onBuddyListError with an empty String. When you get time, it might be worthwhile to make that change, or at least explain th...
by Nebulous
22 Sep 2009, 17:47
Forum: .Net / Unity3D API
Topic: onBuddyList is not fired
Replies: 5
Views: 10056

Thanks Thomas! We'll be waiting to hear back from you.
by Nebulous
16 Sep 2009, 22:15
Forum: .Net / Unity3D API
Topic: onBuddyList is not fired
Replies: 5
Views: 10056

onBuddyList is not fired

Hello, I'm having an issue where onBuddyList isn't called when the buddy list is received. I have SFS Pro 1.6.6 and the latest SFS_CSharp, version 1.2.3. Here's my code. Note that "RegisterCallbacks" does appear in my output, and "OnBuddyList" appears if I call SFSEvent.onBuddyLi...
by Nebulous
03 Sep 2009, 22:00
Forum: Server Side Extension Development
Topic: JSON Libraries
Replies: 7
Views: 13312

Wait a minute, did you just post a link back to this same thread? :D Anyway, I ended up just changing our code to use net.sf.json. Until you add an overload for handleRequest, we can just do the conversion ourselves. In case anyone was wondering, here's our code for that: import net.sf.json.*; publi...
by Nebulous
01 Sep 2009, 20:54
Forum: Server Side Extension Development
Topic: JSON Libraries
Replies: 7
Views: 13312

A note about the json.jar file included with SFS PRO 1.6.6... it doesn't seem to be compatible with the current org.json.* source code available at json.org. Just to get access to some of the missing methods like JSONObject.append, I built my own json.jar using that code and I ended up with these ex...
by Nebulous
18 Aug 2009, 18:16
Forum: Features Wish List
Topic: Logging Incoming/outgoing messages
Replies: 2
Views: 7456

It might also be nice if you could also change the logging level of the "DATA IN" and "DATA OUT" messages. INFO seems pretty high, causing a bunch of messages which can get in the way of debugging server extensions.

Go to advanced search