Search found 154 matches
- 09 Feb 2009, 06:54
- Forum: Server Side Extension Development
- Topic: Save data when server restarts
- Replies: 3
- Views: 7949
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...
- 28 Jan 2009, 08:10
- Forum: Server Side Extension Development
- Topic: Error: can't proceed adding the NPC
- Replies: 6
- Views: 9355
- 28 Jan 2009, 08:09
- Forum: Server Side Extension Development
- Topic: Error: can't proceed adding the NPC
- Replies: 6
- Views: 9355
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...
- 26 Jan 2009, 15:58
- Forum: Server Side Extension Development
- Topic: Save data when server restarts
- Replies: 3
- Views: 7949
- 26 Jan 2009, 15:57
- Forum: Server Side Extension Development
- Topic: Save data when server restarts
- Replies: 3
- Views: 7949
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(...
- 03 Dec 2008, 08:44
- Forum: Server Side Extension Development
- Topic: Exception while adding NPC
- Replies: 1
- Views: 5493
Sorry pals. The hawkeyed saw that the ip in
had a space after 127.0.0.1.
Removing that space made it work.
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.
- 03 Dec 2008, 08:34
- Forum: Server Side Extension Development
- Topic: Exception while adding NPC
- Replies: 1
- Views: 5493
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...
- 20 Oct 2008, 07:04
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Joining the wrong zone
- Replies: 2
- Views: 5217
- 17 Oct 2008, 13:47
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Joining the wrong zone
- Replies: 2
- Views: 5217
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...
- 25 Sep 2008, 21:26
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: GetSecretKey() returns null
- Replies: 3
- Views: 6863
- 24 Sep 2008, 08:58
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: GetSecretKey() returns null
- Replies: 3
- Views: 6863
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...
- 08 Jul 2008, 10:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Free multiplayer API - smartfox competition?
- Replies: 7
- Views: 11857
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 ...
- 02 Jul 2008, 12:15
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: SFS and Encrypting Payment Information
- Replies: 6
- Views: 10517
- 23 Jun 2008, 06:09
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Swedish letters in config.xml?
- Replies: 13
- Views: 18384
- 10 Jun 2008, 08:35
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: any way to sendXtMessage from java applet?
- Replies: 4
- Views: 7838
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...