Neverwinter Nights: Enhanced Edition

Neverwinter Nights: Enhanced Edition

Zobacz statystyki:
How to set up a server?
Hey guys, looking for help to set up a server. I did it in the past but don't remember how to =P.

Any guide would be very welcome.

o/

EDIT:

Just go to \steamapps\common\Neverwinter Nights\bin\win32\ and run as admin "nwserver.exe".

If you don't have this .exe, download it here:
https://forums.beamdog.com/discussion/67157/server-download-package-to-tide-you-over-and-also-docker

You can also download it in any other future official source searching on google.

You need to have your IP static and port forward 5121 UDP.
Ostatnio edytowany przez: TrueWarlord真の武; 28 marca 2018 o 6:46
< >
Wyświetlanie 1-15 z 32 komentarzy
Humperdinck 27 marca 2018 o 18:06 
Początkowo opublikowane przez DefiantShade:
http://steamcommunity.com/app/704450/guides/
Yeah but it doesnt work it keeps talking about the whole punching and no relay from server
DefiantShade 27 marca 2018 o 18:15 
quick search of beamdog forum , one post suggests it is a port forwarding issue. could try setting it to whats in jims guide see if that helps.
To sum it up for future references:

Just go to \steamapps\common\Neverwinter Nights\bin\win32\ and run as admin "nwserver.exe".

If you don't have this .exe, download it here:
https://forums.beamdog.com/discussion/67157/server-download-package-to-tide-you-over-and-also-docker

You can also download it in any other future official source searching on google.

You need to have your IP static and port forward 5121 UDP.

Done.
Początkowo opublikowane przez jimbobslimbob:
http://steamcommunity.com/sharedfiles/filedetails/?id=1302872809

There is NO NEED to use anything besides the nwserver.exe. It comes along with the game.
You should stop promoting your own overcomplicated and unnecessary guide and download page.

For anyone looking for a SIMPLE and trustfull way to start a server, just go to \steamapps\common\Neverwinter Nights\bin\win32\ and run as admin "nwserver.exe". Be sure to have your IP static and port forward 5121 UDP.
Ostatnio edytowany przez: TrueWarlord真の武; 28 marca 2018 o 6:03
jimbobslimbob 28 marca 2018 o 6:03 
Początkowo opublikowane przez TrueWarlord真の武:
Początkowo opublikowane przez jimbobslimbob:
http://steamcommunity.com/sharedfiles/filedetails/?id=1302872809

There is NO NEED to use anything besides the nwserver.exe. It comes along with the game.
You should stop promoting your own overcomplicated and unnecessary guide and download page.

For anyone looking for a SIMPLE a TRUSTFULL way to start a server, just go to \steamapps\common\Neverwinter Nights\bin\win32\ and run as admin "nwserver.exe". Be sure to have your IP static and port forward 5121 UDP.
Yeah, screw me for trying to help people, hey. It's not like that program doesn't do a multitude of things to help server owners. Jeez.
Początkowo opublikowane przez jimbobslimbob:
Początkowo opublikowane przez TrueWarlord真の武:

There is NO NEED to use anything besides the nwserver.exe. It comes along with the game.
You should stop promoting your own overcomplicated and unnecessary guide and download page.

For anyone looking for a SIMPLE a TRUSTFULL way to start a server, just go to \steamapps\common\Neverwinter Nights\bin\win32\ and run as admin "nwserver.exe". Be sure to have your IP static and port forward 5121 UDP.
Yeah, screw me for trying to help people, hey. It's not like that program doesn't do a multitude of things to help server owners. Jeez.

Yea, helping people leading them to your guide, that leads people to your website... Sure...
Your guide that conveniently forget to say that there is a simple and easier way to do it... Sure bro, what a humble soul you are...
jimbobslimbob 28 marca 2018 o 6:09 
Początkowo opublikowane przez TrueWarlord真の武:
Początkowo opublikowane przez jimbobslimbob:
Yeah, screw me for trying to help people, hey. It's not like that program doesn't do a multitude of things to help server owners. Jeez.

Yea, helping people leading them to your guide, that leads people to your website... Sure...
Your guide that conveniently forget to say that there is a simple and easier way to do it... Sure bro, what a humble soul you are...
Whatever. Some people just ache to be negative over anything. I have added some specific additions for NWN as well - including an INI parser, command-line generator and more (as requested by people on the NWN forums themselves). Don't want it? Don't use it. It's been useful for others.

