Call of Juarez Guide

How to create Call of Juarez dedicated (no rendering) server for Call of Juarez

How to create Call of Juarez dedicated (no rendering) server

Overview

Make your own Call of Juarez dedicated server

Introduction

This tutorial also works for demo but remember about different file names i.e. CoJ.exe in full version and CoJMPdemo.exe in the demo and proper directory structure.

Instead of setting parameters in the running game you can use only files given in examples.

1. Install full version of the game

2. Launch the game

3. Set all audio and video options to low

To do this go to Options -> Audio and set all values to low, choose Options -> Video and set all values to low.

Check coj_settings.zip file for video.scr and audio.scr files with values set for hosting Call of Juarez server.

You can unzip this file to main game directory (if you have removed proper registry key – see point 6 – if not it should be unzipped to Documents and SettingsMy DocumentsCall of Jaurez) or in case of the demo version to Documents and SettingsMy Documents call of juarez mp demo.

4. Set up server parameters and maps

Go to Mutiplayer tab in Main Menu and choose Create LAN game if you want launch only local sever or choose Create Internet game for Internet game.
Set up all parameters as you wish:

a. Maps

Put all maps you wish to play to Selected maps. To choose a map, double-click it on the list on the left side (Available maps). The chosen map will appear on the right side of the table (Selected maps). Double-click it again to remove it from the list. This way, you can set the order and amount of maps.

b. Map settings

Allows you to change the LAN/Internet game map settings.

Below you will find some examples of the map setting files that are ready to unzip to main game directory (if you have removed proper registry key – see point 6 – if not it should be unzipped to Documents and SettingsMy DocumentsCall of Jaurez) or in case of the demo version to Documents and SettingsMy Documents call of juarez mp demo.

coj_all_maps.zip

– contains all maps with following values for game modes:
Deatchmatch
– frags limit set to 50
Goldrush
– no min players required to start the game
Robbery
– 10 rounds to win the game of total 20 rounds, no min players required to start the game
Skirmish
– 10 rounds to win the game of total 20 rounds, no min. players required to start the game

coj_dm_maps.zip

– contains deatchmatch maps only – frags limit set to 50.

coj_goldrush_maps.zip

– contains goldrush maps only – no min players required to start the game

coj_robbery_maps.zip

– contains robbery maps only – 10 rounds to win the game of total 20 rounds, no min. players required to start the game

coj_skirmish_maps.zip

– contains skirmish maps only – 10 rounds to win the game of total 20 rounds, no min. players required to start the game

We recommend setting following values for different game types:
Deatchmatch – increase frag limit to 50 to avoid short games
Robbery – increase rounds won to win game to 10 and rounds total to 20 and remove “min. players to start the game cap”
Skirmish – increase rounds won to win game to 10 and rounds total to 20 and remove “min. players to start the game cap”

c. Server Settings

Allows you to change the LAN/Internet game server settings. It’s highly recommended to setup up Loop maps option On to allow constant map reloading.

You can use following file coj_lan_server.zip to host LAN game or
coj_internet_server.zip to host Internet game. Please be aware of changing game ports when hosting few Internet servers on one machine (see point 6). Check coj_internet_server1.zip file for Internet server setting with different name and changed port.

coj_admins.zip

– contains ServerAdmins.scr file – you can edit it to add your own admin login and password.
Log using AdminName with password as password to get full rights.

You can edit these files using notepad – see point 7 for editing tips.

5. Exit the game and go to the command line prompt

Now when all parameters of the game server are setup up exit the game (Quit in Main Menu) and run server from command line:
CoJ.exe -server -dedicated –internet
To run Internet dedicated server

CoJ.exe -server –dedicated
To run LAN dedicated server

The server is running with last given parameters/parameters given in out directory.

6. Running few servers on one machine

It’s possible to run few dedicated (no rendering) COJ servers on one machine.

Notice:
Please remember that you have to edit registry to avoid overwriting of the game “out” files by each instance of the game/server. To do this run regedit, search for “Call of Juarez” and remove “WriteDir Call of Juarez” key. Now you can run few servers on one machine:

You HAVE TO copy the game to another directory in order to run each new server (so new directory for each game you want to run). We recommend setting max up to 4 servers on one PC (high-end spec) and max one server on slower system. To run few servers on one machine you have to add –ami in command prompt when running dedicated server. Each Internet server has to be running on different port. You can change port of the server in Server Settings (see point 4) and port range should be from 26000 to 26200:

CoJ.exe -server -dedicated –internet -ami
To run Internet dedicated server

CoJ.exe -server –dedicated -ami
To run LAN dedicated server

The server is running with last given parameters/parameters given in out directory.

7. Editing config files from running server

Following files are located in outProfilesDefaultProfile directory:

Maps.scr

– list of available maps with game mode (see point 4)

Profile.scr

– player/profile name

ServerAdmins.scr

– list of available server admins with passwords and admin rights (see point 4)

ServerSettings.scr

– server settings file (see point 4)

You can use zipped files from following examples for editing and hosting your own server.
To edit server/map files use any text editor i.e. standard Windows notepad). Launch text editor then go to File -> Open and select Call of Juarez .scr file you want to edit.
Notice:
a) There has to be empty line <Enter> left at the end of each .scr file.
b) Do NOT edit lines beginning with ! (exclamation mark).
c) You can use // signs to comment lines in .scr files i.e. //LevelMapNet(“data/mapsnet/bankrobbery/bankrobbery.map”,”robbery”)
from Maps.scr file

8. Server console commands

There are some console commands available (use chat window to type them in “normal” game) – type them in command line of the dedicated server:

Multiplayer console commands:

/Nick <nick> – changes your nick
/PlayerList – shows the list of all players and their IDs
/KillMe – kills you
/AdminLogin <user> <password> – logins as an admin; users and passwords are defined on the server in ServerAdmins.scr file in game’s profiles (the file is created after the first execution of the game)

Admin commands:

/AdminLogout – logs out the admin
/PlayerList – shows the list of all players and their IDs
/Kick <nick_or_id> [<reason>] – kicks out a given player
/Kill <nick_or_id> – kills a given player
/MapNext – switches to next map
/AdminSay <text> – writes following <text> to all players

Required Files

Here all the required files with settings:

h ttps://drive.google.co m/file/d/1QVw90fd8sWcPCxItx0lbOPYxO0Gnp4w8/view?usp=sharing

[remove two spaces]

P.S. Copyrights by © -=GODS=-Crow

SteamSolo.com