Hala

The Heroic Domain of Ysgard
It is currently Wed Oct 17, 2018 9:42 pm

All times are UTC




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Dec 12, 2012 5:29 pm 
Offline
World Leader
User avatar

Joined: Fri Jul 02, 2004 11:28 pm
Posts: 2897
Location: Ironton, MO
There are currently two styles of direct connect programs. One is ASK (Avlis Side Kick). It is a graphical interface direct connect service created by the Avlis team that works fairly well. Adding servers is pretty straight forward. The link to it is found here. Avlis Side Kick

The second is the creation of a .bat file. This is accomplished by opening up a basic text program such as notebook.exe in windows. You would then post the following. Once finished save the file with any name you choose so long as it ends it .bat

Clicking on it to run should open up a command window where you would simply type in the letter or number of the server you want and press [Enter]

*Note you must set the path in the file to point to your installation of NWN

Code:
@echo off
SET NWN_PATH="C:\NeverwinterNights\NWN"
cd %NWN_PATH%
FOR /F "TOKENS=1-3 DELIMS=/ " %%a IN ("%date%") DO SET dd=%%a&SET mm=%%b&SET yy=%%c
FOR /F "TOKENS=1-3 DELIMS=:." %%a IN ("%time%") DO SET hh=%%a&SET tt=%%b&SET ss=%%c
COPY "logs\nwclientLog1.txt" "logs\NWNLOG%yy%-%mm%-%dd%_%hh%h%tt%m%ss%s.txt"

:start
echo 1 - Hala
echo 2 - Ysgard
echo 3 - Mikona
echo 4 - Wilderness
echo 5 - Elysia
echo 6 - Le'Or T'Nanshi
echo 7 - Deglos
echo 8 - M'Chek
echo 9 - Ferrell
echo 0 - Kuraz
echo a - Visi
echo b - Tairis
echo c- Arkaz, Nuvar
echo d - Arkaz, Lost
echo e - Arkaz, Toloira
echo f - Toolset

set choice=
set /p choice=Choose a server:
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto Choice1
if '%choice%'=='2' goto Choice2
if '%choice%'=='3' goto Choice3
if '%choice%'=='4' goto Choice4
if '%choice%'=='5' goto Choice5
if '%choice%'=='6' goto Choice6
if '%choice%'=='7' goto Choice7
if '%choice%'=='8' goto Choice8
if '%choice%'=='9' goto Choice9
if '%choice%'=='0' goto Choice0
if '%choice%'=='a' goto ChoiceA
if '%choice%'=='b' goto ChoiceB
if '%choice%'=='c' goto ChoiceC
if '%choice%'=='d' goto ChoiceD
if '%choice%'=='e' goto ChoiceE
if '%choice%'=='f' goto ChoiceF
if '%choice%'=='g' goto ChoiceG
if '%choice%'=='h' goto ChoiceH
if '%choice%'=='i' goto ChoiceI
if '%choice%'=='j' goto ChoiceJ
if '%choice%'=='k' goto ChoiceK
if '%choice%'=='l' goto ChoiceL
echo "%choice%" is not a valid choice.
echo.
goto start

:Choice1
start /w nwmain.exe +connect nwn.ysgard.org:5123
goto end

:Choice2
start /w nwmain.exe +connect nwn.ysgard.org:5124
goto end

:Choice3
start /w nwmain.exe +connect 96.57.173.162t:5121
goto end

:Choice4
start /w nwmain.exe +connect 96.57.173.162:5122
goto end

:Choice5
start /w nwmain.exe +connect 96.57.173.162:5123
goto end

:Choice6
start /w nwmain.exe +connect 96.57.173.162:5124
goto end

:Choice7
start /w nwmain.exe +connect 96.57.173.162:5125
goto end

:Choice8
start /w nwmain.exe +connect world.avlis.org:5131

:Choice9
start /w nwmain.exe +connect 96.57.173.162:5126
goto end

:Choice0
start /w nwmain.exe +connect 96.57.173.162:5127
goto end

:ChoiceA
start /w nwmain.exe +connect 96.57.173.162:5129
goto end

:ChoiceB
start /w nwmain.exe +connect travellers.dnsalias.net:5121
goto end

:ChoiceC
start /w nwmain.exe +connect server.arkaz.org:5121
goto end

:ChoiceD
start /w nwmain.exe +connect server.arkaz.org:5122
goto end

:ChoiceE
start /w nwmain.exe +connect server.arkaz.org:5123
goto end

:ChoiceF
start /w nwtoolset.exe
goto end

goto end
:end

_________________
Respect is Earned! Fear is Demanded!


Last edited by Arkon on Tue May 21, 2013 11:46 pm, edited 1 time in total.

Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited