Search found 26 matches

by dlong
01 Jul 2010, 19:56
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Exception in ExtensionHandler: java.lang.NullPointerExceptio
Replies: 6
Views: 9356

Exception in ExtensionHandler: java.lang.NullPointerExceptio

Hi, We're having a problem with our production SFS locking up sporadically... we have a pretty large log file (about 12MB) so I didn't want to post the whole thing here. We're pretty high throughput with thousands of concurrent users... this seems to happen about once every few weeks. Once we restar...
by dlong
16 Oct 2009, 01:45
Forum: Server Side Extension Development
Topic: Dynamically Created Rooms Not Sending Room Update Event
Replies: 6
Views: 8663

Hi Lapo, The concept is very similar to the cookbook recipe for logging users in and slotting them into a room, creating them dynamically if necessary. The basic logic is: 1) Connect to server 2) Login to the zone 3) The zone has an extension that watches for the internal event: InternalEventObject....
by dlong
14 Oct 2009, 19:49
Forum: .Net / Unity3D API
Topic: HandleRoomList() Clearing All Rooms
Replies: 1
Views: 5126

HandleRoomList() Clearing All Rooms

Hi, I'm trying to figure out the desired behavior with regards to rooms, room lists, creating rooms, etc. In the api code, the method HandleRoomList() is clearing out all the rooms and then "rebuilding" the list based on the data being sent back from the server. The problem becomes that if...
by dlong
14 Oct 2009, 19:42
Forum: Server Side Extension Development
Topic: Dynamically Created Rooms Not Sending Room Update Event
Replies: 6
Views: 8663

Dynamically Created Rooms Not Sending Room Update Event

Here's the code I'm using in my server-side extension to dynamically create rooms. It is more or less the same code from the online java cookbook: http://www.smartfoxserver.com/docs/docPages/sfsPro/javaCookBook.htm private Room CreateRoom(String roomName, int maxUserCount, User user) { ...
by dlong
14 Aug 2009, 17:20
Forum: .Net / Unity3D API
Topic: User Variables Update Message From Server Corrupted?
Replies: 6
Views: 16335

LOL, thank for the help Thomas! Glad we could assist. For now, we're going to try sticking with the 1.2.1 library until 1.2.3 comes out.

I'll let you know if I'm in Sweden and you do the same if you're in LA so we can take you up on that beer! :wink:
by dlong
13 Aug 2009, 21:40
Forum: .Net / Unity3D API
Topic: User Variables Update Message From Server Corrupted?
Replies: 6
Views: 16335

Hey Thomas, So we tried it out today with two versions, one using 1.2.1 and 1.2.2. It does appear to be an issue with the 1.2.2 library. We had no problems today (or previously) with the 1.2.1 libraries in this capacity, however we were unable to connect once the number of users in a room passes som...
by dlong
12 Aug 2009, 20:24
Forum: .Net / Unity3D API
Topic: User Variables Update Message From Server Corrupted?
Replies: 6
Views: 16335

User Variables Update Message From Server Corrupted?

Hi, Not sure what exactly is going on but in our production environment we're getting what looks to be malformed xml data back from the server in the UpdateUserVariables calls. I've included a snip from the log file below. Note this is an intermittent issue, but when it occurs, it causes the .Net li...
by dlong
08 Jul 2009, 16:17
Forum: .Net / Unity3D API
Topic: Is standard communication with Server always XML based?
Replies: 3
Views: 7822

Hey Thomas, Maybe we're doing this completely wrong but we're using the user variables for each user in a room to communicate that users current position. This gets updated about 10 times per second. We're concerned that we'll be consuming too much bandwidth, mostly because of the extra overhead for...
by dlong
07 Jul 2009, 21:14
Forum: .Net / Unity3D API
Topic: Is standard communication with Server always XML based?
Replies: 3
Views: 7822

Is standard communication with Server always XML based?

Hi, I'm not talking about server extension communications but more the basic plumbing such as connecting, logging in, setting user/room variables, etc. It appears to be all in XML format. I'm looking to switch it to a raw mode and was hoping for a configuration switch I could flip but have not found...
by dlong
07 Jul 2009, 17:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Terracotta works natively with Smart Fox Server?
Replies: 3
Views: 5667

Thanks for the reply Lapo. I've looked through the documentation and it's still not super clear to me. Here's what I think is happening... could you please confirm if that it is true or, if not true, what the correct state of affairs is? It looks to me that the SFS Pro product you download does not ...
by dlong
07 Jul 2009, 01:19
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Terracotta works natively with Smart Fox Server?
Replies: 3
Views: 5667

Terracotta works natively with Smart Fox Server?

Hi, Just trying to figure out exactly how Terracotta comes into play. It looks like (according to this demo: http://www.terracotta.org/web/display/orgsite/Hello+Clustered+World) you have to configure Terracotta to share specific variables (or objects). If so, it seems you would need to know about th...
by dlong
24 Jun 2009, 19:29
Forum: .Net / Unity3D API
Topic: Smart Fox Client API Entities.Initialize() Question
Replies: 2
Views: 6512

Thanks Thomas!!! You're the best!!! :)
by dlong
23 Jun 2009, 17:46
Forum: Server Side Extension Development
Topic: Configuration File for Extensions?
Replies: 2
Views: 4956

Thanks Lapo! That's exactly what I was looking for!

DL
by dlong
23 Jun 2009, 17:25
Forum: .Net / Unity3D API
Topic: Smart Fox Client API Entities.Initialize() Question
Replies: 2
Views: 6512

Smart Fox Client API Entities.Initialize() Question

This is probably best answered by Thomas. In this method, there is a hashtable that gets initialized. The problem is that I'm trying to create more than one to connection to my server and this section chokes because it's trying to add duplicate keys to the ascTab hashtable. Actual code: internal sta...
by dlong
22 Jun 2009, 22:55
Forum: Server Side Extension Development
Topic: Configuration File for Extensions?
Replies: 2
Views: 4956

Configuration File for Extensions?

Hi, I have a really simple question. Is there a way to create custom application settings for an extension, similar to a web.config in .NET? For instance, let's say I need to add a value for a third-party web service url that I do not want to hard code into the extension itself. Thanks in advance! DL

Go to advanced search