Raised This Month: $12 Target: $400
 3% 

[CS:GO] sv_password - bypass players and reserved cookie check


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Plugin ID:
7512
Plugin Version:
23.2.2021
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allow set server password even players are in game
    Old 02-23-2021 , 16:17   [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #1


    - Works until Valve update breaks signature

    As you know, in CS:GO game, you can not set sv_password on server if there are players in game. Need to be empty server.

    This plugin block that check, and allow you set sv_password when ever you like.


    Require DHooks 2 (or DHooks ? I have not tested)
    Downloads: https://github.com/peace-maker/DHooks2/tags
    DHooks 2 post: https://forums.alliedmods.net/showth...86#post2588686


    Tested on Windows and Linux.


    If you experience server crash, please remove this plugin and look again, will it crash anymore.


    *edit
    03.02.2023 - Gamedata file updated
    Attached Files
    File Type: zip csgo_sv_password.zip (6.0 KB, 267 views)
    File Type: txt csgo_sv_password.games.txt (774 Bytes, 67 views)

    Last edited by Bacardi; 02-03-2023 at 16:57.
    Bacardi is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 02-23-2021 , 16:36   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #2

    Interesting
    __________________
    Teamkiller324 is offline
    dran1x
    Junior Member
    Join Date: May 2020
    Old 02-23-2021 , 16:43   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #3

    Nice!!
    dran1x is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 02-23-2021 , 17:00   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #4

    amazing, thanks Bacardi
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 02-23-2021 , 17:03   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #5

    Bonus

    With SourceMod basecommands and admin system, you can "protect" cvar from... low tier admins ? How you call it.

    From server console or config file
    Code:
    sm_cvar protect sv_password
    Admins without admin flag password "L" can not change that cvar.

    Unless, you had given admin sm_rcon or root flag z which make this system useless...
    Bacardi is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 02-23-2021 , 18:33   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #6

    GOOD

    I tried everything here apparently, just a few doubts.

    First, after changing the map the password is automatically removed right?

    Second, if I want to remove the password on the same map in this case, how can I do it, just the blank command?
    paulo_crash is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 02-23-2021 , 18:42   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #7

    Quote:
    Originally Posted by paulo_crash View Post
    GOOD
    Second, if I want to remove the password on the same map in this case, how can I do it, just the blank command?
    sv_password ""
    or
    sv_password "none"
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 02-23-2021 , 18:57   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #8

    Quote:
    Originally Posted by NanoC View Post
    sv_password ""
    or
    sv_password "none"
    Yes, I tried that, it worked, thanks.

    Now the question remains whether the password is automatically removed when the map changes.

    I will test in any case, anything notice here.

    Last edited by paulo_crash; 02-23-2021 at 18:59.
    paulo_crash is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 02-23-2021 , 19:46   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #9

    To make this clear.
    This plugin literally do nothing. It just bypass check so you can set password.
    - What change sv_password cvar is you, another person, server configure file or another plugin.


    If you have set sv_password in your ...cfg/server.cfg (or file what you have set in servercfgfile), it will work automatically every time on map change.

    ...cfg/autoexec.cfg works once when server start.


    [Extra mumble]
    In CS:GO,
    when server is empty and first human player connect to server,
    server actually change level to current map in same time and execute configure files.

    But there is slightly problem,
    if you want remove password using server.cfg but you let or forget sv_password on server and all players go away,
    that password will stay.
    Either bots need to stay in game to play match to the end or
    first human player to connect to server, even with wrong password.


    I guess you need look some kind "per player execute" plugin to execute sv_password when last player left from server from a time.
    Bacardi is offline
    LuqS
    AlliedModders Donor
    Join Date: Jun 2019
    Location: Israel
    Old 02-24-2021 , 02:55   Re: [CS:GO] sv_password - bypass players and reserved cookie check
    Reply With Quote #10

    The signature is not that hard to find, if it breaks some day i can give you the updated signature .
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:
    LuqS is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:22.


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