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 - Vlad_Dubonos - 24.03.2011

I love it 2 but lets try if it really can help me


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Vlad_Dubonos - 24.03.2011

Anyone can help me how to use this program?
with Team Viewr
i really need that


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Vlad_Dubonos - 24.03.2011

Код:
MISSING BRACKET: The { bracket on line 27420 does not have a pair!
MISSING BRACKET: The { bracket on line 76003 does not have a pair!
MISSING BRACKET: The { bracket on line 76492 does not have a pair!
MISSING BRACKET: The { bracket on line 76743 does not have a pair!
Result: 
Opening angle brackets ({): 16030 
Closing angle brackets (}): 16026 
4 angle brackets without pair! Fix it!
i go to this lines and not missed here nothing


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Remis - 25.03.2011

Quote:
Originally Posted by sapsap
Посмотреть сообщение
Getting this error:
..
Sorry for the late reply.
I tested it again, but it didn't report that problem. I don't know why your perl is complaining about it, but you can fix it by removing the my in line 63 before the $_ in the "perl/brackets.pm" file
So
Код:
my $_ = <$in>;
to
Код:
$_ = <$in>;
In the next days I will re-upload it with this little change, also it shouldn't make a problem for the majority.


Quote:

Code:
MISSING BRACKET: The { bracket on line 27420 does not have a pair!
MISSING BRACKET: The { bracket on line 76003 does not have a pair!
MISSING BRACKET: The { bracket on line 76492 does not have a pair!
MISSING BRACKET: The { bracket on line 76743 does not have a pair!
Result:
Opening angle brackets ({): 16030
Closing angle brackets (}): 16026
4 angle brackets without pair! Fix it!
i go to this lines and not missed here nothing

Is there also no missing bracket in the area of one of the reported lines?


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - LZLo - 21.05.2011

my error: No such file or directory at brackets.pm line 55.
how can i solve it?

(i extracked the package)


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - LZLo - 21.05.2011

Can not open file D:/SA-MP/LAGGMENTESНTЙS/szerуvfinal 0.3c RC6/gamemodes/FULLHOUSE53STIME.pwn: No such file or directory at brackets.pm line 55.

how can i fix it?


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - The God - 01.07.2011

I've used this finder several times in my file and it said that everything is ok but pawno still won't compile it! Then i press Compile pawno crashes and Not Responding. Can anyone help me?


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - PCheriyan007 - 07.07.2011

I can't get this to work. Each time I run the program it says the 'perl' is not a recognized command or batch program.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Andrejs - 24.07.2011

Is program working fine?
It tolds that I missed bracket on line where's no bracket
also tolds "The } bracket on line 41370 does not have a pair!" but I have there only { and it have a pair


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - OUL - 26.07.2011

Awesome app.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Gamer_Z - 26.07.2011

YOU NEED PERL!
How hard is it people to know what software requirements you do need?!


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - OUL - 26.07.2011

@Gamer - Yeah, tnx anyway


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Guest3598475934857938411 - 27.07.2011

Nice script, easy to be used. Gonna download it for sure, might become useful someday.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - antsolen - 03.08.2011

Very useful , thank you


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Pharrel - 15.09.2011

Код:
MISSING BRACKET: The { bracket on line 29996 does not have a pair!
Result: 
Opening angle brackets ({): 10879 
Closing angle brackets (}): 10878 
1 angle brackets without pair! Fix it!
pawn Код:
|| skin == 280 || skin == 281 || skin == 282 || skin == 283 || skin == 285 || skin == 286 || skin == 287 || skin == 288 || skin == 289 || skin == 290 || skin == 291 || skin == 294 || skin == 295 || skin == 298 || skin == 299//line 29996

     PutPlayerInVehicle(playerid, TestCar[1], 0);//10878
                 SetPlayerRaceCheckpoint(playerid, 0,Test[0],Test[1],Test[2],0,0,0,10.0);//10879
the line 29996 i'm sure that i dont change anything in the function...so there's NO WAY TO HAVE SOME PROBLEM IN THERE!

somebody help meee :/


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - robintjeh - 20.10.2011

Awesome man. I use this when I make stupid mistakes :P


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Drebin - 20.10.2011

Epicness.


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - Dusl12 - 20.11.2011

Doesnt work correctly...

Quote:

MISSING BRACKET: The { bracket on line 14423 does not have a pair!
Result:
Opening angle brackets ({): 8382
Closing angle brackets (}): 8381
1 angle brackets without pair! Fix it!
pawn Код:
for(new i = 0; i<MAX_VEHICLES; i++)//14423
                {
                    if(IsVehicleConnected(PlayerCar[i][vid]))
                    {
                        PlayerCar[i][Lock] = 1;
                        CheckLock(PlayerCar[i][vid]);
                    }
                }
Some fail -.-


Re: Missing Brackets Finder [1.1.0] - NOW WITH GUI - cRcKdwN - 02.07.2012

Can anyone help me?

Can not open file C:/Users/Цrni/Desktop/RGR/Real-Roleplay.pwn: No such file or directory at brackets.pm line 55.


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

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.