Zipcore / zombiereloaded

Automatically exported from code.google.com/p/zombiereloaded
0 stars 0 forks source link

Console command for listing hooked commands #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is just a small debug feature that might be useful in some cases.

Make a console command that makes a summary of all hooked commands like 
those for suicide prevention and overlay toggle commands.

In addition it could also list all available zombie console commands.

The output could look like this:

Hooked command:
jointeam
...

Zombie commands:
zr_infect
...

Original issue reported on code.google.com by richard.helgeby@gmail.com on 4 Jan 2010 at 6:43

GoogleCodeExporter commented 9 years ago
it is already exists in sm?

rcon sm cmds zombiereloaded

/Darkthrone

Original comment by somberla...@gmail.com on 21 Jan 2010 at 10:20

GoogleCodeExporter commented 9 years ago
That would work for actual commands made by ZR, zr_infect, etc.

But unless SM has a way to dump command listeners for a plugin, then we'll need 
to code 
it specially for them.

Original comment by andrewbo...@gmail.com on 22 Jan 2010 at 12:10

GoogleCodeExporter commented 9 years ago
I don't think we should add this, now looking at it.  Not necessary.  If anyone 
added this it should be SM.

Original comment by andrewbo...@gmail.com on 2 Jul 2011 at 8:43