SA-MP Forums Archive
How to find where I'm missing a bracket? - 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: How to find where I'm missing a bracket? (/showthread.php?tid=221411)



How to find where I'm missing a bracket? - Zack9764 - 05.02.2011

I'm missing a bracket somewhere obviously because I get like 26 errors of Undefined phrases. Is there a way I can find where it is? I'm obviously not going to be able to find it manually due to the fact my script is over 50,000 lines.


Re: How to find where I'm missing a bracket? - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 05.02.2011

oh shit lolz!!


hmmmmmmmmmmmmmmm check last place u were scripting in otherwise u must check evry bracket of da script


Re: How to find where I'm missing a bracket? - xRyder - 05.02.2011

Try to remember what you edited last. :S


Re: How to find where I'm missing a bracket? - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 05.02.2011

Ryder sometimes people with wrng while scrolling or smthin they delete a bracket or add bracket like that


Re: How to find where I'm missing a bracket? - xRyder - 05.02.2011

Quote:
Originally Posted by -•♥♠♦♣-•Arshavin•-♥♠♦♣•-
View Post
Ryder sometimes people with wrng while scrolling or smthin they delete a bracket or add bracket like that
Well, I was talking from my experience. I have never accidentally deleted + added a bracket, but yeah, that can be possible too.


Re: How to find where I'm missing a bracket? - -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 05.02.2011

it happend with me once but i actually keep copy of evry compile i do..!


Re: How to find where I'm missing a bracket? - Rachael - 05.02.2011

SVN software is good here because you can ~view visual difference~ between versions

commit all, commit often.


Re: How to find where I'm missing a bracket? - Zack9764 - 05.02.2011

I scripted to many things to remember :S


Re: How to find where I'm missing a bracket? - randomkid88 - 05.02.2011

There is a Perl script for windows (or linux) that will search for missing brackets.

https://sampforum.blast.hk/showthread.php?tid=171429