Search found 19 matches

by paintbrush
29 Oct 2014, 09:07
Forum: SFS2X C# API
Topic: Unable to reconnect on the same instance of SmartFox
Replies: 1
Views: 2160

Unable to reconnect on the same instance of SmartFox

Hi all, I've played with SmartFox long ago, but recently decided to come back and try 2X. I'm running into a problem when I attempt to connect again (by calling Connect()) on the same instance of SmartFox after an initial failed connection due to the absence of a running server. This is the stack tr...
by paintbrush
18 Sep 2009, 21:00
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Help With my first SmartFoxServer Prog
Replies: 20
Views: 11107

Since you're testing on your local filesystem, flash will not allow you to make socket connections unless you explicitly set its security to allow your swf file, or the folder that your swf file is in, to do so. go to: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_mana...
by paintbrush
16 Sep 2009, 08:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: old SFS versions
Replies: 1
Views: 1389

old SFS versions

Hey folks, would it be possible to obtain an older installer for SFS version 1.6.5? I had a workstation failure not too long ago and lost everything but a compiled demo game swf which I built with the old libraries. I want to be able to demo it for a job interview, and it's the only hope I have shor...
by paintbrush
15 Apr 2008, 17:58
Forum: Server Side Extension Development
Topic: Extension onUserVariablesUpdate
Replies: 12
Views: 6851

Thanks Lapo :)

When you say 'specific extension request', do you mean an SFS.sendXtMessage() call? If I called this on the client alongside a SFS.setUserVariables() to update the database, wouldn't that also be just as vulnerable?
by paintbrush
14 Apr 2008, 20:28
Forum: Server Side Extension Development
Topic: Extension onUserVariablesUpdate
Replies: 12
Views: 6851

Extension onUserVariablesUpdate

Hey all, I apologize if this question has been asked before. I'd like to be able to perform database updates through extensions when a user variable is updated. Is it possible to listen for this event? I would think such a feature would appear in InternalEventObject, but I don't see it there. Thanks...
by paintbrush
09 Apr 2008, 23:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Development Environment Choices
Replies: 3
Views: 2679

IF you're going to build something code-heavy, relying on a good IDE is essential for maintaining your sanity... and FlashCS3 pro alone isn't going to cut it. I'm currently using AS3 to create my multiplayer environment with SFS (highly recommend it, since AS3 and its associated VM were designed for...
by paintbrush
08 Apr 2008, 20:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room based client architecture
Replies: 3
Views: 2569

Hey Lapo, thanks for the quick reply! Yeah, I currently extend each Scene's class from the GameScene object, which basically reveals some generic methods such as addGameObject() and removeGameObject() which the Shell uses to add and remove user avatars to the Scene for depth management and entry/exi...
by paintbrush
08 Apr 2008, 07:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room based client architecture
Replies: 3
Views: 2569

Room based client architecture

Hey all, I'm currently well underway building a multiuser RP environment (I'd have reservations calling it an MMO for now), and would like to solicit some advice from the Flash software architecture gurus around here. I have already read the article about creating MMO worlds on SFS's docs, which doe...
by paintbrush
24 Mar 2008, 06:05
Forum: Server Side Extension Development
Topic: cannot access net.sf.json.JSONObject (sendResponse)
Replies: 1
Views: 2300

cannot access net.sf.json.JSONObject (sendResponse)

Hey all, I'm trying to write a custom login script using example PixelGame.java as a reference (along with some forum posts and documentation help), and I've gone pretty far only to hit a snag trying to call sendResponse() that sends an ActionscriptObject. The internal event handler looks like this:...
by paintbrush
13 Mar 2008, 19:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Solved: failed connection not handled
Replies: 2
Views: 2138

Solved!

Solution: Alright, after doing extensive testing with every variable and listener documented, I found out that setting the SFC's smartConnect variable to ' false ' fixed this problem. This brings up another question, however: If smartConnect is enabled by default (i.e. 'connect to BlueBox if socket...
by paintbrush
11 Mar 2008, 20:22
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Solved: failed connection not handled
Replies: 2
Views: 2138

Perhaps that was too long-winded. So I'll summarize :P The gist of the problem: The Flash movie that attempts to connect to a non-existent SFS server does not seem to invoke the onConnection handler in a timely fashion, when it should in order to throw an error. As a result, any such attempts would ...
by paintbrush
11 Mar 2008, 05:09
Forum: SmartFoxServer 1.x Discussions and Help
Topic: AS 1&2 Yes, AS 3 No
Replies: 2
Views: 2111

I actually JUST had this problem last week.. here's the thread I reported this on: http://www.smartfoxserver.com/forums/viewtopic.php?t=2630 apparently the security sandbox just got a hell lot stricter with AS3, so as a developer, you had to adjust your Flash security settings. Since you're testing ...
by paintbrush
11 Mar 2008, 03:19
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Solved: failed connection not handled
Replies: 2
Views: 2138

Solved: failed connection not handled

NOTE: For those who do not wish to swim through so much text, I summarized the problem in the second message in this thread. Come back to this message for more detail! Update: Found the fix to the problem and posted it on the 3rd message in this thread. A new issue/question sprouts though, relating...
by paintbrush
07 Mar 2008, 17:43
Forum: SmartFoxServer 1.x Discussions and Help
Topic: simpleChat works during dev, but not when standalone?
Replies: 9
Views: 5400

I had found a solution to the problem by setting flash player to allow locally executed SWF files to access web data (wanted to post about it last night but the website was down :P ). I'm still perplexed at why it would run properly when testing from AS3 vs running from file though, does AS3 give it...
by paintbrush
07 Mar 2008, 02:16
Forum: SmartFoxServer 1.x Discussions and Help
Topic: simpleChat works during dev, but not when standalone?
Replies: 9
Views: 5400

I just got back and tried a few of the demo application. the thing that irks me is that the demo apps like Yahtzee work in the standalone SWF player. The only difference between my app and the demo apps is that they're written in AS2. is there something in the AS3 library that restricts connectivity...

Go to advanced search