Watch
-
Add Favorite
This is not as severe as System Tools plugin but should still not be even installed on a public server.
A word of relief: If you mess up with this script, restarting the server will return everything back to normal, this script itself does not cause any permanent effects. However, when used in certain way, it may block vital operations of other scripts and data loss may occur.
Now that you have been warned, let's get into business. This version creates five console commands that can be used on the server console:
When a script or module is in inspect mode (used i_lib or i_script), any method call done in that module will be printed to server console along with all paramteres passed to it.
When a method is blocked with i_hook, it cannot be called at all, Hax Tools will block any call done to that method until you use i_stop on the module in which the blocked method was.
And so that you do not get wrong idea, this is ONLY for Python scripts and modules. If you wish to debug ES Classic addons, use eventscripts_scripttrace variable instead.
Load with console command es_load haxtools.
Fixed error messages of i_help
( Previous Versions )
Description
WARNING! This script can manipulate and stop other Python modules. DO NOT install it on a public server, use only on private server to debug scripts!This is not as severe as System Tools plugin but should still not be even installed on a public server.
A word of relief: If you mess up with this script, restarting the server will return everything back to normal, this script itself does not cause any permanent effects. However, when used in certain way, it may block vital operations of other scripts and data loss may occur.
Now that you have been warned, let's get into business. This version creates five console commands that can be used on the server console:
- i_script basename
- Start inspecting named script addon
- i_lib module
- Start inspecting named Python module/library
- i_stop name
- Stops inspecting and hooking named module or script
- i_reload name
- Reloads named module or script in Python level.
- Is not the same as es_reload!
- i_hook module.[class.]method
- Blocks selected method.
- The module must be in inspect mode (i_lib or i_script) for this to work.
- i_info module [level]
- Shows you all the names inside the module and their contents if appropriate.
- The display level defaults to 1 (2 if module is a script addon), it specifies how deep inside the module the info should be shown
- Private names, starting with "__", will not be shown
- i_help name
- Displays Python help documentation of the named object (can be module, function, class, etc.)
When a script or module is in inspect mode (used i_lib or i_script), any method call done in that module will be printed to server console along with all paramteres passed to it.
When a method is blocked with i_hook, it cannot be called at all, Hax Tools will block any call done to that method until you use i_stop on the module in which the blocked method was.
And so that you do not get wrong idea, this is ONLY for Python scripts and modules. If you wish to debug ES Classic addons, use eventscripts_scripttrace variable instead.
Installation
Download the file above, extract to your game directory (e.g. cstrike) retaining the folder structure from the ZIP file.Load with console command es_load haxtools.
Version Notes For 1.5 (Announce this update)
Updated on: 2008-04-24 13:19:57 ESTFixed error messages of i_help
( Previous Versions )
Discussion
Forum Link: http://forums.mattie.info/cs/forums/viewtopic.php?t=19628
Addon Details
Upload Addon