Page 2 of 4

Posted: 20 Nov 2010, 13:28
by ThomasLund
Yeah - there is definitely something wrong in UDP shutdown. I will debug and get it fixed asap.

Posted: 20 Nov 2010, 14:23
by GRIM2594
vooood wrote:I solved this UDP issue for me. Even with the Windows Firewall disabled adding an exception on port 9933 (I added both TCP and UDP but UDP only migh be enough) solved the problem for me and I was able to connect and play. Win XP Pro, but I believe it's the same for all.
I already had the port open for TCP and UDP, and I still crash on disconnect.

Windows XP for server box, Win7 for client. (Connecting across the internet, all ports open properly.)

Also have Kaspersky Internet Security 2010.

Using SF2x with the newest update.

Posted: 20 Nov 2010, 14:28
by ThomasLund
The crash on disconnect is not network/firewall related, but 99% certainly a bug in the API.

So if you can run the demo, but crash on exit - then you are all set for now.

The code itself in the example is all valid - seems a bug in the dll which I'll update and distribute as soon as the bugger is squashed

/Thomas

Posted: 20 Nov 2010, 14:34
by GRIM2594
ThomasLund wrote:Could you please try to connect your game client to this ip: 81.226.211.208
Yes, I still get the error while connecting to your mac.

However, it appears I am getting a different error than others perhaps?

Here is the error I get on a disconnect:

Code: Select all

[SFS DEBUG] TCPSocketLayer: General error reading data from socket: Read failure   at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0 
  at Sfs2X.Core.Sockets.TCPSocketLayer.Read () [0x00000] in <filename unknown>:0 

Posted: 20 Nov 2010, 14:38
by ThomasLund
Yeah - my server is down at the moment. So there is no connection at all.

:-)

/Thomas

Posted: 20 Nov 2010, 14:39
by GRIM2594
ThomasLund wrote:Yeah - my server is down at the moment.
Well... that may explain it! lol. :P

Posted: 21 Nov 2010, 08:31
by vooood
GRIM2594 wrote:
vooood wrote:I solved this UDP issue for me. Even with the Windows Firewall disabled adding an exception on port 9933 (I added both TCP and UDP but UDP only migh be enough) solved the problem for me and I was able to connect and play. Win XP Pro, but I believe it's the same for all.
I already had the port open for TCP and UDP, and I still crash on disconnect.

Windows XP for server box, Win7 for client. (Connecting across the internet, all ports open properly.)

Also have Kaspersky Internet Security 2010.

Using SF2x with the newest update.
This was for another issue. UDP connections would not work even with the windows firewall disabled. The shutdown crash was tied to UDP later. ;)

Posted: 21 Nov 2010, 14:04
by GRIM2594
vooood wrote:This was for another issue. UDP connections would not work even with the windows firewall disabled. The shutdown crash was tied to UDP later. ;)
Ahh... I was going off of the topic. I guess that I may have missed the switch in topics, lol. :P

Posted: 28 Nov 2010, 16:43
by GRIM2594
Any news on what's causing this crash? I would love to see this get fixed, lol. ;)

Posted: 28 Nov 2010, 17:34
by ThomasLund
Worked on it today here in our end - so needs some testing, but is on the way!!

/Thomas

Posted: 28 Nov 2010, 17:52
by ThomasLund
Aaaaaand here we go - test this beast please.

http://www.fullcontrol.dk/downloads/SFS ... 101128.dll

I've tested this with the FPS demo in 2.6 editor, standalone and Firefox webplayer - no crash or hang.

So if you could give it some Windows love + 3.0/3.1 testing, then that would be super.

Notice that this is fresh off the compiler and pretty untested. But at least in our end on 2 different Macs there are no crash/hangs of any kind

/Thomas

Posted: 28 Nov 2010, 18:21
by ThomasLund
Seems to work with Unity 3.0 on Mac + webplayer without crashes

/Thomas

Posted: 28 Nov 2010, 22:53
by appels
i had a quick test, without policy it seems to work but i can't get it to work with a policy.
I have a server running with the policy active on 69.64.52.106.
Feel free to test on it.
It has the FPS extension running.

Posted: 29 Nov 2010, 05:10
by stevets
I'm using the Unity 3.1 editor (windows version). The editor crashes the same way as with the previous dll.

Steve

Posted: 29 Nov 2010, 06:18
by GRIM2594
stevets wrote:I'm using the Unity 3.1 editor (windows version). The editor crashes the same way as with the previous dll.

Steve
Confirmed. It's still crashing. :P