Jump to content
  • 0

How to disable client commands like /effect


caspe

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/26/17
  • Last Seen:  

Hello i want to disable command like /effect and /lightmap, i don't want let user off light map. I have searched forum but not able to find a way. I tried to change cmdinfo.lub but it just remove command from command list, user still able use that command using chat.

Or is there is anyway to make map does not allow to /lightmap off.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  418
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

You can disable these by modifying the client; zeroing-out the two strings should be enough to prevent the client from recognizing these.

Note however, that these commands are primarily made to reduce lag on low-spec computers, so disabling them might cripple the game experience of some players.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  298
  • Reputation:   47
  • Joined:  03/30/13
  • Last Seen:  

5 hours ago, caspe said:

Hello i want to disable command like /effect and /lightmap, i don't want let user off light map. I have searched forum but not able to find a way. I tried to change cmdinfo.lub but it just remove command from command list, user still able use that command using chat.

Or is there is anyway to make map does not allow to /lightmap off.

I think it need hexing your client

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/26/17
  • Last Seen:  

Yes, thanks for reply

I have made custom map which has dark theme and some light effect, without those light effects the map which i have created look ridiculous, i have special idea for map which i created so it require to keep lightmap on.

What should i have to do to disable lightmap on/off feature? (if hexing client work, then what should i have to change?)

or maybe something like editing map to not allow lightmap on/off feature.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/26/17
  • Last Seen:  

Ok solved by hexing client

But i like to know if there is any way to make map which does not provide lightmap on/off functionality even if user do lightmap on/off the map does not change it's light effect.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  418
  • Reputation:   354
  • Joined:  11/11/11
  • Last Seen:  

Not without excessive modifications of the client.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...