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.
Page 1 of 1
Multiplayer "through batch files."
#1 Posted 07 May 2010 - 02:34 AM
This post has been edited by W3RM: 07 May 2010 - 02:36 AM
#2 Posted 07 May 2010 - 03:34 AM
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:
For a client you could use this (Assuming that you were connecting to 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:
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
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
#3 Posted 07 May 2010 - 04:08 AM
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.
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
Share this topic:
Page 1 of 1