Raised This Month: $208 Target: $400
 52% 

Parser for Sourcemod Handle Dumps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 01-17-2020 , 12: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.
__________________
Papero is offline
Send a message via Skype™ to Papero
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-17-2020 , 14: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: Rimini, Italy
Old 01-17-2020 , 14: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.
__________________

Last edited by Papero; 01-17-2020 at 14:36.
Papero is offline
Send a message via Skype™ to Papero
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-17-2020 , 21: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
Old 01-22-2020 , 17:18   Re: Parser for Sourcemod Handle Dumps
Reply With Quote #5

Nice! Thank you.
__________________
Expert of CMD/VBS/VB6. Malware analyst.
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 01-23-2020 , 02: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.
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 01-23-2020 , 03: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.
__________________
Papero is offline
Send a message via Skype™ to Papero
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 01-24-2020 , 02: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, 15 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst.
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 01-24-2020 at 02:45.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 01-24-2020 , 02: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.
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Rimini, Italy
Old 01-31-2020 , 17: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.
__________________
Papero is offline
Send a message via Skype™ to Papero
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 19:55.


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