Search found 1297 matches

by ThomasLund
10 Aug 2012, 12:43
Forum: SFS2X Java / Android API
Topic: access data type in the jar library from C++ wrraper
Replies: 2
Views: 1852

Re: access data type in the jar library from C++ wrraper

Just wanted to reply that I have no idea - never used C++ wrapper with a java library

*looks around for others to reply*

/Thomas
by ThomasLund
10 Aug 2012, 12:34
Forum: SFS2X C# API
Topic: Client API - C# Simple Example
Replies: 13
Views: 9508

Re: Client API - C# Simple Example

I've pasted a class below that is a console thing. Not super prettified, but I'm certain you can pull things apart. Hope that helps using System; using System.Xml; using System.Xml.Serialization; using System.IO; using Sfs2X; using Sfs2X.Core; using Sfs2X.Entities; using Sfs2X.Entities.Data; using S...
by ThomasLund
10 Aug 2012, 12:28
Forum: SFS2X C# API
Topic: sending multiple transforms from a scene?
Replies: 10
Views: 4486

Re: sending multiple transforms from a scene?

Sorry, but the tutorials are not made for line by line walk through. And its not going to be added either, as explaining all concepts of multiplayer game programming is a thick book. There are several good books on multiplayer game architecture available on Amazon - its NOT simple learning it all. M...
by ThomasLund
10 Aug 2012, 12:11
Forum: SFS2X C# API
Topic: UserVariable Null Reference Exception
Replies: 2
Views: 1979

Re: UserVariable Null Reference Exception

If thats the entire code (I hope not), then it should not compile. Where is the smartFox variable set?

In that line, smartFox variable is the only thing possibly null. So 99% certain that you are not initializing it correctly.

/Thomas
by ThomasLund
10 Aug 2012, 12:09
Forum: SFS2X C# API
Topic: User Login Problem
Replies: 1
Views: 1278

Re: User Login Problem

Hmm - if it generally works for you on your ipad, then its very weird that the given user cannot login. There is no restrictions of any kind server side or client side for platforms or countries ;-) I take it, that you have tested it using your client and that everything generally works. There might...
by ThomasLund
10 Aug 2012, 12:03
Forum: SFS2X C# API
Topic: Web Player not connect
Replies: 5
Views: 2230

Re: Web Player not connect

Yes - so make certain you actually check the return value of the prefetch command to verify that Unity got the security policy.
by ThomasLund
10 Aug 2012, 11:58
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 3994

Re: Can't send certain floats.

If you set debug flag to true on your connection, they will appear in the Unity editor.log/player.log
by ThomasLund
19 Jul 2012, 09:41
Forum: SFS2X C# API
Topic: Can't send certain floats.
Replies: 13
Views: 3994

Re: Can't send certain floats.

Very weird. I've made a small test case as well and cannot! reproduce. ISFSObject args = new SFSObject(); args.PutFloat("x", 1.305684f); /* 1.305684 -1.448122 1.258205 2.796537 */ sfs1.Send(new ExtensionRequest("TestCmd", args, sfs1.LastJoinedRoom)); Sends all numbers perfectly f...
by ThomasLund
19 Jul 2012, 08:49
Forum: SFS2X Questions
Topic: Unity Client stops receiving UDP after a while
Replies: 3
Views: 2563

Re: Unity Client stops receiving UDP after a while

Super annoying - but glad you found it. I remember Googling something about this early on when implementing UDP. Turns out a lot of network equipment (according to "google") has UDP overflow/spam detection and can end of the day make UDP useless. Some people on those hardcore forums argued...
by ThomasLund
19 Jul 2012, 08:38
Forum: SFS2X C# API
Topic: API 1.0.2 update
Replies: 2
Views: 1346

Re: API 1.0.2 update

Yes - just answered the thread. Identified and working on it!

/Thomas
by ThomasLund
19 Jul 2012, 08:37
Forum: SFS2X C# API
Topic: About u3d api connect
Replies: 6
Views: 3385

Re: About u3d api connect

There is a fix underway for this. Turns out that there is a Mono bug where the socket never stops listening if the server disconnects (e.g. via kick). Documentation and whats happening doesnt correlate. So doing something else, but its slightly complicated (and annoying to have to code around low le...
by ThomasLund
19 Jul 2012, 08:34
Forum: SFS2X C# API
Topic: Microphone / audio over SFS with Unity 3.5
Replies: 5
Views: 4315

Re: Microphone / audio over SFS with Unity 3.5

Extension is in your email :-)
by ThomasLund
19 Jul 2012, 08:28
Forum: SFS2X C# API
Topic: unity + smartfox2x = can't publish to flash
Replies: 1
Views: 1643

Re: unity + smartfox2x = can't publish to flash

Not tried at all in my end. I did run some tests using an earlier beta and 2-3 of my games - and none of them even converted nicely in Unity from webplayer->flash. And that was just the code of the game itself - not even trying to run it or try networking. So I simply gave up myself on ever wanting ...
by ThomasLund
19 Jul 2012, 08:21
Forum: SFS2X C# API
Topic: crossdomain policy hell
Replies: 14
Views: 7633

Re: crossdomain policy hell

Hey, Not an expert on this matter. Unfortunately. And even more unfortunately is that this is all not SFS client related, but purely Unity webplayer on one side and SFS server on the other. And if the SFS server is sending out the policy file correctly on the different ports, then your best bet is t...
by ThomasLund
19 Jul 2012, 07:57
Forum: SFS2X C# API
Topic: weird logic and or connection and destroying
Replies: 3
Views: 2012

Re: weird logic and or connection and destroying

Hi,

Have you checked out the examples and seen how they handle connections with a static class?

/T

Go to advanced search