Raised This Month: $12 Target: $400
 3% 

Parser for Sourcemod Handle Dumps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 01-17-2020 , 11:42   Parser for Sourcemod Handle Dumps
Reply With Quote #1

This is a web app, that will parse a sourcemod handle dump, that can be generated with (sm_dump_handles file.txt).
You just need to paste in the content of the file (or upload it), in the textarea of the webpage, and the dump will be parsed giving informations such as: the total memory used by a plugin, how many handles a plugin is using and which is the most used handle type. You can hover the cursor on the handle type to show more detailed information such as the list of all the handles types, how many of them exist and how much memory are they using.
All the table columns can be sorted in ascending or descending order.
After a dump is parsed it is saved in a indexed db, and the web app will keep track of all the previous dumps.




The web app is available here: https://hexer10.github.io/Sourcemod-HandleDumpParser/
Source code: https://github.com/Hexer10/Sourcemod-HandleDumpParser

It is built with Dart and Bootstrap.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 05-29-2020 at 15:06.
Papero is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-17-2020 , 13:13   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #2

This is awesome! I love visualizing data in this format.

One thing:
Spoiler
Maxximou5 is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 01-17-2020 , 13:35   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
This is awesome! I love visualizing data in this format.

One thing:
Spoiler
Thank you, but I don't understand what do you mean with cutting the string length, in the dump the owner name cannot be more than 20 characters long afaik.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 01-17-2020 at 13:36.
Papero is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-17-2020 , 20:57   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #4

Quote:
Originally Posted by Papero View Post
Thank you, but I don't understand what do you mean with cutting the string length, in the dump the owner name cannot be more than 20 characters long afaik.
You're totally correct. My apologies, I didn't realize that wasn't a limitation on your end but simply what's produced from sm_dump_handles.
Maxximou5 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-22-2020 , 16:18   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #5

Nice! Thank you.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-23-2020 , 01:37   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #6

Can you please add ability to save table to external csv file (to be able to compare two tables) ?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 01-23-2020 , 02:09   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #7

Quote:
Originally Posted by Dragokas View Post
Can you please add ability to save table to external csv file (to be able to compare two tables) ?
It is already possible to compare two dumps, just push both tags in the app and in the URL type #ID1-ID2 and it will highlight the changed rows in red.
Later I'll add a way to do that directly in from UI.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-24-2020 , 01:34   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #8

I typed

https://hexer10.github.io/Sourcemod-...umpParser/#1-2

and I got some strange "comparation" (see screenshot).

According this info, I can't see anything useful. I need a number before and a number after.

P.S. At the moment, I just copy-paste to MS Excel. Fits good.
Attached Images
File Type: jpg info.jpg (26.1 KB, 151 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-24-2020 at 01:45.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-24-2020 , 01:42   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #9

It is also good to have a button "remove" all dumps.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 01-31-2020 , 16:10   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #10

Quote:
Originally Posted by Dragokas View Post
I typed

https://hexer10.github.io/Sourcemod-...umpParser/#1-2

and I got some strange "comparation" (see screenshot).

According this info, I can't see anything useful. I need a number before and a number after.

P.S. At the moment, I just copy-paste to MS Excel. Fits good.
I've added an export to CSV button, it will copy the content of the table as csv in your clipboard.
Quote:
Originally Posted by Dragokas View Post
It is also good to have a button "remove" all dumps.
I agree actually this is already in my todo list.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode