Raised This Month: $ Target: $400
 0% 

Cheat commands that require sv_cheats 1


Post New Thread Reply   
 
Thread Tools Display Modes
Author
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Plugin ID:
1192
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    64 
    Plugin Description:
    Use commands that require sv_cheats 1 to be enabled server side
    Old 01-06-2010 , 10:23   Re: Cheat commands without sv_cheats 1
    Reply With Quote #1

    Quote:
    Originally Posted by triggerman View Post
    on l4d and l4d2 when cheats are set back to 0, all cvars that are cheat protected also change back to there default.

    that means any sm_cvar changes that are in the server.cfg are reset when this command is used.
    I'll add support for a config that executes each time after you run the command so you can list all cvars there.
    That should resolve this problem.
    EHG is offline
    Webpadawan
    New Member
    Join Date: Jan 2010
    Old 01-06-2010 , 14:30   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #2

    I use a lot the "sv cheats 1" AND "cmd2 sb_takecontrol <character name>" for change that (i hate it) random select, when I use the splitmode trick in Left 4 Dead 1.

    This still work for Left 4 Dead 2?


    Its OK something like this or Im so wrong?:

    "sm_cheat cmd2 sb_takecontrol <character name>"


    Thanks in advance


    -sorry for my bad english-




    EDIT:
    Works pretty good for sb_takecontrol in player 1 and in the cmd2, great plug in, keep the good work, thanks!

    Last edited by Webpadawan; 01-07-2010 at 13:36.
    Webpadawan is offline
    Marchello
    Senior Member
    Join Date: Jan 2010
    Old 01-22-2010 , 12:42   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #3

    Didn't work on l4d2
    this what I got after typing sm_cheat give adrenaline in the console:
    Code:
    L 01/22/2010 - 23:40:04: [SM] Native "FakeClientCommand" reported: Client index 0 is invalid
    L 01/22/2010 - 23:40:04: [SM] Displaying call stack trace for plugin "sm_cheat.smx":
    L 01/22/2010 - 23:40:04: [SM]   [0]  Line 38, /home/groups/alliedmodders/forums/files/5/3/3/0/9/51133.attach::PerformCheatCommand()
    L 01/22/2010 - 23:40:04: [SM]   [1]  Line 27, /home/groups/alliedmodders/forums/files/5/3/3/0/9/51133.attach::Command_cheat_command()
    I tried with quotes, the other commands, didn't work at all
    Marchello is offline
    InFaility Ward
    Member
    Join Date: Jan 2010
    Old 01-23-2010 , 14:31   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #4

    this sounds good, I could use this in L4D2 to spawn a zombie and it wouldn't show the message cheat 1 to the clients?
    InFaility Ward is offline
    natex2012
    Member
    Join Date: Dec 2009
    Old 02-01-2010 , 05:28   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #5

    hi. can u tell me if this will work with this tf2 cmmd... ent_fire !picker setparent !player

    like.... sm_cheat ent_fire !picker setparent !player
    natex2012 is offline
    EHG
    Senior Member
    Join Date: May 2009
    Location: 127.0.0.1
    Old 02-04-2010 , 09:36   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #6

    Quote:
    Originally Posted by InFaility Ward View Post
    this sounds good, I could use this in L4D2 to spawn a zombie and it wouldn't show the message cheat 1 to the clients?
    commands like z_spawn only need their cheat flag removed, use http://forums.alliedmods.net/showthread.php?t=81101 instead

    Quote:
    Originally Posted by natex2012 View Post
    hi. can u tell me if this will work with this tf2 cmmd... ent_fire !picker setparent !player

    like.... sm_cheat ent_fire !picker setparent !player
    yes

    Last edited by EHG; 04-07-2010 at 10:08.
    EHG is offline
    amohanlall32
    SourceMod Donor
    Join Date: Sep 2009
    Location: Female
    Old 03-16-2010 , 16:48   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #7

    Would this be able to be used to spawn bots in TF2 and still allow them to be used for achievements?

    Or will achievements be deactivated because the plugin sets the server to sv_cheats 1?
    amohanlall32 is offline
    EHG
    Senior Member
    Join Date: May 2009
    Location: 127.0.0.1
    Old 04-07-2010 , 09:48   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #8

    1.2 update released, added config to be executed after running the command to set custom cvars in L4D2 after they are reset.

    Quote:
    Originally Posted by amohanlall32 View Post
    Would this be able to be used to spawn bots in TF2 and still allow them to be used for achievements?

    Or will achievements be deactivated because the plugin sets the server to sv_cheats 1?
    The achievements sv_cheats check is client side. Since this plugin does not send sv_cheat activity to the client achievements will still work.
    Something like this is not hard to test, waste of time asking here
    Go test it and tell us if it works.
    EHG is offline
    Dispenser
    New Member
    Join Date: Aug 2010
    Old 08-22-2010 , 14:02   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #9

    After one of the newest L4D2 updates, this addon's broken. Any chance you're going to fix it?

    Thanks in advance.
    Dispenser is offline
    aaronlink127
    Junior Member
    Join Date: May 2014
    Old 06-20-2014 , 16:41   Re: Cheat commands that require sv_cheats 1
    Reply With Quote #10

    Both of the examples you named (ent_fire and ent_setname) work with just removing the cheat flag, well, atleast when i removed the cheat flag manually.
    aaronlink127 is offline
    Reply



    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 09:48.


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