SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 11/12/2010, 04:28 AM   #11
Scenario
Godfather
 
Scenario's Avatar
 
Join Date: Feb 2010
Location: Heaven
Posts: 7,811
Reputation: 701
Default Re: Missing Brackets Finder [Beta5]

Quote:
Originally Posted by The_Gangstas View Post
yes ****** recommended it, but how do we use notepad? i already downloaded it
I believe this will provide you with an answer.
__________________



Scenario is offline   Reply With Quote
Old 11/12/2010, 09:27 AM   #12
ColdXX
Banned
 
Join Date: Jan 2010
Location: Everywhere
Posts: 672
Reputation: 0
Default Re: Missing Brackets Finder [Beta5]

/me gives Remis a giant Cookeh!
ColdXX is offline   Reply With Quote
Old 11/12/2010, 09:40 AM   #13
Remis
Big Clucker
 
Join Date: Sep 2009
Posts: 62
Reputation: 4
Default Re: Missing Brackets Finder [Beta5]

Quote:
Originally Posted by The_Gangstas View Post
not working... i did everything correctly, anyhelp?
At which step it isn't working? And why do you think it isn't working?

If you switched to N++, thats ok, too. Just use what you like.
Remis is offline   Reply With Quote
Old 11/12/2010, 10:19 AM   #14
CYB3RN
Little Clucker
 
CYB3RN's Avatar
 
Join Date: Jul 2010
Location: Skopje, Macedonia.
Posts: 30
Reputation: 0
Default Re: Missing Brackets Finder [Beta5]

I believe this is amazingly useful, even though I'm not scripter.
__________________
CYB3RN - SAMP player since 2008.
CYB3RN is offline   Reply With Quote
Old 11/12/2010, 11:31 AM   #15
kLx
Huge Clucker
 
kLx's Avatar
 
Join Date: Feb 2008
Posts: 206
Reputation: 6
Default Re: Missing Brackets Finder [Beta5]

Not working!
pawn Code:
enum bInfo
{
    bID,
    bType,
    bool:bOwned,
    bOwner[ MAX_PLAYER_NAME ],
    bName [ 38 ],
    bValue,
    bBank,
    bEntCost,
    Float:bEntrance_x,
    Float:bEntrance_y,
    Float:bEntrance_z,
    Float:bExit_x,
    Float:bExit_y,
    Float:bExit_z,
    bInt,
    bLocked,
    Float:cp_x,
    Float:cp_y,
    Float:cp_z,
    cp_type
No bracket at the end, script outputs that everything is fine.
__________________
Out of bussiness
kLx is offline   Reply With Quote
Old 11/12/2010, 03:38 PM   #16
Remis
Big Clucker
 
Join Date: Sep 2009
Posts: 62
Reputation: 4
Default Re: Missing Brackets Finder [Beta5]

Quote:
Originally Posted by kLx View Post
Not working!
No bracket at the end, script outputs that everything is fine.
Hello and thanks for testing and reporting,

either you are an older version (are you using the beta - with a bug - or the final?) or something in your script
is causing a bug (a bug in this script).

Because I have tested this script with various gamemodes, removed a bracket and it worked fine (meaning that this script DID report the missing bracket).

I was also testing you snippet: I took lvdm.pwn and added you code with the missing bracket near the beginning - it worked fine (the script did report the missing bracket):
http://ultraupload.de/hosted/1292085189_df0e.png

If you are using the latest version, I am sorry that I can't do something. I don't know what is causing this and I would have to analyse your whole script what is causing this - which Iam not allowed to ofc -.
One thing you could try is using "brackets_Matthias.pl" instead of "brackets.pl".
Remis is offline   Reply With Quote
Old 13/12/2010, 04:58 PM   #17
Mean
High-roller
 
Join Date: Jul 2010
Location: 14th annual lemon party
Posts: 2,730
Reputation: 229
Default Re: Missing Brackets Finder [Beta5]

Quote:
Originally Posted by RealCop228 View Post
I don't know the success rate for this tool, but I would go ahead and give "notepad++" a shot - it seems to point things like that out.
Yeah, Slice ( Or whatever is his name ) made a tut how to make PAWN scripts in notepad++ ^^
__________________
I'm pretty much the creator of the PUB: macro used in many scripts today, therefore I'm a legitimate genius.

Ground breaking stuff
Quote:
Originally Posted by ******
I've met Mean on a few occasions in real life, a true genius and a 400 pound all-muscle gorilla alpha male. He has had a great influence on my life.
Quote:
Originally Posted by Kalcor
I don't know where I'd be today without Mean. He has helped me through some tough times in my life. He always brings a smile to my face. Such a positive lad!
Mean is offline   Reply With Quote
Old 08/01/2011, 07:26 PM   #18
Jochemd
High-roller
 
Jochemd's Avatar
 
Join Date: Jul 2009
Location: The Netherlands
Posts: 2,220
Reputation: 844
Default Re: Missing Brackets Finder [Beta5]

It doesnt work.
__________________
Jochemd is offline   Reply With Quote
Old 12/01/2011, 10:03 AM   #19
yarrum3
Banned
 
Join Date: Aug 2010
Posts: 162
Reputation: 0
Default Re: Missing Brackets Finder [Beta5]

well it can't find my missing bracket
yarrum3 is offline   Reply With Quote
Old 12/01/2011, 02:16 PM   #20
Remis
Big Clucker
 
Join Date: Sep 2009
Posts: 62
Reputation: 4
Default Re: Missing Brackets Finder [Beta5]

Quote:
Originally Posted by yarrum3 View Post
well it can't find my missing bracket
Hello,

It should work for most scripts, but it seem to be incompatible with some scripts. Before analyzing, the script removes all comments (// and /* */). Since it can be complex to do this and make it work for all scripts, there could be a bug in the way of removing the comments.

I will post a new version with a GUI and easier use in general (you don't need to do anything with cmd.exe anymore). Moreover it should fix the problems with incompatible scripts ofc.
The new version is nearly ready, it has only one issue left and it needs some testing with various gamemodes (also some complex ones with lots of lines).
Remis is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Brackets sekol Help Archive 9 10/02/2011 12:48 PM
Position finder Sascha Help Archive 0 25/05/2010 10:22 PM
Missing brackets help (creating a teleport menu) Andy_McKinley Help Archive 14 26/03/2010 12:09 PM
Need Bug-Finder/Suggesters. cozza123456 Server Support 2 15/03/2010 04:50 PM
code for spawn at san fierro or pos finder cssbart Help Archive 3 06/12/2009 05:37 PM


All times are GMT. The time now is 12:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.