Client command


(stebbi67) #1

If I want to use a bat file to lunch ET.exe can I then add which server it should connect to? That is can I add a variable to the ET.exe which specifies the server address?


(carnage) #2

yep, any console command can be run when ET is launched

here is an example ull prob be able to work out what u need to do with it

C:\et\ET.exe +set connect “server IP”


(stebbi67) #3

Ok, thanks.


(SCDS_reyalP) #4

Errm, don’t use +set with a command. +set is for cvars. So for example
et.exe +set fs_game etpro +connect 1.2.3.4


(Nocturne) #5

just in case also add +set dedicated 2 +set net_port “your gaming por"t, standard 27960”


(SCDS_reyalP) #6

:???:

dedicated is for servers

net_port set on the client just sets your clients port, which you only have to worry about if have multiple computers behind a NAT box or something like that.

If you want to connec to a server on a non-default port use
+connect ip.of.the.server:port


(Nocturne) #7

:eek: whoops sorry my bad :banghead: