Anmelden

Archiv verlassen und diese Seite im Standarddesign anzeigen : Gamemodes_Server.txt Ich raff es nicht trotz Tut... bitte um Hilfe :)



oRxx
23. Mai 2015, 23:36
Hey wie im Topic beschrieben habe Ich mir das Tutorial hier angeschaut: http://cs.ingame.de/news/csgo/csgo-server-befehle-gamemodes_server-txt/

Doch trotz 4fachen lesens dieses Tuts werd Ich nicht schlau draus...

meine GameModes_Server.txt


"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{

"casual"
{

"maxplayers" "22"

"exec"
{
"exec" "server.cfg"

}
"mapgroupsMP"
{
"my_mapgroup" ""

}

}
"competetive"
}

"maxplayers" "8"
"

exec"
{
"exec" "server.cfg"

}
"mapgroupsMP"
{
"my_mapgroup" ""

}
}
}
}
}
"mapgroups"
{
"my_mapgroup"
{
"name" "my_mapgroup"
"maps"
{
"de_dust2" ""
}
}
}
}


Und Ich bekomm folgendes als ausgabe in der console.log

console.log:



---- Host_NewGame ----
Host_NewGame on map de_dust2
L 05/23/2015 - 23:32:26: -------- Mapchange to de_dust2 --------
CGameEventManager::AddListener: event 'teamplay_win_panel' unknown.
CGameEventManager::AddListener: event 'teamplay_restart_round' unknown.
CGameEventManager::AddListener: event 'arena_win_panel' unknown.
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file gamemodes_server.txt
GameModes_Server.txt, gameTypes, classic, gameModes, competetive, (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt
(*GameModes_Server.txt*), (*gameTypes*), (*classic*), (*mapgroupsMP*), (*my_mapgroup*), (*casual*), (*mapgroupsMP*),
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
ConVarRef room_type doesn't point to an existing ConVar
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_quota - 10
bot_quota_mode - normal
bot_allow_grenades - 1
bot_allow_pistols - 1
bot_allow_sub_machine_guns - 1
bot_allow_shotguns - 1
bot_allow_rifles - 1
bot_allow_snipers - 1
bot_allow_machine_guns - 1
mp_playercashawards - 1
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_player_get_killed - 0
mp_teamcashawards - 1
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_t - 1000
cash_team_elimination_hostage_map_ct - 2000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
mp_afterroundmoney - 0
mp_buytime - 90
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_startmoney - 800
mp_maxmoney - 16000
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_defuser_allocation - 0
mp_give_player_c4 - 1
mp_free_armor - 0
mp_molotovusedelay - 15.0
mp_weapons_allow_zeus - 1
mp_weapons_allow_map_placed - 0
mp_weapons_glow_on_ground - 0
mp_ct_default_melee - weapon_knife
mp_ct_default_secondary - weapon_hkp2000
mp_ct_default_primary -
mp_ct_default_grenades -
mp_t_default_melee - weapon_knife
mp_t_default_secondary - weapon_glock
mp_t_default_primary -
mp_t_default_grenades -
mp_buy_allow_grenades - 1
mp_freezetime - 6
mp_force_pick_time - 15
mp_halftime - 0
mp_match_can_clinch - 1
mp_maxrounds - 0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_timelimit - 5
mp_warmuptime - 30
mp_warmup_pausetimer - 0
mp_halftime_pausetimer - 0
mp_default_team_winner_no_objective - -1
mp_hostagepenalty - 10
mp_solid_teammates - 1
sv_allow_votes - 1
sv_alltalk - 0
sv_deadtalk - 0
sv_ignoregrenaderadio - 0
mp_teammates_are_enemies - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_friendlyfire - 0
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_limitteams - 2
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 5.0
mp_forcecamera - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_t - 0
mp_respawn_on_death_ct - 0
mp_display_kill_assists - 1
mp_use_respawn_waves - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_randomspawn - 0
mp_randomspawn_los - 1
mp_radar_showall - 0
mp_force_assign_teams - 0
sv_gravity - 800
sv_accelerate - 5.5
sv_stopspeed - 80
sv_airaccelerate - 12
sv_wateraccelerate - 10
sv_waterfriction - 1
sv_friction - 5.2
sv_bounce - 0
sv_maxvelocity - 3500
sv_maxspeed - 320
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_bomb_defuse_bonus - 1.0
mp_ggtr_bomb_detonation_bonus - 1.0
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
Executing dedicated server config file
exec: couldn't exec gamemode_casual_server.cfg
PrecacheScriptSound 'atv_impact_medium' failed, no such sound script entry
L 05/23/2015 - 23:32:27: [SM] Native "GetEdictClassname" reported: Invalid edict (2049 - -1905457151)
L 05/23/2015 - 23:32:27: [SM] Displaying call stack trace for plugin "NadeTails.smx":
L 05/23/2015 - 23:32:27: [SM] [0] Line 334, /home/forums/content/files/2/4/8/3/8/6/133755.attach::OnEntitySpawned()
L 05/23/2015 - 23:32:27: [SM] Native "GetEdictClassname" reported: Invalid edict (2050 - -388888574)
L 05/23/2015 - 23:32:27: [SM] Displaying call stack trace for plugin "NadeTails.smx":
L 05/23/2015 - 23:32:27: [SM] [0] Line 334, /home/forums/content/files/2/4/8/3/8/6/133755.attach::OnEntitySpawned()
L 05/23/2015 - 23:32:27: [SM] Native "GetEdictClassname" reported: Invalid edict (2051 - -1773008893)
L 05/23/2015 - 23:32:27: [SM] Displaying call stack trace for plugin "NadeTails.smx":
L 05/23/2015 - 23:32:27: [SM] [0] Line 334, /home/forums/content/files/2/4/8/3/8/6/133755.attach::OnEntitySpawned()
L 05/23/2015 - 23:32:27: [SM] Native "GetEdictClassname" reported: Invalid edict (2052 - -1234696188)
L 05/23/2015 - 23:32:27: [SM] Displaying call stack trace for plugin "NadeTails.smx":
L 05/23/2015 - 23:32:27: [SM] [0] Line 334, /home/forums/content/files/2/4/8/3/8/6/133755.attach::OnEntitySpawned()
Commentary: Could not find commentary data file 'maps/de_dust2_commentary.txt'.
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 730
dlopen failed trying to load:
/root/.steam/sdk32/steamclient.so
with error:
/root/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Setting breakpad minidump AppID = 740
Logging into anonymous gameserver account.
Connection to Steam servers successful.
Public IP is 88.198.65.143.
Assigned anonymous gameserver Steam ID [A:1:3448226816(5509)].
VAC secure mode is activated.
GC Connection established for server version 179, instance idx 1
Sat May 23 23:32:48 CEST 2015: Server Quit


Ich hoffe es kann mir hier jemand helfen bei dem Problem.

MFG oRxx

Rettungszwerg
24. Mai 2015, 01:59
Versuche mal in der Server.cfg nur dein Hostname rcon passwort SV passwort einzubauen und die complett andere config raus zumachen und da extra cfg machen z.b autoexec.cfg

oRxx
24. Mai 2015, 05:37
Ne hab den Fehler schon gefunden... Aber danke dir trotzdem :)

