SA-MP Forums Archive
[FilterScript] Missing Bracket Finder - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Missing Bracket Finder (/showthread.php?tid=437452)



Missing Bracket Finder v1.1 (Updated) - Dragony92 - 15.05.2013

Missing Bracket Finder
Author: DraGoN FiRe
Version: 1.1

Usage
Compile you script with folowing params in pawn.cfg "-l -;+ -(+ -\", without quotes, and put .lst file in scriptfiles folder, name it "mbFile.lst", start server and loadfs mb.amx, check console/server log for results...

ScreenShots





Known bugs
////

Download
Amx & Pwn - http://www.NooBot.info/MissingBracketFinder.rar
Pastebin - http://pastebin.com/bQj5azKP

Suggestions?


Re: Missing Bracket Finder - Riddy - 15.05.2013

It would have helped if it could narrow the range down to a smaller number (looking for missing bracket area), but it works great. Good job.


Re: Missing Bracket Finder - JoBullet - 15.05.2013

I'd suggest for somewhat effective missing brackets finder to perform following steps:
1. preprocess input file(via pawncc with switch)
2. consider brackets in strings and any other possible place after preprocessing


Re: Missing Bracket Finder - Dragony92 - 16.05.2013

Updated from Beta to Version 1.0, thanks for suggestions ****** and JoBullet, now it looks much better.
Any suggestions now?
Thank you.


Re: Missing Bracket Finder - waysemir - 27.11.2018

Not working.
Working...



Some bracket isn't closed on lines between 1092 and 1158.



|---------------Stats---------------|
Opened Brackets: 18
Closed Brackets: 14
Total lines: 1158
Time to execute: 0.01sek
Total CheckPoints: 92


Note: But my gamemode its 75000 lines.


Re: Missing Bracket Finder - Pottus - 27.11.2018

Quote:
Originally Posted by waysemir
Посмотреть сообщение
Not working.
Working...



Some bracket isn't closed on lines between 1092 and 1158.



|---------------Stats---------------|
Opened Brackets: 18
Closed Brackets: 14
Total lines: 1158
Time to execute: 0.01sek
Total CheckPoints: 92


Note: But my gamemode its 75000 lines.
This is one of the easiest problems to fix and shouldn't take more than a few minutes if not seconds there should never be a need for using something like this.