PDA

View Full Version : disabling certain player commands


avatard
26.04.2005, 21:09
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?

-sky-
26.04.2005, 21:39
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

avatard
26.04.2005, 21:57
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.

paul
27.04.2005, 02:53
um just out of curosity why would you take out /target? That'd be a very bad idea.

Riane
27.04.2005, 13:13
maybe he wants to stop macros? o.O