Lag an der Gamemodes_Server.txt Valve ist auch einfach nur Inkompetent >.<

In der gamemodes_server.txt.example fehlt in Zeile 123 oder 132 weiß es grade nicht mehr genau 1 Klammer...

Sieht jetzt so aus und geht einwandfrei :)

// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt

"GameModes_Server.txt"{"gameTypes"{"classic"{"gameModes"{

/////////////////////////////////////////
// COMPETITIVE
/////////////////////////////////////////
"competitive"{


"maxplayers" "20" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
// Any config files listed here will be executed after the ones in gamemodes.txt.

"exec" "server.cfg"
}

"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_aim" ""
}


}
/////////////////////////////////////////
// CASUAL
/////////////////////////////////////////
"casual"{



"maxplayers" "20"

"exec"
{
"exec" "server.cfg"
}

"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"mg_aim" ""
}



}}}"gungame"{"gameModes"{

/////////////////////////////////////////
// ARMS RACE
/////////////////////////////////////////
"gungameprogressive"{



"maxplayers" "10"

// These are the configs that get executed when a game mode of this type is created
"exec"
{
"exec" "server_last.cfg"
}

"mapgroupsMP"
{
"mg_armsrace" ""
}

"weaponprogression_ct"
{
"deagle" { "kills" "5" }
"awp" { "kills" "5" }
"knifegg" { "kills" "1" }
}

"weaponprogression_t"
{
"deagle" { "kills" "5" }
"awp" { "kills" "5" }
"knifegg" { "kills" "1" }
}



/////////////////////////////////////////
// DEMOLITION
/////////////////////////////////////////
"gungametrbomb"
{


"maxplayers" "10"

// These are the configs that get executed when a game mode of this type is created
"exec"
{
"exec" "server_last.cfg"
}

"mapgroupsMP"
{
"mg_demolition" ""
}

"weaponprogression_ct"
{
"m4a1" { "kills" "1" }
"awp" { "kills" "1" }
"Scar20" { "kills" "1" }
}

"weaponprogression_t"
{
"ak47" { "kills" "1" }
"awp" { "kills" "1" }
"g3sg1" { "kills" "1" }
}


}}}}}

//////////////////////////////////////////////////////////////////////////////////////////////
// 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_aim" // mapgroup definition
{
"name" "mg_aim"
"maps"
{
"aim_deagle" ""
"aim_deagle8k_go" ""
"aim_redline" ""
"aim_map" ""
"aim_dust_go" ""
"aim_glockon" ""
"aim_map2_go" ""
"aim_mini_dust" ""
"aim_shootout" ""
}
}
}
}