Search found 31 matches
- 11 Aug 2009, 11:27
- Forum: Server Side Extension Development
- Topic: Extension-per-user
- Replies: 1
- Views: 4346
- 11 Aug 2009, 07:23
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Building MMO Virtual Worlds
- Replies: 10
- Views: 28951
If one were to store active users in an array (which would extend the SFS User with other info specific to your game), what would be the best way to store and refer to them by ID? For example, if I wanted to send a network message to another user via the main extension, I could do something like &qu...
- 10 Aug 2009, 07:01
- Forum: Server Side Extension Development
- Topic: Extension-per-user
- Replies: 1
- Views: 4346
Extension-per-user
This is probably a broader question of how object creation in an extension works. For example, using hibernate I treat all my users as "actors". Every time a user logs in, an Actor object should be created to track and handle him. There will be potentially hundreds and possibly thousands o...
- 09 Aug 2009, 02:00
- Forum: Server Side Extension Development
- Topic: Protecting against SQL injection
- Replies: 7
- Views: 13793
Sorry to raise this thread from the dead, but i'm curious to know - what's the advantage of using the escapeQuotes method over using Java's prepared statements?
http://java.sun.com/docs/books/tutorial ... pared.html
http://java.sun.com/docs/books/tutorial ... pared.html
- 11 Jul 2009, 06:59
- Forum: Server Side Extension Development
- Topic: Thousands of NPC
- Replies: 7
- Views: 11435
To avoid the known bug, you can write an external application (better in Java using the SFS Java API) that simulates any number of NPCs which can be created and destroyed without problems. As regards the fixing of this problem we have no estimated date as it depends on a specific TCP issue, and is ...
- 02 Jul 2009, 09:31
- Forum: Server Side Extension Development
- Topic: handleInternalEvent details!
- Replies: 2
- Views: 6041
handleInternalEvent details!
I see I can intercept the following: loginRequest logOut userJoin userExit userLost spectatorSwitched newRoom roomLost pubMsg privMsg fileUpload serverReady playerSwitched would it be possible to add "login" event? There's one for if the user requests to login, and one if he logs out, but ...
- 01 Jul 2009, 05:34
- Forum: Server Side Extension Development
- Topic: How to block roomList updates?
- Replies: 8
- Views: 12067
- 31 May 2009, 07:26
- Forum: .Net / Unity3D API
- Topic: Switch/Case block for JSON?
- Replies: 4
- Views: 12203
- 19 May 2009, 08:18
- Forum: .Net / Unity3D API
- Topic: Switch/Case block for JSON?
- Replies: 4
- Views: 12203
- 19 May 2009, 04:54
- Forum: Server Side Extension Development
- Topic: "simple" collisions library?
- Replies: 1
- Views: 4793
- 19 May 2009, 01:11
- Forum: Server Side Extension Development
- Topic: "simple" collisions library?
- Replies: 1
- Views: 4793
"simple" collisions library?
Could anyone recommend a java collision/simple physics library? It only needs to be 2D. Alternatively, maybe theres one for AS or Python I could use if it's any easier? The main purpose would be: -Spawn client in a fixed 2D space (with set bounds), server asks client for current position at 5fps or ...
- 19 May 2009, 01:06
- Forum: Server Side Extension Development
- Topic: Managing multi-extension Zone
- Replies: 2
- Views: 5717
Yeah that island demo is fantastic Thomas - thanks! I learnt about singletons and am using them successfully on both client and server. This question was more to do with serverside extensions than Unity (client). What i've got for now though, is a static GetZone function in my manager. So if i'm ins...
- 18 May 2009, 23:19
- Forum: .Net / Unity3D API
- Topic: Switch/Case block for JSON?
- Replies: 4
- Views: 12203
Switch/Case block for JSON?
I asked this in irc last night but went to sleep soon after! How do I go about doing a switch/case block for JSONData? Like for XML I go "SFSObject dataObj = (SFSObject)data (where data is an object input of OnExtensionResponse" and "dataObj.GetString("cmd")". How do I ...
- 17 May 2009, 23:16
- Forum: Features Wish List
- Topic: Automatic extension reload on filechange
- Replies: 8
- Views: 14400
Automatic extension reload on filechange
What would be great is if an active extension (one that is loaded into a currently active zone/room) would reload itself if it's file is changed. This would save navigating to the zone, then reloading that extension or series of extensions and would speed up development time! Alternatively, is there...
- 14 May 2009, 00:25
- Forum: Server Side Extension Development
- Topic: Managing multi-extension Zone
- Replies: 2
- Views: 5717
Managing multi-extension Zone
The questions here might be a bit vague - i'm at work so I can't look at my project to point out specifics. What is the best way to handle multiple extensions in one Zone? Right now, I have: Login Manager GameServer ..as extensions attached to the zone. The is an mmo project in Unity. Login manages ...