Public (OOC) > Tech discussion
The real direct connect
JipK:
Just found this trick on another forum. It'll allow you instantly connect to PotM just by using a shortcut on your desktop or start bar.
1. Create a new shortcut anywhere it suits you (right click > new > shortcut)
2. Direct it to nwmain.exe
3. Once the shortcut is created, right click on it and open the properties.
4. Add " +connect 104.155.20.124:5121" where it says "target" (note the space in front of the "+")
Example: C:\NeverwinterNights\NWN\nwmain.exe +connect 104.155.20.124:5121
Voila, you'll be able to instantly connect to PotM using a shortcut.
DM's will be able to use it as well, though they'll have to add a little bit extra to the target they should add " +password [password]" and " -dmc" (this one makes you log in on the DM client)
Example: C:\NeverwinterNights\NWN\nwmain.exe -dmc +connect 84.238.20.74:5121 +password [password]
Hope any one will find this useful.
Knas:
This also serves as a walk around for those who have the missing menu graphic bug
Bato:
Direct connecting like this reduces lag by alot because you bypass gamespy.
I use batchfiles to do this for me.
Lets me select from multiple servers.
If anyone dosn't know how to do this:
You open notepad, type in:
--- Code: ---@echo off
cd C:\NeverwinterNights\NWN\
:redo
cls
echo Select a Server
echo 1. Server
echo 2. Another Server
echo 3. DM on this one server
set /p server= Server Number:
if %server% == 1 start nwmain.exe +connect ##.##.##.##:####
if %server% == 2 start nwmain.exe +connect ##.##.##.##:####
if %server% == 3 start nwmain.exe -dmc +connect ##.##.##.##:#### +password [password]
if else goto :redo
exit
--- End code ---
And save it as WhateverYouWant.bat
An example of mine:
--- Code: ---@echo off
cd C:\NeverwinterNights\NWN\
:redo
cls
echo Select a Server
echo 1. Arelith
echo 2. Badlands
echo 3. Ravenloft
set /p server= Server Number:
if %server% == 1 goto :arelith
if %server% == 2 start nwmain.exe +connect 24.17.33.154:5121
if %server% == 3 start nwmain.exe +connect 192.38.55.36:5123
if %server% == 11 start nwmain.exe +connect arelith.servegame.org:5124
if %server% == 12 start nwmain.exe +connect arelith.servegame.org:5125
if else goto :redo
exit
:arelith
echo 1. Surface
echo 2. Underdark
set /p arelith= Server Number:
if %arelith% == 1 start nwmain.exe +connect arelith.servegame.org:5124
if %arelith% == 2 start nwmain.exe +connect arelith.servegame.org:5125
if else goto :redo
exit
--- End code ---
This ONLY works on Windows. Not sure how to do this on Linux or Mac. But I might look up how to do it on Linux sometime.
tzaeru:
Interestingly the Linux binary of the nwmain executable seems to ignore all command line options, therefore making it a bit tricky to directly connect at start-up. :roll:
*Eagerly waits for the day when software houses start to properly support Linux*
LeslieMS:
--- Quote from: JipK on October 26, 2008, 09:19:16 PM ---Just found this trick on another forum. It'll allow you instantly connect to PotM just by using a shortcut on your desktop or start bar.
1. Create a new shortcut anywhere it suits you (right click > new > shortcut)
2. Direct it to nwmain.exe
3. Once the shortcut is created, right click on it and open the properties.
4. Add " +connect 192.38.55.36:5123" where it says "target" (note the space in front of the "+")
Example: C:\NeverwinterNights\NWN\nwmain.exe +connect 192.38.55.36:5123
Voila, you'll be able to instantly connect to PotM using a shortcut.
DM's will be able to use it as well, though they'll have to add a little bit extra to the target they should add " +password [password]" and " -dmc" (this one makes you log in on the DM client)
Example: C:\NeverwinterNights\NWN\nwmain.exe -dmc +connect 192.38.55.36:5123 +password [password]
Hope any one will find this useful.
--- End quote ---
The New IP address is as follows:
192.38.55.132:5123
Just for anyone that doesn't already know =)
Navigation
[0] Message Index
[#] Next page
Go to full version