Want a list of stuff that program does? (you probably don't but I will post it anyway):

- Automatic update checking and applying via SteamCMD (with configurable delay and server warning message)
- Players online graph
- Built-in Telnet and RCON client, which can be used manually or set to automatically send messages and commands (such as shutdown and shutdown notices) to the server
- Auto-restart if server goes down
- Message/command broadcast system
- Discord message broadcasting for server state and player changes.
- Player list showing everyone online, including ping, score, team and time online.
- INI File Parser, which displays a list of all ini file settings (across multiple files) in a list that you can sort, filter, edit, import and export as you wish.
- CPU and RAM usage display, with graph
- Network bandwidth monitor, with graph
- Ability to output status, players online and server name to a file - formatted however you want
- Single-click access to configuration.
- Detailed server information
- Internal and external IP address display
- Server up-time display
- Optional timed daily server restart.
- Timed incremental backups. Perform a daily backup of game data to a zip file.
- Automatically update game - Ability to run a maintenance / update program between restarts. e.g. SteamCMD to perform daily updates automatically. The server will start back up again when this program finished / ends so you minimise downtime.
- Option to delay timed restarts. i.e. The server will be turned off and the program will wait X seconds before attempting to restart it.
- Telnet to server
- 1 click backup and maintenance
- Remote commands to start, stop, backup, update and send commands to your server.
- Game Profiles - Multiple instances of the program can be run with multiple configurations.
- Designed to be "universal" and work with a multitude of games.
This is my advice for everyone.

There is a SIMPLE and OFFICIAL way to up your server, just read what I said many times already.

This guy guide asks you to go to HIS webpage and download a NOT OFFICIAL program there. A PROGRAM that you will need to link with your SteamCMD in order to "work".

Now, trust what you will.
jimbobslimbob 28 marca 2018 o 6:30 
Początkowo opublikowane przez TrueWarlord真の武:
This is my advice for everyone.

There is a SIMPLE and OFFICIAL way to up your server, just read what I said many times already.

This guy guide asks you to go to HIS webpage and download a NOT OFFICIAL program there. A PROGRAM that you will need to link with your SteamCMD in order to "work".

Now, trust what you will.
Indeed, you can do it as he says - and no-one is stopping you. Like I said, I was trying to help. For server operators that require a little more function - player worlds and the like, it may help you but NO-ONE is forcing you to do it.

Do you treat all community content for games in this hostile way though? Do you treat everyone that suggests help with such scorn?

I will leave it there.
Major_Pompous 26 marca 2020 o 15:00 
Anyone now how to get ahold of Jimbobslimbob? I have a question using his GSM and his webpage is no longer accepting new logins. Thanks in advance.
IronRook 26 marca 2020 o 19:40 
I won't go into detail but i will offer a script to start and stop a linux server.
Ubuntu 14 or 16 as long as you can apt-get install empty-expect

I did not create this so give credit to the person who did.

commands you can use .

./nwcervctl.sh start
./nwservctl.sh stop
./nwservctl.sh restart countdown 120
./nwservctl.sh status


#!/bin/bash
#nwservctl.sh

#control command for nwn server, requires empty-expect

# **** BASIC CONFIGURATION ****

# Num of log directory to keep
LOG_HIST_NUM=9

# Seconds to wait for server loading
SECONDS_TO_WAIT=100

#Default Countdown in seconds
COUNTDOWN=60

# nwserver command: nwserver or nwnstartup.sh for NWNX2
#NWSERVER_COMMAND="nwnstartup.sh" #NWNX2
NWSERVER_COMMAND="nwserver -module youmodhere" #Basic nwserver
FIRST_EXIT_PHRASE="Restarting server in"
SECOND_EXIT_PHRASE="seconds please logout..."

# output passfrase to wait for module loaded
#PASS_PHRASE="0x08203e79" # NWNX2 init if you use nwnstartup.sh
PASS_PHRASE="Running..." # Basic nwserver

# **** END BASIC CONFIGURATION ****

# **** ADVANCED CONFIGURATION ******
# ONLY FOR EXPERTS

# start server command
NWSERVER_START="empty -f -i ./in.fifo -o ./out.fifo ./$NWSERVER_COMMAND"

# wait for loaded command
WAIT_LOADED="empty -w -t $SECONDS_TO_WAIT -i ./out.fifo -o ./in.fifo $PASS_PHRASE" # FOR nwnstartup.sh

# return output from server command
# use a timeout until all commands are debugged
CATCH_OUTPUT="empty -r -t 30 -b 8192 -i ./out.fifo"

# first line argument
ARG1="$1"

# exit code
EXCODE=0

# *** CODE ***

#check if arguments exist
if [ "x$ARG1" = "x" ] || [ "x$ARG1" = "xusage" ] || [ "x$ARG1" = "x--help" ]; then
echo "Usage: `basename $0` start | restart [countdown [n]]" >&2
echo " `basename $0` stop [countdown [n]] | kill | status" >&2
echo " `basename $0` info [pid | pcpu | etime | pmem | vsz ] | --help" >&2
echo " `basename $0` <nwsever commands> if server is running" >&2
exit 1
fi

# check if nwserver is running exit if command is not
if [ "$(pidof nwserver)" ] ; then
if [ "x$ARG1" = "xstart" ] ; then
echo "`basename $0` - nwserver already running..."
exit 1
else
: # do nothing continue
fi
else
if [ "x$ARG1" = "xstart" ] ; then
: # do nothing continue
else
echo "`basename $0` - nwserver is not running..."
exit 1
fi
fi

case $ARG1 in
start)
# rotate logs
[ -d ./logs ] || mkdir -p ./logs
if [ -d "./logs/logs.$LOG_HIST_NUM" ]; then
rm -f -r "./logs/logs.$LOG_HIST_NUM"
fi
for ((ddest=$LOG_HIST_NUM; ddest >= 2 ; ddest--)); do
let "dsourc = $ddest - 1"
if [ -d "./logs/logs.$dsourc" ]; then
mv -f "./logs/logs.$dsourc" "./logs/logs.$ddest"
fi
done

