Latest Threads

Forum Statistics
  • Forum posts:5
  • Forum threads:4
  • Members:11
  • Latest member:AndroideJap


Posted by: LeonLionHeart
07-05-2020, 05:53 AM
Forum: Dedicated Server
- No Replies

Ports: are simply virtual pipelines that allow computers and devices to communicate and send information back and forth on the Internet.

Port forwarding: – or creating a port forward – is a common process in gaming that makes your gaming console or PC more accessible to other gaming consoles or PCs on the Internet. Port forwarding can improve connection speed, lobby wait times, and overall gameplay, particularly for a host.

NAT: (Network Address Translation) is a networking concept that allows your router to share a single IP (Internet Protocol) address across multiple devices on your network. Instead of your ISP (Internet Service Provider) assigning an IP address to every device that connects to the Internet, NAT allows your ISP to assign a single IP address to your router. The router then manages a set of IP addresses for all devices on your home network.

WINDOWS FIREWALL CONFIGURATION

WINDOWS 10 & WIN SERVER 2012 R2 - WIN SERVER 2019

  1. It is STRONGLY RECOMMENDED to set a static IP to your host machine/server. Learn more: https://stevessmarthomeguide.com/setting...indows-10/
  2. Check your current network type, this will be important for later. I'd strongly advise setting your type to PUBLIC.

    [Image: RUcT3ac.png]

  3. Search "Windows Defender Firewall with Advanced Security" and go to Inbound Rules.

  4. Go to Actions > New Rule...

  5. In the next few menus you'll do the following. Port > Specific local ports > UDP 27017 > Allow the connection > Uncheck all but Public > Name accordingly to your new rule. 
    Note: You can specify a port range of your choosing if you plan on running multiple servers on one host machine. For example, 27017-27025.
    - Make sure your ports do not conflict with known internet ports. Find more here
    Note: Ensure that the rule is set for the correct network type your adapter is running. For example, if Public, then set Public in the settings.
    Note: Windows Firewall is a leap, I know, if you are having issues I'd try enabling all network types in your rule i.e Public, Private, Domain. 

  6. Done.

GATEWAY CONFIGURATION
Ubiquiti UDM - Port Forwarding & NAT


• Not all gateways/firewalls are the same. However, they all share the same concept. If you have a VPS that manages the network, please follow their resources.
• Ubiquiti UDM like most, automatically creates NAT rules for your port forward rule.

  1. Login to your gateway/firewall. Alternatively go to your network configuration settings on your VPS. 
  2. Find port forwarding via your manufacture's manual. 
  3. Create a new port forwarding rule.
  4. Name your rule.
  5. Set a forwarding IP, i.e 192.168.1.250
  6. Set incoming port and bind it to the forward port i.e 27017-27025.
  7. Set all traffic UDP.
  8. Save.

    [Image: DfCqUwo.png]

    • If you have any issues, try these steps over again. Review it closely, Windows Firewall is a learning curve sometimes.

Print this item


Posted by: LeonLionHeart
06-09-2020, 07:37 PM
Forum: Dedicated Server
- Replies (1)

Prerequisites

