World Gamers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to setup a Mobile Forces Source Dedicated server

Go down

How to setup a Mobile Forces Source Dedicated server Empty How to setup a Mobile Forces Source Dedicated server

Post by Filip Mon 21 Nov 2011 - 11:39

dis is a no-steam tutorial, read da first reply for how to do it on steam xD

1.Downloading and Installing SteamCmd

1. download SteamCmd and save it to some folder lol e.g: C:\Servers\
Note: Don't save it within any existing Steam folders.
2.Extract it Razz and run it... it will update itself and create some files
3.After da thing updates it will bring up a Steam> prompt. Type help for more information.
2.Installing Game Content

1.create a txt using notepad and put in it dis:
Code:
steamcmd +login anonymous +force_install_dir C:\Servers\srcds\mfs +app_update 244310 validate +quit
if yu have steam running all da time yu can remove
Code:
+login anonymous
since it could interfere with steam lol but tbh idk or if u actually want to use ur actual acc(will probably interfere if steam is open tho Razz) change it to:
Code:
+login <steam acc> <Your troll password>
Note:if yu don't wanna put it on C:\ then just replace C:\ with whatever drive yu put there instead of C:\ xD ) and make sure your installation dirrectory doesn't have spaces (example: C:\Program Files\srcds\mfs), it wont install in da correct dirrectory if it has spaces xD, also it seems to not install to folders that dont exist yet Razz so if yu dont have a srcds\mfs folder just make it, for Christ's sake(thread for idiots)

2.Now save it as steamcmd-update.bat (make sure it doesnt save as steamcmds-update.bat.txt or just remove da .txt if it does)
and put it where steamcmd.exe is located in(C:\Servers if yu followed da example lol)and open it
So dis will dl da source sdk 2013 mp servur files, after installing yu also might want to open it once a week to keep da engine files updated Wink
but then don't delete anything it downloaded cuz if u update it, it will just dl it again lol!


3.Configuring da servur

1.go to your steam folder and go to \steamapps\sourcemods and copy da mobileforcessource folder
2.paste it in C:\servers\srcds\mfs\
3.I reccomend using srcds Guardian 3 to start da servur (from srcds.com) p.s yu can kick da fps_max and tickrate up a notch if ur pc can handle it Razz or u can lower it if ur pc cant :S
open notepad and put in
Code:
::=======================::
::  SET YOUR VARIABLES!  ::
::=======================::

::=======================::
::  Window and Log name  ::
:: Replace "MFS servur"  ::
::=======================::
set servername=MFS servur
::=======================::

::=======================::
::   Your start command  ::
::    Replace after =    ::
::=======================::
set runcmd= /abovenormal C:\servers\srcds\mfs\srcds.exe -console -game mobileforcessource -maxplayers 12 +fps_max 300 -port 27015 +map mf-warehouse -tickrate 66 +exec server.cfg

::=======================::
::   End of variables    ::
::=======================::

:: dis will keep da window clean and easy to read
@echo off

:: Sets da title of da window
title SRCDS Guardian 3.0   %servername%

:: Clears da window incase there is anything there
cls

:: Prints to da window what we is doing
echo SRCDS Guardian 3.0 has been started!
echo.
echo *************************************************************************
echo To close da server, close dis window and type exit in da servur window
echo *************************************************************************
echo.
echo.
echo %servername% is now starting...
>> "%servername%.log" echo.
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) SRCDS Guardian 3.0 has been started!
>> "%servername%.log" echo (%date%)(%time%) %servername% is now starting...

:: dis is a return point in case da servur crashes or is closed
:restart

echo.
echo (%date%)(%time%) %servername% is now ONLINE
echo Watching %servername% for crashes...
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) %servername% is now ONLINE
>> "%servername%.log" echo (%date%)(%time%) Watching %servername% for crashes...

::Start da actual servur
start /wait %runcmd%

echo.
echo (%date%)(%time%) Crash or Close detected!
echo %servername% is now restarting...
>> "%servername%.log" echo.
>> "%servername%.log" echo (%date%)(%time%) Crash or Close detected!
>> "%servername%.log" echo (%date%)(%time%) %servername% is now restarting...

::server crashed or closed, so we point it to da return point to start the server again
goto restart
now save it as
SRCDS Guardian 3.bat (make sure its .bat not .txt.bat)
go to C:\servers\srcds\orangebox\srcds\mobileforcessource\cfg\ and open server.cfg and add
Code:
hostname (What yu want your servur name to be)


