Did you upgrade the dll with the one I posted right before your message?
The exception text is caught - and is purely debug info - but could hint at you either not having the latest API dll. Additionally - several people have reported needing to manually allowing UDP on port 9933 on Windows.
/T
[[Â NEW ]]Â FPS Demo!
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
-
- Posts: 5
- Joined: 03 Dec 2010, 06:39
Hi mate,
I feel like an idiot. I didnt restart the SFS server after copying the jar file to the extension folder as per your document. Its working now!
As per your new DLL, works so far. I can run multiple times and quit Unity, even from my Netbook.
@Pax, make sure you copy the extensions JAR file to the smartfox server and restart the service.
Best regards
I feel like an idiot. I didnt restart the SFS server after copying the jar file to the extension folder as per your document. Its working now!
As per your new DLL, works so far. I can run multiple times and quit Unity, even from my Netbook.
@Pax, make sure you copy the extensions JAR file to the smartfox server and restart the service.
Best regards
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
hi thomas i just test your .dll and it works a bit i can start the game and quit but in the editor if i change to another scene after i quit and the go to the lobby scene and try to start the game it freeze aggain
i never had problems with the udp i set 2 ports on my router 1 for each function
but i got olso a trange thing
if i try to put in my ip adress so it connect to my own ip then it wont load and the same ip was set for the sfs1.x and there it works well i find this strange becuase i know i set the good ip adress but it wont load and cant recieve a connection
but this are some bugs i found and just a ingame bug is
that if i look up then the other players dont see that im looking up they see me facing straight forward
just let you know this
great work so far thanks
i never had problems with the udp i set 2 ports on my router 1 for each function
but i got olso a trange thing
if i try to put in my ip adress so it connect to my own ip then it wont load and the same ip was set for the sfs1.x and there it works well i find this strange becuase i know i set the good ip adress but it wont load and cant recieve a connection
but this are some bugs i found and just a ingame bug is
that if i look up then the other players dont see that im looking up they see me facing straight forward
just let you know this
great work so far thanks
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
3thamthmy wrote:OMG .. i got crazy , it does not working with me ,
the UDP problem !! i'am using XP pack 3.
i did everything , i closed the windows Firewall .. nothing changed.
please help.
the UDP has allways worked in all dll's that have been posted. if it doesn't then you probably have not added the UDP ports to the server or they are blocked by a firewall.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
-
- Posts: 8
- Joined: 11 Dec 2010, 13:29
I add the UDP listening port, disable firewall, patch new dll, It got error.
UDP error:
UnityEngine.Debug:Log(Object)
LobbyGUI:OnUdpInit(BaseEvent) (at Assets\Lobby\Scripts\LobbyGUI.cs:141)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
LobbyGUI:FixedUpdate() (at Assets\Lobby\Scripts\LobbyGUI.cs:83)
SFS DEBUG] UDPSocketLayer: General error reading data from socket: Object reference not set to an instance of an object at System.Net.Sockets.UdpClient.Receive (System.Net.IPEndPoint& remoteEP) [0x00000]
at Sfs2X.Core.Sockets.UDPSocketLayer.Read () [0x00000]
[SFS DEBUG] Unexpected UDP I/O Error. General error reading data from socket: Object reference not set to an instance of an object at System.Net.Sockets.UdpClient.Receive (System.Net.IPEndPoint& remoteEP) [0x00000]
at Sfs2X.Core.Sockets.UDPSocketLayer.Read () [0x00000] [NotSocket]
In the console:
user doest not exist ,id 28
UDP error:
UnityEngine.Debug:Log(Object)
LobbyGUI:OnUdpInit(BaseEvent) (at Assets\Lobby\Scripts\LobbyGUI.cs:141)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
LobbyGUI:FixedUpdate() (at Assets\Lobby\Scripts\LobbyGUI.cs:83)
SFS DEBUG] UDPSocketLayer: General error reading data from socket: Object reference not set to an instance of an object at System.Net.Sockets.UdpClient.Receive (System.Net.IPEndPoint& remoteEP) [0x00000]
at Sfs2X.Core.Sockets.UDPSocketLayer.Read () [0x00000]
[SFS DEBUG] Unexpected UDP I/O Error. General error reading data from socket: Object reference not set to an instance of an object at System.Net.Sockets.UdpClient.Receive (System.Net.IPEndPoint& remoteEP) [0x00000]
at Sfs2X.Core.Sockets.UDPSocketLayer.Read () [0x00000] [NotSocket]
In the console:
user doest not exist ,id 28
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
I have no problems at all with UDP once you have enabled it on the server and restarted it. Neither local not running the server remote.
And I use this in several projects.
So it must be something local for you guys. Firewall, forgotten to turn on UDP, listening on the wrong ip, anti-virus somehow interfering with UDP trafic.
The connection and operation of UDP has worked from day 1 - just the shutdown part was buggy.
/Thomas
And I use this in several projects.
So it must be something local for you guys. Firewall, forgotten to turn on UDP, listening on the wrong ip, anti-virus somehow interfering with UDP trafic.
The connection and operation of UDP has worked from day 1 - just the shutdown part was buggy.
/Thomas
-
- Posts: 8
- Joined: 11 Dec 2010, 13:29
It works.
After restarting computer,it works.
Thanks for all help.
Thanks for all help.
-
- Posts: 8
- Joined: 11 Dec 2010, 13:29
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Who is online
Users browsing this forum: No registered users and 56 guests