Search found 1297 matches

by ThomasLund
19 Jul 2012, 07:53
Forum: SFS2X C# API
Topic: Cannot serialize List<string>
Replies: 7
Views: 4766

Re: Cannot serialize List<string>

Yeah - generics are not supported. So you should try to send a string[] instead.

/T
by ThomasLund
19 Jul 2012, 07:51
Forum: SFS2X C# API
Topic: Can't send request.
Replies: 1
Views: 1602

Re: Can't send request.

It seems that your client uses Bluebox? At least the server error comes from there. And doesnt seem client related (other than you might want to check why you are sending on bluebox and not regular socket - wrong port? We send 2-3 MB of game state to our servers in the latest game with no issue - ov...
by ThomasLund
19 Jul 2012, 07:48
Forum: SFS2X C# API
Topic: Creating a new object?
Replies: 4
Views: 2911

Re: Creating a new object?

Hi,

Please check the object movement example. It doesnt have server code and does exactly what you ask for

/T
by ThomasLund
07 Jul 2012, 10:34
Forum: SFS2X C# API
Topic: API 1.0.2 update
Replies: 2
Views: 1423

API 1.0.2 update

Just wanted to make you guys aware of the 1.0.2 DLL update available here:

http://www.smartfoxserver.com/download/sfs2x#p=updates

Release note:

[FIX] Unity editor hanging due to thread termination not always being detected by latest version of Mono implemented by Unity.
by ThomasLund
06 Jul 2012, 13:32
Forum: SFS2X C# API
Topic: About Ports
Replies: 1
Views: 1286

Re: About Ports

SFS2X has a webserver running on port 8080. You need to find the Jetty config file in the server and move it to a different port - then you can simply change server to listen on 8080 udp+tcp - and have the client connect on 8080 to the server

/Thomas
by ThomasLund
06 Jul 2012, 13:31
Forum: SFS2X C# API
Topic: Microphone / audio over SFS with Unity 3.5
Replies: 5
Views: 4430

Re: Microphone / audio over SFS with Unity 3.5

Got this working with uLaw compression, server extension and iOS/webplayer/standalone microphone support.

Super nice - still have to run some tests and measuring performance.

/T
by ThomasLund
04 Jul 2012, 13:34
Forum: SFS2X Questions
Topic: Unity Client freezing on connect
Replies: 13
Views: 6311

Re: Unity Client freezing on connect

And we think we fixed it. Been running all day without a single hang of any kind.

Russ - you got mail - please test in your end as well and if its OK, we can get it into next update

/Thomas
by ThomasLund
03 Jul 2012, 12:33
Forum: SFS2X Questions
Topic: Mailservice and TLS
Replies: 1
Views: 887

Mailservice and TLS

Hi, My turn to ask a n00b question :-D I'm trying to get SFS2X to send emails from the extension - first time I've had to do this. So I do what every good developer should do and read the docs. OK - found the code and doing a quick test IMailerService mailer = SmartFoxServer.getInstance().getMailSer...
by ThomasLund
03 Jul 2012, 11:46
Forum: SFS2X Java / Android API
Topic: Java Client API LoginRequest problem withCheckSecurePassword
Replies: 19
Views: 8031

Re: Java Client API LoginRequest problem withCheckSecurePass

Very weird - works here. Maybe forgot to set the custom login in zone config?
by ThomasLund
03 Jul 2012, 11:38
Forum: SFS2X Java / Android API
Topic: BUG login by error user name bug in android client sfs2x
Replies: 3
Views: 4211

Re: BUG login by error user name bug in android client sfs2x

I think you are not running the latest jar. The current code for error lookup is inside a general try/catch: public static String getErrorMessage(short code, Object[] args) { try { return String.format(errorsByCode[code], args); } catch (Exception e) { return "Error in converting error code to ...
by ThomasLund
03 Jul 2012, 10:01
Forum: SFS2X Java / Android API
Topic: Can sfs support alreaddy made game ?
Replies: 6
Views: 2560

Re: Can sfs support alreaddy made game ?

And running on a phone, you cannot!!! connect to 127.0.0.1, as that is local only. Need to change that on server and client side if you run it on your phone

/Thomas
by ThomasLund
03 Jul 2012, 10:00
Forum: SFS2X Java / Android API
Topic: Connect Example run in device
Replies: 1
Views: 1232

Re: Connect Example run in device

You need to give us some more information to work with in order to be able to help.

Did you try the examples provided? Did you open your firewalls? Did you reconfigure the server to non-127.0.0.1?

What exceptions are given, what code are you running?

/Thomas
by ThomasLund
03 Jul 2012, 09:58
Forum: SFS2X C# API
Topic: Client crashing / stuck on connection lost
Replies: 25
Views: 11704

Re: Client crashing / stuck on connection lost

This might be related to a different issue reported here: http://www.smartfoxserver.com/forums/viewtopic.php?f=18&t=14345 Will try to fix that one with the workaround suggestions by the Unity guys and then we can see if it also solved this. Typically some browsers (Firefox being a real bitch) wi...
by ThomasLund
03 Jul 2012, 09:54
Forum: SFS2X C# API
Topic: problems with BlueBox and the Unity API
Replies: 5
Views: 2406

Re: problems with BlueBox and the Unity API

Yes - its basically simulating a webbrowser inside the API and calling a webserver in the other end. This is not!! high performance and any kind of realtime game should really not use this approach. It simply wont be fast enough for what you need.

/Thomas
by ThomasLund
03 Jul 2012, 09:51
Forum: SFS2X C# API
Topic: Web Player not connect
Replies: 5
Views: 2341

Re: Web Player not connect

If you run anything network related in Webplayer mode, you HAVE to make sure to call Unity's prefetch command to get the security policy before doing any kind of networking. In the editor you also need to fix up the editor faking to fetch the security policy. Its set in the editor options somewhere....

Go to advanced search