Search found 9 matches

by Nelagend
13 Sep 2011, 20:34
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Cross-domain policy file
Replies: 3
Views: 7806

I'll try forwarding my ports, thanks.

The client hangs at the sfs.connect command if not run from my computer. It's not displaying what I think it would if it tried and failed to connect (assumedly what it does if I forget to start the server before the client), but instead something that indicates ...
by Nelagend
13 Sep 2011, 16:56
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Cross-domain policy file
Replies: 3
Views: 7806

Cross-domain policy file

My apologies for this being a newbie mistake, but I haven't understood what I've found on searches properly.

I read the documentation on cross-domain policy files here , and I'm a tad confused. I am attempting to get my client, which runs fine on my own computer running the server from my own ...
by Nelagend
10 Jul 2011, 17:15
Forum: Server Side Extension Development
Topic: User Variables
Replies: 4
Views: 8683

After days of bashing my head against this problem with no result, it's finally fixed.

The crash I found via debug was in sysHandler.as.
I was running SFS 1.6.6.
There is a new patch, 1.6.9, available to download.
That fixed it immediately.

I knew it was something stupid. :oops:
by Nelagend
07 Jul 2011, 17:18
Forum: Server Side Extension Development
Topic: User Variables
Replies: 4
Views: 8683

[Sending]: <msg t='sys'><body action='joinRoom' r='15'><room id='16' pwd='' spec='0' leave='1' old='15' /></body></msg>
[ RECEIVED ]: <msg t='sys'><body action='joinOK' r='16'><pid id='1'/><vars /><uLs r='16'><u i='0' m='0' s='0' p='1'><n><![CDATA[Nelagend]]></n><vars></vars></u></uLs></body></msg ...
by Nelagend
06 Jul 2011, 18:08
Forum: Server Side Extension Development
Topic: Send a message to a known user
Replies: 1
Views: 5334

If you have the ID, you can use _server.getUserById(id). Getting them from their name is a bit more complicated. When that user first joins the room myRoom, it will generate a userJoin internal event with a parameter called params.user that is the actual user object. If you add them to an array of ...
by Nelagend
05 Jul 2011, 16:49
Forum: Server Side Extension Development
Topic: User Variables
Replies: 4
Views: 8683

temp1 is definitely a User object, or at least responds to all other functions designed to run on User objects that I can trace.

Temp1.getVariables() should return a hash map, but it returned null.

I got the same type of behavior when I tried to set room variables this way - the line was processed ...
by Nelagend
01 Jul 2011, 17:43
Forum: Server Side Extension Development
Topic: User Variables
Replies: 4
Views: 8683

User Variables

I'm trying to tell an ActionScript 3.0 extension code to set some room or user variables to allow a "lobby" room to tell a game room what characters the players want to load. I've tried doing it with both room and user variables and neither call seems to work. Here's the user variable code with ...
by Nelagend
04 Apr 2011, 20:59
Forum: Server Side Extension Development
Topic: SFS seems not to like SharedObject.getLocal
Replies: 1
Views: 4828

SFS seems not to like SharedObject.getLocal

I'm using ActionScript 3, and I'm at the point in my game development where I want to start saving stuff to the disk. In previous single player games, I used a SharedObject.getLocal function command to make a save file containing high scores, etc. Well, I tried to do this in my server side extension ...
by Nelagend
08 Aug 2010, 18:17
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Connect function only working from Test Movie
Replies: 1
Views: 4293

Connect function only working from Test Movie

I'm having a strange problem compiling a SmartFoxServer program in Adobe CS3, and I suspect it's something silly in my settings. I can successfully load my custom config.xml file and save the server preferences to variables within the program (ip 127.0.0.1 for now, port 9339). Then, when I get to ...