AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Cheat commands that require sv_cheats 1 (https://forums.alliedmods.net/showthread.php?t=105027)

triggerman 12-17-2009 11:49

Re: Cheat commands without sv_cheats 1
 
Quote:

Originally Posted by hommayudi (Post 1019770)
work in l4d2???

yes

hommayudi 12-17-2009 12:44

Re: Cheat commands without sv_cheats 1
 
Quote:

L 12/17/2009 - 15:42:27: [SM] Native "FakeClientCommand" reported: Client index 0 is invalid
L 12/17/2009 - 15:42:27: [SM] Displaying call stack trace for plugin "sm_cheat.smx":
L 12/17/2009 - 15:42:27: [SM] [0] Line 38, /home/groups/alliedmodders/forums/files/5/3/3/0/9/51133.attach::PerformCheatCommand()
L 12/17/2009 - 15:42:27: [SM] [1] Line 27, /home/groups/alliedmodders/forums/files/5/3/3/0/9/51133.attach::Command_cheat_command()
I get this error when i type a command

triggerman 12-25-2009 15:43

Re: Cheat commands without sv_cheats 1
 
Quote:

Originally Posted by triggerman (Post 1019288)
when i use the command, any cheat protected cvar are reset back to default.

anyway to fix that?

psychonic 12-27-2009 10:34

Re: Cheat commands without sv_cheats 1
 
EHG:
I can't find anything that your plugin does that devicenull's Admin Cheats does not already do
http://forums.alliedmods.net/showthread.php?t=81101

Am I missing something?

EHG 01-05-2010 10:47

Re: Cheat commands without sv_cheats 1
 
Quote:

Originally Posted by psychonic (Post 1032788)
EHG:
I can't find anything that your plugin does that devicenull's Admin Cheats does not already do
http://forums.alliedmods.net/showthread.php?t=81101

Am I missing something?

devicenull's Admin Cheats removes the cheat flag from commands. Mine does something completely different.
What this plugin does is set sv_cheats to 1, runs the command, and then sets sv_cheats back to 0 without ever sending sv_cheat activity to the client.
This is a useful tool for using commands like ent_fire and ent_setname that do not work just by removing their cheat flag.

EHG 01-05-2010 11:07

Re: Cheat commands without sv_cheats 1
 
Quote:

Originally Posted by hommayudi (Post 1019770)
work in l4d2???

Quote:

Originally Posted by EHG (Post 1017812)
Left 4 Dead 2 forces sv_cheats 0 while the server is reserved with a lobby.
Since this plugin relies on being able to change sv_cheats it is not working.

You must unreserve the server from the lobby in order to use cheats.

You can do this with the Left 4 Downtown extension:
http://forums.alliedmods.net/showthread.php?t=91132
and this plugin
http://forums.alliedmods.net/showthread.php?t=94415


------------------------------


Quote:

Originally Posted by triggerman (Post 1019288)
when i use the command, any cheat protected cvar are reset back to default.

The only cvar being changed here is sv_cheats. I am assuming you are talking about l4d2 enforcing sv_cheats 0, if so..

Quote:

Originally Posted by EHG (Post 1017812)
Left 4 Dead 2 forces sv_cheats 0 while the server is reserved with a lobby.
Since this plugin relies on being able to change sv_cheats it is not working.

You must unreserve the server from the lobby in order to use cheats.

if not, explain further.


------------------------------


Quote:

Originally Posted by hommayudi (Post 1019878)
I get this error when i type a command

Tell me exactly what command you used, in what game, was it on a dedicated server..etc

triggerman 01-05-2010 16:15

Re: Cheat commands without sv_cheats 1
 
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.

EHG 01-06-2010 10:23

Re: Cheat commands without sv_cheats 1
 
Quote:

Originally Posted by triggerman (Post 1044272)
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.

Webpadawan 01-06-2010 14:30

Re: Cheat commands that require sv_cheats 1
 
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!

Marchello 01-22-2010 12:42

Re: Cheat commands that require sv_cheats 1
 
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


All times are GMT -4. The time now is 13:50.

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