Search found 154 matches

by potmo
09 Feb 2009, 06:54
Forum: Server Side Extension Development
Topic: Save data when server restarts
Replies: 3
Views: 3579

right now I have solved it with a costy workaround. First I lock the server so that no-one can log in. Then I kick all users that are not in a game and save all their data. Then I kick all users that leave a game under a period of 15 minutes. Then after 15 minutes I kick all the users that haven't l...
by potmo
28 Jan 2009, 08:10
Forum: Server Side Extension Development
Topic: Error: can't proceed adding the NPC
Replies: 6
Views: 4017

is it possible to get that patch you mentioned?
by potmo
28 Jan 2009, 08:09
Forum: Server Side Extension Development
Topic: Error: can't proceed adding the NPC
Replies: 6
Views: 4017

im having the same issue. Is there a workaround? When a client asks to start a new botGame a java.lang exception is thrown. java.lang.Exception: Server connection was not found, can't proceed adding the NPC. Sorry. at it.gotoandplay.smartfoxserver.extensions.ExtensionHelper.createNPC(ExtensionHelper...
by potmo
26 Jan 2009, 15:58
Forum: Server Side Extension Development
Topic: Save data when server restarts
Replies: 3
Views: 3579

just writing to get the notify when anyone writes something
by potmo
26 Jan 2009, 15:57
Forum: Server Side Extension Development
Topic: Save data when server restarts
Replies: 3
Views: 3579

Save data when server restarts

Hi! Im having some extra data on each user that i'd like to save when the server restarts. The problem is that the I can't find any place to save the data at. First i hoped that the internal event "userLost" would be fired when the server stopped but that didnt happen. Then I tried destoy(...
by potmo
03 Dec 2008, 08:44
Forum: Server Side Extension Development
Topic: Exception while adding NPC
Replies: 1
Views: 2229

Sorry pals. The hawkeyed saw that the ip in

Code: Select all

User sfUser = this.getHelper().createNPC(username, "127.0.0.1 ", 9339, this.getOwnerZone());

had a space after 127.0.0.1.
Removing that space made it work.
by potmo
03 Dec 2008, 08:34
Forum: Server Side Extension Development
Topic: Exception while adding NPC
Replies: 1
Views: 2229

Exception while adding NPC

Hi When I try to add a NPC i get this error java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Net.java:30) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:451) at it.gotoandplay.smartfoxserver.extensions.ExtensionHelper.createNPC(ExtensionHelper.java:1246) at...
by potmo
20 Oct 2008, 07:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Joining the wrong zone
Replies: 2
Views: 2121

I found it I think.

the variable "zone" was declared as
private static Zone zone;

Stupid. Its the littlest errata that makes the biggest headache.

Thanks!
by potmo
17 Oct 2008, 13:47
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Joining the wrong zone
Replies: 2
Views: 2121

Joining the wrong zone

Hi! I have two zones called "couronnegold" and "px" in my config.xml <Zones> <Zone name="couronnegold" uCountUpdate="false" emptyNames="false" customLogin="true"> <Rooms></Rooms> <Extensions> <extension name="A" className="se...
by potmo
25 Sep 2008, 21:26
Forum: SmartFoxServer 1.x Discussions and Help
Topic: GetSecretKey() returns null
Replies: 3
Views: 3023

okay. is there anyway to get a secretkey without having the client request it? Maybe just create a MD5 of some id that is unique to the connection?
by potmo
24 Sep 2008, 08:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: GetSecretKey() returns null
Replies: 3
Views: 3023

GetSecretKey() returns null

Hi! Im using SmartFox 1.6.1 on mac and I' get a quite strange error with getSecretKey() i write it.gotoandplay.smartfoxserver.extensions.ExtensionHelper.instance().getSecretKey(channel) where channel is a SocketChannel and the open-property of that channel is set to true (i guess that means that the...
by potmo
08 Jul 2008, 10:46
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Free multiplayer API - smartfox competition?
Replies: 7
Views: 5194

I agree with some of the other posts. Its great to have a free servers solution that someone else hosts but if you want to go professional you have to have total control. And as someone else said. Its not a community and all its fancy technical functionality thats the real asset in a community. Its ...
by potmo
02 Jul 2008, 12:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: SFS and Encrypting Payment Information
Replies: 6
Views: 4618

I guess that Smartfox would not be less safe than a browser.
But can you send HTTPS with The Fox?
by potmo
23 Jun 2008, 06:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Swedish letters in config.xml?
Replies: 13
Views: 8052

have you saved the xml as UTF-8 and do you have a UTF-8 encoding tag at the top of the xml?
by potmo
10 Jun 2008, 08:35
Forum: SmartFoxServer 1.x Discussions and Help
Topic: any way to sendXtMessage from java applet?
Replies: 4
Views: 3200

I don't know about the security protocol of JAVA-applets but all software that can make a xml or raw connection can send extension messages to Smartfox. I have dont this with director and it isn't that much work just to send xt-messages. What you need to do is to connect, join the lobby and then sta...

Go to advanced search