SA-MP Forums Archive
[IDEA] Missing bracklets detector - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [IDEA] Missing bracklets detector (/showthread.php?tid=112983)



[IDEA] Missing bracklets detector - JonyAvati - 11.12.2009

The title says everything, make a script that detects the missing bracklets and say the line of the opening bracklet.
Good luck.


Re: [IDEA] Missing bracklets detector - mprofitt - 11.12.2009

I will get right on that.


Re: [IDEA] Missing bracklets detector - Finn - 11.12.2009

You must be kidding me.


Re: [IDEA] Missing bracklets detector - DeathOnaStick - 11.12.2009

Quote:
Originally Posted by Finn
You must be kidding me.
I thought that, too. Finding missing brackets is easiest thing on the world


Re: [IDEA] Missing bracklets detector - Zamaroht - 11.12.2009

Not a script, but there are some scripting IDEs (pawno is one for example) that show you where brackets start and ends, and you can easily spot missing brackets.

"SA-MP Editor" has this feature. The problem is that it isn't very stable, but if you use it just for this, you are good.
Here is the download link:
http://files.uploadffs.com/6/6239693d/samp_editor.rar


Re: [IDEA] Missing bracklets detector - Chaprnks - 11.12.2009

Some ways of detecting this that I have used.

1. Uncrustify, finds the exact location of all bracket errors. Came real helpful to me.
2. Renaming a copy of the script to ***.pawn and compiling with the pawn compiler. Many "pawno compiler crash" bugs only crash with the pawno compiler, but show you the location of the error in Pawn.