Duke4.net Forums: Multiplayer - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Multiplayer  "through batch files."

User is offline   W3RM 

#1

I had batch files for this but lost them in a recent hard drive crash.
I tried google to find them again but that was no success.
Can someone point me in the right direction? Thank you.

This post has been edited by W3RM: 07 May 2010 - 02:36 AM

0

#2

It depends on how you want to go about it, with EDuke32 I think only Client/Server is supported now (but is probably buggy) in which case it is very simple to get running, all you need to do here is add -server to the command line to make a server or -connect 123.456.789.123 to connect to a server (replacing that IP with the one for a server).

For example, a batch file to make a server would be:
EDuke32.exe -server


For a client you could use this (Assuming that you were connecting to 192.168.0.1):
EDuke32.exe -connect 192.168.0.1

If you want to push the boat out a bit, you can do it like this so you can connect to different servers without editing the batch file:
@echo off
if exist LAST.IP set /p LIP=<LAST.IP
cls
echo EDuke32 Multiplayer (Client)
if exist LAST.IP echo The last IP Address used was %LIP% - Just press enter if you want to use this again.
set /p IP=Type the server's IP address:
if not "%IP%"=="" goto :NEWIP
set IP=%LIP%
:NEWIP
echo %IP% > LAST.IP
EDuke32.exe -connect %ip% %1 %2 %3 %4 %5
set IP=
set LIP=
exit



You might also want to give YANG a try, though it's never worked for me, everyone else seems to be able to use it fine, so I assume I just suck at it. http://www.multi-pla...-zone.com/yang/ or if you still want to use Batch Files, you could try reading this: http://static.jonof.id.au/modsuppt/jfduke3...leasenotes.html

This post has been edited by High Treason: 07 May 2010 - 03:35 AM

0

User is offline   W3RM 

#3

EDIT 1

The release notes had the answer. Thank you for the link.

Batch to host a game.
eduke32.exe /net /n0:(number of players)

Batch to connect to a game.
eduke32.exe /net /n0 (ip of host)

EDIT 2


Noticed that is no longer supported so I am now using -server and -connect (ip)
Thanks again.

This post has been edited by W3RM: 07 May 2010 - 04:37 AM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options