View Full Version : Multiplayer
Dmetrey
02-24-11, 03:25 PM
Hello,
Me and my friend have been trying to play DW for 2 weeks now but nothing just works. We just dont see any servers when we connect. I tried openning ports, we used Hamachi, tried Hyperlobby but nothing just makes it. Anyone know what it could be?
Dmetrey.
Molon Labe
02-24-11, 04:09 PM
From CADC Wiki (http://www.commanders-academy.com/wiki/index.php?title=Technical_FAQ#What_settings_.28i.e ._ports.2C_etc..29_do_I_need_to_play_online.3F)
You can find a ReadMe in the Dangerous Waters installation folder which covers Multiplayer issues, however for convenience here are the highlights.
The IP address shown in the Gameroom for the Host in Multiplayer is the local IP address and may not be the IP address needed by other players to join your hosted game. One method to determine the IP address for your computer with respect to the rest of the Internet is to browse the website: http://www.myipaddress.com/ That website will display the IP address clients will need to use in order to join a Multiplayer game. Also, if you have a firewall installed and active it may not allow you to connect in a Multiplayer game.
SCS-DW uses DirectPlay 9.0c for its Multiplayer connectivity. In order to connect to other players in a Multiplayer game, it may be necessary to open ports in the range 2302-2400 in your firewall and/or router for TCP and UDP packets.
SCS-DW attempts to determine which network adapter your computer is using when connecting in Multiplayer games. Sometimes this default selection is incorrect and can prevent connections to/from other players in Multiplayer games. In order to determine if this default selection is causing problems, first start SCS-DW and "Host" a game. At the Gameroom screen, the adapter that was chosen by SCS-DW will be displayed in the chat window. It is suggested that you write this down. It may look similar to the following:
Local Area Connection - IPv4 - 192.1.168.69
Then using Windows Explorer, browse to the directory where SCS-DW was installed (DEFAULT: C:\Program Files\Sonalysts Combat Simulations\Dangerous Waters) and open the file "adapters.txt".The following is an example "adapters.txt" file
This file contains all adapters found on this system:
Local Area Connection - IPv4 - 62.1.168.69
The adapter that SCS-DW will pick is the "Local Area Connection" adapter, but in some case there can be two adapters on a given system:This file contains all adapters found on this system:
Broadcom Ethernet Adapter - 68.132.123.45
Local Area Connection - IPv4 - 192.1.168.69
In order to force SCS-DW to pick the "Broadcom Ethernet Adapter" you need to edit the file "dangerouswaters.ini" as follows:
Scroll down inside the "dangerouswaters.ini" file to find the keyword : .AdapterName "IPv4".In the example "adapters.txt" file above, the .AdapterName keyword would need to be changed to : .AdapterName "Broadcom Ethernet Adapter".
After making the change, save the "dangerouswaters.ini" file. Next time Dangerous Waters is run it will use the adapter that you specified.
It is recommended that the numerical address portion of an adapter be left out of the .AdapterName. This will allow SCS-DW to still connect successfully if your ISP changes the IP address being used. (This is common with cable/DSL Internet connections.)
It might help to open up port 6073 in addition to the ports 2300-2400 that the DW Readme suggests (MS knowledgebase with the info (http://support.microsoft.com/kb/240429)).
If using DirectX 8 or a later version...
Connection // Ports for Client Configuration // Ports for Host Configuration
Initial UDP Connection // 6073 Outbound // 6073 Inbound
Subsequent UDP Inbound // 2302-2400 // 2302-2400
Subsequent UDP Outbound // 2302-2400 // 2302-2400
Open all these... for all protocols.
Something to keep in mind is that you may have to open ports on the local firewall as well as the router firewall.
Dmetrey
02-25-11, 07:47 AM
Doesnt Hamachi do that?
Dmetrey
02-25-11, 01:04 PM
And heres how i opened the ports. Is it correct?
http://i1202.photobucket.com/albums/bb367/Dmetrey/MyPorts.jpg
Molon Labe
02-25-11, 02:32 PM
I think that's correct. But that appears to be for your router. You may still have a local firewall blocking the ports. You might have to open those ports locally or disable the local firewall.
Dmetrey
02-25-11, 02:57 PM
But again shouldnt Hamachi do that all for me? I use it for so many other things and it works great.... and yeah my fire wall is disabled and allways have been..... :damn::damn:
Dmetrey
02-25-11, 03:00 PM
What should the .AdapterName be in the DangerousWaters.ini file? Couse rightnow i have it to .AdapterName "Broadcom Ethernet Adapter". Maibe it should be somthing else?
Molon Labe
02-25-11, 04:25 PM
That was one of the main points of the FAQ.
If you're not getting a connection with one adapter, try switching to another one listed in adapters.txt. You might get success with the LAN/router adapter, or for that matter, with something associated with Hamachi since you're running that.
goldorak
02-25-11, 07:09 PM
What should the .AdapterName be in the DangerousWaters.ini file? Couse rightnow i have it to .AdapterName "Broadcom Ethernet Adapter". Maibe it should be somthing else?
Dangerous Waters has no way to choose the correct ip interface for multiplayer in case your computer has multiple ip interfaces.
By using Hamachi you add a new interface, and DW gets confused. So besides opening the correct ports (and disabling the firewall for those ports) you have to specify manually in the Adapters.txt file the correct interface.
Dmetrey
02-26-11, 01:07 AM
I tried the 2 adapters there but Still its not finding any servers :damn:
Molon Labe
02-26-11, 01:23 AM
have you tried not using Hamachi?
Has the person you're connecting to done this before, successfully, with his/her current configuration? It's not necessarily on your end if you've tried everything.
Dmetrey
02-26-11, 04:27 PM
Well no, neither my fried, or even my second laptop that is connected to the same modem ever made it to work. Trying without hamachi.... I will try it.
Dmetrey
02-27-11, 05:28 AM
Tried without hamachi and its the same as allways... Would there be anyone who could maibe create a session so i could try to connect to? I dont know what else i could do.....
Molon Labe
02-27-11, 12:37 PM
Yeah, I can help with that. I'll keep an eye on the forum this afternoon.
The rules you set up on your D-link router is set for a fixed IP adress 192.168.1.2. It could be that your computer that is running DW has received a different IP-adress from your router's DHCP service since then. And possibly assigned the 192.168.1.2 to another computer in your home. This can happen if your computer has been turned off for too long. Especially with WLAN connections, which usually have IP-adress leases valid for between 1 and 8 hours. Within this time the computer must request an extension of the lease. If the lease runs out then it is 'first come, first serve'. To solve that problem you should look into the router options to reserve this 192.168.1.2 address for the specific MAC-address of your computer's network card. Or sometimes it can be assigned to the computername of your computer. This is probably found somewhere in the LAN option in that left-side menu.
As Molonlabe said, you have to make sure this is set up propperly on both your and your friend's side.
If you want to connect to the DW host of your friend, or he wants to connect to your DW host, then you need to provide DW the external adress of the router (irregular w.x.y.z adress assigned by your or his ISP), NOT the internal IP-address like 192.168.1.2. The latter one is only valid inside your LAN at home and not addressable on the internet. Your router should also have a page telling you your WAN IP-address. Tell your friend to provide this IP-adress to DW to connect to you.
Molon Labe
03-01-11, 12:33 PM
Actually, Dmetry linked up with me over the weekend for a connection test and everything was fine on his end. It's his friend with the connection issue.
wingtip
03-06-11, 08:05 PM
so am i suppose to be able to see available hosted sessions when i select join instead of host? all i see is a box that says enter ip to connect to...
when i host, the screen shows "Direct Play8 TCP/IP Service Provider"
but in the adapter file it lists
Local Area Connection 2 - IPv6 - fe80::3995:6fa:5ab1:4407
Local Area Connection* 7 - IPv6 - fe80::200:5efe:24.13.186.122
Local Area Connection* 10 - IPv6 - 2002:180d:ba7a::180d:ba7a
Local Area Connection 2 - IPv4 - 24.13.186.122
In the INI file it lists
.AdapterName "IPv4"
I havent had anyone to test the connection though... I just wondered if i should be seeing available sessions or do you only have the option to enter an ip to connect to????
ASWnut101
03-06-11, 10:37 PM
Yeah, you normally have to have an IP adress to connect to. DW doesn't have "servers" like Call of Duty or Halo does.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.