Настройка сервера, клиент не хочет коннектиться к серверу

Тема в разделе "Counter-Strike: Global Offensive", создана пользователем RamoniO, 15 авг 2012.

  1. RamoniO

    RamoniO Будда=)

    Сообщения:
    44
    Симпатии:
    0
    У меня вот такая сейчас проблема.
    Почему-то клиент не хочет коннектиться к серверу,в самом начале загрузки сразу же выкидывает в меню.

    В избранном сервер видно,а в глобальном поиске не видно.

    Как можно исправить?

    И подскажите,какой все таки конфиг отвечает за настройку сервера:
    gamemodes.txt или gamemodes_server.txt?

    Сначала настроил gamemodes_server.txt,на сервак зайти не мог,думал может из-за него,удалил этот конфиг (его так же изначально не было на хостинге),оставил только gamemodes.txt,все равно зайти не могу.
    Использую хостинг - myarena.
    Хочу настроить паблик с класическим,обычным режимом на 20 слотов.
     
  2. ZloyMonah

    ZloyMonah

    Сообщения:
    479
    Симпатии:
    71
    Re: Настройка сервера

    Таже штука!!!

    На клиенте

    Connecting to public(xx.xx.xx.xx:27017) ...
    20.535: Sending UDP connect to public IP xx.xx.xx.xx:27017
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address xx.xx.xx.xx:27017
    Grace request retry for unreserved server...
    Retrying public(xx.xx.xx.xx:27017) ...
    20.543: Sending UDP connect to public IP xx.xx.xx.xx:27017
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address xx.xx.xx.xx:27017
    Server approved grace request...
    Retrying connection to xx.xx.xx.xx:27017, server requires lobby reservation but is unreserved.
    Received game details information from xx.xx.xx.xx:27017...
    [MM] Sending reservation request to xx.xx.xx.xx:27017
    [MM] Sending reservation request to xx.xx.xx.xx:27017

    В консольке сервера

    GameTypes: could not find matching mapGroup "mg_allclassic".
    ApplyGameSettings: Invalid mapgroup name mg_allclassic
     
  3. RamoniO

    RamoniO Будда=)

    Сообщения:
    44
    Симпатии:
    0
    Re: Настройка сервера

    ZloyMonah, у меня проблема решилась.
    В моей ситуации оказалось,что сервер от MyArena был не обновлен. Через ТП обновили. На вопрос: "Когда сделаете автообновление?" - ответа не увидел.

    1. Сервер теперь виден в интернете.
    2. Сервер обновлен.
    3. На сервер успешно заходят игроки и играют с минимальным пингом.
     
  4. ZloyMonah

    ZloyMonah

    Сообщения:
    479
    Симпатии:
    71
    Re: Настройка сервера

    RamoniO, дык а какой у тебя канфиг?? Как настроен???
     
  5. RamoniO

    RamoniO Будда=)

    Сообщения:
    44
    Симпатии:
    0
    Re: Настройка сервера

    ZloyMonah, после работы скину.
    надо его подкорректировать еще...намудрил вчера че то с временем закупки)))
     
  6. Grigar

    Grigar

    Сообщения:
    109
    Симпатии:
    3
    Re: Настройка сервера

    люди,такая же хрень!сервер обнавлен,в поиске видно!то может зайти один игрок,и другим пишет подключение к лобби и выкидовает.то ваще ни кому не зайти,кидает в меню игры.кто как решил проблему?
     
  7. rogov

    rogov

    Сообщения:
    161
    Симпатии:
    29
    Re: Настройка сервера

    Используйте другие параметры запуска сервера, и проблема решиться.
    Примеры:
    Публичный сервер:
    srcds -game csgo -console +ip 80.77.174.93 -port 27015 +maxplayers 20 -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust -tickrate 128 +fps_max 0
    Если вы хотите заблокировать сервер на одну карту, просто добавите mg_ перед именем карты. Пример: mg_de_dust2

    Mix сервер:
    srcds -game csgo -console +ip 80.77.174.92 -port 27015 +maxplayers 10 -usercon +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se -tickrate 128 +fps_max 0
    Для микс сервера рекомендую настроить фал gamemodes_server.txt
     
  8. ZloyMonah

    ZloyMonah

    Сообщения:
    479
    Симпатии:
    71
    Re: Настройка сервера

    RamoniO, все вроде разобрался, но конфиг опытом можно поделитцо )))

    rogov, да тоже уже понял что да как,но вот с -tickrate еще не разбирался )))
     
  9. Zhenjabss

    Zhenjabss vizuvi.ru

    Сообщения:
    239
    Симпатии:
    77
    Парни, кому не трудно, скиньте конфиг.
    Интересно глянуть...
     
  10. RamoniO

    RamoniO Будда=)

    Сообщения:
    44
    Симпатии:
    0
    Вот мой конфиг.
    Надеюсь все знают обозначения команд?

    // To use this file, rename it to GameModes_Server.txt
    //
    // Values here override the default gamemodes.txt
    "GameModes_Server.txt"
    {
    "gameTypes"
    {
    "classic"
    {
    "gameModes"
    {
    "casual"
    {
    "convars"
    {
    "hostname" "NeTGame"
    "mp_startmoney" "800"
    "mp_maxmoney" "16000"
    "sv_allow_votes" "0"
    "bot_quota" "0"
    "bot_kick" "1"
    "sv_pausable" "0"
    "mp_forcecamera" "1"
    "mp_autoteambalance" "1"
    "mp_death_drop_gun" "1" // 0=none, 1=best, 2=current or best
    "mp_autokick" "0"
    "ammo_grenade_limit_flashbang" "2"
    "mp_death_drop_grenade" "2" // 0=none, 1=best, 2=current or best
    "mp_match_end_restart" "0"
    "mp_death_drop_defuser" "1"
    "mp_roundtime" "3"
    "mp_maxrounds" "0"
    "mp_timelimit" "60"
    "mp_limitteams" "1"
    "mp_match_end_restart" "0"
    "mp_freezetime" "3"
    "mp_buytime" "45"
    }
    "mapgroupsMP"
    // List of mapgroups valid for this game mode
    {
    "mg_bomb_se" ""
    }
    }
    }
    }
    }
    //////////////////////////////////////////////////////////////////////////////////////////////
    // 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 launch the server with '+mapgroup MAPGROUPNAME'
    //
    // Example:
    //
    // srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
    //
    //
    //Check the developer wiki for updated community info
    // https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
    //////////////////////////////////////////////////////////////////////////////////////////////
    "mapgroups"
    {
    "mg_bomb_se"
    // mapgroup definition
    { "name" "mg_bomb_se"
    "maps"
    {
    "de_dust2_se" ""
    "de_nuke_se" ""
    "de_train_se" ""
    "de_inferno_se" ""
    }
    }
    }
    }
    {"mg_hostage_se"
    { "name" "mg_hostage_se"
    "maps"
    {
    "mg_cs_office" ""
    "mg_cs_italy" ""
    }
    }
    }
    }
     
  11. rogov

    rogov

    Сообщения:
    161
    Симпатии:
    29
    Зачем ты из mg_bomb_se делаеш паблик ??? Для паблика фаил GameModes_Server.txt можно не создавать.
    Конфиг для микс серверов http://www.esl.eu/eu/csgo/download/26251762/
     
    Последнее редактирование: 16 авг 2012
  12. Grigar

    Grigar

    Сообщения:
    109
    Симпатии:
    3
    Да ну вальвовцы андоны!!!я уже 5 дней бьюсь!!!теперь серв стартует,но может зайти только один игрок!больше никто зайти не может!че за хрень???я че один такой ???
     
  13. rogov

    rogov

    Сообщения:
    161
    Симпатии:
    29
    Покажи параметры запуска
     
  14. RamoniO

    RamoniO Будда=)

    Сообщения:
    44
    Симпатии:
    0
    rogov, и что же тогда по твоему делать?
    GameModes_Server.txt можно не создавать вообще. Но лучше настроить в нем.

    На картах mg_bomb_se и mg_hostage_se фпс повыше.
     
  15. Grigar

    Grigar

    Сообщения:
    109
    Симпатии:
    3
    srcds -game csgo -console -port 27015 +maxplayers 20 -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust

    писал и +ip 0.0.0.0 и ip (свой ип) да как только не запускал :sad:
     
  16. rogov

    rogov

    Сообщения:
    161
    Симпатии:
    29
    Что пишет консоль ?
    Проверь этот параметр к конфиге sv_allow_lobby_connect_only 0
     
    Последнее редактирование: 17 авг 2012
  17. lok1

    lok1

    Сообщения:
    200
    Симпатии:
    14
    Этот параметр уже давно не работает!
     
  18. _lynx

    _lynx

    Сообщения:
    14
    Симпатии:
    1
    у меня аналогичная проблема, ругается на лобби и не заходит на сервер
    а параметра sv_allow_lobby_connect_only уже не существует, валве его упразднила
     
  19. rogov

    rogov

    Сообщения:
    161
    Симпатии:
    29
    Переименуй фаил gamemodes_server.txt.example в gamemodes_server.txt
    Проверь параметры запуска должно быть так srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se

    Мой пример:
    srcds -game csgo -console +ip 80.77.174.92 -port 27015 +maxplayers 10 -usercon +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se -tickrate 128 +fps_max 0
     
  20. _lynx

    _lynx

    Сообщения:
    14
    Симпатии:
    1
    ради эксперимента смирил гордыню и, уповая на высший разум, скачал чистый серв
    переименовал gamemodes_server.txt.example в gamemodes_server.txt
    запустил
    srcds -game csgo -console +ip 192.168.21.2 -port 27033 +maxplayers 10 -usercon +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se -tickrate 128 +fps_max 0

    На клиенте:
    Connecting to public(178.236.131.44:27033) ...
    20.790: Sending UDP connect to public IP 178.236.131.44:27033
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address 178.236.131.44:27033
    Grace request retry for unreserved server...
    Retrying public(178.236.131.44:27033) ...
    20.791: Sending UDP connect to public IP 178.236.131.44:27033
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address 178.236.131.44:27033
    Server approved grace request...
    Retrying connection to 178.236.131.44:27033, server requires lobby reservation but is unreserved.
    Received game details information from 178.236.131.44:27033...
    GameTypes: could not find matching map "de_nuke_se".
    Adding direct connect IP to reservation 178.236.131.44:27033
    [MM] Sending reservation request to 192.168.21.2:27033
    [MM] Sending reservation request to 178.236.131.44:27033
    ] connect 178.236.131.44:27033
    Connecting to public(178.236.131.44:27033) ...
    234.455: Sending UDP connect to public IP 178.236.131.44:27033
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address 178.236.131.44:27033
    Server approved grace request...
    Retrying connection to 178.236.131.44:27033, server requires lobby reservation but is unreserved.
    Received game details information from 178.236.131.44:27033...
    GameTypes: could not find matching map "de_nuke_se".
    Adding direct connect IP to reservation 178.236.131.44:27033
    [MM] Sending reservation request to 192.168.21.2:27033
    [MM] Sending reservation request to 178.236.131.44:27033
    ] connect 178.236.131.44:27033
    Connecting to public(178.236.131.44:27033) ...
    247.194: Sending UDP connect to public IP 178.236.131.44:27033
    Server using 'public' lobbies, requiring pw no, lobby id 1860000539cd751
    RememberIPAddressForLobby: lobby 1860000539cd751 from address 178.236.131.44:27033
    Unknown command "joingame"
    GameTypes: could not find matching game type "".
    CSysSessionClient: Could not get lobby data
    ] connect 178.236.131.44:27033
    Warning: Self recursive import detected in 'sharedlib.swf'
    Import error: GFxResource 'btn-arrow-insert' is not exported from movie 'sharedlib.swf'
    Connecting to public(178.236.131.44:27033) ...
    250.629: Sending UDP connect to public IP 178.236.131.44:27033
    Server using 'public' lobbies, requiring pw no, lobby id 1860000539cd751
    RememberIPAddressForLobby: lobby 1860000539cd751 from address 178.236.131.44:27033
    Unknown command "joingame"
    GameTypes: could not find matching game type "".
    CSysSessionClient: Could not get lobby data

    На сервере:
    10.0 fps 0/32 on map de_nuke_se
    #Console initialized.
    #ConVarRef sv_alternateticks doesn't point to an existing ConVar
    #Game.dll loaded for "Counter-Strike: Global Offensive"
    #GameTypes: initializing game types interface from GameModes.txt.
    #GameTypes: Creating new entry for maps/de_dust2_se.kv.
    #GameTypes: merging game types interface from GameModes_Server.txt.
    #GamesTypes: game type/mode (classic/casual) is missing convar "hostname".
    #GamesTypes: game type/mode (gungame/gungameprogressive) is missing convar "host
    name".
    #GamesTypes: game type/mode (gungame/gungametrbomb) is missing convar "hostname"
    .
    #GamesTypes: game type/mode (training/training) is missing convar "bot_quota".
    #GamesTypes: game type/mode (training/training) is missing convar "hostname".
    Server is hibernating
    Convar developer has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, paren
    t: has FCVAR_CHEAT, parent wins)
    Particles: Missing 'particles/maps/gg_vietnam.pcf'
    maxplayers set to 32
    Required key "game_info" missing.
    Unknown command "cl_bobamt_vert"
    Unknown command "cl_bobamt_lat"
    Unknown command "cl_bob_lower_amt"
    Unknown command "cl_viewmodel_shift_left_amt"
    Unknown command "cl_viewmodel_shift_right_amt"
    Unknown command "cl_teamid_min"
    Unknown command "cl_teamid_max"
    Unknown command "cl_teamid_overhead"
    Unknown command "cl_teamid_overhead_maxdist"
    Maxplayers is deprecated, see gamemodes_server.txt.example to change player limi
    t.
    Unknown command "mat_bloom_scalefactor_scalar"
    NET_GetBindAddresses found 192.168.21.2: 'TEAM : FS'
    NET_GetBindAddresses found 192.168.245.1: 'VMware Virtual Ethernet Adapter for V
    Mnet1'
    NET_GetBindAddresses found 192.168.111.1: 'VMware Virtual Ethernet Adapter for V
    Mnet8'
    Network: IP 192.168.21.2 mode MP, dedicated No, ports 27033 SV / 27011 CL
    ---- Host_NewGame ----
    Unknown command "sv_show_bot_difficulty_in_name"
    Host_NewGame on map de_nuke_se
    Executing dedicated server config file
    ConVarRef cl_playerspraydisable doesn't point to an existing ConVar
    ConVarRef cl_enable_roundstart_autobuy doesn't point to an existing ConVar
    ConVarRef spec_freeze_panel_extended_time doesn't point to an existing ConVar
    ConVarRef mp_ggprogressive_win_panel_pct doesn't point to an existing ConVar
    GameTypes: could not find matching map "de_nuke_se".
    GamesTypes: unable to set convars for map de_nuke_se.bsp. Could not find matchin
    g map name.
    GameTypes: could not find matching map "de_nuke_se".
    PlayerModelInfo: missing terrorist models for map de_nuke_se. Adding the default
    model tm_phoenix.
    GameTypes: could not find matching map "de_nuke_se".
    PlayerModelInfo: missing counter-terrorist models for map de_nuke_se. Adding the
    default model ctm_st6.
    GameTypes: could not find matching map "de_nuke_se".
    GameTypes: could not find matching map "de_nuke_se".
    PrecacheScriptSound 'anarchist_blank' failed, no such sound script entry
    PrecacheScriptSound 'balkan_blank' failed, no such sound script entry
    PrecacheScriptSound 'fbihrt_blank' failed, no such sound script entry
    PrecacheScriptSound 'gign_blank' failed, no such sound script entry
    Attempting to precache model, but model name is NULL
    InstanceAuto1-door_02 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    InstanceAuto1-door_01 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    prop_door_rotating has Door model (models/props_downtown/metal_door_112.mdl) wit
    h no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid, an
    d has a corresponding options block in the model QC file
    Commentary: Could not find commentary data file 'maps/de_nuke_se_commentary.txt'
    .
    Initializing Steam libraries for secure Internet server
    Failed to load Steam Service
    ServiceStart: failed to start
    BOpenService failed
    ServiceStart: failed to start
    Logging into anonymous gameserver account.
    Connection to Steam servers successful.
    Public IP is 178.236.131.44.
    Assigned anonymous gameserver Steam ID [A:1:3908280320(3054)].
    VAC secure mode is activated.
    -> Reservation cookie 1860000539cd4d1: reason ReplyReservationRequest
    Executing server command:
    mapgroup mg_bomb_se
    map de_nuke_se reserved

    ---
    ---- Host_Changelevel ----
    Executing dedicated server config file
    ConVarRef cl_playerspraydisable doesn't point to an existing ConVar
    ConVarRef cl_enable_roundstart_autobuy doesn't point to an existing ConVar
    ConVarRef spec_freeze_panel_extended_time doesn't point to an existing ConVar
    ConVarRef mp_ggprogressive_win_panel_pct doesn't point to an existing ConVar
    GameTypes: could not find matching map "de_nuke_se".
    GamesTypes: unable to set convars for map de_nuke_se.bsp. Could not find matchin
    g map name.
    Attempting to precache model, but model name is NULL
    InstanceAuto1-door_02 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    InstanceAuto1-door_01 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    prop_door_rotating has Door model (models/props_downtown/metal_door_112.mdl) wit
    h no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid, an
    d has a corresponding options block in the model QC file
    Commentary: Could not find commentary data file 'maps/de_nuke_se_commentary.txt'
    .
    Server waking up from hibernation
    GameTypes: could not find matching map "de_nuke_se".
    -> Reservation cookie 0: reason reserved(yes), clients(no), reservationexpires(
    0.00)
    Server is hibernating
    -> Reservation cookie 1860000539cd751: reason ReplyReservationRequest
    Executing server command:
    mapgroup mg_bomb_se
    map de_nuke_se reserved

    ---
    Server waking up from hibernation
    ---- Host_Changelevel ----
    Executing dedicated server config file
    ConVarRef cl_playerspraydisable doesn't point to an existing ConVar
    ConVarRef cl_enable_roundstart_autobuy doesn't point to an existing ConVar
    ConVarRef spec_freeze_panel_extended_time doesn't point to an existing ConVar
    ConVarRef mp_ggprogressive_win_panel_pct doesn't point to an existing ConVar
    GameTypes: could not find matching map "de_nuke_se".
    GamesTypes: unable to set convars for map de_nuke_se.bsp. Could not find matchin
    g map name.
    Attempting to precache model, but model name is NULL
    InstanceAuto1-door_02 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    InstanceAuto1-door_01 has Door model (models/props_downtown/metal_door_112.mdl)
    with no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid,
    and has a corresponding options block in the model QC file
    prop_door_rotating has Door model (models/props_downtown/metal_door_112.mdl) wit
    h no door_options or m_nPhysicsMaterial specified! Verify that SKIN is valid, an
    d has a corresponding options block in the model QC file
    Commentary: Could not find commentary data file 'maps/de_nuke_se_commentary.txt'
    .
    GameTypes: could not find matching map "de_nuke_se".
    -> Reservation cookie 0: reason reserved(yes), clients(no), reservationexpires(
    0.00)
    Server is hibernating

    попробовал добавить в строку запуска волшебный параметр +net_public_adr 178.236.131.44 - всё равно не пашет, те же ошибки
    хотя из инета сервер виден

    все порты снаружи в локалку проброшены, на этом внутреннем ip и порту прекрасно живёт css сервер

    печалька :)

    при этом на внутренний IP из локалки коннектится нормально, но иногда бывает, что тоже не может прицепиться
    Connecting to public(192.168.21.2:27033) ...
    1077.394: Sending UDP connect to public IP 192.168.21.2:27033
    Server using 'public' lobbies, requiring pw no, lobby id 0
    RememberIPAddressForLobby: lobby 0 from address 192.168.21.2:27033
    Server approved grace request...
    Retrying connection to 192.168.21.2:27033, server requires lobby reservation but is unreserved.
    Received game details information from 192.168.21.2:27033...
    GameTypes: could not find matching map "de_nuke_se".
    [MM] Sending reservation request to 192.168.21.2:27033
    Connecting to public(192.168.21.2:27033) ...
    1079.436: Sending UDP connect to public IP 192.168.21.2:27033
    Server using 'public' lobbies, requiring pw no, lobby id 1860000539ce1cd
    RememberIPAddressForLobby: lobby 1860000539ce1cd from address 192.168.21.2:27033
    Connected to 192.168.21.2:27033

    Counter-Strike: Global Offensive
    Map: de_nuke_se
    Players: 1 (0 bots) / 10 humans
    Build: 5030
    Server Number: 5
     
    Последнее редактирование: 17 авг 2012