• Welcome to AtomicTorch Studio Forums.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - TraktorLaila

#1
I tried it on a local network linux machine with same centos6 64bit setup and it works fine there.

When recording the bytes coming in, it seems to be pretty much the same data coming in on both machines except for some chunks in between (the package size coming from the client is the same on both machine). As you saw in my logs the server doesn't respond at all, the funny thing is that if I send it some bogus data on that port it actually says so in the logs: 2.4.15 15:03:42.9002 [IMP] SocketServer: Socket message: Malformed packet; stated payload length 3566, remaining bytes 8

so I guess it must be something with my hosting, so I will contact them and ask about their firewall.

After looking at it some more it seems it actually needs two ports:
[michaels@web477 Logs]$ netstat -lnptu | grep mono
udp        0      0 0.0.0.0:25464               0.0.0.0:*                               11411/mono
udp        0      0 0.0.0.0:35328               0.0.0.0:*                               11411/mono


I blocked the other one on my local linux machine and then I could no longer get the server to load in the custom server view on the client. Do this port need to be unblocked for clients to connect?
#2
Here is my server log: http://pastebin.com/t7id9fQU

The client console tells me that it's unable to connect to the game server, system.TimeoutException: No server answer received at (some LindgrenRUDP exception)


Also if I run the following on the linux machine and click the multiplayer tab I see that the client sends some data:

[michaels@web477 sockettest]$ nc -ul 0.0.0.0 25464
��VoidExpanseU�=[�8��A

Then when I run my python test script and press the refresh icon of my server (in the custom server tab) I get this:
[michaels@web477 sockettest]$ python testudp.py
Recived message: ��VoidExpanse��� W�e��D
Recived message: ��cancelled or timeout
Recived message: ��VoidExpanse��L{b�f����D
Recived message: ��cancelled or timeout
Recived message: ��VoidExpanse(�덆:C��D
Recived message: ��cancelled or timeout
#3
I installed the server (latest 1.1.17) on my linux hosting center machine and asked them to open the required port. I've tested that the port works with both tcp and udp connections (setting up a small python script to test the two).

So I'm wondering:

1) Do I need any other ports than the one I define in the SettingServer.xml?
2) Does is mather what version of mono I use, it seems like the server is running fine, I get no errors. (running mono 3.10)