Raised This Month: $32 Target: $400
 8% 

Cheat commands that require sv_cheats 1


Post New Thread Reply   
 
Thread Tools Display Modes
triggerman
Senior Member
Join Date: Jun 2009
Old 12-17-2009 , 11:49   Re: Cheat commands without sv_cheats 1
Reply With Quote #21

Quote:
Originally Posted by hommayudi View Post
work in l4d2???
yes
triggerman is offline
hommayudi
Member
Join Date: Sep 2009
Old 12-17-2009 , 12:44   Re: Cheat commands without sv_cheats 1
Reply With Quote #22

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:erformCheatCommand()
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
__________________
Sorry for my BAD english
hommayudi is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 12-25-2009 , 15:43   Re: Cheat commands without sv_cheats 1
Reply With Quote #23

Quote:
Originally Posted by triggerman View Post
when i use the command, any cheat protected cvar are reset back to default.
anyway to fix that?
triggerman is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-27-2009 , 10:34   Re: Cheat commands without sv_cheats 1
Reply With Quote #24

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?
psychonic is offline
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Old 01-05-2010 , 10:47   Re: Cheat commands without sv_cheats 1
Reply With Quote #25

Quote:
Originally Posted by psychonic View Post
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 is offline
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Old 01-05-2010 , 11:07   Re: Cheat commands without sv_cheats 1
Reply With Quote #26

Quote:
Originally Posted by hommayudi View Post
work in l4d2???
Quote:
Originally Posted by EHG View Post
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 View Post
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 View Post
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 View Post
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

Last edited by EHG; 04-07-2010 at 10:04.
EHG is offline
triggerman
Senior Member
Join Date: Jun 2009
Old 01-05-2010 , 16:15   Re: Cheat commands without sv_cheats 1
Reply With Quote #27

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.
__________________
triggerman is offline
EHG
Senior Member
Join Date: May 2009
Location: 127.0.0.1
Old 01-06-2010 , 10:23   Re: Cheat commands without sv_cheats 1
Reply With Quote #28

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 #29

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 #30

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
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 23:36.


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