Raised This Month: $ Target: $400
 0% 

Prop viewer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GManNickG
Junior Member
Join Date: Feb 2008
Old 03-01-2008 , 04:00   Prop viewer
Reply With Quote #1

So I'm fairly new here (first post) but I've been on IRC lately. My names Nick I'm an avid fan of TF2, and I've been programming for a while.

Anywho, couple nights ago I was tired of sifting through text files looking for member offsets, so I ran what was easiest (VB6 at the time) and made a program that parsed the file and layed everything out in a tree. Showed it to the folks on IRC, they dug it so I decided to revamp it in VB.NET VB is suited for things kinds of things), and well here ya go.

Has the ability to search though the tree, and most everything else can be found by playing around with it (read the About!!).

Thoughts, bugs? Made it just today so I expect bugs.

Oh and hi

EDIT:
Fixed bug where doing anything on a blank tree crashed.
Fixed idiotic mistake where a menu item did nothing.
Uploaded source code.
-Now generates different code if //DATAMAP is at the top of the file.

PropViewer
Source Code

Source is fairly uncommented.

Last edited by GManNickG; 05-11-2009 at 16:41. Reason: Fixed links.
GManNickG is offline
BAILOPAN
Join Date: Jan 2004
Old 03-01-2008 , 11:27   Re: Prop viewer
Reply With Quote #2

This is an excellent idea, and it seems to work pretty well The only bug I found was the context menu for items on the tree -- "Show code" didn't seem to do anything.

(FYI You may want to consider posting the source code when you're done.)
__________________
egg
BAILOPAN is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 03-01-2008 , 13:10   Re: Prop viewer
Reply With Quote #3

This is great. It seems to spit out a nasty error if you click in the tree-view part of the window if you don't have anything loaded, however. Aside from that, it seems to work perfectly fine.
bl4nk is offline
GManNickG
Junior Member
Join Date: Feb 2008
Old 03-01-2008 , 16:09   Re: Prop viewer
Reply With Quote #4

Whoops forgot to add code to that menu item hehe.

And fixed that bug, thanks.
GManNickG is offline
GManNickG
Junior Member
Join Date: Feb 2008
Old 03-07-2008 , 10:02   Re: Prop viewer
Reply With Quote #5

Uploaded new version in response to this.

If a file has //DATAMAP at the top, the new version generates different code for the file. Old versions skip comments anyway.
GManNickG is offline
Reply



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 04:54.


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