How to Build a Free Server

Credits

Submitter
  • P2: Drudge
    Points: 3,882
  • E1: Helper
    EF: 1
  • C1: Member
  • A5: Veteran
    Account Age: 6 years
Majin_DiggZ (Creator/Co-creator)
Key Authors
Majin_DiggZ

Rating

9.7/10
Based off 13 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Intermediate

Stats

Post Count
119
ViewCount
74,885
Date Added
6 years ago
Date Modified
7 months ago

Creating a Free server

Welcome... Sit down by my fire and I will share with you, they glorious path to a server LOADED with Mani admin goodies...

  1. Download the updater
  2. Execute the program and follow the on-screen instructions to install the HLDS to your desired directory, I will use C:\hl2server
  3. Once this has been done open the folder
  4. In this folder you should find a file called HldsUpdateTool open it and the base files, update process will start
  5. Once this has finished you should have several new files in your case you want a Counter Strike Source server so open notepad from the start menu programs and enter the text below into the notepad, filling in the details such as steam account name and password where it says "password here" etc. This has to be spot on, and exactly as shown below
  6. MAKE SURE YOU PUT IT IN LIKE THIS date/t time/t hldsupdatetool -command update -game "Counter-Strike Source" -dir c:\hl2server -username "username here" -password "password here" time/t @pause
  7. Click file and save-as and then type in the name "Css_update.bat" EXACTLY like that (but without the speech marks), and where it says "Save as file type" click the drop down menu and select "All Files" save it in the hl2server folder we made earlier. Now open that folder and double click your new-made bat file, the server will start to update according to the game specified after the "-game" command Wait for the update to complete it will take quite a while depending on your internet connection as you are downloading the entire of counter strike source into you hl2Server Directory so that the server can run :)
  8. When it has finished your server is READY! you can start it via the scrds icon but there still more to go before you do that :P
  9. Go to start and then to accessories and then click on the button called notepad this will open notepad
  10. Put the following into your new notepad document without the speech marks
  11. "C:\hl2server\srcds.exe -console -game cstrike -tickrate 80 +fps_max 600 +maxplayers 16 -port 27016 +exec server.cfg +map de_dust2 -secure" copy and paste it :)
  12. Save the note pad into you hl2Server Directory press save as and navigate to hl2Server folder when there before saving click at the bottom where it says save as type and select all files then save your notepad file as "Server.bat" without speech marks
  13. TO MAKE SURE YOUR SERVER WORKS DOUBLE CLICK THE SERVER.BAT IF IT FLASHES ON AND OFF THEN YOUR SERVER HAS NOT FULL DOWNLOADED RUN THE CSS_UPDATE.BAT AGAIN
  14. Download the mani-admin-plugin using one of the links below. Extract it open the file there should be a folder called cstrike inside if the folder you opened is called cstrike then just click back. You have an option, to either use V1.1 or V1.2 The only difference is in the admin menus and the workings of admin registration. I reccomend V1.2
  15. For V1.1 For V1.2
  16. Copy the folder called Cstrike and paste it into the hl2Server folder press Yes to all when it says do you want to over-write, next open the "addons" folder in cstrike and double click the file called "CreateVDF" a little window will pop up, refer to screenshot B; click the drop down menu and select "cstrike" for a CSS server etc. Now press CreateVDF and save it in the addons folder, DONT rename it, just save it.
  17. Mani Admin plugin has been installed and now to make yourself the admin, you will need your Steam ID for this. Now before we do that, depending on which plugin you download [1.1 or 1.2] you will need seperate steps for each one. I will start with V1.2 after the next step
  18. In order to get your Steam ID just go into any CSS game (server) and type in the console "status" then look for your name and next to it your steam ID copy this to your clip board in other words just highlight the Steam ID and right click and press copy if you know nothing about the steam console then go to options and then go to keyboard and click advanced and check the box called "enable console" then press the weird button left of the 1 at the top of the keyboard to bring up the console
  19. Adding Admin in V1.2

  20. Now for V1.2 adding admin is a completley different process to 1.1, first we must create the admin list, called clients.txt; copy and paste the following into a blank notepad:
  21. Admin by Steam ID "clients.txt" { "version" "1" // This key group lists all your client players "players" { // This must be a unique client name "your_name" { // Client real name "name" "your_name" // Steam ID for the client "steam" "YOUR_STEAM_ID_HERE" // These are personal access flags for a player "flags" { "Admin" "q2 q3 grav pban A B C D E F G H I J K L M N O P Q R S T U VW X Y Z a b c d e f g i j k l m o p q r s t v w x y z client admin spray" } } } }
  22. Now save it in the cstrike/cfg/mani-admin-plugin directory, as "clients" it will automatically be saved as a text. Now we need to open the clients text up and insert your details, its pretty obvious, add the details where required; for example "YOUR_STEAM_ID_HERE" is where you put your Steam ID... Figures.. but I know what some of you are like ;)
  23. Once this has been done, save it and you are now admin CONGRATULATIONS
  24. Adding Admin in V1.1

  25. Now this is alot simpler; all we have to do is take our Steam ID, open up the text file called "adminlist" in Cstrike/cfg/mani-admin-plugin and paste it under the last // at the bottom of the text, like so: // STEAM_ID
  26. Now save it and you are admin, HURRAY!

    Basic Setup

  27. Now we need to bind a key to your admin menu (I use H); but use any key you like that's not already in use :). Go to my computer, C drive, Program files>Valve, Steam>Steamapps>accountname>counter strike source> cstrike and into the folder called cfg. In there there is a file called "config" right click and press open, if it says unknown file type then press the selection "choose program from list" and then select the program notepad :) the file will open up scroll down and you should see some binds for example bind h "cheer" for example purposes in order to bind a key to your admin menu change the command from "cheer" to "admin" so that when you press this button your admin menu will pop and you can wreck havoc upon those unsuspecting players ;) MUHAHAHA!. Note: you can bind it to any key just change the command of any useless key ;). save this text and hey presto when you press h or any key you binded it to you menu will pop up HURRAY!
  28. Phew nearly done my fingers are tired :P. Next we need to configure your server with a server configuration eg. round time limits etc. for this I have included my server config below this tutorial copy and paste it into notepad and save it as Server.cfg remeber to click all files at the bottom make any changes that are necessary e.g. server name and password. put this in your hl2Server>Cstrike>cfg folder and YOUR DONE! HUZZAH!!
  29. Go into you hl2Server folder and double click on the server.bat file you saved before your server will start and there you go.. to find out the IP of your server; do the following:
    • Press Start
    • Press Run
    • A little box shall appear, and in there type "cmd"
    • A black box will appear, and in there type "ipconfig/all"
    • If entered correctly, lots of crap should appear; now sift through the crap and find the field marked "IP Address", THAT is your IP, stick 27016 on the end of it to get the IP to connect to in game
  30. HAVE LOTS OF FUN Note. Depending on your internet connection the server rates contained in my server.cfg may not be the best for your server. If you have any enquiries don't be afraid to PM me, DO NOT add me on X-fire I am rarley on

Another Note. If u happen to be on any network wireless or otherwise, chances are people wont be able to access ure server unless ure network is set up for a port forward, for more information on this go to my other tutorial, which addresses this issue:

Port Forwarding

Happy server hosting

Here is my server config change accordingly if needs be:

// General Settings hostname "yourservername" hostframerate 0 setpause 0 svpassword "yourpassword" mpchattime 10 svlan 0 svsecure 1 svpausable 0 svcheats 0 svconsistency 1 svstats 1 svallowdownload 1 svallowupload 1 svdownloadurl
svtimeout 30 svvoicecodec vaudiomiles svvoiceenable 1 svalltalk 0 svvisiblemaxplayers 24 bot_prefix "[n00b]"

// SourceTV tvautorecord 0 tvchattimelimit 0 tvdebug 0 tvdelay 10 tvdelaymapchange 1 tvdispatchmode 1 tvenable 1 tvmaxclients 128 tvmaxrate 0 tvname "Mega TV" tvpassword "" tvport 27020 tv_snapshotrate 16

// Ban Settings exec banneduser.cfg exec bannedip.cfg writeid writeip

// Contact & Geo Settings svcontact Randombloke@somewhere.com svregion 3 // us eastcoast - svregion 0 // us westcoast - svregion 1 // south america - svregion 2 // europe - svregion 3 // asia - svregion 4 // australia - svregion 5 // middle east - svregion 6 // africa - svregion 7 // world - sv_region 255

// Rcon Settings rconpassword "Digg" svrconbanpenalty 15 svrconmaxfailures 4 svrconminfailures 2 svrcon_minfailuretime 30

// Log Settings svlogonefile 0 svlogfile 1 svlogbans 1 svlogecho 1 mplogdetail 3 log on

// Teamplay Settings mpspawnprotectiontime 0 mpautokick 0 mpautoteambalance 0 mpfadetoblack 0 mpforcecamera 0 mpforcerespawn 1 mp_teamplay 0

// Game Settings mpfraglimit 0 mpmaxrounds 0 mpwinlimit 0 mptimelimit 0 mpstartmoney 800 mproundtime 2.5 mpallowNPCs 1 mpautocrosshair 0 mpbuytime 0.5 mpc4timer 40 mpfalldamage 1 mpflashlight 1 mpfootsteps 1 mpfreezetime 2 mpfriendlyfire 1 mptkpunish 0 mphostagepenalty 4 mplimitteams 0 mpplayerid 0 svfootsteps 1

// Performance Settings mpweaponstay 0 mpdecals 200 decalfrequency 10 breakable_multiplayer 1

// Spectator Settings mpallowspectators 1 svspecaccelerate 5 svspecnoclip 1 svspecspeed 3

// Physics Settings svgravity 800 svfriction 4 svairaccelerate 10 svstopspeed 75 svstepsize 18 svmaxspeed 320

// Rate Settings svminrate 5000 svmaxrate 25000 svminupdaterate 20 svmaxupdaterate 80 svunlag 1 svmaxunlag 1

// Ammo Settings ammo338magmax 30 ammo357sigmax 50 ammo45acpmax 100 ammo50AEmax 35 ammo556mmboxmax 200 ammo556mmmax 90 ammo57mmmax 100 ammo762mmmax 90 ammo9mmmax 120 ammobuckshotmax 40 ammoflashbangmax 20
ammo
hegrenademax 20 ammosmokegrenade_max 20

exec maniquakesounds exec autoban.cfg

// Mani Mod exec maniserver.cfg mawar 0

// Announce Execution say Public Mode CFG executed

  • You must be a member

Comments

    • P1: Beggar
      Points: 260
    • C1: Member
    • A1: Lollipop
      Account Age: 6 months

    the bat file where i can put my username and password is not working

    Bananite
    • C1: Member
    • A3: Apprentice
      Account Age: 1 year

    Can someone help me or tell me whats wrong? i updated css and i pressed run and it flashes on and off, but when i tried to update again , and run it's still te same thing please , answer me here or msn ramy_49@hotmail.cm

    Bananite
    • C1: Member
    • A4: Graduate
      Account Age: 2 years

    Pros: nice Cons: good Improvements: good Notes: nice

    Banned
    • C1: Member
    • A3: Apprentice
      Account Age: 2 years

    Please some on help! Mysterious problem. Why would I suddenly not be able to find or connect to my server when its running normally?

    OK, i had it running and could find the server on my other PC. Then I finished adding me as an admin and then went back to my gaming PC to try it. Now I cannot find the server at all. I look over at the dedicated CPU and its running normally.

    I tried entering in console "connect 555.5.55.555" and nothing.

    Literally this is all I did: added my steam id for admin. After rebuilding it I had a different IP, so after finding it on gaming PC I removed the old one stored in my favorites. Now I cannot find it at all on either IP.

    I've run CS:S server for 3 years now, but this one is my first non-steam and i'm completely at a loss with this problem.

    Am I just missing something really stupid, or do I have a problem where I should reinstall the whole thing?

    Bananite
    • P1: Beggar
      Points: 25
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    Yet another post... i tried, but failed to fix it, but however i saw that when i launch css, the server is under LAN, the name isn't changed though since it couldn't load server.cfg BUT it says that there are 1/24 players, when i tried to join it said "Disconnected Steam ID "xxxxxxxxxxx" already in use.... hmm? have any idea to what might be causing this problem

    Lets Play ;]
    • P1: Beggar
      Points: 25
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    I think i found my problem but.. i dont know how to fix it, when i launch the server.bat i noticed i got this -->


    couldn't exec server.cfg couldn't exec .maniadminplugin/defaults.cfg couldn't exec couldn't exec couldn't exec ***** Executing maniserver.cfg ***** couldn't exec maniquake_sounds.cfg


    sry for double post, and i wil try to fix it myself, if i do, ill post again, if not please help :(

    Lets Play ;]
    • P1: Beggar
      Points: 25
    • C1: Member
    • A4: Graduate
      Account Age: 4 years

    I get this (straight from console)

    ] connect 24.13.161.2:27015 Socket bound to non-default port 27016 because original port was already in use. Socket bound to non-default port 27021 because original port was already in use. Socket bound to non-default port 27006 because original port was already in use. Network: IP 192.168.1.104, mode MP, dedicated No, ports 27016 SV / 27006 CL Connecting to 24.13.161.2:27015... Connected to 24.13.161.2:27015

    i followed both of your tuts precisely and still don't know why im getting this, please reply

    Lets Play ;]
    • C1: Member
    • A4: Graduate
      Account Age: 2 years

    Ok i got a server and the server_bat has been working fine. then one time i come on here and i pressed it but it it showed up the it shut off?!?!?!

    Bananite
    • C1: Member
    • A4: Graduate
      Account Age: 3 years

    When you run the updater it installs in C:\Programfiles\Valve\HLServer and when you make the bat file swap the dir so it looks like this date/t time/t hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\Programfiles\Valve\HLServer -username "username -password "password here" time/t @pause hope i was helpfull

    Bananite
    • P2: Drudge
      Points: 1,378
    • E1: Helper
      EF: 2
    • C1: Member
    • A4: Graduate
      Account Age: 4 years
    Posted by hanse00
    Posted by djvoltiare
    Posted by Skippy57
    Posted by Silence_666 I get the follow error when I run Css_update.bat cannot open blob archive file: CMultiFieldBlob(mem-mapped file): File does not exist and failed to create new file
    i get the same problem. help please
    dude how can i fix this problem :S
    i have the same problem what do i do?

    same here. come on! help us!

    Mapper
  • You must be a member