IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Run A Dedicated Bg Mod 2 Server. [windows]
Bubka3
post Sep 30 2011, 04:22 AM
Post #1


Private
Group Icon

Group: Retired Team Members
Posts: 23
Joined: 5-September 11
From: New York
Member No.: 14,909



Prequel
This guide will instruct you how to run a dedicated/console server. This is not the create server (which is actually a listen server) or a GUI server. Please note that BG mod runs on the orangebox engine revision 2007, so options like -tickrate and +fps_max can be used in the command line, unlike revision 2009 which is valve only at this time. The server takes the same amount of resources as any other orangebox server. This guide also assumes you have some basic computer knowledge like how to unzip a file.

Windows Server
The follow section is for a running a Windows server. You can use XP & Server 2003 or 7 & Server 2008 R2. Vista and Server 2008 are not recommended due to the failure on Microsoft's part.

1) Getting started with HLDSUpdatetool

First of all download hldsupdatetool from the VALVe webserver. Save it to a temporary location and run it. Navigate through the wizard like you are used to, which means next most of the time. When it asks you about the destination folder, click browse. Type c:\srcds in the text field and click on OK. Finish the wizard.

Now click on Start, Run and type cmd . Type in the commands mentioned here and end a line with the enter key.
Command(s):
QUOTE
C:
cd \srcds
hldsupdatetool


The new version of HLDSUpdateTool will be downloaded now.

2) Downloading the files

We can start downloading the orangebox server files. This can take a few hours depending on the connection the server uses.
Command(s):
QUOTE
hldsupdatetool -command update -game orangebox -dir C:\srcds

Go get yourself a cup of coffee.

After hldsupdatetool is completed, you need to obtain the BG mod server files as well.
Our mirror which is located in the USA can be found at: http://mirrors.redspeedservers.com/bgmod/v...-server.tar.tar
Otherwise see this page for other mirrors: http://www.bgmod.com/downloads/bg2srv.html

3) Creating proper file structure.
You should now have C:\srcds\orangebox. Extract the downloaded bgmod files. Since it is double tar'ed, you will need to extract it twice. You will now see the bg2 folder. Place this bg2 folder in C:\srcds\orangebox.


4) Starting your server.
First edit (or create) C:\srcds\orangebox\bg2\cfg\server.cfg like you want it to be. Now we are ready to run srcds (the server).
Click Start, Run, type in the box there:
QUOTE
C:\srcds\orangebox\srcds.exe -console -nocrashdialog -game bg2 +maxplayers 16 +map bg_assault +exec server.cfg

and press enter.
Your srcds is now up and running.

Credits to srcds.com for their guide. This work was based off their guide. Click here for the first article.

Linux
This part will be added momentarily.

This post has been edited by Bubka3: Sep 30 2011, 06:50 PM
Go to the top of the page
 
+Quote Post
Zeeziek
post Jan 8 2012, 10:50 AM
Post #2


Private
*

Group: Members
Posts: 1
Joined: 8-January 12
Member No.: 14,991



i cant run a server getlost.gif angry.gif it says : Disconnected: pure server: file GAME\bin\Client.dll does not... after he says that i cant read more because it doesnt show up in my screen can you help me?
Go to the top of the page
 
+Quote Post
Nathan Hale
post Jan 8 2012, 05:26 PM
Post #3


Original BG First Release Player
Group Icon

Group: Admin
Posts: 2,778
Joined: 24-September 02
From: The 13 Colonies
Member No.: 124



QUOTE (Zeeziek @ Jan 8 2012, 05:50 AM) *
i cant run a server getlost.gif angry.gif it says : Disconnected: pure server: file GAME\bin\Client.dll does not... after he says that i cant read more because it doesnt show up in my screen can you help me?



Does this involve 2.1 or 2.1.1. Remember that you must install BOTH:

2.1 installer AND
2.1.1 patch

If you do not have both, people will get errors. The clients/players connecting must also have 2.1.1. Go to BGmod.com and head to the downloads page to get the files you need.


--------------------
Go to the top of the page
 
+Quote Post
A.Haeng
post Jan 10 2012, 12:23 PM
Post #4


Private
*

Group: Members
Posts: 1
Joined: 9-January 12
Member No.: 14,992



Thank you. This article about that really helped me.

Not speak English and use google interpreter
Go to the top of the page
 
+Quote Post
pollarpart
post Feb 17 2012, 06:38 PM
Post #5


Private
*

Group: Members
Posts: 4
Joined: 8-February 12
Member No.: 15,009



Hi, what does it mean when it says "Since it is double tar'ed, you will need to extract it twice."?
Go to the top of the page
 
+Quote Post
mpc
post Feb 18 2012, 12:30 PM
Post #6


Padawan of Grantelbart
Group Icon

