[Tool/Web/Other] Stock/Public IsUsed Checker.
#1

IsUsed Checker

This basically just scans the script for any unused stocks or publics.

I made it as I downloaded a script from internet and I noticed that it contained alot if unused stocks.
So I developed this app.

I don't know if its really usefull or not, But it may help someone

DOWNLOAD
Download: http://www.mediafire.com/download/oc...ed_Checker.zip
Source: http://www.mediafire.com/download/6u...sedChecker.rar
Reply
#2

Nice !
Reply
#3

Whats wrong with having un-used stocks? They don't give any unused warnings if they're not used.
Reply
#4

@Y_Less: I agree with you, but "stock" functions coded for no use is quite bad for scripting(in my opinion), as it will use up the memory for nothing. It's better to check for unused stock functions.
Reply
#5

Lol, this was like a huge duh...

Reply
#6

Quote:
Originally Posted by Y_Less
View Post
The point of a "stock" is to tell the compiler that it may never be used. If you want them to always be used, don't make them "stock"! The compiler already generates warnings for unused functions, you have just written a tool to generate those warnings again for functions that have explicitly disabled the warning - basically just wasted your time!
I know that a stock may be used or not...

But I developed this not for memory or any of that... But just to 'clean' the script.
Reply
#7

If u can make a tool which can check all forward and say if one is not used, i think that would be more efficient.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)