[FilterScript] [FS]Script Debug
#1

[FS]Script Debug
By =>Sandra<=

What is it:

This filterscript counts all Pawn-functions which are used in a (part) of a script and its counts also the number of brackets and defines.
The original idea is from 'Kaisersouse' requesting in =>THIS<= topic.
Originally he wanted it made in VisualBasics (or php) but because i don't know how Visual Basics or php works, i created it in Pawno :P


Anyway,

How to install and use:
  • Download the filterscript (links are at the bottom of this post).
  • Put the .pwn and .amx files in your 'filterscripts'-folder
  • Place the file "ScriptDebug.txt" into your 'scriptfiles'folder
  • Open your 'server.cfg'
  • Add 'ScriptDebug' after 'filterscripts' and save the file.
  • Now copy a (part of) a script you want to debug and paste it inside the 'ScriptDebug.txt'-file
    • Start your server
    • Type /debug in the console to start debugging.
    Note: This debugging takes a lot of time. It takes about 14 seconds for every 100 lines!

    If you want some more info about 1 single function used in the script, type in the console:
    Quote:

    /searchfunction [function]

    for example:
    Quote:

    /searchfunction SendClientMessage

    .

    This will show:
    • How many times this function is used in the script
    • On which lines you can find this function.
    Screenshots:

    As example i debugged the default "Area51"- gamemode.

    /debug command:


    /searchfunction command:


    If the number of opening-brackets and closing-brackets does not match, you'll get a warning:



    Download:Note: If you download it from pastebin, don't forget to create a new file into your scriptfiles-folder named "ScriptDebug.txt"

    Please don't remove the credits!

    =>Sandra<=
Reply


Messages In This Thread
[FS]Script Debug - by Sandra18[NL] - 10.06.2008, 13:36
Re: [FS]Script Debug - by Mazza101 - 10.06.2008, 13:43
Re: [FS]Script Debug - by sebihunter - 10.06.2008, 13:51
Re: [FS]Script Debug - by kaisersouse - 10.06.2008, 14:18
Re: [FS]Script Debug - by Einstein - 10.06.2008, 14:22
Re: [FS]Script Debug - by kaisersouse - 10.06.2008, 14:32
Re: [FS]Script Debug - by LethaL - 10.06.2008, 14:47
Re: [FS]Script Debug - by GtakriZ - 10.06.2008, 14:50
Re: [FS]Script Debug - by Sandra18[NL] - 10.06.2008, 14:56
Re: [FS]Script Debug - by [GoD]Onyx - 10.06.2008, 15:04
Re: [FS]Script Debug - by kaisersouse - 10.06.2008, 15:06
Re: [FS]Script Debug - by Sandra18[NL] - 10.06.2008, 15:10
Re: [FS]Script Debug - by LethaL - 10.06.2008, 15:27
Re: [FS]Script Debug - by kaisersouse - 10.06.2008, 18:30
Re: [FS]Script Debug - by weedarr - 10.06.2008, 18:33
Re: [FS]Script Debug - by snipe69 - 11.06.2008, 11:11
Re: [FS]Script Debug - by germedia - 11.06.2008, 12:49
Re: [FS]Script Debug - by Wash - 22.06.2008, 13:00
Re: [FS]Script Debug - by shitbird - 22.06.2008, 13:09
Re: [FS]Script Debug - by tom_jonez - 25.06.2008, 20:11
Re: [FS]Script Debug - by Zh3r0 - 26.06.2008, 03:25
Re: [FS]Script Debug - by mave_man - 26.06.2008, 12:49
Re: [FS]Script Debug - by rensfromrpas - 01.07.2008, 07:52
Re: [FS]Script Debug - by mini-d - 02.07.2008, 02:29
Re: [FS]Script Debug - by Wash - 02.09.2008, 12:10
Re: [FS]Script Debug - by [dp]Janson - 03.09.2008, 02:26
Re: [FS]Script Debug - by Donuts - 03.09.2008, 17:25
Re: [FS]Script Debug - by kaisersouse - 04.09.2008, 14:28
Re: [FS]Script Debug - by cruising - 10.10.2008, 17:59
Re: [FS]Script Debug - by Sandra18[NL] - 11.10.2008, 00:33
Re: [FS]Script Debug - by ]NM[TheShadow - 18.03.2009, 16:25
Re: [FS]Script Debug - by _TeRmiNaToR_ - 23.04.2009, 08:33
Re: [FS]Script Debug - by ryan kirky - 23.04.2009, 17:23
Re: [FS]Script Debug - by hk_shade - 25.04.2009, 07:54
Re: [FS]Script Debug - by BoRg4LiFe - 27.04.2009, 19:21
Re: [FS]Script Debug - by T.I. - 22.05.2009, 21:02
Re: [FS]Script Debug - by v0nz - 22.05.2009, 22:49
Re: [FS]Script Debug - by Klutty - 18.06.2009, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)