Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Unlocking specified cvars

- - - - -

  • Please log in to reply
4 replies to this topic

#1
OFFLINE   Geo

Geo

    Regular Member

  • Members
  • PipPipPip
  • 70 posts
12
A step in the right direction
  • LocationUnited Kingdom

Whilst I was working on a script I came up with a particular idea that I think would be quite useful to have available for server administrators.

 

Is it possible to unlock cvars (mainly one's to aid with cheat detection r_shownormals and cg_thirdperson eg) for targeted clients? This could be a new permission flag to coincide with shrubbot, or for use with rcon maybe (if either of those are even possible).

 

It would be useful to be able to use these types of cvars for spectating players suspected of wh for example, it would save time in some cases if a demo was unnecessary (I would usually take a demo for solid proof and use of timestamp etc) but it would allow coherent judgements to be made from spectator position. I could see security issues especially if someone had unauthorised rcon access but I still think it's a worthwhile idea. Thanks.



#2
OFFLINE   Sol

Sol

    Regular Member

  • Coders
  • PipPipPip
  • 113 posts
28
On a distinguished road
  • LocationPoland

Yes, Ineed I already asked about this feature before. In my opinion it would be good to add to lua new function like et.ForceCvar( clientnum, cvar, value ) just to force target client's cvar.

For example, If my lua script detects (cheat cvar) I can't force it off, I just have to force this cvar for all active clients.

 

I could see security issues especially if someone had unauthorised rcon access but I still think it's a worthwhile idea. Thanks.

You could use ET 3.00 or ETENG, I just buildin to them rconfilter, If you enable this only some ip will be able to use rcon.



#3
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland

For example, If my lua script detects (cheat cvar) I can't force it off, I just have to force this cvar for all active clients.

LOL.

if cheat == 1 then ban end



#4
OFFLINE   Sol

Sol

    Regular Member

  • Coders
  • PipPipPip
  • 113 posts
28
On a distinguished road
  • LocationPoland

LOL.

if cheat == 1 then ban end

"cheat cvar" I mean "cheat protected cvar" like cg_gunx or cg_thirdperson for this it's not always necessary to ban.



#5
OFFLINE   Geo

Geo

    Regular Member

  • Members
  • PipPipPip
  • 70 posts
12
A step in the right direction
  • LocationUnited Kingdom

Yes, Ineed I already asked about this feature before. In my opinion it would be good to add to lua new function like et.ForceCvar( clientnum, cvar, value ) just to force target client's cvar.

 

That would suit my purpose fine, and better to give me a way to change specific client's cvars instead of forcing every connected players. I hope that this will be added at some point.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users