View Full Version : disabling certain player commands
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?
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
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.
um just out of curosity why would you take out /target? That'd be a very bad idea.
maybe he wants to stop macros? o.O