descent on two computers through the same router?

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Pun
DBB DemiGod
DBB DemiGod
Posts: 2108
Joined: Fri Aug 10, 2001 2:01 am
Location: Chicago, IL USA
Contact:

descent on two computers through the same router?

Post by Pun »

I dunno what happened but all the sudden I can't have both of my mahines playing d3 tcp/ip games at the same time. What steps do I have to take to make that happen? Do I need to forward ports? I tried a -useport command line switch on one of the boxes but that didnt seem to help. It's funny because just the other day they were both working.
User avatar
Tricord
DBB Alumni
DBB Alumni
Posts: 3394
Joined: Thu Nov 05, 1998 12:01 pm

Post by Tricord »

Ya, that's funny.

In order to play (not to host) you don't need any port-forwarding.
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

To play both machines at the same time you need to:

On the router:
Open port 2092 to the IP addy of your main machine
Open port 2093 to the IP addy of the secondary machine

In the secondary machine's command line, add -useport 2093

They were working the other day probably because you weren't playing on both at the same time.
User avatar
Pun
DBB DemiGod
DBB DemiGod
Posts: 2108
Joined: Fri Aug 10, 2001 2:01 am
Location: Chicago, IL USA
Contact:

Post by Pun »

gracias, mi amigo. I'mma try that after lunch!
User avatar
Tricord
DBB Alumni
DBB Alumni
Posts: 3394
Joined: Thu Nov 05, 1998 12:01 pm

Post by Tricord »

Updating the router is not neccessary since it is the client who initiates the communication. The router will have an entry in it's portforwarding table as soon as you fire up the netcode anyway.

To be sure it works, I'd put -useport in the commandline of both D3 clients, with different values (anything goes as long as it's between 1024 and 65536).
User avatar
Pun
DBB DemiGod
DBB DemiGod
Posts: 2108
Joined: Fri Aug 10, 2001 2:01 am
Location: Chicago, IL USA
Contact:

Post by Pun »

It seems as if this is a Kquery issue. With the proper ports forwarded and everything, we still can't get online at the same time. I know what you're thinking. Make sure to have the command lines entered into the D3 KQuery settings. I've got that covered. It's strange, but if one machine uses KQuery and the other uses The CX tracker, all works well. It's only when both machines try to join through KQuery that there is a problem. Anyone else have this issue?
User avatar
Tricord
DBB Alumni
DBB Alumni
Posts: 3394
Joined: Thu Nov 05, 1998 12:01 pm

Post by Tricord »

Does KQuery start the game directly, without showing the D3 launcher?

If so, it has it's own command line and overrides anything you have specified in the D3 launcher command line, and probably tries to use the same port on both machines. So yeah, I'd say the problem lies over there.
User avatar
WarAdvocat
DBB Defender
DBB Defender
Posts: 3035
Joined: Sun Jun 23, 2002 2:01 am
Location: Fort Lauderdale, FL USA

Post by WarAdvocat »

Umm, anyone who uses kquery has already copy/pasted their commandline into kquery. As pun said, he already covered that.

But hey, at least you got to post and stuff, postcount ++ hooray!
User avatar
Testiculese
DBB Material Defender
DBB Material Defender
Posts: 4689
Joined: Sun Nov 11, 2001 3:01 am

Post by Testiculese »

kquery adds to the existing command line.

[plug]Try my launcher[/plug] :)
Post Reply