View Single Post
Old 26.04.2005, 21:57   #3
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default Re: disabling certain player commands

Quote:
Originally Posted by -sky-
Quote:
Originally Posted by avatard
I'd like to disable a command or two (/target mainly) but am having a tough time locating it in the executables, both in the server and the client one. Has anyone had any luck disabling client commands? How would one go about doing it?
Client side:
Delete the appropriate line in the file CommandName-e.txt, for example /target - delete:
cmd_begin id=13 action=[target] cmd=[target] cmd_end
It's kind of you, thanks, but I forgot to mention I am looking for a kind of a not very obvious fix :[ There're quite a few references to 'target" in the packet handler on the serverside, but they all come alongside with stuff I would really like to remain working. I've seen servers running L2off with disabled commands so the fix should be out there somewhere, but I just fail to spot where I should start.
avatard is offline