Network Connection Issues

From Shaiya Wiki

Jump to: navigation, search

Technical Issues >> Network Connection Issues


Contents

Overview

Online MMORPG's require persistent connections. That is, their is a constant connection to the Server. Shaiya is strict when it comes to this and requires a very reliable connection that does not have drop outs or any lost packets.

Since some connections require data to traverse over thousands of miles, may go through many routers to do so, may be converted from light to electricity and vice-versa several times, and is sensitive to natural phenomenon, you begin to appreciate how the internet actually works, and see that latency and lost packets will be a certainty.

This section helps diagnose problems, such as excessive latency (lag), and random disconnects. It is also used to verify that your internet connection is fine.

Prior to doing any network diagnostics it's recommended that your stop any P2P or any other programs that are running in the background, which may be using the network (or sibling PC's).

Wireless Connections

These are perhaps the hardest issues to work out. I often suggest too people that if your getting drop outs, and your using wireless, if it's possible to scrap your wireless connection, in favour of cable, then do so. Wireless connections are famous for dropping packets, even to the point of losing the network connection when signal strength is low. Wireless connections frequently drop out, causing disconnects, consult your wireless device manual for instructions on how to improve the connection, or use a cable connection if possible. If you do switch to cable, Make sure that your Wireless network connection is disabled on your Computer.

Public Connections

Using any public connections, such as those from school and work, almost always block you from playing at the router level, so you will not be able to play on these connections.

Dial-up Connections

When you have a really low speed maybe less than 10KBps, you may get a Data Recieving error during the Character Load splash screen. Using Broadband and not being capped, or shaped in any way should fix this.

Background Applications/Processes

Computers have many processes that run in the background and some are invisible. To see the list open Task Manager, then select the Processes tab. There is many processes running, and if you select Show Processes from all users there will be even more. If you don't know what a process does look it up, here is a good site:
http://www.tasklist.org/

The main processes that affect Network performance are ones which use the network. Common Applications/Processes that have a major impact on your connection/speed are Peer-to-peer applications. Unless you know how to throttle them so there can be no bottle-neck you should make sure that they have been Exited, minimising to the System Tray does not stop them only hides them from view.

Go into Command Prompt and type:

netstat -b

It will show you how many Active Connections you have and what processes they belong too.

To understand what your network traffic is download and install a Network Protocol Analyser. The author recommends Wireshark.
Read through some tutorials and familiarise yourself with it. What you want to do is inspect the traffic on your Network Connection that you play the game on. Close all Network Applications and run it. You will probably be getting a steady broadcast or two, this is no big deal probably your Router. If your getting more than a few packets every second then something is using your network, you have to inspect the packet to get more info on what it is about.

Example:
Just then I was getting a bunch of HTTP packets, it's unusual because I wasn't using the web at the time, Upon further inspection I found it to be coming from 72.55.177.123 (72.55.177.xxx belongs to Aeria). Hey that's the Aeria games forum, and it said the file was shoutbox_ajax.php. Aha!! Makes sense now it's from the Aeria Forums Shoutbox, it auto-refreshes and was using the network in the background. Ok so I go to that page close it. The packets no longer coming through.

This is an example of diagnosing your network. You keep doing this until only a small stream of packets come through. Bear in mind monitoring only occurs on your Computer, so if you have a sibling maxing out the bandwidth with Kazaa or something you wont pick it up unless your monitor the traffic to your Router. It may be a little overwhelming at first, and well it's not surprising, that's why professionals are dedicated to networking duties.

Power Options

If you want to keep the Game on while your away from the keyboard, you may have to fix your Power Options.

Win XP

Start >> Control Panel >> Power Options
Set Power Schemes to Always On.

Vista

Start >> Control Panel >> Power Options
Set High Performance Radio Button
Click Change Plan Settings
Click Change advanced power settings
In Advanced Settings the Tree view:
Expand Hard Disk >> Turn off hard disk after, Set to Never.

Ping your Router

This assumes that your Computer is directly connected to your router (which is most home network setups). This should be done if your experiencing Disconnects, and you want to check if your internal network connection is the issue.

to ping router

Unofficial Game Network Diagnostics Script

Beta Testing!!!
If your having issue with Network latency (Network LAG), or Disconnects, basically anything that is network related, use the Game Diagnostic Script.

It does the following:

  1. Attempts to repair all your network connections.
  2. Trace routes to game related Servers (First 2 IP Address hops masked to increase Anonymity).
  3. Runs extended Pings to game related Servers (Removes the Reply messages).
  4. Lists your active Processes.
  5. Runs DXDiag and saves the information.

Download Here

After downloading finishes, make sure it has the ".bat" extension and recognised as a Windows Batch File. Windows show extensions

Double click on the file. For Vista users : Right click on the file, and select "Run as Administrator"

Once it has been completed an output file will show up, Select All the text, Copy, and Past the Output in your forum thread between Code tags.

[code]My sample Code{/code]

See: Sample File

Coded by: Langerz, Credits: cyberion1985.

Server IP Addresses

NameIP AddressPorts
Login Server 174.142.118.105 30800 TCP
Lailah 174.142.118.117 30810 TCP
Teos 174.142.118.118 30810 TCP
Etain 174.142.118.119 30810 TCP
Gaia 174.142.118.120 30810 TCP
Battle Zone 174.142.118.121 30810 TCP

Constant Disconnections

Leave the ping running while you play on your tested server. When you get the next disconnect, switch to the ping window. If your pings are timing out then it's likely your internet connection that's the issue, otherwise if the pings are still fine, then it may be the Server that's the issue.

Trace route to a Server

The purpose of this is to find which Router may be causing the issue.

Trace Route

1. Open Command Prompt
2. Use the following syntax:

tracert [SERVER_IP_ADDRESS]

3. let it run.

4. If you get:

*        *        *     Request timed out.
  • It means, that is the host name that has failed. If it went out of your router fine. It means that your internal connection is probably ok. The internet connection is the problem.
  • If it occurred on one of your ISP routers, then contact them to find out what's being done about it.
  • If it occurs beyond your ISP, maybe it's a good idea if you contact them anyway, so they can contact the appropriate people.

Cannot Connect to Game

CAUTION - This should only be done for test purposes only, do so at your own risk. Leaving a direct connection without a firewall for a period of time, will leave you open to intrusions, within minutes.

  • Make sure you have properly disabled any Firewalls on your PC, check in Control Panel -> Administrative Tools -> Services, To double check that Firewalls have actually been stopped (restarting may be required). Then start Shaiya. If no luck, then enable your firewall back on.
  • If you have a seperate router and modem, try bypassing the router by directly connecting your PC to your modem and testing.
  • Try disabling the firewall again and testing, immediately turn it back on, once you have tested.
  • If it connects with a direct connect, The issue is likely an issue with the router configuration, and consult your router manual or the manufacturer's website for support.
Personal tools