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


  • 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.
    User avatar
    AnArKiSt
    Alien
     
    Posts: 176
    Joined: Fri Feb 27, 2009 6:41 am
    Location: Behind a firewall.

Thu May 28, 2009 8:32 pm

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.
    User avatar
    AnArKiSt
    Alien
     
    Posts: 176
    Joined: Fri Feb 27, 2009 6:41 am
    Location: Behind a firewall.

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.
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest