EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=593)
-   -   Code Dev Tool - opcode_handlers.py (https://www.eqemulator.org/forums/showthread.php?t=38603)

Uleat 08-11-2014 07:05 PM

Code Dev Tool - opcode_handlers.py
 
In working on the re-enumeration of the 'Possessions' inventory slots, I found that determining what handlers for the 6.2/Ti clients
were going to need translations was going to be a major pita...

Instead of spending hours of writing down and cross-referencing these, I decided to write a python script to do this.


It's not much, and it's probably not 100% accurate..but, it does do a fair (and quick) job of linking up opcodes to handlers.

Just run it from the location in the repo and it will create an output sub-directory and populate the files.


opcode_handlers.py

Drajor 08-11-2014 11:31 PM

Sounds interesting! Will check this out after work

Uleat 07-18-2018 08:52 PM

Update to script..

- Added 'Common' as a 'server' to parse shared code located in the '../common/' sub-directory
- File discovery has been added over the use of static insertions for handler search locations
- Both code and header files will now be included in the search location criteria
- New inclusions and exclusions have been added as well as implementation of the VERBOSE feature

Uleat 07-20-2018 08:50 PM

Update to script..

- Added 'ServerTalk' opcode parse
- Added a few more 'servers'
- Tweaked inclusion/exclusion code


All times are GMT -4. The time now is 05:10 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.