I told nullb to remove setting the definitionIndex netprop because
- it triggers an SM warning about unsafe plugin regarding valve's rules
- I through it was not necessary.
Seems I was wrong on the second point.
Nullb, when you have the time, could you restore it in weapons.sp?
As of this morning, for some reason ammo does not replenish. I have dm_replenish_ammo 1 and dem_replenish_clip 1 in the deathmatch.ini file. It worked fine yesterday. This morning I go to play in the server and suddenly I'm not getting replenishing clip. (Ammo still replenishes.)
If I type dm_replenish_clip into console it echos "1" back as the value.
I did change some other values earlier, but I can't figure out what I may have fucked up to break the replenishing ammo. I've included the "Cvars" section just in case.
Spoiler
"Cvars"
{
// Remove objectives (disables bomb sites, and removes c4 and hostages).
"dm_remove_objectives" "1"
// Gun menu mode.
// 1) Enabled.
// 2) Disabled.
// 3) Random weapons every round
"dm_gun_menu_mode" "1"
// Enable random item in gun menu
"dm_enable_random_menu" "1"
// Unlimited player ammo.
"dm_replenish_ammo" "1"
"dm_replenish_clip" "1"
// Set replenish below if you don't want replenish on every kill
"dm_replenish_clip_headshot" "0"
"dm_replenish_clip_knife" "0"
"dm_replenish_clip_nade" "1"
// HP per kill.
"dm_hp_kill" "10"
"dm_hp_hs" "20"
"dm_hp_knife" "10"
// Convert HP reward into kevlar/Helmet?
"dm_hp_to_kevlar_mode" "2" // Refill kevlar mode: 0 = Off, 1 = always, 2 = when HP is full.
"dm_hp_to_kevlar_ratio" "0.5"
"dm_hp_to_helmet" "3" // Refill helmet mode: 0 = Off, 1 = always, 2 = when HP is full, 3 when HP and kevlar are full.
// Spawn system (requires DHooks
"dm_randomspawn_internal" "1"
"dm_normalspawn_internal" "1"
// Use LOS for non random spawn
"dm_normalspawn_los" "0"
// Median spawn distance ratio between enemies an teammates
"dm_spawn_median_distance_ratio" "0.17"
"dm_spawn_min_team_distance_ratio" "0.17"