Jump to content

Script Command to block commands


Moriarty

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

Well, I think that would be very usefull a script command to avoid the player using any command @.

It can be like a pc_blockcommand,0; for unblocked and pc_blockcommand,1;

 

Or a blockcommand; that will avoid using commands while talking to npc.

 

I'm saying this because anti ahk / bot scripts are easily bypassable, as the player can simple use a @warp command to close the npc chat. ( I know you can't write it, but if it's on your alt + m, its usable )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Not if you MUTE the player. Even ALT+M short-cuts are blocked if the player is MUTED. And if the only reason were going to implement this is to make players unable to use commands at X time. Then there is a quick work around.

 

1. Simply Make all Players part of Group 1.

2. Make Group 1 have all the commands you want.

3. When the bot checker or anti-Hack script runs, make it change their group to Group 0. (By default no commands are usable.)

4. If they fail, and get banned or kicked, simply turn their Group back to 1, before doing any of the final charges.

5. If they pass, simply turn their group back to 1.

 

Doing those will effectively mimic what your asking without the need to edit the src. And it is quite simple, it'll only take up a maximum of 15 additional lines. That's pure cake.

 

However, I don't see a problem with such a command being added, it's just your reasoning is invalid. Perhaps if you could give us other examples, where using my work-around method wouldn't be practical than maybe it would be a benefit to rA as a whole. Not just a way to make 2-3scripts better.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

something like this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Sounds good to me.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

i was upload the Mod also the script command
wait for dev to approve



The mod inspired from Cyd and disable_item;
 



here

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   13
  • Joined:  06/20/12
  • Last Seen:  

something like this?

Exactly

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

@GmOcean, you have good point, and PcPocket reason that why I made 'lockcommand' XD

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

I am starting to work on this now.

 

ok, done 0310870

Link to comment
Share on other sites

×
×
  • Create New...