RSSy MYGO.pl Opublikowano Październik 5, 2021 o 13:39 RSSy Udostępnij Opublikowano Październik 5, 2021 o 13:39 Description:It's a multifunctional plugin, preventing some bugs, game cheats based on !afk & !kill, unique exploits, complicating digital exploration which could lead in unfair competition / further infiltration & adds some functionality. I wrote it some years ago, and recently added all ConVars which can cause some bugs due to not tested well, tell me if any. Features: - blocks "status" command, adds "status2" command which has hidden SteamId (only visible for Root admin), also city can be seen if GeoIPv2 is installed. - blocks sv_steamgroup from been publicly visible - prevents players falling on the ground on finale when they leave in transport - blocks go away and !afk on certain conditions: * been vomited * startle witch * death * incapped * pinned by infected * located on the air * reloads the weapon * start panic * staggered * been healed * defibbed - prevents !kill !suicide when located in the saferoom / at round end - (disabled by default) adds aliases for !afk !join !kill commands (see details in ConVars below) - hides notification from some ConVars, Commands e.t.c. - blocks some exploits Settings (ConVars): Can be found in: cfg/sourcemod/l4d_spec_exploit_fix.cfg PHP Code: // Fix bug when players falling through the transport in finale? (0 - No, 1 - Yes) l4d_sef_fall_transport_fix "1" // Make sv_steamgroup ConVar to be publicly invisible? (0 - No, 1 - Yes) l4d_sef_steam_group_hide "1" // Hide SteamId in status command for non-admins, redirecting it to status2? (0 - No, 1 - Yes) l4d_sef_status_hide_steamid "1" // Minimum time to use status2 command again l4d_sef_status_timeout "30" // Protect from go away cheats (same way as afk cheats)? (0 - No, 1 - Yes) l4d_sef_go_away_protect "1" // Protect from afk cheats? (0 - No, 1 - Yes) l4d_sef_afk_protect "1" // Prevent afk if player startled the witch? (0 - No, 1 - Yes) l4d_sef_afk_witch_startle "1" // Delay while afk cannot be used after player startled the witch l4d_sef_afk_witch_timeout "60" // Prevent afk if player dead? (0 - No, 1 - Yes) l4d_sef_afk_alive "1" // Prevent afk if player incapped? (0 - No, 1 - Yes) l4d_sef_afk_incap "1" // Prevent afk if player pinned by infected? (0 - No, 1 - Yes) l4d_sef_afk_pinned "1" // Prevent afk if player isn't stay on the ground? (0 - No, 1 - Yes) l4d_sef_afk_ground "1" // Prevent afk if player vomited? (0 - No, 1 - Yes) l4d_sef_afk_vomit "1" // Delay while afk cannot be used after player got vomited l4d_sef_afk_vomit_timeout "14" // Prevent afk if player reloading the gun? (0 - No, 1 - Yes) l4d_sef_afk_reload "1" // Prevent afk if player started the panic event? (0 - No, 1 - Yes) l4d_sef_afk_panic "1" // Delay while afk cannot be used after player started the panic l4d_sef_afk_panic_timeout "60" // Prevent afk if player staggered? (0 - No, 1 - Yes) l4d_sef_afk_stagger "1" // Prevent afk if somebody healing the player? (0 - No, 1 - Yes) l4d_sef_afk_heal "1" // Prevent afk if somebody defibbed the player? (0 - No, 1 - Yes) l4d_sef_afk_defib "1" // Delay while afk cannot be used after somebody defibbed the player l4d_sef_afk_defib_timeout "15" // Protect from kill cheats? (0 - No, 1 - Yes) // At the moment protection works against player who try to selfkill in the saferoom and at the end of the round l4d_sef_kill_protect "1" // Add aliases for afk? (0 - No, 1 - Yes) // At the moment, such commands are added: "sm_afk", "sm_away", "sm_idle", "sm_spectate", "sm_spectators", "sm_spectator", "sm_joinspectators", "sm_jointeam1" l4d_sef_afk_alias "0" // Add aliases for join survivor team? (0 - No, 1 - Yes) // At the moment, such commands are added: "sm_survivors", "sm_joinsurvivors", "sm_jointeam2" l4d_sef_join_sur_alias "0" // Add aliases for join infected team? (0 - No, 1 - Yes) // At the moment, such commands are added: "sm_infected", "sm_joininfected", "sm_jointeam3" l4d_sef_join_inf_alias "0" // Add aliases for selfkill? (0 - No, 1 - Yes) // At the moment, such commands are added: "sm_kill", "sm_suicide" l4d_sef_kill_alias "0" // Fix all players idle while joining the server? (0 - No, 1 - Yes) // Can conflict with other plugins which control sb_all_bot_team ConVar l4d_sef_all_players_idle_fix "0" // Hide change notification of some ConVars? (0 - No, 1 - Yes) // At the moment, following commands are silented: "director_no_survivor_bots", "sv_cheats" l4d_sef_notify_hide "0" Tricks: - To prevent console output tearing, the printing line-per-frame method is used. Using:Copy l4d_special_exploit_fixes.smx to addons/sourcemod/plugins Copy spec_exploit_fix.phrases.txt to addons/sourcemod/translations Respect:dr. Lex - help with coding some anti-exploits Lux - help with coding some anti-exploits DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often: - Patreon - BitCoin - Ю.Money Attached Files spec_exploit_fix.phrases.txt (2.2 KB) Get Plugin or Get Source (l4d_special_exploit_fixes.sp - 25.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi