Page 1 of 1

where can i get a auto start batch file

Posted: Mon May 09, 2005 10:38 am
by downsystem
Cause when i started they didnt have the auto install hacks working. I guess from what i heard there is some sort of auto start batch file in it that allows one to bypass gamespy? Where i can i get this?

Posted: Mon May 09, 2005 10:52 am
by beezel_bug
Try this.

Open Notepad

type or copy in the following
nwmain.exe +connect avlis.blackdagger.net:xxxx +password pppp
where xxxx is the port of the server you want and
where pppp is the password for the server

Then save the file as "Connect to <Insert Avlis Server name>.bat" (with the double quotes) in the nwn folder of the neverwinter nights game directory.

Double click it and voila

Posted: Mon May 09, 2005 10:53 am
by Alphonse
the port information can be found on the server status page

Posted: Mon May 09, 2005 10:54 am
by Talwin Hawkins
http://avlis.betaspace.net/ASKInstall.zip

thats a cool little program.

Re: just tried your little trick

Posted: Fri May 13, 2005 12:53 am
by Jskee
downsystem wrote:and it wouldnt let me save it and said - the above file is invalid. I cut and copied the file name as you had it, and put this ... nwmain.exe +connect avlis.blackdagger.net:5123 +xxxxxxxx for its contents. What did i do wrong?

Do not post the password...please edit this out!

Posted: Fri May 13, 2005 12:56 am
by Jskee
you have it almost correct.

You still have to have the word "password"

So, +password XXXXXXXXXX

its still not working

Posted: Fri May 13, 2005 2:01 am
by downsystem
"Connect to <Insert Avlis Server name>.bat" <-----Is that a file that should already be in my nwn folder cause if it is i dont have that file? And if it is a file and i dont have it where can i get it?

Re: its still not working

Posted: Fri May 13, 2005 2:28 am
by Jskee
downsystem wrote:"Connect to <Insert Avlis Server name>.bat" <-----Is that a file that should already be in my nwn folder cause if it is i dont have that file? And if it is a file and i dont have it where can i get it?
Scroll up, and look at this....

nwmain.exe +connect avlis.blackdagger.net:xxxx +password pppp

Create this file through your Notepad, then save it as <Insert Avlis Server>.bat

Get it?

ok got it figured out

Posted: Fri May 13, 2005 2:55 am
by downsystem
i saved this first <insert server name here>

Then i realized it needed to be the server name (duh)

So i put this in <avlis.blackdagger.net> (exactly) and that didnt work.
Now if you would of said to save it as the server name, or <insert the servers name> , and remove the less then/more then arrows that would of saved me some posting here. Apparently windows dont like saving less then/more then arrows

Re: ok got it figured out

Posted: Fri May 13, 2005 7:22 am
by beezel_bug
downsystem wrote:i saved this first <insert server name here>

Then i realized it needed to be the server name (duh)

So i put this in <avlis.blackdagger.net> (exactly) and that didnt work.
Now if you would of said to save it as the server name, or <insert the servers name> , and remove the less then/more then arrows that would of saved me some posting here. Apparently windows dont like saving less then/more then arrows
what I meant was to save a file for each server you want and name them accordingly.

So you might have files called
Connect to Ferrell.bat
Connect to Le'Or.bat
Connect to Elysia.bat

etc....

Posted: Fri May 13, 2005 2:06 pm
by Eponine
Windows 9x and Win2003 come with a handy little program called "choice.exe". You can also find it in the WinXP/Win2K resource kits.

It lets you make menus from simple batch files. Here is one I created, I named it StartAvlis.bat ...

Code: Select all

cd \NeverwinterNights\NWN

rem save the chat log
FOR /F "tokens=1-4 delims=/ " %%I IN ('DATE /t') DO SET mydate=%%L%%J%%K
FOR /F "tokens=1-3 delims=: " %%I IN ('TIME /t') DO SET mytime=%%I%%J%%K
copy logs\nwclientlog1.txt logs\%mydate%%mytime%.txt

@echo off
SET SERVER=avlis.blackdagger.net
:start
cls   
echo          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo          º    Avlis Servers       º
echo          ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹
echo          º  1. Elysia             º
echo          º  2. Mikona             º
echo          º  3. Leor               º
echo          º  4. Wilderness         º
echo          º  5. Ferrell            º
echo          º  6. Deglos             º
echo          º  7. Kuras              º
echo          º  9. Exit               º
echo          ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
choice /c 123456789

if errorlevel 9 goto exit
if errorlevel 7 goto Kuras
if errorlevel 6 goto Deglos
if errorlevel 5 goto Ferrell
if errorlevel 4 goto Wilderness
if errorlevel 3 goto Leor
if errorlevel 2 goto Mikona
if errorlevel 1 goto Elysia

:Elysia
nwmain.exe +connect %SERVER%:5123 +password pwd
GOTO exit

:Mikona
nwmain.exe +connect %SERVER%:5121 +password pwd
GOTO exit

:Leor
nwmain.exe +connect %SERVER%:5124 +password pwd
GOTO exit

:Wilderness
nwmain.exe +connect %SERVER%:5122 +password pwd
GOTO exit

:Deglos
nwmain.exe +connect %SERVER%:5125 +password pwd
GOTO exit

:Ferrell
nwmain.exe +connect %SERVER%:5126 +password pwd
GOTO exit

:Kuras
nwmain.exe +connect %SERVER%:5127 +password pwd
GOTO exit

:exit
cd\
cls
The top part just renames the chat log to the date and time so I have them for furture reference, the rest is just the menu. I have only tried this on Windows XP SP2 so I can't say if it works on other Windows versions.

Replace pwd with the password from your Acceptance email.

I have a similar one for all the Copap servers.

If anyone wants to try it and can't find choice.exe (I think its on microsoft's site too) and trusts a stranger to send you an exe (evil laugh) PM me and I will send it to you or put it up on my web site.