SA-MP Forums Archive
[Tool/Web/Other] Missing Brackets Finder [1.1.0] - NOW WITH GUI - 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)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] Missing Brackets Finder [1.1.0] - NOW WITH GUI (/showthread.php?tid=171429)

Pages: 1 2 3 4


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - ArmandoRamiraz - 16.07.2012

Deleted. Fixed the problem


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - DaNo - 18.07.2012

Brilliant!


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Gioslami - 13.09.2012

Works good thx


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - NoahF - 17.09.2012

Nice! It was successful in a 10k script! Thank you a ton for this!


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - NoahF - 17.09.2012

Quote:
Originally Posted by shaPP
View Post
Code:
MISSING BRACKET: The { bracket on line 26338 does not have a pair!
Result: 
Opening angle brackets ({): 15932 
Closing angle brackets (}): 15931 
1 angle brackets without pair! Fix it!
At line 26338 i have this:

Code:
if(strcmp(cmd, "/dance", true) == 0) 
    {
        if(IsPlayerConnected(playerid))
        {
			// Get the dance style param
      		tmp = strtok(cmdtext, idx);
			if(!strlen(tmp)) {
				SendClientMessage(playerid,0xFF0000FF,"Folosire: /dance [style 1-4]");
				return 1;
			}

			dancestyle = strval(tmp);
			if(dancestyle < 1 || dancestyle > 4) {
			    SendClientMessage(playerid,0xFF0000FF,"Folosire: /dance [style 1-4]");
			    return 1;
			}

			if(dancestyle == 1) {
			    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
			} else if(dancestyle == 2) {
			    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
			} else if(dancestyle == 3) {
			    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
			} else if(dancestyle == 4) {
			    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4);
			}
        }
 	  	return 1;
    }
And at 15932:
Code:
else if(TransportDuty[i] == 2)
	                    {
	                        format(string, sizeof(string), "* You paid $%d to the Bus Driver.", TransportValue[i]);
							SendClientMessage(playerid, COLOR_WHITE, string);
							format(string, sizeof(string), "* Passenger %s has entered your Bus.", name);
							SendClientMessage(i, COLOR_WHITE, string);
	                    }
I can\'t see any missed brackets in theese lines ... But still have a problem with a missing bracket when i try to compile.
You forgot a bracket at the highlight. You also had two brackets at the same spot when it was unneeded..


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Er@x3r - 13.10.2012

i give you +rep nice work


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Ghost_Boii - 13.10.2012

Thanks For This Application


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - feartonyb - 02.11.2012

This is useless it said the missing bracket is at line 73913 but it was at 13788


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Glint - 02.11.2012

Good work.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - DLR - 02.02.2013

Doesn't work properly. It pointed out 10 missing brackets, but I checked about 30 lines infront and after the specified line and there is no missing bracket there. My compiler is crashing so I thought it might be this. The program also pointing to a bunch of lines that were commented out so I have no idea what it's trying to do lol.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - k3nw00d_kri5ty - 06.02.2013

Not working properly.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - HislamionAS - 30.06.2013

Nice, thanks


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - imnoob - 11.07.2013

i have windows xp 32bit what should i do from where to download ACTIVEPERL ?


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Dragony92 - 13.07.2013

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


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - MikkiMapper - 14.08.2014

Work?


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - alex10 - 18.10.2014

Very Well this is handful thanks anyway


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - PWNNAH - 29.03.2015

nice work, is verry usefull .


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Knight_Rider - 29.03.2015

nice work, is very useful


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - shadowstorm - 12.04.2015

So much usefull!!