logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Assign Affinity

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
Rokene



Joined: 06 Apr 2011
Posts: 10

PostPosted: Sun Aug 19, 2012 22:35    Post subject: Assign Affinity Reply with quote

Hey guys,

I'm running NWNX4 v1.09 and I was searching through the forums and some people actually had this question already and it was mentioned that this feature was already in since prototype 1.05 but I tried to assign affinity via nwnx4 but it doesn't work. I have to manually set it now. :/

Anyone have any idea how to set it up so that NWNX4 sets the affinity for nwn2server.exe automatically for different cores?
Back to top
View user's profile Send private message
luna



Joined: 20 Jan 2012
Posts: 28

PostPosted: Wed Aug 22, 2012 0:41    Post subject: Reply with quote

It's in he main nwnx4 INI file.
If you can't find it let me know and I'll login to the server and dig it up.

It might be commented out in it's default state, but the line should be there.
Back to top
View user's profile Send private message
Rokene



Joined: 06 Apr 2011
Posts: 10

PostPosted: Fri Aug 24, 2012 7:39    Post subject: Reply with quote

Nope it's not in there, it would be awesome if you could luna. Thanks in advance! And sorry for the late reply I had my wisdom tooths removed. I've been popping pain meds ever since but not so bad now. ^^

Code:
# NWNX4 configuration file
# These are the default values for NWNX4.

# Path to NWN2 installation (where nwn2server.exe is located)
# no default. You really have to specify it, currently.
nwn2 = D:\Program Files (x86)\Atari\Neverwinter Nights 2

# You can override the tempory path NWN2 uses
# This is where NWN2 will put its logfiles (among other files)
# no default
nwn2temp = D:\NWN2 Logs\SoVLogs

# Command line parameters to start the server with
# default: no parameters
parameters = -moduledir "sov_b0"
#parameters = -moduledir "northern_tyvaren"
#parameters = -moduledir "southern_tyvaren"
#parameters = -moduledir "central_tyvaren"

# Should NWNX restart the server if the server process has gone away ?
# 0 = do not restart the server
# 1 = restart the server
# default: 1
processWatchdog = 1

# Should NWNX restart the server if it locks up ?
# This can happen if the server is still running, but does not react to gamespy queries any more.
# 0 = do not query the server
# 1 = query the server
# default: 1
gamespyWatchdog = 1

# If you activate the gamespy watchdog, you need to specify the port your NWN2 server is running on
# default: 5151
gamespyPort = 5121

# How often should the gamespy watchdog query the server ?
# Note: The server will be restarted if it does not react to a certain number of
# queries in a row. See setting gamespyTolerance below.
# default: every 30 seconds
gamespyInterval = 60

# How often may the server not react to gamespy queries ?
# Note: The server will be restarted if it does not react this many queries in a row
# Example: gamespyInterval = 30 and gamespyTolerance = 4 means that the server will
# be restarted if it does not react within 2 minutes
# default: 4 queries
gamespyTolerance = 4

# How long should NWNX wait before the gamespy watchdog kick in ?
# Note: Give the server enough time to load the module, otherwise the watchdog will start to complain
# Value = seconds to wait
# default: 30 seconds
gamespyDelay = 90

# If the server crashes, how long should NWNX wait before it restarts the server ?
# Value = seconds to wait
# default: 5 seconds
restartDelay = 5

# Should NWNX disable the general protection fault error dialog ?
# Note: The watchdogs may fail to restart the server properly if this dialog stays open
# 0 = do not disable the GPFault dialog
# 1 = disable the GPFault dialog
# default: 1
noGPFaultErrorBox = 1

# If you want NWNX to execute a CMD or BAT file before restarting the server after
# a crash, specify it's name here. If you leave this setting empty, no program
# will be run. NWNX will wait for the program to finish before it continues.
# no default
# restartCmd = nwnx_restart.cmd

# How long should NWNX wait for the server to shutdown gracefully
# before it ends the server process forcefully ?
# Value = seconds to wait
# default: 10 seconds
gracefulShutdownTimeout = 10

# You can enter a server message that will be sent to all players
# as NWNX tries to shutdown the server.
# Value = message
# default: none
gracefulShutdownMessage = Server is shutting down NOW!

# How long should the shutdown server message be displayed ?
# Value = seconds to wait before actual shutdown
# default: 5 seconds
gracefulShutdownMessageWait = 5
Back to top
View user's profile Send private message
Rokene



Joined: 06 Apr 2011
Posts: 10

PostPosted: Sun Aug 26, 2012 10:00    Post subject: Reply with quote

Ah nevermind you run it in the command line ... I missed it I didn't even realize that was a command line parameter lol! If anyone else has trouble running it here is where you put it:

Code:
# Command line parameters to start the server with
# default: no parameters
parameters = -moduledir "sov_b0" -cpu #


Thanks anyways luna. ^^
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group