/MapleShark2

MapleShark2 is a MapleStory2 sniffer that works with SharpPcap. Sniff dem packetzz!

Primary LanguageC#GNU Lesser General Public License v3.0LGPL-3.0

MapleShark2

Scripting

Scripting uses IronPython 3.4.0-beta1 https://github.com/IronLanguages/ironpython3

See script_api.py for more details.

sys.path is set to use the Scripts/ directory as well as the corresponding LOCALE/VERSION/ directory to search for modules. Modules included in a subdirectory of these path directories will need an __init__.py file to be detected. Any changes to modules in these paths will cause the ScriptEngine to be reloaded so that new changes can be used.

  • Scripts/: Version agnostic functions to be shared by all scripts.
  • LOCALE/VERSION: Version specific functions to be used only by containing directory.

script_api.py and common.py are imported at ScriptEngine construction for quicker responsiveness when using them.