Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   disabling certain player commands (https://postpacific.loc-online.com/showthread.php?t=504)

avatard 26.04.2005 21:09

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?

-sky- 26.04.2005 21:39

Re: disabling certain player commands
 
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

avatard 26.04.2005 21:57

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.

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


All times are GMT. The time now is 15:13.