Raised This Month: $ Target: $400
 0% 

2 CSGO Servers on 1 Windows Machine


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lTruba
Junior Member
Join Date: Mar 2017
Old 03-02-2017 , 13:39   2 CSGO Servers on 1 Windows Machine
Reply With Quote #1

I want to start 2 CSGO Servers (Minigames and 1vs1) on my Windows dedicated Server (Windows Server 2012 R2).

When i launch one of them, the server starts and everything is okay.
But when i launch the other server, Closes the previous started server and the batch.

Can you give me a Answer how i can launch 2 CSGO Servers on 1 Windows Machine?

1vs1:
srcds -game csgo -autoupdate -console -usercon -ip 217.79.---.119 +hostport 27015 +net_public_adr 217.79.---.119 -tickrate 64 +sv_setsteamaccount XX -authkey XX -maxplayers 24 +game_type 0 +game_mode 1 +map am_mirage_mid +exec server.cfg +host_workshop_collection 8700000027

Minigames:
srcds -game csgo -autoupdate -console -usercon -ip 217.79.---.119 +net_public_adr 217.79.---.119 +hostport 27016 -tickrate 64 +sv_setsteamaccount XX -authkey XX -maxplayers 24 +game_type 0 +game_mode 1 +map mg_grands_multigames_v1_1 +exec server.cfg +host_workshop_collection 8730000004

Last edited by sneaK; 03-02-2017 at 13:51.
lTruba is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-02-2017 , 13:45   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #2

I hope you made up those auth keys, because if you didn't you should edit them out of your post and request new ones before some one uses them maliciously.
Mitchell is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-02-2017 , 13:49   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #3

Immediately revoke your keys and generate new ones, because you should NEVER release them to the public. People can steal them and get your account banned.

You should:
  • Use -port NOT +hostport
  • Use -maxplayers_override NOT -maxplayers
  • Make two installations of the server, try not to fork them. (E.g. different directories)

Last edited by Maxximou5; 03-02-2017 at 14:15. Reason: Thank you blackhawk74
Maxximou5 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-02-2017 , 13:52   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #4

Censored auth keys for OP, assuming the several 0's were an attempt to censor them, but changed them just in case.
__________________
sneaK is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-02-2017 , 14:30   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #5

Quote:
Originally Posted by Maxximou5 View Post
Immediately revoke your keys and generate new ones, because you should NEVER release them to the public. People can steal them and get your account banned.

You should:
  • Use -port NOT +hostport
  • Use -maxplayers_override NOT -maxplayers
  • Make two installations of the server, try not to fork them. (E.g. different directories)
Forking should still work however OP should remove any addons first to check to see if he can get it to work with vanilla.
Mitchell is offline
lTruba
Junior Member
Join Date: Mar 2017
Old 03-02-2017 , 14:34   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #6

Sorry because the auth keys.

I try that (Make two installations of the server, try not to fork them. (E.g. different directories).

I installed the Servers in 2 diffrent directories.
They have only the same server.cfg

#Edit
Can you please explain what "OP" is?

#Editē
I moved the "Addons" folder away from the Server directories.
This didnt help.


MfG
Truba

Last edited by lTruba; 03-02-2017 at 14:44.
lTruba is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-02-2017 , 14:58   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #7

Quote:
Originally Posted by Mitchell View Post
Forking should still work however OP should remove any addons first to check to see if he can get it to work with vanilla.
You are right and it should work, but I think it's still better not to do that.
Given he has enough space for it, forking is still a poor-man's plan.
Quote:
Originally Posted by lTruba View Post
#Edit
Can you please explain what "OP" is?
Original Poster, referring to you, the one who made the thread.
Quote:
Originally Posted by lTruba View Post
#Editē
I moved the "Addons" folder away from the Server directories.
This didnt help.
Using the code or PHP tags, give us your server start bat file contents.
Also what are the directory paths for both servers?
Examples:
C:\Servers\CSGO_27015\csgo\
C:\Servers\CSGO_27016\csgo\
Maxximou5 is offline
lTruba
Junior Member
Join Date: Mar 2017
Old 03-02-2017 , 15:23   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #8

C:\Users\Administrator\Desktop\Servers\Counte r Strike\1vs1

C:\Users\Administrator\Desktop\Servers\Counte r Strike\Minigames
lTruba is offline
lTruba
Junior Member
Join Date: Mar 2017
Old 03-05-2017 , 08:54   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #9

Use -port NOT +hostport
Use -maxplayers_override NOT -maxplayers
Make two installations of the server, try not to fork them. (E.g. different directories)

1. Done.
2. Done.
3. Dont help
lTruba is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 03-05-2017 , 14:27   Re: 2 CSGO Servers on 1 Windows Machine
Reply With Quote #10

You provided the installation directories but not the bat file contents.
If you don't use a bat, do you use a program like csgosl or seDirector?
Maxximou5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:39.


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