Search found 298 matches
- 02 Jan 2013, 16:49
- Forum: SFS2X Questions
- Topic: Can SFS2X 1 license for many games?
- Replies: 19
- Views: 22514
Re: Can SFS2X 1 license for many games?
Thanks. Ok, I changed server.xml and restarted server, got this trace in terminal: 16:32:58,469 INFO [main] v2.SmartFoxServer - Listening Sockets: { 127.0.0.1:9933, (Tcp) } { 127.0.0.1:9933, (Udp) } { 66.45.238.210:9933, (Tcp) } { 66.45.238.210:9933, (Udp) } When I connect in Flash I still get: ## S...
- 02 Jan 2013, 01:37
- Forum: SFS2X Questions
- Topic: Can SFS2X 1 license for many games?
- Replies: 19
- Views: 22514
Re: Can SFS2X 1 license for many games?
Ok, sorry to keep bothering you. I still can't make a connection to SFS2X on a server that is also running SFS1X. I edited jetty.xml : <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host" /></Set> <Set name="...
- 25 Dec 2012, 23:04
- Forum: SFS2X Questions
- Topic: Can SFS2X 1 license for many games?
- Replies: 19
- Views: 22514
Re: Can SFS2X 1 license for many games?
Is there an instructional page on how and where to change these ports? The instructions I see involve using the admin tool I think and I can't get the admin tool to work. I tried changing ports in jetty.xml and server.xml and I can't connect by admin tool or from Flash. When I start the server using...
- 17 Dec 2012, 17:33
- Forum: SFS2X Questions
- Topic: Can SFS2X 1 license for many games?
- Replies: 19
- Views: 22514
Re: Can SFS2X 1 license for many games?
What port should I set the other one to? Let's say I leave the SFS2X on 8080 and set SFS1X to...? Does it matter?
- 16 Dec 2012, 23:41
- Forum: SFS2X Questions
- Topic: Can SFS2X 1 license for many games?
- Replies: 19
- Views: 22514
Re: Can SFS2X 1 license for many games?
Sorry if that has been asked elsewhere. Can I run a SFS1X and SFS2X not he same IP / server?
It doesn't seem to be working and I'm wondering if it's not possible, or if I just did something wrong. I thought maybe the different ports used would allow it to work on the same IP?
-Carl
It doesn't seem to be working and I'm wondering if it's not possible, or if I just did something wrong. I thought maybe the different ports used would allow it to work on the same IP?
-Carl
- 08 Oct 2012, 17:05
- Forum: SFS2X ActionScript 3 API
- Topic: client timeout server config?
- Replies: 2
- Views: 5960
client timeout server config?
Hello, On our production server we're getting seemingly random login failures. It seems to happen more often when there hasn't been a login in quite a while, like over the weekend. Perhaps it takes a while for the server or database to "wake up?" Anyway, we get an error in the log that sug...
- 27 Sep 2012, 14:40
- Forum: SFS2X C# API
- Topic: Documentation correction?
- Replies: 5
- Views: 9872
- 13 Aug 2012, 18:03
- Forum: SFS2X C# API
- Topic: Documentation correction?
- Replies: 5
- Views: 9872
Documentation correction?
Hi, In this docs page: http://docs2x.smartfoxserver.com/api-docs/csharp-doc/html/faefba8b-5e50-35a7-e082-f8fa818c049a.htm if indicated that you get the data from the response like this: ISFSObject responseParams = (SFSObject)evt.Params["data"]; but that doesn't work for me in C# / Unity/ S...
- 13 Aug 2012, 15:33
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Virtual world for all platform
- Replies: 4
- Views: 7169
Re: Virtual world for all platform
If you spend some money on Unity and the output modules, you can make that outputs and runs on all those platforms. Unity + Smartfox requires C# knowledge. Also, I have exported multiplayer functionality from Flash to IOS using Adobe Air export. I think this can also work for Android. this doesn't r...
- 13 Aug 2012, 15:27
- Forum: SFS2X Questions
- Topic: Room setProperty
- Replies: 9
- Views: 11401
Re: Room setProperty
Yea, between Java and C# I've been doing tons of typecasting but it's not always clear how it can be done. As you mention, some datatypes have functions for extracting info, and some don't. I left my question up in case anyone was looking for the same thing in the future. It would be cool to be able...
- 12 Aug 2012, 19:04
- Forum: SFS2X Questions
- Topic: Room setProperty
- Replies: 9
- Views: 11401
Re: Room setProperty
answer:
convert back to integer:
convert back to ISFSObject:
convert back to integer:
Object hasEnemies1 = (vRoom.getProperty("hasEnemies"));
int hasEnemies2 = Integer.parseInt(hasEnemies1.toString());
convert back to ISFSObject:
ISFSObject vEnemyList = (ISFSObject) vRoom.getProperty("enemies");
- 12 Aug 2012, 17:44
- Forum: SFS2X Questions
- Topic: Room setProperty
- Replies: 9
- Views: 11401
Re: Room setProperty, getProperty
On the server-side, I can take a room and add any sort of data to the room using setProperty. But when I try to retrieve the data, it's a java.lang.Object, which doesn't seem to have any methods for extracting the original value of the property. This is not how it is in SFS1X, so I'm at a loss: http...
- 07 Aug 2012, 19:11
- Forum: SFS2X Questions
- Topic: Send ArrayList by sendExtensionResponse?
- Replies: 1
- Views: 3903
Re: Send ArrayList by sendExtensionResponse?
NVM, there does't seem to be a way so I changed all my ArrayLists to ISFSObjects.
I'm leaving this in case anyone else ever searches for the same thing.
I'm leaving this in case anyone else ever searches for the same thing.
- 07 Aug 2012, 18:52
- Forum: SFS2X Questions
- Topic: Send ArrayList by sendExtensionResponse?
- Replies: 1
- Views: 3903
Send ArrayList by sendExtensionResponse?
I have a an ArrayList that contains 30 "spawn" items. Each spawn item is an intArray (int[]) with data about the spawn. When a user enters a room I want to send the ArrayList to the user so user can recreate all the spawns client side. Can an ArrayList be added to a ISFSObject so I can sen...
- 07 Aug 2012, 17:51
- Forum: SFS2X Questions
- Topic: Server side trace not working?
- Replies: 7
- Views: 11378
Re: Server side trace not working?
Sorry my post was unclear. Basically, I was having the same problem as the posters above. My traces were not appearing when I used the zone monitor in the admin tool. They would appear when I traced from my main extension class, but not from any other class. If I add a trace in any other class, my t...