Server NW lagging on dedicated server

Users who are viewing this thread

Lockersky

Recruit
Hello guys :wink:
I have some problems with my own Napoleonic Wars Server.

It is story:
1. When im hosting my own server on my own PC, players on server dont have lags, freezes etc . I have slow internet - 20mbps download and 1mbps upload. Using this forum i configure text file and server is working very well. Ppl dont have lags, freezes. We can play very comfortable.
2. My clan want start hosting server for my regiment. I download to dedicated pc some files - NW Dedicated Server and Warband Dedicated Server. After download i Copy files from Warband to NW folder to update old files (NW Dedicated Server Files have files from Warband)
3. I prepare NW_Sample_Battle.txt file:
#WARNING: Make sure that you change the capital values with proper ones.
#uncomment the line below when you set a valid administrator password
set_pass_admin HERE_IS_HIDDEN_PASS_XD
#if you have premium members, set a password for them, otherwise delete/comment out the line below
#uncomment the line below when you set a valid private password
#set_pass_private 5pp
#use the line below to set a valid server name
set_server_name 7pp_Poland_FeN
#uncomment the line below when you set a valid welcome message
set_welcome_message Witamy na serwerze 7 Pulku Piechoty Xiestwa Warszawskiego, ktory jest hostowany przez Lockersky'ego. Strona Pulku 7 oraz calego XW : xw.cba.pl || IP TS3: 89.40.120.151:1234
#Steam must be running in order to use valve anti cheat
#Also you must use the Steam version of the dedicated server in order to use this option
set_enable_valve_anti_cheat 1

#setting battle (multiplayer_bt) mode
set_mission multiplayer_bt

#since default team point limit is 300, the line below is necessary for this mode
set_team_point_limit 300

#setting max players, first one is non-premium member limit, second one is premium member limit
set_max_players 200 200
set_num_bots_voteable 0

set_map mp_arabian_harbour_night
add_map mp_la_haye_sainte
add_map mp_arabian_village
add_map mp_ardennes
add_map mp_avignon
add_map mp_borodino
add_map mp_champs_elysees
add_map mp_columbia_farm_morning
add_map mp_european_city_summer
add_map mp_french_farm
add_map mp_german_village
add_map mp_hougoumont
add_map mp_landshut
add_map mp_oaksfield_day
add_map mp_river_crossing_morning
add_map mp_roxburgh
add_map mp_russian_village
add_map mp_schemmerbach
add_map mp_slovenian_village
add_map mp_spanish_farm
add_map mp_spanish_mountain_pass
add_map mp_spanish_village
add_map mp_strangefields
add_map mp_walloon_farm

#adding all nations to both sides just to randomize all of them
#adding less nations will reduce the randomization set (used in set_randomize_factions command)
add_factions fac_britain fac_britain
add_factions fac_france fac_france
add_factions fac_prussia fac_prussia
add_factions fac_russia fac_russia
add_factions fac_austria fac_austria
set_randomize_factions 0
set_factions fac_france fac_britain

auto_kick 0
auto_horse 0
set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 100
set_friendly_fire_damage_self_ratio 0
set_melee_friendly_fire 1
set_control_block_direction 1
set_combat_speed 2
set_kick_voteable 0
set_ban_voteable 0
set_maps_voteable 0
set_factions_voteable 0
set_auto_team_balance_limit 7
use_class_limits 0

#if the bottleneck is your server's bandwidth, then make sure that you set a correct value for upload limit
set_upload_limit 30000000
#if you are running more than one dedicated server on the same computer, you must give different ports to each of them
set_port 7240
#if you are running the Steam version of the dedicated server, this port must also be set, and same limitations of set_port apply for Steam port
set_steam_port 7241
set_server_log_folder Logs
set_server_ban_list_file ban_list.txt

set_add_to_game_servers_list 1

start
4. I start server works from NW_Sample_Battle.bat.
From this moment we have issues - players "swimming" on server, have lags etc. We have normal pings - 60-80. It is normal ping in Poland, when server is hosted in France. Before this server we have server too, but hosted by company, who earn money for this - our regiment commander send to me config and this config look similar to that, what i copied into spoiler.

anyone know where i can fix that? I use google, that forum - still dont have answer...

Server Specification:
Paris, France
Windows Server 2012 R2 Standard
Intel Core Processor (Haxwell, no TSX) 2.39 GHz
5.86 GB RAM
64-bit Operating System, x64-based processor
400mbps download, 600mbps upload (300mbps upload to Warsaw)

What i try:
- change max. players
- change team point limit
- change upload limit points

Ps.: i configure firewall and add ports, but ONLY in firewall, not into router
Ps2.: sorry for that english ;/
Ps3.: on this machine we host a lot of servers - CoD4 x2, BF3 Server.
 
Hello,

You guys are hosting many other services on this machine may be the issue.
The specs you provided aren't really good for a single 200 Slots Warband.

You should check your server resources usage when you encounter lags.
In Windows you should be able to achieve this using [CTRL] + [ALT] + [DEL].
 
Back
Top Bottom