Search found 16 matches

by Questionairre
31 Mar 2011, 22:03
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

After looking around some more I ended up with this : Java Extension : public void handleRequest(String cmd, ActionscriptObject ao, User u, int fromRoom) { trace("AS Command : " + cmd + "\nParameters : " + "\nUser : " + u.getName() +"\nRoom...
by Questionairre
31 Mar 2011, 01:34
Forum: .Net / Unity3D API
Topic: Best network design methodologies
Replies: 4
Views: 5837

So here is a question, in a game where there a several players moving around in real time, is it better to send the position update of a player only when they have moved or is it better to send out an update at a set interval? To explain this better, I see a choice of two options. When a player move...
by Questionairre
31 Mar 2011, 00:34
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

For testing, this is exactly what I am currently doing : Unity 3.3 C# ArrayList blank = new ArrayList(); smartFoxClient.SendXtMessage("authServer","input",blank,SmartFoxClientAPI.SmartFoxClient.XTMSG_TYPE_STR); Java Extension public void handleRequest(String c...
by Questionairre
30 Mar 2011, 01:31
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

Should be in the API docs for sendXtMesssage /Thomas For which API? Couldn't find it here: http://www.smartfoxserver.com/docs/docPages/as3/html/it_gotoandplay_smartfoxserver_SmartFoxClient.html#sendXtMessage or here : http://www.smartfoxserver.com/docs/docPages/as1/methods/sendXtMessage.htm That as...
by Questionairre
29 Mar 2011, 22:48
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

From the documentation: * <param name="paramObj">an object (Hashtable for XML and JSON, ArrayList for string) containing the data to be passed to the extension (set to empty object if no data is required).</param> Also, where was this in the documentation? I can't seem to find it.
by Questionairre
29 Mar 2011, 22:04
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

Apparently that is the only case that will work, the one I posted above. I simplified the code a bit for posting but I currently have something like this : Unity client : private ArrayList userInput = new ArrayList(); userInput.Add(directionVector); smartFoxClient.SendXtMessage(&...
by Questionairre
29 Mar 2011, 18:53
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

I think I fixed it, I realized I was using an older version of the API so I updated to the new one and I took out the type out of the SendXtMessage call, from : smartFoxClient.SendXtMessage("testing","trace",null,SmartFoxClient.XTMSG_TYPE_STR); to : smartFoxClient.SendXtM...
by Questionairre
29 Mar 2011, 02:13
Forum: .Net / Unity3D API
Topic: Extension issue, mangled or null message
Replies: 8
Views: 7027

Extension issue, mangled or null message

Hey guys, I am, at this point, just trying to get handleRequest to post a trace. My code is simple enough : Unity : smartFoxClient.SendXtMessage("testing","TONY",null,SmartFoxClient.XTMSG_TYPE_STR); AS : function init() { trace("Initing testScript&qu...
by Questionairre
18 Mar 2011, 16:36
Forum: SFS2X C# API
Topic: Trouble with local connection
Replies: 4
Views: 2424

Alright guys, call me stupid but I can't find the documentation that you are talking about. There is no PDF, or anything similar, in the actual file and I can't find any link to any documentation.

Could you point me in the right direction?
by Questionairre
18 Mar 2011, 00:31
Forum: SFS2X C# API
Topic: Trouble with local connection
Replies: 4
Views: 2424

Trouble with local connection

I am having the hardest time connecting to a localhost server. I am using the 32bit version of SFS2X with the RC2 patch applied. I am trying to connect with the FPS demo which was upgraded to Unity 3.0, exported as assets, imported into a fresh project, and has the security policy thing applied. The...
by Questionairre
09 Mar 2011, 22:53
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 3486

You could also test if you can connect through the box's extenal/lan ip instead of the localhost one. The localhost one will allways work. See, I am not sure how to do that. It may have been a stupid thing to leave out but I am doing this through Amazon's EC2. And on that note, I did open up 9339 a...
by Questionairre
09 Mar 2011, 17:56
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 3486

I would think so too if not for the fact that I can nearly the exact same thing with SFSPro. If I am trying to access the same IP from the same IP there should be no big issue and the ports used should be the same for the AdminTools. The only thing I can think of is a program specific block, but I i...
by Questionairre
09 Mar 2011, 15:53
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 3486

appels wrote:what happens if you telnet from the box where SFS is running into SFS ? are you able to connect ?


Yes, when either SFSPro or SFS2X are running I am able to telnet into port 9339, as long as it is locally.
by Questionairre
08 Mar 2011, 23:21
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 3486

Sorry, that was a typo.
by Questionairre
08 Mar 2011, 21:01
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 3486

Can't connect to SFS2X, but can connect to SFSPro

So I am trying to replace SFSPro with SFS2X on a remote Ubuntu server. I have no problem connecting to and working with SFSPro, but I cannot connect to SFS2X. First off, I am running only one at a time during testing and, yes, making changes to the config files I do restart the server. So, SFS2X sta...

Go to advanced search