• A dedicated machine to host your server. This can be a server in your home or preferably a VPS.
Recommended specs:
CPU:
Intel Xeon E3-1230v6 - 4c/8t - 3.5 GHz/3.9 GHz
RAM:
16GB DDR4 ECC 2133MHz
STORAGE:
200Gb or Higher (depends on how many custom maps you're going to run)


• A stable hard-lined Internet connection where you are behind a firewall/router so you can modify port forwarding and NAT.

Quote:All traffic for the server itself is UDP. There's no need for TCP. Remember that when port forwarding. 
Windows Firewall & Gateway Configuration
• Notepad++ or another advanced text editor. 

Files: 

Quote:Heavily modified Black Ops 3 server files: Server Config v1.4 (Download)
Remove unwanted services and bloatware with this script (run as administrator): Remove Bloat/Services (Download)





GETTING STARTED


To start, if you own the game on Steam, you will find in the Tools section of your Steam Library, Call of Duty: Black Ops III - Dedicated Server.

[Image: Nh6Z0It.png]

- You do not need the game installed to run a dedicated server.


Your Black Ops III dedi game folder, commonly found at:
"C:\Program Files (x86)\Steam\steamapps\common\Call of Duty Black Ops III\UnrankedServer\"

To start the server, simply run the Launch_Server.bat file. IT'S HIGHLY ENCOURAGED TO USE THE ATTACHED CONFIG FILES!

NOTES:
• Game logging is completely broken and does not update in real-time as of 6/9/20. 
• I prefer IW4M Admin however, you can use B3 as your paser.
• Kicks and bans work, however, in-game commands do not currently due to logging issues.

• The most supported RCON tool is "Black Ops 3 - Remote Console" from Steam.
IW4M Admin - By RaidMax

Non-Steam Install

You will need SteamCMD in order to download the server files. You can download it here: SteamCMD

• Create a new folder in your C: drive named anything you want. For example: BO3Dedi
• Create a sub-folder called SteamCDM and extract steamcmd.exe into your newly created sub-folder.  

Once it asks for an login use:

Quote:login anonymous


Now you need to enter the following in the console:
Quote:force_install_dir C:\BO3Dedi


Now you can start the download with:
Quote:app_update 545990 validate

Once completed, feel free to exit out of SteamCMD.

IT IS VITAL TO HAVE STEAM INSTALLED AND AN ACCOUNT SIGNED IN AT THIS POINT. The account does not need to own BO3. The account is pretty much a service account to download Steam WorkshopIDs.

CONFIGURATION

To began, you'll need to modify a few things in Launch_Server.bat
Below is the configuration for items that you can modify.


Code:
BlackOps3_UnrankedDedicatedServer.exe  +set sv_playlist 1 +set fs_game usermaps +lobbyTimerStatusStartInterval 60000 +set net_port 27017 +set live_steam_server_name "Test Server" +set live_steam_server_description "This is the way" +set live_steam_server_password "" +rcon_password "" %*
Quote:
BlackOps3_UnrankedDedicatedServer.exe 
-- Identifies the EXE to launch with the following settings.

set sv_playlist 1                    
-- Sets the Playlist to use from the playlists.info file in the \machinecfg\ folder
                                                           
set fs_game                          
-- Sets the mod the server will load, usermaps is the default mod that can be run with user made maps. Replace "usermaps" with mod ID to run a mod. 
NOTE: Some mods may cause bugs! Just be aware!
                                                                                                                                                                                           

lobbyTimerStatusStartInterval        
-- Sets the wait time between maps in the lobby in millisecond. 60000ms = 60 seconds.                                                                                                                                                                                           
set g_log 1                          
-- Enables console log on the server.
                                                                                                                                                                                       
set logfile 2                        
-- Enables logging on the server, helpful for crashes or debug information. Setting 1 will buffer the write and 2 will not.                                                                                                                                                                                         
set live_steam_server_name       
-- Sets the server name.                                                                                                                                                                                                           

set live_steam_server_description    
-- Sets the server description.             
                                                                                                                                                                                   
set live_steam_server_password        
-- Sets the server password. 
                                                                                                                                                                                           
rcon_password                        
-- Sets the remote console password for connecting to your server via the remote console tool.
                                
set net_port                         
-- Tells which port the server should run on. This is useful for running multiple servers on one directory.
-- Windows Firewall & Gateway Configuration

set net_ip                            
-- Allows you to manually define the IP address of your server. Only advanced users should mess with this feature.  
                                                                                                                                                                                                                                                                                                                         
exec default_dedicated.cfg            
-- Unofficial way to run a config for advanced users. You must place these congis in \zone\ and exec it in playlist.info      

Now that you know how to launch and admin your server, let's discuss the playlists.info file. Located in the machinecfg folder within your game folder, the playlists.info file contains all your Playlists. Playlists allow you to specifically configure the maps run on your server as well as the game types and their associated rules. An example playlists.info file has been included to help you understand how this file is setup.

Let's break down Playlists

- playlist 1 / Sets the Playlist number for reference in the Launch_Server.bat
- rule party_minplayers 1 / Gametype Setting that sets the minimum players required for the server to start a match
- mp_apartments,tdm / Adds mp_apartments running team deathmatch to the map rotation
- mp_apartments,ctf / Adds mp_apartments running capture the flag to the map rotation
- mp_biodome,tdm / Adds mp_biodome running team deathmatch to the map rotation
2095050110,dom / Adds the custom map from Steam workshop running domination to the map rotation
NOTE: ENSURE THAT THE MAP SUPPORTS THE MODE YOU SELECTED. Most of the time the map creator will mention the supported gamemodes in their descriptions. 

[Image: VY932v5.png]

Gametype settings allow the user to configure in the Playlist file the rules of their specified game type. This can include increasing round timer, changing the amount of points to win a round, and many other options. The following are all the available gametype settings. **If you use the custom game settings in game and run the gamesettings_generateconfig console command, a config file will be generated in your local_storage/users folder with all the gametype settings used.

KNOWN PLAYLISTS CONFIG SETTINGS 
Quote:
DNW = Does not work in playlist settings. 
NT  = Not Tested - fully.
Quote://////////////////////////////////////////////
                                             /
// main                                      /
//rule gts timeLimit                         / -- Game time limit in minutes.
//rule gts scoreLimit                        / -- Score limit for the gamemode select.
//rule gts roundScoreLimit                   / -- Score limit per round. (Does not work for most game modes as it tries to override the gamemode script)
//rule gts roundLimit                        / -- Amount of rounds in a gamemode. (NT)
//rule gts roundSwitch                       / -- Amount of rounds until switch. (NT)
//rule gts roundWinLimit                     / -- Amount of rounds of rounds to win. Example, if 12 rounds you may need 10 to win to shorten the game. (NT)
//rule gts cumulativeRoundScores             / -- Automate above command per calculation. (NT)
//rule gts allowprone                        / -- Unknown (NT)
//rule gts allowaimslowdown                  / -- Unknown (NT)
//rule gts disallowprone                     / -- Unknown (NT)
//rule gts disallowaimslowdown               / -- Unknown (NT)
//rule gts hardcoreMode                      / -- Game will run in hardcore mode. (DNW)
//rule gts friendlyfiretype                  / -- Enables of disables friendly fire. 0 = Disable | 1 = Enabled (DNW)
//rule gts disableweapondrop                 / -- Unknown (NT)
//rule gts disableAmbientFx                  / -- Disables some graphical effects server side. (NT)
                                             /
// player                                    /
//rule gts playerNumLives                    / -- Amount of lives given to each player. (NT)
//rule gts teamNumLives                      / -- Amount of lives given to the entire team. (NT)
//rule gts playerMaxHealth                   / -- Amount of health given to each player. 100 in the default amount. (DNW)
//rule gts playerHealthRegenTime             / -- Enables health regen. 0 = Disable | 1 = Enable (DNW)
//rule gts playerSprintTime                  / -- Amount of time a player is given to sprint. (NT)
                                             /
// respawn                                   /
//rule gts waveRespawnDelay                  / -- Delays per wave. Waves are continuously running.
//rule gts playerRespawnDelay                / -- After death per player, how long they have to wait to respawn in seconds. (DNW)
//rule gts playerObjectiveHeldRespawnDelay   /
//rule gts playerForceRespawn                /
//rule gts playerQueuedRespawn               /
//rule gts spawnprotectiontime               /
//rule gts spawnsuicidepenalty               /
//rule gts spawnteamkilledpenalty            /
//rule gts spawntraptriggertime              /
//rule gts droppedTagRespawn                 /
//rule gts incrementalSpawnDelay             /
                                             /
// scoring                                   /
//rule gts leaderBonus                       /
//rule gts deathPointLoss                    /
//rule gts teamScorePerKill                  /
//rule gts teamScorePerDeath                 /
//rule gts teamScorePerHeadshot              /
//rule gts teamScorePerKillConfirmed         /
//rule gts teamScorePerKillDenied            /
//rule gts pointsPerPrimaryKill              /
//rule gts pointsPerSecondaryKill            /
//rule gts pointsPerPrimaryGrenadeKill       /
//rule gts pointsPerMeleeKill                /
//rule gts pointsPerWeaponKill               /
//rule gts pointsForSurvivalBonus            /
//rule gts killEventScoreMultiplier          /
//rule gts scoreHeroPowerGainFactor          /
//rule gts scoreHeroPowerTimeFactor          /
//rule gts scoreResetOnDeath                 /
                                             /
// hud                                       /
//rule gts wagermatchhud                     /
                                             /
// audio                                     /
//rule gts allowAnnouncer                    / -- Enables or disables the announcer. 0 = disabled | 1 = endabled. (NT)
//rule gts allowBattleChatter                /
                                             /
// killstreaks                               /
//rule gts loadoutKillstreaksEnabled         /
//rule gts crateCaptureTime                  /
//rule gts killstreaksGiveGameScore          / -- Allow killstreaks to contribute to game score. (NT)
                                             /
// vehicles                                  /
//rule gts vehiclesEnabled                   /
//rule gts vehiclesTimed                     /
                                             /
// perks                                     /
//rule gts perksEnabled                      /
                                             /
// game                                      /
//rule gts allowKillcam                      /
//rule gts allowFinalKillcam                 /
//rule gts onlyHeadshots                     /
//rule gts forceRadar                        / -- Forces permanent UAV (NT)
//rule gts allowhitmarkers                   /
//rule gts bulletDamageScalar                /
//rule gts disableTacInsert                  /
//rule gts disableAttachments                /
//rule gts disableContracts                  /
//rule gts allowMapScripting                 /
//rule gts prematchperiod                    /
//rule gts preroundperiod                    /
                                             /
// UI                                        /
//rule gts useEmblemInsteadOfFactionIcon     /
                                             /
// gamemode flags                            /
//rule gts captureTime                       /
//rule gts bombTimer                         /
//rule gts plantTime                         /
//rule gts defuseTime                        /
//rule gts extraTime                         /
//rule gts OvertimetimeLimit                 /
//rule gts destroyTime                       /
//rule gts idleFlagResetT                    /
                                             /
//////////////////////////////////////////////

MAPS
Quote:
Stock Maps                               
mp_apartments (Evac)                        
mp_biodome (Aquarium)                       
mp_chinatown (Exodus)                       
mp_ethiopia (Hunted)                        
mp_havoc (Havoc)                            
mp_infection (Infection)                    
mp_metro (Metro)                            
mp_redwood (Redwood)                        
mp_sector (Combine)                         
mp_spire (Breach)                           
mp_stronghold (Stronghold)                  
mp_veiled (Fringe)                         
mp_nuketown_x (Nuke3town)
                   
DLC1                                       
mp_crucible (Gauntlet)                      
mp_rise (Rise)                              
mp_skyjacked (SkyJacked)                    
mp_waterpark (Splash)
                       
DLC2                                       
mp_aerospace (Spire)                        
mp_banzai (Verge)                           
mp_conduit (Rift)                           
mp_kung_fu (Knockout) 
                      
DLC3                                       
mp_arena (Rumble)                           
mp_cryogen (Cryogen)                        
mp_rome (Empire)                            
mp_shrine (Berserk)
                         
DLC4                                        
mp_city (Rupture)                           
mp_miniature (Micro)                        
mp_ruins (Citadel)                          
mp_western (outlaw)                         


GAMEMODES
Quote:
Team Deathmatch -- tdm                      
Free For All -- dm                          
Search and Destroy -- sd                    
Capture the Flag -- ctf                     
Domination -- dom                          
Hardpoint -- koth                           
Uplink -- ball                              
Kill Confirmed -- conf                      
Gun Game -- gun                             
Demolition -- dem                           
Safegaurd -- escort                         
Fracture -- clean                           


Couple important notes:
- We recommend always having at least one official map in your map rotation in case the Workshop map has issues.
- Playlists can get very complicated, it can help a lot to use source control for your playlists so you can track changes in case something stops working. This could be helpful for your Launch_Server.bat as well.
- Antivirus and Firewall softwares can conflict with running an unranked dedicated server. Please make sure to attempt standard troubleshooting when experiencing issues with your unranked dedicated server or people attempting to join it.

Print this item


Posted by: NeedToKill
06-05-2020, 07:33 PM
Forum: General
- No Replies

hello MW2 community!
Smile

Print this item