[FilterScript] Missing Bracket Finder
#1

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?
Reply
#2

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.
Reply
#3

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
Reply
#4

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

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.
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)