4.open it with notepad and change da start up command( if yu installed srcds to another location instead of C:\servers\srcds so just change that part to wherever yu put it)
yu might also want to change da change tickrate or fps_max or da map, do what u want xd

yu can also change da motd.txt (message of da day)  C:\servers\srcds\mfs\mobileforcessource\cfg\motd.txt

4.Starting da servur
1.Mobile Forces Source uses da ports 27015(tcp and udp) (and 27020 (udp) for SourceTV) so make sure to have them enabled in your firewall(also enable srcds.exe in your firewall) and have them port forwarded...or else Players wont be able to connect. P.S heres a nice program to port forward http://www.simpleportforwarding.com/download
2.servur.cfg is a file loaded and executed by da servur wenn it starts so put stuff yu want to be executed on da start of da servur there (hostname, and sv_downloadurl, etc)
3.Launch Srcds Guardian 3.bat and thats it, your servur should be online
Fast HTTP Downloading

Players can download custom content from a web servur over HTTP to reduce da resources and bandwidth needed by your dedicated servur. Fast HTTP downloading allows da SRCDS or HLDS servur to use all da available resources and bandwidth for hosted games.

 1. Make a list of all da custom files (bsp, wav, mdl, etc) used on your servur
  2. Upload da files to a web servur while keeping da directory structure intact
   3.Optional: To display a banner image (for example, an image with da message "Content Hosting Provided By (name)") upload a 340x56 pixel image to /gfx/banner.gif
  4. Use da sv_downloadurl CVAR and set to http://// (where is da domain name which points to your web servur and is da name of da directory which mirrors da custom content directory under your HLDS or SRCDS game installation folder)

   If your web servur is secured with Basic HTTP Authentication, use da format http://:@/ to add your HTTP username and password for authentication where and is da username and password combination for a web servur account with read privileges for da content files

I highly recomend reading da Srcds tricks tohpik bicuz i made it to continue dis tohpik but only for making da servur yu created better


Last edited by Filip on Mon 31 Oct 2016 - 15:16; edited 28 times in total (Reason for editing : To not be retarded and to fix some shit)
Filip
Filip
Main_Admin
Main_Admin

Posts : 62
Power xD : 6396
Loved-Level xD : 1
Join date : 2009-12-31
Age : 25
Location : serbia

Character sheet
1:

https://world-gamers.forumotion.net

Back to top Go down

How to setup a Mobile Forces Source Dedicated server Empty Re: How to setup a Mobile Forces Source Dedicated server

Post by Filip Mon 21 Nov 2011 - 19:02

note:dis will not work at all if your steam installation dirrectory has spaces e.g: C:\Program Files\steam, in that case yu have to move your installation dirrectory Razz https://support.steampowered.com/kb_article.php?ref=7418-YUBN-8129 If yu want to create a dedicated servur dirrectly from steam yu will need to download da Source 2013 Dedicated servur from da tools category
Make sure MFS is in steamapps\sourcemods

tho I still recommend non-steam srcds Razz

Fast HTTP Downloading

Players can download custom content from a web servur over HTTP to reduce da resources and bandwidth needed by your dedicated servur. Fast HTTP downloading allows da SRCDS or HLDS servur to use all da available resources and bandwidth for hosted games.

 1. Make a list of all da custom files (bsp, wav, mdl, etc) used on your servur
  2. Upload da files to a web servur while keeping da directory structure intact
   3.Optional: To display a banner image (for example, an image with da message "Content Hosting Provided By (name)") upload a 340x56 pixel image to /gfx/banner.gif
  4. Use da sv_downloadurl CVAR and set to http://// (where is da domain name which points to your web servur and is da name of da directory which mirrors da custom content directory under your HLDS or SRCDS game installation folder)

   If your web servur is secured with Basic HTTP Authentication, use da format http://:@/ to add your HTTP username and password for authentication where and is da username and password combination for a web servur account with read privileges for da content files
I highly recomend reading da Srcds tricks tohpik bicuz i made it to continue dis tohpik but only for making da servur yu created better


Last edited by Filip on Thu 21 Jul 2016 - 3:09; edited 1 time in total (Reason for editing : to be less retarded for current standards :P)
Filip
Filip
Main_Admin
Main_Admin

Posts : 62
Power xD : 6396
Loved-Level xD : 1
Join date : 2009-12-31
Age : 25
Location : serbia

Character sheet
1:

https://world-gamers.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum