Connect and play on a Nexuiz server with 1 click. [Windows]

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Connect and play on a Nexuiz server with 1 click. [Windows]

Postby AnArKiSt » Thu May 28, 2009 12:19 pm

I read -z-'s topic about how he got nexuiz:// working on Linux to connect to the servers quickly using a URL.

I noticed that there was no Windows method given, so I made a method of my own to decrease the time needed to connect to and play on a server, and I'm posting here to share it with you. :)

It is a batch file as shown below:
Code: Select all
cd "\Game Program Files\Nexuiz\"
nexuiz.exe +connect 208.43.251.170:26002


Copy and paste the code into a blank text file.

Replace \Game Program Files\Nexuiz\ with the location of your own Nexuiz directory, and replace 208.43.251.170:26002 with the server ip address and port you want to connect to.
The server ip and port given will connect you to Nexuiz Ninjaz CTF hook server.

Once you are finished copying, pasting, and editing the code, save the text file, give it a suitable name and the .bat extension.

Once you change the text document's extension to .bat, the files icon will change, and opening it will open up Nexuiz and immediatly connect to the server specified in the ip and port given in the code.

You can edit this batch file to change the server it will take you to by right clicking the batch file, and selecting edit.

You can then change the ip address and port it specifies using the text editor that appears.

Tell me what you think, and enjoy.

:)
My will be done.
AnArKiSt
Alien
 
Posts: 176
Joined: Fri Feb 27, 2009 6:41 am
Location: Behind a firewall.

Postby MaStEr » Thu May 28, 2009 8:32 pm

i didnt have tryed this right now, but if it works great job!
This is helful for my clueless rl friends =D
MaStEr
Member
 
Posts: 30
Joined: Sun Aug 17, 2008 9:11 pm

Postby AnArKiSt » Fri May 29, 2009 1:56 am

I'm glad that some people will find this useful.

It's working for me, so it should work for other windows users too. The only problem I had with this batch file was when I was making it.

You might want to know this if you want to try something similar:

I tried to run Nexuiz using "/Game Program Files/Nexuiz/nexuiz.exe +connect 208.43.251.170:26002", but that did not work. The remedy was to use cd to change the current path to that of the Nexuiz directory, then execute nexuiz.exe.

Another note: If you use nexuiz-sdl.exe for whatever reason, just change

nexuiz.exe +connect <address>:<port>
to
nexuiz-sdl.exe +connect <address>:<port>
My will be done.
AnArKiSt
Alien
 
Posts: 176
Joined: Fri Feb 27, 2009 6:41 am
Location: Behind a firewall.

Postby [-z-] » Fri May 29, 2009 2:46 am

nexuiz has a -basedir flag that may help you run it all out of one shortcut


nexuiz.exe -basedir "/Game Program Files/Nexuiz/" +connect 208.43.251.170:26002

and btw >> dojo.nexuizninjaz.com:26002 would work too.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron