AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   tutorial of how to make servers by STEAMCMD (https://forums.alliedmods.net/showthread.php?t=221666)

sami_spt 07-24-2013 23:44

tutorial of how to make servers by STEAMCMD
 
7 Attachment(s)
How to make servers by STEAMCMD


Hello everyone,
Today I will make a small tutorial, it includes how to make servers in these games:
  • Counter-Strike 1.6
I am using windows 7 to do this tutorial.
You can use :
Windows
  • Windows 8 ( Tested and working fine )
  • Windows 7 (Tested and working fine )
  • Windows XP or older ( I am not sure )
For Linux, I dunno since I never did it, but its the same way.


Firstly, we must download STEAMCMD from the official website, not from anywhere.
***Link: Official STEAMCMD

After you downloaded STEAMCMD, just place it in a folder anywhere in your computer.

After you are done that, Open STEAMCMD and it will automatically update.
https://forums.alliedmods.net/attach...1&d=1374721018

After it's done from updating, you will login using your username & password. ( Steam username and password, not alliedMods Forums login )
PHP Code:

login username 

PHP Code:

Enter your password

You can try using anonymous if you dont want to login by your username.
PHP Code:

login anonymous 

I'm going to login using my username & password.
https://forums.alliedmods.net/attach...1&d=1374721467


Ok, now we will start.
Enter this command to start downloading:

PHP Code:

app_update 90 validate 

You must do it multiple time for the files to get installed. It's a known bug mentioned by VALVE.
( Bug: HLDS (appid 90) currently require multiple installs before the game's files are installed. )

this is the message! You can see it from Here.


If the downloading finished very fast, it means it didnt work.
It must go from 1% => 100%
Mine failed as you can see from the screenshot below.
https://forums.alliedmods.net/attach...1&d=1374721920

Okay, after writing the command 5 times, it worked.
It will look like that.
https://forums.alliedmods.net/attach...1&d=1374722181

While waiting for the server to finish downloading,
Lets go and download AMXMODX and Metamod.
They are important for the servers, If you dont need AMXMODX, your server will still work.

Anyways, the official links for METAMOD and AMXMODX ( Current: 1.8.2 )

- Official AMXMODX link to download the required files.

For windows, you need these:

https://forums.alliedmods.net/attach...1&d=1374722426

For other mods, you must pick the correct MOD for AMXMODX.


Okay! My STEAMCMD finished installing and downloading the files.
Did yours finish?

https://forums.alliedmods.net/attach...1&d=1374722549


Okay, to find the server files (Cstrike)
  1. Open STEAMCMD Folder
  2. Open 'SteamApps' folder
  3. Open 'common' folder
  4. open 'Half-Life' Folder
And you will find them there.
Add all the files you downloaded from AmxModX to your cstrike folder.:bacon!:

After doing that, open your cstrike folder and find something called
PHP Code:

liblist.gam 

Open it and edit it. It must look like this!
PHP Code:

game "Counter-Strike"
url_info "www.counter-strike.net"
url_dl ""
version "1.6"
size "184000000"
svonly "0"
secure "1"
type "multiplayer_only"
cldll "1" 
hlversion "1111"
nomodels "1"
nohimodel "1"
mpentity "info_player_start"
//gamedll "dlls\mp.dll"
//gamedll_linux "dlls/cs.so"
//gamedll_osx "dlls/cs.dylib"
trainmap "tr_1"
gamedll "addons\metamod\dlls\metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod.so" 

Next and the final step, go to cstrike/addons/metamod
and you must add plugins.ini file

For now, you need to add this to make AMXMODX works.
PHP Code:

AMX Mod X 1.8.2
win32   addons
\amxmodx\dlls\amxmodx_mm.dll 

save and exit.
Open the server and enjoy .!

Your server is updated.!

to check your server's version, write version in the HLDS Console
https://forums.alliedmods.net/attach...1&d=1374767276

.: Extra Notes :.

To download one of these mods, you must add this command line before doing
PHP Code:

app_update 90 validate 

  • Counter Stike / Half Life
    PHP Code:

    app_update 90 validate 

  • Counter Stike : Condition Zero
    PHP Code:

    app_set_config 90 mod czero
    app_update 90 validate 

  • Day Of Defeat HL1
    PHP Code:

    app_set_config 90 mod dod
    app_update 90 validate 

  • Half-Life: Opposing Force
    PHP Code:

    app_set_config 90 mod gearbox
    app_update 90 validate 

  • Ricochet
    PHP Code:

    app_set_config 90 mod ricochet
    app_update 90 validate 

  • Team Fortress Classic
    PHP Code:

    app_set_config 90 mod tfc
    app_update 90 validate 

  • Deathmatch Classic
    PHP Code:

    app_set_config 90 mod dmc
    app_update 90 validate 


and continue as I did before.

For other mods, other than HL1, please visit Valve's STEAMCMD page


For any support or help regarding STEAMCMD or you dont know how to install your servers, post here and you will get help.

PS: If I wrote anything wrong or any errors ( Spelling/Grammar) , please tell me XD

If this thread was helpful, please reply back, so maybe a moderator can 'sticky' it and everyone can see it

DruGzOG 07-25-2013 01:23

Re: tutorial of how to make servers by STEAMCMD
 
As useful this thread may be, there is a wiki for this. Users should get accustomed to it.

jonnzus 07-25-2013 03:41

Re: tutorial of how to make servers by STEAMCMD
 
Aren't those clients files?
Quote:

Okay, to find the server files (Cstrike)
  1. Open STEAMCMD Folder
  2. Open 'SteamApps' folder
  3. Open 'common' folder
  4. open 'Half-Life' Folder


z0mb1el0v3r 07-25-2013 04:42

Re: tutorial of how to make servers by STEAMCMD
 
Quote:

Originally Posted by jonnzus (Post 1998246)
Aren't those clients files?

Maybe because he logged in his steam account and the downloaded files saved in those dir instead? Not sure because I never tried it before.


Btw, the latest build is 6027.

Kia 07-25-2013 05:20

Re: tutorial of how to make servers by STEAMCMD
 
Nice tutorial. :)

YamiKaitou 07-25-2013 07:04

Re: tutorial of how to make servers by STEAMCMD
 
Quote:

Originally Posted by jonnzus (Post 1998246)
Aren't those clients files?

They are. Based on the "tutorial" the files will not be found there. He forgot the command force_install_dir so it will automatically isntall into the same directory as SteamCMD is currently in.

Arkshine 07-25-2013 07:53

Re: tutorial of how to make servers by STEAMCMD
 
Quote:

you will login using your username & password.
You can now log in using "anonymous".

sami_spt 07-25-2013 11:41

Re: tutorial of how to make servers by STEAMCMD
 
Quote:

Originally Posted by Arkshine (Post 1998365)
You can now log in using "anonymous".

I did write that if you do not want to login using your username & password, you can login anonymous. But as the STEAMCMD wiki said,

PHP Code:

If logging in anonymously doesn't work for that particular game, you will have to log in with a Steam Account
 Note:    You must log out of the regular Steam client in order to properly log in to SteamCMD Update Tool 

so, I prefer logging by my account.

Anyways, it's the users wish, not mine.
both ways works. (Username\Pass OR anonymous)

Arkshine 07-25-2013 11:51

Re: tutorial of how to make servers by STEAMCMD
 
You're right, did not see it at first. I'm using always anonymous as I don't like much being disconnected from steam.

TheDS1337 07-25-2013 12:14

Re: tutorial of how to make servers by STEAMCMD
 
a lot of servers using unix, because it's faster than windows, you need to add a tutorial for it + look here


All times are GMT -4. The time now is 19:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.