tony@shatalmic.com
Registered:1392046216 Posts: 7
Posted 1392046513
Reply with quote
#1
I am running Artemis 2.0 on Windows 8. I also have 2 iPads (2 & 4 versions) and an Android Samsung Galaxy Note II. I am running the server on Windows and the client on the devices. It will run for a little bit and then one or more of the clients will disconnect and say the server is not running. This is while one or more of the clients is still connected and working fine. I have the Windows 8 computer plugged into Ethernet which is also connected to the wifi system that the devices are hooked to. If I connect the Windows 8 computer to the wifi then the disconnects happen even more often. When the clients disconnect they say the simulation is not running and yet the 3rd device is still connected and running fine. I have to Disconnect and then reconnect and everything is fine for a while more. I do not have to restart the server at all. The clients just loose their connection until I disconnect and reconnect. What do I do?
tony@shatalmic.com
Registered:1392046216 Posts: 7
Posted 1392047713
Reply with quote
#2
I have also noticed that the more clients I connect the worse it gets. The first client connected seems to stay connected the entire time. It is the additional devices that seem to drop off.
Captain
Registered:1375484560 Posts: 1,026
Posted 1392049310
Reply with quote
#3
Change update speed or check Internet. That's all I could think of.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."
tony@shatalmic.com
Registered:1392046216 Posts: 7
Posted 1392050616
Reply with quote
#4
Thanks for the reply. I am not playing over the Internet. It is all local devices on the same ethernet + wifi. Did you mean something else by checking the Internet? On the network update speed would you recommend making it more or less often? It is currently at the default of 250ms. That seems pretty slow already if you meant to make it slower. Thanks!
vfrdirk
Registered:1375031768 Posts: 129
Posted 1392055466
Reply with quote
#5
Tony, I think all of us who use mobile devices as clients have experienced this during play, but I'm not sure we've uncovered why it happens or how to improve matters. Having the server run on the Ethernet connected desktop is the right configuration. There are a couple of things I can suggest looking at which might not fix the problem, but might improve matters and, perhaps, point us in the right direction of where the problem lies. 1. Check the network update speed. The default is 250ms and I find this to be too slow for smooth gameplay on a crew sitting in the same room. It's possible that your slower update speed is causing some wifi client (who, I think, are slower to respond in general) to get confused about where they are and crash. We typically run at under 100ms, usually 50ms, with good results on wireless clients. 2. Wireless AP/Router quality. Depending on the number of clients connected and rapidly exchanging data with the server, you may be taxing the wireless router to the point where packets are being lost. If you're savvy on this type of stuff, you may be able to log in and see if there are errors. Also, there may be other wireless devices on the network which are putting a load on the AP. (TV Streaming boxes, mobile phones, gaming consoles, laptops) all of which may, periodically be demanding data via wireless. I believe the network update speed is the culprit, so please let us know if that resolves. In our LAN games, 50ms gives us very smooth play with very few client drops from mobile devices. Dirk
tony@shatalmic.com
Registered:1392046216 Posts: 7
Posted 1392055711
Reply with quote
#6
I will give a faster network update a try and let you know.
pupbrad
Registered:1375040134 Posts: 889
Posted 1392055725
Reply with quote
#7
I think he meant somehow checking the router to make sure it isn't being overtaxed. I've had the issue when playing via wifi that occasionally the router gets overloaded if you have the update speed too high and it will cause some machines to be kicked out. Another thing worth trying that someone else noted in a different thread is that for some reason iPads will sometimes try to connect up via the internet and not the local network. If your ports arn't forwarded, this may cause them to disconnect if they suddenly decide to go through via the internet. I honestly don't understand this myself, but it was the solution to someone having issues getting his mobile devices connected up. The issue, being worse when more devices are connected, definately sounds like one of overtaxing the router though. Do try lowering the game update speed (going from 20 ms to 100 ms or higher) and see if that affects it.
__________________ Captain of the USN Basroil. "I am a leaf on the wind. Watch how I soar." - Hoban Washburne "Give me a ship to fly and I'll make it sit up and beg, roll over (but NEVER play dead), and even do the jitterbug if you so fancy." - Unknown
johnkiniston
Registered:1388105699 Posts: 138
Posted 1392057439
Reply with quote
#8
We had a lot of problems trying to play on a 'Shared' General purpose WIFI so these days we have a dedicated off-internet router and SSID just for Artemis use.
Captain
Registered:1375484560 Posts: 1,026
Posted 1392059653
Reply with quote
#9
What I meant was check the Internet to see of it is staying up and not crashing.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."
pupbrad
Registered:1375040134 Posts: 889
Posted 1392064433
Reply with quote
#10
Captain, they are not playing via the internet. Whether the internet is up or down means nothing, the only thing that matters is if the local area network is running.
__________________ Captain of the USN Basroil. "I am a leaf on the wind. Watch how I soar." - Hoban Washburne "Give me a ship to fly and I'll make it sit up and beg, roll over (but NEVER play dead), and even do the jitterbug if you so fancy." - Unknown
Captain
Registered:1375484560 Posts: 1,026
Posted 1392067831
Reply with quote
#11
Well then check that.
__________________ Captain USN Liberator "When I lost my rifle, the Army charged me 85 dollars. That is why in the Navy the Captain goes down with the ship."