[Tool/Web/Other] Missing Brackets Finder [1.1.0] - NOW WITH GUI
#61

Deleted. Fixed the problem
Reply
#62

Brilliant!
Reply
#63

Works good thx
Reply
#64

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

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

i give you +rep nice work
Reply
#67

Thanks For This Application
Reply
#68

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

Good work.
Reply
#70

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

Not working properly.
Reply
#72

Nice, thanks
Reply
#73

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

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

Work?
Reply
#76

Very Well this is handful thanks anyway
Reply
#77

nice work, is verry usefull .
Reply
#78

nice work, is very useful
Reply
#79

So much usefull!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)