AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   ¿How can I open 2 servers? help (https://forums.alliedmods.net/showthread.php?t=329327)

jesusemilio 12-18-2020 19:46

¿How can I open 2 servers? help
 
this wea The post was deleted for having written in Spanish since I wanted the answers to be digested into my language but I didn't think it was against the rules .__. So what will I have to put it in English?

A bit unfair but what is it going to be like: P

I am an admin of a server but I want to make another one of tf2
but I don't know how to open it simultaneously with the other one since I open it and it doesn't come out, can you help?

TomL. 12-19-2020 10:34

Re: ¿How can I open 2 servers? help
 
Check what port is the 2nd server running on by typing status into the server console.

jesusemilio 12-19-2020 16:07

Re: ¿How can I open 2 servers? help
 
Sooo i need open other port?

TomL. 12-19-2020 16:18

Re: ¿How can I open 2 servers? help
 
Each server is listening on separate ports.
So yes, if your servers are behind a firewall, you will need to open more ports.

jesusemilio 12-19-2020 16:31

Re: ¿How can I open 2 servers? help
 
my server is hosted on the router with my pc

TomL. 12-19-2020 17:00

Re: ¿How can I open 2 servers? help
 
It will be the same procedure just other ports.

jesusemilio 12-19-2020 19:10

Re: ¿How can I open 2 servers? help
 
ok

and do you know the ports to open? can it be done with the same ip?

TomL. 12-19-2020 21:47

Re: ¿How can I open 2 servers? help
 
If you are using the same ip you have to use different ports.
You can specify the ports by adding -port X (for connect port e.g. 27015) and -tv_port X (for SourceTV port e.g. 27020) to your server launch commands.

For example:

Server 1
Code:

srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +map de_dust2 -port 27015 -tv_port 27020
Server 2
Code:

srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +map de_cache -port 27030 -tv_port 27035

jesusemilio 12-20-2020 00:21

Re: ¿How can I open 2 servers? help
 
ok thanks

for tf2?

TomL. 12-20-2020 09:41

Re: ¿How can I open 2 servers? help
 
I just copied the launch options from csgo as an example but yes -port and -tv_port work for team fortress 2.

For example:

Server 1
Code:

srcds.exe -game tf -console -usercon +map cp_cloak -port 27015 -tv_port 27020
Server 2
Code:

srcds.exe -game tf -console -usercon +map vsh_Hakurei_Winter_v2 -port 27030 -tv_port 27035


All times are GMT -4. The time now is 12:35.

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