AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [CSGO] Map change errors (https://forums.alliedmods.net/showthread.php?t=322898)

DonSirk 04-07-2020 02:32

[CSGO] Map change errors
 
I recently rented a CSGO server from gameservers and made it a minigames. When I change maps through sourcemod admin, it changes to that map, loads then when you enter a team it changes the map automatically. On another map, it loads then when picking a team, it keeps changing to that map. No one can join at all. I have removed nextmap.smx from my plugins. Also another problem is with the store plugin, when people get credits and the server either restarts or changes maps, their credits are gone. Do i need a MYSQL database for it?

Here is a list of plugins I run
  • admin-flatfile.smx
  • adminhelp.smx
  • adminmenu.smx
  • antiflood.smx
  • basebans.smx
  • basechat.smx
  • basecomm.smx
  • basecommands.smx
  • basetriggers.smx
  • basevotes.smx
  • clientprefs.smx
  • dailycredits.smx
  • dailycredits_mysql.smx
  • funcommands.smx
  • funvotes.smx
  • mapchooser.smx
  • noblock.smx
  • nobots_enforcer.smx
  • nominations.smx
  • noscope_gotcha 1.2.2.smx
  • playercommands.smx
  • reservedslots.smx
  • rockthevote.smx
  • sounds.smx
  • StopMusic.smx
  • store-trade.smx
  • store.smx
  • [Store] Noscope Credits.smx

Also there are the maps,
  • mg_awp_multigames_csgo.bsp
  • mg_azure.bsp
  • mg_bomberman.bsp
  • mg_cutie_multigames_v1.bsp
  • mg_gruber_multigames.bsp
  • mg_he_kill_ct_csgo.bsp
  • mg_lego_multigames_v9.bsp
  • mg_lego_multigames_v9.nav
  • mg_lt_galaxy_csgo_v1.bsp
  • mg_mario_galaxy_v2_fix.bsp
  • mg_mario_party_v3_1.bsp
  • mg_mikis_multigames2_beta.bsp
  • mg_nature_multigames_v2.bsp
  • mg_pauls_smash_reborn_v1.bsp
  • mg_siberdev_2.bsp
  • mg_sonic_multigames.bsp
  • mg_swag_multigames_v7.bsp
  • nobots_enforcer.smx
  • nominations.smx
  • noscope_gotcha 1.2.2.smx
  • mg_thc_lego_multimap_v4_3.bsp
  • mg_wl_multigames_csgo_v1.bsp
  • mg_yolo_multigames_v2_1.bsp


The game mode is set to casual also

Here is the server.cfg

Code:

game_mode 0;
game_type 0;
exec gamemode_competitive;
sv_enablebunnyhopping 1
sv_password ""
sv_broadcast_ugc_downloads 1
sv_broadcast_ugc_download_progress_interval 5
sv_hibernate_ms "20"
sv_hibernate_ms_vgui "20"
sv_hibernate_postgame_delay "5"
sv_hibernate_punt_tv_clients "0"
sv_hibernate_when_empty 0
host_players_show 2
sv_max_queries_sec 6
sv_setsteamaccount "CODE IS HERE (removed)"
sv_downloadurl "WEBSITE (The fastDL works)"
sv_allowdownload 1
sv_allowupload 1
sv_pure 0
mp_do_warmup_period 0
sv_accelerate 10
sv_airaccelerate 800

Here is the game mode config

Code:

mp_warmuptime 0
bot_autodifficulty_threshold_high                                        0.0        // Value between -20.0 and 20.0 (Amount above avg human contribution score, above which a bot should lower its difficulty)
bot_autodifficulty_threshold_low                                        -2.0        // Value between -20.0 and 20.0 (Amount below avg human contribution score, below which a bot should raise its difficulty)
bot_chatter                                                                                        normal
bot_defer_to_human_goals                                                        0
bot_defer_to_human_items                                                        1
bot_difficulty                                                                                1
bot_quota                                                                                        10
bot_quota_mode                                                                                fill
cash_player_bomb_defused                                                        200
cash_player_bomb_planted                                                        200
cash_player_damage_hostage                                                        -30
cash_player_interact_with_hostage                                        300
cash_player_killed_enemy_default                                        200
cash_player_killed_enemy_factor                                                0.5
cash_player_killed_hostage                                                        -1000
cash_player_killed_teammate                                                        -300
cash_player_rescued_hostage                                                        1000
cash_team_elimination_bomb_map                                                2700
cash_team_elimination_hostage_map_t                                        2000
cash_team_elimination_hostage_map_ct                                2300
cash_team_hostage_alive                                                                0
cash_team_hostage_interaction                                                500
cash_team_loser_bonus                                                                2400
cash_team_loser_bonus_consecutive_rounds                        0
cash_team_planted_bomb_but_defused                                        200
cash_team_rescued_hostage                                                        0
cash_team_terrorist_win_bomb                                                2700
cash_team_win_by_defusing_bomb                                                2700
cash_team_win_by_hostage_rescue                                                3000
cash_team_win_by_time_running_out_hostage                        2000
cash_team_win_by_time_running_out_bomb                                2700
ff_damage_reduction_bullets                                                        0
ff_damage_reduction_grenade                                                        0
ff_damage_reduction_grenade_self                                        0
ff_damage_reduction_other                                                        0
mp_afterroundmoney                                                                        0
mp_buytime                                                                                        45
mp_buy_anywhere                                                                                0
mp_buy_during_immunity                                                                0
mp_death_drop_defuser                                                                1       
mp_death_drop_grenade                                                                2                        // 0=none, 1=best, 2=current or best
mp_death_drop_gun                                                                        1                        // 0=none, 1=best, 2=current or best
mp_defuser_allocation                                                                2                        // 0=none, 1=random, 2=everyone
mp_force_pick_time                                                                        15
mp_forcecamera                                                                                0                        // Set to 1 for team only spectating.
mp_free_armor                                                                                2                       
mp_freezetime                                                                                1
mp_friendlyfire                                                                                1
mp_win_panel_display_time                                                        3
mp_ggprogressive_round_restart_delay                                15
mp_ggtr_bomb_defuse_bonus                                                        1
mp_ggtr_bomb_detonation_bonus                                                1
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
mp_ggtr_bomb_respawn_delay                                                        0
mp_ggtr_end_round_kill_bonus                                                1
mp_ggtr_halftime_delay                                                                0.0
mp_ggtr_last_weapon_kill_ends_half                                        0
mp_respawn_immunitytime                                                                0
mp_halftime                                                                                        0
mp_match_can_clinch                                                                        1                        // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_maxmoney                                                                                        10000
mp_maxrounds                                                                                15
mp_molotovusedelay                                                                        0
mp_playercashawards                                                                        1
mp_roundtime                                                                                3
mp_roundtime_hostage                                                                2
mp_roundtime_defuse                                                                        2.25                        // Typical ValveOfficial Casual defuse rounds are 90-100 seconds.
mp_solid_teammates                                                                        2
mp_startmoney                                                                                1000
mp_teamcashawards                                                                        1
mp_timelimit                                                                                0
//mp_warmuptime                                                                                90               
mp_weapons_allow_zeus                                                                1
mp_weapons_allow_typecount                                                        2
spec_freeze_panel_extended_time                                                0
spec_freeze_time                                                                        3.0
sv_allow_votes                                                                                1                // Voting allowed in this mode
sv_talk_enemy_living                                                                0
sv_talk_enemy_dead                                                                        1               
sv_arms_race_vote_to_restart_disallowed_after                0
sv_vote_to_changelevel_before_match_point                        1               
sv_deadtalk                                                                                        0
sv_ignoregrenaderadio                                                                0
tv_delay                                                                                        30
mp_warmup_pausetimer                                                                0
mp_halftime_pausetimer                                                                0
mp_randomspawn                                                                                0
mp_randomspawn_los                                                                        0
sv_infinite_ammo                                                                        0
ammo_grenade_limit_flashbang                                                1
ammo_grenade_limit_total                                                        3
//
//
mp_weapons_allow_map_placed                                                        1
mp_weapons_glow_on_ground                                                        0
mp_display_kill_assists                                                                1
mp_respawn_on_death_t                                                                0
mp_respawn_on_death_ct                                                                0
mp_ct_default_melee                                                                        weapon_knife
mp_ct_default_secondary                                                                weapon_hkp2000
mp_ct_default_primary                                                                ""
mp_t_default_melee                                                                        weapon_knife
mp_t_default_secondary                                                                weapon_glock
mp_t_default_primary                                                                ""
mp_default_team_winner_no_objective                                        -1                // 2 == CTs, 3 == Ts

sv_occlude_players                                                                1
occlusion_test_async                                                                1

spec_replay_enable                                                                1
mp_round_restart_delay                                                                10  // need more time for replay


Bacardi 04-07-2020 05:27

Re: [CSGO] Map change errors
 
You could first make little "fixes" with your server configs.

- Remove all exec *.cfg from cfg files and server command line (+exec *.cfg).
This could give you hard time to debug problems.

- Just to remind,
game_mode 0; game_type 0; in server.cfg will keep your game in casual mode, even what ever you do to change to another mode, it's always casual.
Remember that in future.

- Don't edit Valve's game mode configuration files (ex. gamemode_casual.cfg), because SteamCMD upgrade will overwrite those files back to default.
You need create and use game mode override file, gamemode_casual_server.cfg, from here your cvars override Valve's game mode settings.
= List of CS:GO Cvars may not work from server.cfg

Also, you can use gamemode_casual_server.cfg as like "server.cfg".

- If so odd reason you need use competitive config file, change your game to competitive mode
game_type 0; game_mode 1


I "draw" a little "picture" or "map", what cfg files work in which game modes.
https://forums.alliedmods.net/showpo...29&postcount=8


But start those fixes first.


*edit
There are some shady custom maps which change map to another... they try to keep them as "private" map in they community.

DonSirk 04-11-2020 00:19

Re: [CSGO] Map change errors
 
Quote:

Originally Posted by Bacardi (Post 2691345)
You could first make little "fixes" with your server configs.

- Remove all exec *.cfg from cfg files and server command line (+exec *.cfg).
This could give you hard time to debug problems.

- Just to remind,
game_mode 0; game_type 0; in server.cfg will keep your game in casual mode, even what ever you do to change to another mode, it's always casual.
Remember that in future.

- Don't edit Valve's game mode configuration files (ex. gamemode_casual.cfg), because SteamCMD upgrade will overwrite those files back to default.
You need create and use game mode override file, gamemode_casual_server.cfg, from here your cvars override Valve's game mode settings.
= List of CS:GO Cvars may not work from server.cfg

Also, you can use gamemode_casual_server.cfg as like "server.cfg".

- If so odd reason you need use competitive config file, change your game to competitive mode
game_type 0; game_mode 1


I "draw" a little "picture" or "map", what cfg files work in which game modes.
https://forums.alliedmods.net/showpo...29&postcount=8


But start those fixes first.


*edit
There are some shady custom maps which change map to another... they try to keep them as "private" map in they community.

Thank you so much for your help. I did the above and it worked.

Bacardi 04-11-2020 00:56

Re: [CSGO] Map change errors
 
Nice to hear


All times are GMT -4. The time now is 23:53.

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