Search found 21 matches

by helloniklas
01 Dec 2009, 16:36
Forum: OpenSpace v1 discussions and help
Topic: Problem with embed fonts in Avatar Skin
Replies: 1
Views: 5805

Problem with embed fonts in Avatar Skin

So, I have a problem to use embedded fonts with the avatar skins. This works fine with the test avatars swf from the examples. But if I recompile my own (or the example for that matter) with an .as files for the avatar set up, it somehow doesn't pick up the font. Now, I'm sure I got the fonts on my ...
by helloniklas
26 Oct 2009, 16:56
Forum: Server Side Extension Development
Topic: Brief Tutorial on getting Hibernate to work with Smartfox
Replies: 4
Views: 44986

Ok, I now got this working, very nice...

It seems I had to put my classes in

Server/mypackage...

Rather then in javaExtensions/

Which I guess is correct then?

Any guidelines from someone experienced on as where to put stuff would be much appreciated.
by helloniklas
26 Oct 2009, 16:17
Forum: Server Side Extension Development
Topic: Brief Tutorial on getting Hibernate to work with Smartfox
Replies: 4
Views: 44986

org.hibernate.MappingNotFoundException

Hey, I'm new the Java world, so sorry for newbie question. I have Hibernate hooked up and trying a simple test. I get this exception Exception in ExtensionHandler: org.hibernate.MappingNotFoundException: resource: net/pubpals/data/user/User.hbm.xml not found Exception type: org.hibernate.MappingNotF...
by helloniklas
09 Oct 2009, 14:11
Forum: Server Side Extension Development
Topic: Problem sending JSON from sendXtMessage to AbstractExtension
Replies: 21
Views: 29041

public class Register extends AbstractExtension { private ExtensionHelper helper; private DbManager dbManager; private Zone currZone; /** * Init extension */ public void init() { // Get Helper helper = ExtensionHelper.instance(); // Get the current zone currZone = helper.getZone(this.getOwnerZone())...
by helloniklas
09 Oct 2009, 08:53
Forum: Server Side Extension Development
Topic: Problem sending JSON from sendXtMessage to AbstractExtension
Replies: 21
Views: 29041

Hm yeah, this really puzzles me. I have a break point in flash just before it sends it out, so it's definitely going out. If I send as actionscript it works, when I send as json it doesn't get picked up on the server side... Although all methods are there...
by helloniklas
07 Oct 2009, 13:22
Forum: Server Side Extension Development
Topic: Secure login with randomKey AND keeping pass hashed in db?
Replies: 0
Views: 3692

Secure login with randomKey AND keeping pass hashed in db?

So, I following the examples at 8.9 Tutorials: Secure Login Example. Problem is that I also want to md5 and salt the password when I store them in the db. Which means that in order to add the getRandomKey md5 hash on the client when logging in, I need to first to the md5 + salt on the client rather ...
by helloniklas
07 Oct 2009, 09:18
Forum: Server Side Extension Development
Topic: Problem sending JSON from sendXtMessage to AbstractExtension
Replies: 21
Views: 29041

Ok, so I'm extending AbstractExtension. I've put all the 3 handleRequest methods in there with the different signature arguments as per tutorial. If I send Actionscript object from the client it works fine, it goes into the public void handleRequest(String cmd, ActionscriptObject ao, User u, int fro...
by helloniklas
06 Oct 2009, 15:54
Forum: Server Side Extension Development
Topic: Problem sending JSON from sendXtMessage to AbstractExtension
Replies: 21
Views: 29041

Problem sending JSON from sendXtMessage to AbstractExtension

So, I read the Java coockbook and am trying to use json insetad of actionscript xml. So I do smartFox.sendXtMessage("registerEX", "register", obj, "json"); However, on the server, if my extension extends AbstractExtension the compiler complains that it's the wrong metho...
by helloniklas
02 Oct 2009, 22:16
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

I worked it out by setting addBuddyPermission = false and mutualAddBuddy = false as well. When user A send a request, I add it to a requests db table from the extension, also storing both the source and target user id. When user B login I read this list in from the db table. User A can then accept o...
by helloniklas
30 Sep 2009, 15:45
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

Yep, to send offline messages I could just set up a separate db table and store message by username. So, if I implement my own persitant class and db store, do I also have to build the whole buddy thing more or less form scratch, ie. the isOnline, isBlocked and so on. Or can I just tap into the exis...
by helloniklas
30 Sep 2009, 15:30
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

--> The very first time that they catch each other online they will become buddies and play/chat together Problem here is that I will have a list where the users can see the buddies, and also an offline message system, ie. inbox. So it would be nice if the buddy would show up there, so the users can...
by helloniklas
30 Sep 2009, 15:02
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

Thanks for quick response. So, --> AA sends the request to the server You mean I do a custom extension call here? --> Server stores the request in the DB I do this in my custom extension, or in a Persistant Buddy Extension? Or in an internal event? --> Next time BB is online the server checks if AA ...
by helloniklas
30 Sep 2009, 09:12
Forum: Server Side Extension Development
Topic: how to add offline user as buddy
Replies: 5
Views: 9657

Did you manage to resolve this? I'm having the same problems.
by helloniklas
30 Sep 2009, 09:10
Forum: Server Side Extension Development
Topic: Offline addBuddy, best practice in 1.6.6
Replies: 9
Views: 11628

Offline addBuddy, best practice in 1.6.6

I've searched through the forums for advice on how to enable offline requests of addBuddy. I'm still confused as to which is the best way of doing this with the latest server 1.6.6. Do I need to create my own custom addBuddy call on the client to my own extension and then do the addBuddy manually se...
by helloniklas
28 Sep 2009, 13:46
Forum: Server Side Extension Development
Topic: Problem with h2 database on vps
Replies: 4
Views: 7088

Ok, this now works fine. I cleared out stuff and rerun the sql script on the db on the vps. And now seems to work fine. Sorry for the hassle. Thanks.

Go to advanced search