Wreckfest

Wreckfest

Statistiken ansehen:
 Dieses Thema wurde angeheftet; es ist wahrscheinlich wichtig
jannesBB  [Entwickler] 9. Okt. 2014 um 12:15
2
4
2
2
5
SETTING UP A SERVER
There are two ways to host a multiplayer game for Wreckfest:
  • Hosting in-game
  • Dedicated server
HOSTING IN-GAME
This is as simple as starting the game, going to the multiplayer menu and creating a server. This is a very valid option if you want to create a custom lobby and play yourself too on the same system, since not running a separate server instance on the same system is more performance friendly.

Even if you host in-game please bear in mind that in effect you will be running a server on your computer, meaning that you still need to forward required ports on your router. Please see below for more information on the port forwarding requirements.

DEDICATED SERVER
A dedicated server can be run on your own workstation or on a rented hosting service. Everything you need to run a dedicated server is included with the game, but for flexibility, you can also use SteamCMD to download the dedicated server tool anonymously (meaning that you don't need to own the game). Running Steam is not required for the operation of the dedicated server.

Especially when running a dedicated server hosted externally, it's a good idea to add your SteamID (SteamID64 specifically) to the server configuration to automatically receive admin privileges when you join the server. You can do so by using "admin_steam_ids=" server parameter. To find out your SteamID, you can use for example Steam ID Finder[steamidfinder.com].

Running the server
If you have the game installed, navigate to its installation folder, and you will find a file named initial_server_config.cfg. This is the server's base configuration file containing its name, description, possible event rotation setup and of course the event rules. It's a smart move to make a backup of the file before modifying just in case something goes south.

After you're happy with your configuration, you can launch the server by executing start_server.bat. At this point, a copy of the initial_server_config.cfg will be created, named server_config.cfg, and this is the actual config file that the server will use. This also means that you should make any future adjustments to server_config.cfg, unless of course you delete it, in which case the initial config will be copied over again. If everything works out, a server console will appear and you will see a notification that the server is connected to Steam.

Setting up with SteamCMD
Like mentioned, you can also download the dedicated server tool anonymously (without using a Steam account) by using SteamCMD. If you haven't installed or used SteamCMD before, you will do well to read the official instructions on Valve's page here. Basically all you need to do is to download the installation archive and extract the contents where you want to. After extraction, run "steamcmd.exe" and you're greeted with the SteamCMD console.

Once in the console, type:

login anonymous force_install_dir <path> app_update 361580 validate

After you're done, the server files will be waiting for you in the chosen installation location (<path>) and you can go ahead and start configuring the server.

PORT FORWARDING
Forwarding correct ports is an absolutely requirement for hosting a multiplayer game. If you have created a server yet there are no players joining it, chances are your router or firewall is incorrectly configured. In order to host multiplayer games over Steam your network must be configured to allow Steam access to the following ports:
  • UDP 27015
  • UDP 27016
  • UDP 33540
  • TCP 27015
After having been set up, your port configuration should look like this:

https://i.imgur.com/euPwXz6.jpg

The local IP needs be that of the computer acting as a host. You can find out the local IP by invoking a command prompt (press Windows + R, type "cmd" and press Enter), typing "ipconfig" and pressing Enter again. You'll see a bunch of information, but the line you want to look for is "IPv4 Address" - the number at the end of that line is your local IP address.

Also make sure that your firewall is configured to allow inbound and outbound communication of the server/game executable. Many office networks and proxies block required ports for Steam operation – please consult your network administrator to ensure the required ports are open if you are using an office network or a proxy.

LAUNCHING THE SERVER
In addition to using the included start_server.bat, you can also launch the server and manually supply the config file with the command:

start /B server\Wreckfest.exe -s server_config=<config>

When launching the server, you can also override any of the server configuration settings from the command line by using "-server_set" command line switch, followed by any settings that you want to override.

For example, to set the server name when launching it:

Wreckfest.exe -s server_config=<config> -server_set server_name=<servername>

All server settings are supported.

SERVER COMMANDS AND LIVE SETTINGS
You can list the server and chat commands by typing "help" in the server console.

Below is a list of all server commands that can be executed in the chat window:

/message [new message] - send a message to the chat /kick [id] - kick a player /ban [id] - ban a player /bansteamid [steam id] - ban a Steam id /unban [ban index] - lift a ban, use "bans" for ban indices /unbansteamid [steam id] - lift a ban by steam id /clearbans - clear all bans /balanceteams - balance teams /restart - server restart /bot - add a bot /op [id] - add moderator privileges /opsteamid [steam id] - add moderator privileges by steam id /admin [id] - add admin privileges /adminsteamid [steam id] - add admin privileges by steam id /demote [id] - clear admin and moderator privileges /demotesteamid [steam id] - clear admin and moderator privileges by steam id /password [new password] - set password /servername [new server name] - set name of the server /welcome [new welcome message] - set the welcome message /eventloop - toggle automatic event rotation if configured

These are the server commands that can be only executed in the server console:

list - print player list bans - print ban list admins - print list of user privileges clearusers - clear user privileges tracks - list tracks gamemodes - list game modes cars - list cars weathers - list weathers exit - close application ? - list server and event settings

You can also modify all server config parameters directly in the server console, these parameters you can view by typing "?" in the console. Note that the modified config parameters are not saved in the server config file, though.

EVENT ROTATION
Event rotation can be enabled by simply configuring a list of events, each starting with "el_add=trackname" server parameter, and then using "/eventloop" server command to start (and disable) rotation at your discretion.

To get you started, at the end of the initial_server_config_cfg you will find a simple event rotation example that you can modify to your liking and enable by removing the first "#" on every line. You can adjust each server parameter per event, overriding corresponding global settings for the event in question. Note that the global setting will be used for any parameters not set, not the setting of the previous event in rotation.

PERFORMANCE
The number of clients the host can support in multiplayer is determined by the available upstream bandwidth and the system specifications of the host. Thus, if you have a connection with limited upstream bandwidth such as 8/1 Mb/s ADSL (8 Mb/s downstream, 1 Mb/s upstream) and a low-spec system, it's best to start with a moderately low client number like 8 and increase the number gradually until the bandwidth limit of your connection and setup is found. Also, when hosting in-game it's best to keep your quality settings as low as possible to ensure best possible performance.

SERVER UPDATE FREQUENCY
In the server settings, there's this mysterious parameter called server update frequency that can be set to low or high. In practice, it means how often the server updates the clients - setting the update frequency to low means that the server sends fewer network packets, lowering the bandwidth usage, but at the same time clients need to predict more, increasing the CPU time of the client used for prediction. On the other hand, setting the update frequency to high results in the server sending more network packets, increasing bandwidth usage but reducing the prediction that the clients need to perform, thus reducing they CPU usage.

TRACK LIST
List of current tracks on Google Docs, with preview images:

https://docs.google.com/spreadsheets/d/10tpRET18K7rIlvYC4An90y5KzeuSfEiBv5muAjFJHuk/edit#gid=779659675

Simple list of track ids:

#Big Valley Speedway speedway2_classic_arena speedway2_demolition_arena speedway2_figure_8 speedway2_inner_oval speedway2_outer_oval speedway2_oval_loop #Bloomfield Speedway dirt_speedway_dirt_oval dirt_speedway_figure_8 #Bonebreaker Valley bonebreaker_valley_main_circuit #Boulder Bank Circuit sandpit3_long_loop sandpit3_long_loop_rev sandpit3_short_loop sandpit3_short_loop_rev #Clayridge Circuit mixed9_r1 mixed9_r1_rev #Crash Canyon crash_canyon_main_circuit #Deathloop loop #Dirt Devil Stadium triangle_r1 triangle_r2 #Drytown Desert fields08_1 fields08_1_rev #Espedalen Raceway tarmac3_main_circuit tarmac3_main_circuit_rev tarmac3_short_circuit tarmac3_short_circuit_rev #Fairfield County smallstadium_demolition_arena #Fairfield Mudpit mudpit_demolition_arena #Fairfield Grass Arena grass_arena_demolition_arena #Finncross Circuit mixed1_main_circuit mixed1_main_circuit_rev #Fire Rock Raceway tarmac1_main_circuit tarmac1_main_circuit_rev tarmac1_short_circuit tarmac1_short_circuit_rev #Firwood Motorcenter mixed7_r1 mixed7_r1_rev mixed7_r3 mixed7_r3_rev #Glendale Countryside field_derby_arena #Hellride urban06 #Hilltop Stadium speedway1_figure_8 speedway1_oval #Kingston Raceway fields12_1 fields12_1_rev fields12_2 #Maasten Motorcenter mixed2_main_circuit mixed2_main_circuit_rev #Madman Stadium bigstadium_demolition_arena bigstadium_figure_8 #Midwest Motocenter gravel1_main_loop gravel1_main_loop_rev #Motorcity Circuit tarmac2_main_circuit tarmac2_main_circuit_rev Mudford Motorpark fields10_1 fields10_2 #Northfolk Ring mixed8_r1 mixed8_r2 mixed8_r3 #Northland Raceway mixed5_outer_loop mixed5_outer_loop_rev mixed5_inner_loop mixed5_inner_loop_rev mixed5_free_route #Pinehills Raceway mixed3_long_loop mixed3_long_loop_rev mixed3_short_loop mixed3_short_loop_rev #Rockfield Roughspot fields09_1 #Rosenheim Raceway mixed4_main_circuit mixed4_main_circuit_rev #Sandstone Raceway sandpit1_long_loop sandpit1_long_loop_rev sandpit1_short_loop sandpit1_short_loop_rev sandpit1_alt_loop sandpit1_alt_loop_rev #Savolax Sandpit sandpit2_2 sandpit2_2_rev sandpit2_full_circuit sandpit2_full_circuit_rev #The Maw fields11_1 #Thunderbowl urban07 #Tribend Raceway forest12_1 forest12_1_rev forest12_2 #Vale Falls forest11_1 forest11_1_rev forest11_2 forest11_2_rev
Zuletzt bearbeitet von jannesBB; 9. Juli 2020 um 0:50
< >
Beiträge 211225 von 665
You have this line on your server_config.cfg file:
lan=0

Try this config file to just test if your server starts:

server_name=Testing
welcome_message=Big hope
password=
max_players=24
clear_users=1
owner_disabled=1
admin_control=0
lobby_countdown=55
ready_players_required=65
exclude_from_quickplay=1
enable_track_vote=1
steam_port=27015
game_port=33540
query_port=27016
log=log.txt
track=urban06
gamemode=racing
bots=12
num_teams=2
laps=6
time_limit=15
elimination_interval=0
vehicle_damage=normal
car_class_restriction=a
car_restriction=
special_vehicles_disabled=1
car_reset_disabled=0
car_reset_delay=2
wrong_way_limiter_disabled=0
weather=clear day
frequency=high

#0
# Hellride
el_add=urban06
el_bots=12
el_num_teams=2
el_laps=5
el_time_limit=15
el_elimination_interval=0
el_car_reset_disabled=0
el_car_reset_delay=2
el_wrong_way_limiter_disabled=0
el_special_vehicles_disabled=0
el_car_class_restriction=a
el_car_restriction=
el_vehicle_damage=normal
el_weather=clear day
el_gamemode=racing


Check here how to open those four ports and forward it to your server IP address:
https://docs.google.com/spreadsheets/d/18-g1-I68g1B-9bumvV1HxUVcuD41DBczCyUGH3rdNiQ/edit?usp=sharing
Quick follow-up. Got the ports working properly, after making some adjustments to how the ports were forwarded.

So, for anyone who is still struggling, here's what I did. In the config file, I have the following:

steam_port=27015
game_port=33540
query_port=27017

In my router, because I host other game servers, I have the following:

external ports 27015 and 27016 are forwarded to internal port 27015
external ports 27017 and 27018 are forwarded to internal port 27017

external port 33540 is forwarded to internal port 33540

The reason for this, at least for me, is that I have games that use both 27015 and 27016 as a dual-direction port group. So mapping them individually would prevent those servers from working properly. However, for some reason Wreckfest uses the steam and query ports individually, so placing them in their own mapping group allows the game to both report to Steam and to the Wreckfest reporting list.

Hopefully this helps someone else who is struggling.
Those Wreckfest ports do not have to be the ones mentioned in the initial_server_config.cfg file, but you can configure the ports yourself. For example, I had ports on the GTXGaming rental server:
steam_port = 32038
game_port = 33568
query_port = 32040

Nice you noticed your other dedicated gameserver used same ports..
Dr. D 5. Jan. 2020 um 4:24 
Howdy, hoping one of you could help me figure out why running a server via the "Server Manager" app works and it shows up in-game, but running the dedicated server via Steam doesn't? Using the same server cfg, same ports, etc...
First, compare your .cfg files; server_config.cfg (your dedicated server) and Wreckfest Server Manager (path: C:\Users\USERNAME\AppData\Local\WSM).

My guess is line "lan=0" on your dedicated server config..
Dr. D 5. Jan. 2020 um 5:36 
Both configs are one-for-one copies, but sadly the end result's the same. For a quick server check, I use the LAN tab first then the internet tab. I can't get the DS to show up even under LAN, however it does show up when using the manager tool to launch, all while LAN=0. I'm no script writer but I'm scratching my head.

server_name=Brakeless in Seattle
welcome_message=
password=
max_players=24
clear_users=1
owner_disabled=1
admin_control=0
lobby_countdown=60
ready_players_required=60
admin_steam_ids=76561197970183408
op_steam_ids=76561197970183408
lan=0
steam_port=27016
game_port=33541
query_port=27017
track=tarmac2_main_circuit
gamemode=racing
bots=0
num_teams=3
laps=3
time_limit=20
elimination_interval=0
vehicle_damage=normal
car_class_restriction=a
car_restriction=
special_vehicles_disabled=0
car_reset_disabled=0
car_reset_delay=4
wrong_way_limiter_disabled=1
weather=
frequency=high
log=C:\Wreckfest\test.log
enable_track_vote=1
el_add=tarmac2_main_circuit
el_num_teams=3
el_laps=3
el_bots=0
el_time_limit=20
el_elimination_interval=0
el_car_reset_disabled=0
el_car_reset_delay=4
el_wrong_way_limiter_disabled=1
el_special_vehicles_disabled=0
el_car_class_restriction=a
el_car_restriction=
el_vehicle_damage=normal
el_weather=
el_gamemode=racing
Zuletzt bearbeitet von Dr. D; 5. Jan. 2020 um 5:47
Similar than my server_config.cfg except lines:
log= and enable_track_vote=

In my server_config.cfg file "log=" line comes after those ports and "enable_track_vote=" before admin_steam_ids=.

I guess it won't fall into it. Compare the ports:
steam_port=27015
game_port=33540
query_port=27016

Above you have all ports +1. If you host multi-servers, see more here, how to set those up and running: https://docs.google.com/spreadsheets/d/18-g1-I68g1B-9bumvV1HxUVcuD41DBczCyUGH3rdNiQ/edit?usp=sharing
Zuletzt bearbeitet von The Stig; 5. Jan. 2020 um 12:49
Dr. D 7. Jan. 2020 um 2:19 
Tried swapping the order of those lines but no go. Can't think of any reason why the third-party program works and the first-party doesn't but that's the way she goes. I appreciate you looking through all that for me. 😃
You can do so that copy and paste the Wreckfest Server Manager config file to your dedicated server file. The Wreckfest Server Manager config file is stored at path C:\Users\USERNAME\AppData\Local\WSM

It sounds your firewall is blocked your dedicated server.
Storm 13. Jan. 2020 um 16:02 
Yesterday I thought lets mix specials and non specials again but mixing still not work server sided. :(

Can make YouTube off it and show my server loop.
So ein Scheissdreck dieses Multiplayergewichs bei dem Spiel. Willste mit Kumpels zocken, freust dich das da endlich steht eigegen Server erstellen, aber nix passiert, wird nix gefunden.Anstatt ganz einfach wie bei jedem anderen Multiplayer Spiel, aber neeee. Man muss Ports etc. freigeben und was weiss ich noch. Warum nicht einfach wie bei anderen Spielen, Multiplyer, Erstellen , Freunde einladen und zocken !?????
Ursprünglich geschrieben von PSYCHONIC:
So ein Scheissdreck dieses Multiplayergewichs bei dem Spiel. Willste mit Kumpels zocken, freust dich das da endlich steht eigegen Server erstellen, aber nix passiert, wird nix gefunden.Anstatt ganz einfach wie bei jedem anderen Multiplayer Spiel, aber neeee. Man muss Ports etc. freigeben und was weiss ich noch. Warum nicht einfach wie bei anderen Spielen, Multiplyer, Erstellen , Freunde einladen und zocken !?????
_________

Hat da wer schlecht geschlafen? wegen ein paar kleinen Port Regeln muss man doch nicht so einen Aufriss machen bei The Crew musste man diese damals auch freigeben um bei Nat Typ offen stehen zu haben. Da hat sich auch keiner beschwert.Zumal es hier mehr als logisch beschrieben wird wie man alles eingerichtet bekommt.
Friend A 24. Jan. 2020 um 23:29 
someone pls help. ive followed all the steps but when I open the game and create a server it just keeps spinning and never actually creates a server. when I run the start server .bat it says the servers up and connected to steam. any ideas?
Ursprünglich geschrieben von andrew:
someone pls help. ive followed all the steps but when I open the game and create a server it just keeps spinning and never actually creates a server. when I run the start server .bat it says the servers up and connected to steam. any ideas?

When you say "keeps spinning", this what happens when you start Wreckfest, go multiplayer and select Create Server for making a player host, pick your options and go create , keeps spinning happens then?

Might give this thread a read for more help on setting up your own dedicated server:

http://community.bugbeargames.com/threads/multiplayer-dedicated-server-easy-step-by-step-w-pictures-2019.12013/#post-112392
Ursprünglich geschrieben von Purple44:
Ursprünglich geschrieben von andrew:
someone pls help. ive followed all the steps but when I open the game and create a server it just keeps spinning and never actually creates a server. when I run the start server .bat it says the servers up and connected to steam. any ideas?

When you say "keeps spinning", this what happens when you start Wreckfest, go multiplayer and select Create Server for making a player host, pick your options and go create , keeps spinning happens then?

Might give this thread a read for more help on setting up your own dedicated server:

http://community.bugbeargames.com/threads/multiplayer-dedicated-server-easy-step-by-step-w-pictures-2019.12013/#post-112392
sorry my post was pretty poorly worded lmao. I am going to multiplayer and creating a server. When I press create it goes to a loading screen saying "creating server" and it just sits on that screen endlessly. thank you for the link. ill give that a read!
< >
Beiträge 211225 von 665
Pro Seite: 1530 50