Cannot connect to CSGO server
-
triphollA
- New to forums

- Posts: 13
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Oct 15, 2013 7:47 pm
Cannot connect to CSGO server
I'm trying to host a CSGO server on my VPS. Everything runs perfectly fine, the server shows up on the browser list, but when I connect it hangs on "Connecting to Server" and then exits back to the main menu. The following appears in the console:
[MM] Sending reservation request to 0.0.0.0:27015
[MM] Sending reservation request to xx.xx.xxx.xxx:27015
Adding direct connect IP to connection xx.xx.xxx.xxx:27015
Bad server address public(unknown)
I've tried multiple fixes that I've found on these forums and google, including attempting to fix the gamemode_server.txt. I've setup a server on a different host and it works completely fine. Does anyone have any idea what can be going wrong? Could it be a problem with port forwarding?
[MM] Sending reservation request to 0.0.0.0:27015
[MM] Sending reservation request to xx.xx.xxx.xxx:27015
Adding direct connect IP to connection xx.xx.xxx.xxx:27015
Bad server address public(unknown)
I've tried multiple fixes that I've found on these forums and google, including attempting to fix the gamemode_server.txt. I've setup a server on a different host and it works completely fine. Does anyone have any idea what can be going wrong? Could it be a problem with port forwarding?
Re: Cannot connect to CSGO server
When you see that message it means you have a configuration issue with your gamemodes_server.txt file. Can you post that file here so we can check it for errors?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
Here it is
- Attachments
-
- gamemodes_server.txt
- (925 Bytes) Downloaded 123 times
Re: Cannot connect to CSGO server
That appears to be correct, what about your autoexec.cfg, can you post that?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
I don't have an autoexec.cfg
Re: Cannot connect to CSGO server
You should have an autoexec.cfg, check in your CFG directory.
Also there isn't a need to bump your post that is still on the front page.
Also there isn't a need to bump your post that is still on the front page.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
yah there's no autoexec.cfg anywhere. i checked my friend's hosted game server and he doesn't have one either.
Re: Cannot connect to CSGO server
You may try adding one and configuring it to your options.
Code: Select all
// turn on logging first, to maximize what is logged
log 1
// game_type and game_mode together determine what is played.
// use game_type 0 and game_mode 0 for "Classic Casual"
// use game_type 0 and game_mode 1 for "Classic Competitive"
// use game_type 1 and game_mode 0 for "Arms race" (standard GunGame)
// use game_type 1 and game_mode 1 for "Demolition" (GunGame w/a bomb)
game_type 0
game_mode 0
// the map group determines what maps are run
// mapgroup mg_bomb
// mapgroup mg_hostage
// mapgroup mg_dust
// mapgroup mg_armsrace
// mapgroup mg_demolition
// mapgroup random_classic
mapgroup "mg_bomb"
// this is the starting map
map "de_dust2"
// further settings can be changed in cfg/server.cfg and in gamemodes.txt.
workshop_start_map ""
//host_workshop_collection ""@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
Alright. I added an autoexec.cfg. I still cannot connect to the server.
Code: Select all
log 1
game_type 0
game_mode 1
mapgroup "mg_bomb"
map "de_dust2"
Re: Cannot connect to CSGO server
Try running..
game_type 1
game_mode 1
Since you're running GunGame. You'll also want to check the error you get when trying to connect to your server.
game_type 1
game_mode 1
Since you're running GunGame. You'll also want to check the error you get when trying to connect to your server.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
I'm trying to run classic competitive.
Re: Cannot connect to CSGO server
Your Gamemodes_server.txt leads me to believe you are, try starting with our example config here and editing the mapgroup name and maps to your liking.
http://www.nfoservers.com/forums/viewto ... =84&t=7831
http://www.nfoservers.com/forums/viewto ... =84&t=7831
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Re: Cannot connect to CSGO server
Ok I redid it and restarted my server. It still does the same thing. I really don't think its my config.
Code: Select all
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"mapgroupsMP" // List of mapgroups valid for this game mode
{
"mg_bomb" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_bomb" // mapgroup definition
{
"name" "mg_bomb"
"maps"
{
"de_dust" ""
"de_dust2" ""
"de_nuke" ""
"de_train" ""
"de_inferno" ""
}
}
}
}