Group: BG Dev. Team
Posts: 596
Joined: 11-April 08
Member No.: 6,884



You need to unzip it twice.


--------------------
Want to join TRR? www.theroyalrecruits.com - Plexi's cat can see your soul!




Go to the top of the page
 
+Quote Post
Ishkabibbble
post Jan 30 2014, 03:13 PM
Post #7


Private
*

Group: Members
Posts: 2
Joined: 30-January 14
Member No.: 15,224



Any chance Linux instructions will be added to this? Want to host a dedicated server but can't figure out how to install on Debian
Go to the top of the page
 
+Quote Post
hairypotter
post Jan 31 2014, 05:51 AM
Post #8


Part of the Big Five conspiracy
Group Icon

Group: Retired Team Members
Posts: 983
Joined: 23-June 05
From: New Mexico
Member No.: 3,585



It was soo easy I forgot.
http://www.youtube.com/watch?v=Qm8ClRnVxtE


--------------------
fa⋅ce⋅tious  [fuh-see-shuhs] –adjective
1. not meant to be taken seriously or literally: a facetious remark.
2. amusing; humorous.
3. lacking serious intent; concerned with something nonessential, amusing, or frivolous: a BG2 developer.


Go to the top of the page
 
+Quote Post
3DDEATH
post Feb 1 2014, 12:02 AM
Post #9


Major
*******

Group: Members
Posts: 936
Joined: 26-March 04
Member No.: 2,430



QUOTE (hairypotter @ Jan 31 2014, 06:51 AM) *



aH YES RETURN OF A tROLL, bACk TOtHe gRAVE oH pOTTER


--------------------




QUOTE (gRanTeLbArT @ Aug 25 2007, 02:47 PM) *
I will tell you what I think, this is horrible. Like all the other remakes of BG1 maps. There is a reason why we do not do that in any form. Do not bother to remake old bg1 maps. BG1 was a totally different game as draco pointed out and the maps are not going to work out on BG2.






Rejoice in thy youth,soon it will be gone
Go to the top of the page
 
+Quote Post
hairypotter
post Feb 1 2014, 02:25 AM
Post #10


Part of the Big Five conspiracy
Group Icon

Group: Retired Team Members
Posts: 983
Joined: 23-June 05
From: New Mexico
Member No.: 3,585



Word up


--------------------
fa⋅ce⋅tious  [fuh-see-shuhs] –adjective
1. not meant to be taken seriously or literally: a facetious remark.
2. amusing; humorous.
3. lacking serious intent; concerned with something nonessential, amusing, or frivolous: a BG2 developer.


Go to the top of the page
 
+Quote Post
Ishkabibbble
post Feb 2 2014, 06:35 PM
Post #11


Private
*

Group: Members
Posts: 2
Joined: 30-January 14
Member No.: 15,224



Well... I was going to host an East Coast server for people to play on. Guess not :/

Just didn't wanna see the mod die.
Go to the top of the page
 
+Quote Post
Ad-Man
post Feb 2 2014, 07:45 PM
Post #12


Part of the Big Five conspiracy
Group Icon

Group: Admin
Posts: 828
Joined: 23-October 04
Member No.: 3,147



http://www.srcds.com/db/engine.php?subacti...20&archive=

changing:
QUOTE
./steam -command update -game "Counter-Strike Source" -dir .

for
QUOTE
./steam -command update -game "orangebox" -dir .


Then extract the bg2 server files to /orangebox/bg2

then to start the server (if you decide to use screen like the guide)

QUOTE
screen -A -m -d -S css-server ./srcds_run -console -game bg2 +map bg_trentont +maxplayers 16 -autoupdate


--------------------
Do you cant read me ? Not read ..
Not like whot i write ? not read too ...
Where is the problem ?


QUOTE (Copywright (wallhacker/bad modeler))
BGu had a chance of coming back but Roob failed sad really
Go to the top of the page
 
+Quote Post
PatrickNL
post Sep 20 2014, 08:14 PM
Post #13


Private
*

Group: Members
Posts: 1
Joined: 20-September 14
Member No.: 15,252



QUOTE (Ad-Man @ Feb 2 2014, 07:45 PM) *
http://www.srcds.com/db/engine.php?subacti...20&archive=

changing:
QUOTE
./steam -command update -game "Counter-Strike Source" -dir .

for
QUOTE
./steam -command update -game "orangebox" -dir .


Then extract the bg2 server files to /orangebox/bg2

then to start the server (if you decide to use screen like the guide)

QUOTE
screen -A -m -d -S css-server ./srcds_run -console -game bg2 +map bg_trentont +maxplayers 16 -autoupdate



I tried,
Error:
No Steam Content Servers available, please try again later
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 15th October 2019 - 06:45 AM