#move log.0 in log.1
mv -f ./logs.0 ./logs/logs.1
mkdir ./logs.0
#end rotate logs

shift
NWSERVER_START="$NWSERVER_START $*"
$NWSERVER_START
echo "Starting nwserver please wait.."
sleep 5
$WAIT_LOADED

if [ "$(pidof nwserver)" ]
then
echo "nwserver is running now"
else
echo "nwserver loading failed.."
EXCODE=1
fi
;;
stop|restart)
if [ "x$2" = "xcountdown" ]; then
if [ "$3" -gt 0 ]; then
COUNTDOWN="$3"
fi
while [ "$COUNTDOWN" -gt 0 ]; do
$0 "say $FIRST_EXIT_PHRASE $COUNTDOWN $SECOND_EXIT_PHRASE"
let "COUNTDOWN -= 10"
sleep 10
done
fi
echo "exit" | empty -s -o ./in.fifo
$CATCH_OUTPUT
if [ "x$1" = "xrestart" ]; then
echo "restarting in 10 seconds please wait..."
sleep 10
$0 "start"
fi
;;
info)
case "$2" in
pcpu|etime|pmem|vsz)
ps -p "$(pidof nwserver)" -o "$2="
;;
pid)
echo "$(pidof nwserver)"
;;
*)
ps -p "$(pidof nwserver)" -o pid,comm,etime,pmem,vsz,pcpu
;;
esac
;;
kill)
empty -k "$(pidof nwserver)"
;;
# with return output
status|help|listbans)
echo "$ARG1" | empty -s -o ./in.fifo
$CATCH_OUTPUT
;;
# no return output
playerpassword|dmpassword|adminpassword|oneparty|ilr|elc|difficulty|servername|autosaveinterval|pauseandplay|minlevel|maxlevel|maxclients|export|kick)
echo "$*" | empty -s -o ./in.fifo
#no output to catch
;;
#all other commands default send to nwserver
*)
echo "$*" | empty -s -o ./in.fifo
$CATCH_OUTPUT
;;
esac

exit $EXCODE

Ostatnio edytowany przez: IronRook; 26 marca 2020 o 19:42
jimbobslimbob 27 marca 2020 o 0:52 
Początkowo opublikowane przez Major_Pompous:
Anyone now how to get ahold of Jimbobslimbob? I have a question using his GSM and his webpage is no longer accepting new logins. Thanks in advance.
You can contact him here :happy_creep:
Jim's server manager is awesome. It really helps with automatic restarts for a server based on windows.
< >
Wyświetlanie 1-15 z 32 komentarzy
Na stronę: 1530 50

Data napisania: 27 marca 2018 o 17:51
Posty: 32