PDA

View Full Version : cakePawn Script Editor


Disco_OB
27/03/2008, 06:39 PM
Last release: 2008-03-31 (0.1.2)

http://ade.se/projects/cakepawn/logo1.png

Hello.

Here's a preview version of my new Pawn editor, cakePawn. It features syntax highlighting, simple method insight, compiler gui integration and a multiple document interface. It's written in C# and is released under the GPLv3.

cakePawn is a re-write based on the concept of Pawn-Developer by Aivi previously posted on this forum (but removed due to no source release).
A few new things in cakePawn are: countless bugs fixed, multiple document interface, basic method insight, english GUI, and very many other improvements.

Screenshots:
http://ade.se/projects/cakepawn/screenshot1.jpg
http://ade.se/projects/cakepawn/screenshot2.jpg

Not yet implemented (todo):
- Code completion
- Dynamic code parsing for insight and completion
- Server controls (restart, rcon/gmx, reloadfs)

This first preview release is mainly to get some feedback about any bugs you may find and other suggestions for things to add. I would not recommend using it to develop your scripts unless you make backups regularly.

This program requires the .Net framework, version 2.

If you have any questions how to get the program running, please type them here: http://www.google.com ;) Seriously though, I won't have time to help you. Also, I don't use anti-virus software, because I don't like them. But I've scanned the files on some online scanners, and they didn't find anything. Anyway, use at your own risk.

Downloads at http://ade.se/projects/cakepawn/

Version history

---------------------------------
0.1.2
* bugfix: fixed an encoding problem that caused the first line to be unreadable by the compiler
* bugfix: fixed a duplicate callback in the templates
* bugfix: fixed cut/copy/paste problem when editor window didn't have focus
* bugfix: previously missing file pawnc.dll is now included in the binary distribution.
* new: the compiler window appears as small only when no errors and warnings are present and big otherwise.
doubleclick the window titlebar to toggle the size.
* changed: changed the appearance of the line numbers and the margin to the text.
* changed: the way cakepawn reads errors from the compiler to a better one.
* changed: compile window look and text output


---------------------------------
0.1.1
* bugfix: pawncc.exe is looked for in executable directory now.
* bugfix: line numbers no longer slightly cut off
* bugfix: templates for gamemode and filterscripts now included
* bugfix: shift+enter now adds a new line correctly
* bugfix: error checking added for file in arguments on startup
* bugfix: added error checking when adding file associations failed (insufficient user rights)
* bugfix: readded the formatting manager for auto-brace insert and tab management
* bugfix: correct filename on save as
* bugfix: compile window crash on doubleclicking an error on a removed line
* bugfix: added basic error handling for reading the library
* changed: adjusted left text margin and look
* changed: the way cakePawn calls pawncc.exe. The command used is now found in the compile window

kc
27/03/2008, 06:47 PM
hey nice job!

downloading now...

weedarr
27/03/2008, 07:15 PM
Wow i really like this, the colour picker, the script tabs and the include library setup. One or two things im sure you already know about, the line number on the left needs to be slightly bigger, and i dont really like the big gap between that line and the code, heres a picture, red BOX is the gap i dont like, red CIRCLE is the cut off numbers

http://files.uploadffs.com/20e621b233e27f8046949ea4ae56d1ad_fdgsdgsdgs.bmp

But to be honest, i think if the completed version had these bugs fixed and all the rest, i would use it.

Thats my feedback, hope it helps :)

WeeDarr

p.s nice name :D

snipe69
27/03/2008, 09:52 PM
hey nice i will try to use it :P

555
28/03/2008, 12:18 AM
hey nice i will try to use it :P

yea me 2...

BTW: nice programm name lol

Simon
28/03/2008, 01:20 AM
It's a nice editor but I have one problem. The problem is that there's a bug where you can't create a new line with Enter/Return while holding Shift - this is annoying because it slows down my typing speed :(.

Donny_k
28/03/2008, 01:38 AM
Nice work.

An idea, the help button could launch your default browser and connect to the Wiki or you could have a menu containing different links to different sites/posts/information.

snipe69
28/03/2008, 01:53 AM
tryed it color picker is awesomem men :mrgreen:

[PMs]Tinorks_Br
28/03/2008, 02:03 AM
nice!

dafel2
28/03/2008, 07:54 AM
When i try to compile i get this: "Compiler executable pawncc.exe not found."

FarePak
28/03/2008, 08:01 AM
When i try to compile i get this: "Compiler executable pawncc.exe not found."


Maybe you dont have pawncc in the same folder?

Edu
28/03/2008, 08:03 AM
Works fine with me... and ...... OMG the colorpick and the organization of includes > excellent…


Nice, very nice work .

dafel2
28/03/2008, 08:07 AM
When i try to compile i get this: "Compiler executable pawncc.exe not found."


Maybe you dont have pawncc in the same folder?



http://img401.imageshack.us/my.php?image=kssssssssssdv1.png yes i have in same folder

DarG
28/03/2008, 08:39 AM
dafel2 I got the same Prob :\
http://img168.imageshack.us/img168/1232/93620062hb5.jpg
I try to put the mod.pwn in the cakePawn Directory but i got this Erorr:
[Sorry about the hebrew :\]
http://img405.imageshack.us/img405/341/64796770jz4.jpg
ho and its very Good Script editor^^

Disco_OB
28/03/2008, 10:22 AM
I installed this in the wrong place and ran it. Then I realised my mistake (I have multiple pawn folders), put it in the correct one but it now refuses to run from the second location. Every time I try run it it just instantly crashes. I also get the compiler not found problem on the version installed in the wrong place (there is a compiler there though, as I said, I just put it in the wrong pawn folder).

I was also wondering what other features you had planned? Any other standard IDE tools like code folding or auto-indentation planned?

And I disagree with [P7]WeeDarr on the gap - I like it, it nicely separates code from line numbers, although maybe the line could be more in the middle of the gap, but that's a minor thing.


I'll have to take a look at the compiler executable problem. Code folding is there and supported - but i chose to disable it because it lags the textbox too much. Suppose I can add the option though and let the user decide. Auto intendation... would definitately be desireable. Should be possible for sure, but involves a bit more coding, other features may have higher priority for now.
The gap.. I've seen it.. perhaps i'll make it slightly smaller. As for the line number cutoff, it's a simple bug with the editor placement, will be fixed.

Thanks for the input so far. Working on another project for today, will have a look at this stuff tonight or during weekend.

On_Top_Non_Stop
28/03/2008, 10:26 AM
This looks really good man, nice work.

I like the tabs for multi scripts and now if i get errors i can see them without re compiling.

Again, nice work :)

EDIT: Cant get it to run :(

Problem Signature 09: System.ArgumentOutOfRange

tried "run as administrator" but still wont load.

Any tips :)

GtakriZ
28/03/2008, 12:31 PM
Nice man, I like it, keep up the good work!

mini_tomo_2
28/03/2008, 12:48 PM
Looks good from the feedback, will be trying it out now.

Well, I got it working by renaming my includes folder and using the default one. But I know I have a "bad" include so that's fine.

Anyway, I'm getting the cannot location error. Trying to fix it now.

Although the program itself is very nice.

Disco_OB
28/03/2008, 01:09 PM
Some quick notes.

Compiler not found error: cakePawn 0.1.0 looks for the pawncc.exe executable in the "current directory". That means whatever directory windows is telling cakepawn to start in, this is changed in the shortcut to the program, under properties->shortcut->start in. Change it to the path where it is installed.

Crash on startup: ver.0.1.0 crashes when an argument is passed (filename) that does not exist.

Still trying to find out what causes "Problem Signature 09: System.ArgumentOutOfRange" exception. Any details appreciated.

mini_tomo_2
28/03/2008, 01:28 PM
Mmm... the start in directory has the correct files.

On_Top_Non_Stop
28/03/2008, 01:40 PM
Complete error log

Description:
Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: cakepawn.exe
Problem Signature 02: 0.1.0.0
Problem Signature 03: 47ebc130
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 471ebc5b
Problem Signature 07: 15c
Problem Signature 08: 51
Problem Signature 09: System.ArgumentOutOfRange
OS Version: 6.0.6000.2.0.0.768.2
Locale ID: 2057

Read our privacy statement:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

Clank
28/03/2008, 03:33 PM
could some1 say EXACTLY what the advantages and downsides are...or add it on wiki?

weedarr
28/03/2008, 03:35 PM
Hmm, im having a problem when putting in my own .inc files in to the includes folder, the program never starts, i just get an error about the program needing to close. This should be looked into as all scripters im sure, use custom includes.

WeeDarr


could some1 say EXACTLY what the advantages and downsides are...or add it on wiki?


Advantages: Tabs, colour picker, code highlighting

Disadvantages: Not finnished yet, minor bugs (like above)

Thats all i can see

Disco_OB
28/03/2008, 04:04 PM
WeeDarr ]
Hmm, im having a problem when putting in my own .inc files in to the includes folder, the program never starts, i just get an error about the program needing to close. This should be looked into as all scripters im sure, use custom includes.

WeeDarr


The include parsing needs to be rewritten, its ugly and unstable.. so that's on the agenda.

I've made some other bugfixes today, was going to post it, but now I'm struggling with a weird pawncc error. Maybe I'll post it anyway.

Disco_OB
28/03/2008, 04:58 PM
ok.. added new version. let me know how it goes. http://ade.se/projects/cakepawn



Changelog
---------------------------------
0.1.1
* bugfix: pawncc.exe is looked for in executable directory now.
* bugfix: line numbers no longer slightly cut off
* bugfix: templates for gamemode and filterscripts now included
* bugfix: shift+enter now adds a new line correctly
* bugfix: error checking added for file in arguments on startup
* bugfix: added error checking when adding file associations failed (insufficient user rights)
* bugfix: readded the formatting manager for auto-brace insert and tab management
* bugfix: correct filename on save as
* bugfix: compile window crash on doubleclicking an error on a removed line
* bugfix: added basic error handling for reading the library
* changed: adjusted left text margin and look
* changed: the way cakePawn calls pawncc.exe. The command used is now found in the compile window

weedarr
28/03/2008, 05:12 PM
pawncc.exe still didnt work, you forgot to add pawnc.dll to the folder. Otherwise, looking good, one suggestion, if it compiles correctly put a message saying something like "Compiled sucessfully", if it has warnings something like "Compiled with warnings" and with errors "Failed to compile", put that message mabye on the "output" line of the errors/warnings bit.

WeeDarr

p.s sorry to be naggy but mabye you could change where the line numbers are to a different colour?

Clank
29/03/2008, 08:07 AM
I like it... but next version make it so that it opens new.pwn

kc
29/03/2008, 08:35 AM
I cant seem to get it to compile - it cant even compile the blank filterscript / gamemode files.

pawncc.exe, libpawnc.dll and pawnc.dll are all in the same directory as cakepawn.exe

when I try and compile it gives me an error for basicly everything in the script, including the #include <a_samp> :s

dafel2
29/03/2008, 08:48 AM
Now i have this http://img100.imageshack.us/my.php?image=saaaaaaaaqm1.png

londonz
29/03/2008, 11:08 AM
Good job

weedarr
29/03/2008, 11:56 AM
Now i have this http://img100.imageshack.us/my.php?image=saaaaaaaaqm1.png


Go to your old pawno folder and find PAWNC.dll and put it in your cake pawn folder.

WeeDarr

mini_tomo_2
29/03/2008, 12:35 PM
Alright, got the compiler to work in the new version.

Must say, very impressive. The colour picker is brilliant.

P1nd3r
29/03/2008, 01:11 PM
It's just like Darkimmortal's with the colour picker and the layout is similar. :|

Zh3r0
29/03/2008, 01:50 PM
Well....the last thing what can i say.....AWESOME man Lol i like the name ;)
BtW::Good Program ::D

On_Top_Non_Stop
29/03/2008, 08:58 PM
Nice, It works now :D

It's acting kinda weird though. When i compile it gives an error along the bottom saying it Could not get compiler output.

I deleted the .amx and tried again and it was back. It even seems like the server runs fine to.

Bug?

Can i make a suggestion to let be able to move the output bar at the bottom up and down because as it is, its hard to read. Thanks

mini_tomo_2
30/03/2008, 12:05 AM
I'm with the above poster. The little bar is hard to read. Could you either make it "strechable" or atleast a few lines bigger?

ettans
30/03/2008, 06:54 AM
Very nice. I'm going to use this from now on. :)

[LDT]LuxurY
30/03/2008, 08:52 AM
nice!!!! :lol:

Clank
30/03/2008, 02:31 PM
still 1 problem the things such as usefull functions doesnt work:(
now i have to compile with the other editor

Disco_OB
30/03/2008, 03:35 PM
Nice, It works now :D

It's acting kinda weird though. When i compile it gives an error along the bottom saying it Could not get compiler output.

I deleted the .amx and tried again and it was back. It even seems like the server runs fine to.

Bug?

Can i make a suggestion to let be able to move the output bar at the bottom up and down because as it is, its hard to read. Thanks


Back after a busy weekend.
Yeah.. i'm having all kinds of weird problems with it too. I thought adding all the relevant paths to the compiler command would fix things but it seems the opposite. I'll have to re-work the whole compiler thing and the output window too. Look back later tonight for a new version.

Deji
30/03/2008, 06:22 PM
erm. why would i need a different editor?

oostcoast
30/03/2008, 07:59 PM
erm. why would i need a different editor?

because it can speed up your development duddy?
or because it it easier to work with?

but its completely up to you.


nice editor though, going to use it in the future :)


8)

mini_tomo_2
30/03/2008, 08:42 PM
Same. I've tried out the main editors from the wiki but didn't like any of them more than PAWNO (for several reasons), but this one is pretty much everything I need.

Exuro
30/03/2008, 08:57 PM
Yeh its nice i will use it when bugs are fixed.

Disco_OB
31/03/2008, 12:31 AM
As promised, here is the next version, with the compiling bugs fixed. All files should compile fine now, and the outputwindow has been tweaked a bit.

http://ade.se/projects/cakepawn



0.1.2
* bugfix: fixed an encoding problem that caused the first line to be unreadable by the compiler
* bugfix: fixed a duplicate callback in the templates
* bugfix: fixed cut/copy/paste problem when editor window didn't have focus
* bugfix: previously missing file pawnc.dll is now included in the binary distribution.
* new: the compiler window appears as small only when no errors and warnings are present and big otherwise.
doubleclick the window titlebar to toggle the size.
* changed: changed the appearance of the line numbers and the margin to the text.
* changed: the way cakepawn reads errors from the compiler to a better one.
* changed: compile window look and text output

blewert
31/03/2008, 12:32 AM
cool, i'll try again now :D


PS: thanks for making this, it saves me a LOT of time ;)

Exuro
31/03/2008, 12:36 AM
Did you say it only works with default includes or?

Disco_OB
31/03/2008, 12:40 AM
Did you say it only works with default includes or?


I haven't actually tested it, but the current include parser is bad and it probably won't work with custom includes. However, the editor should still be usable, you just can't see the library/method insight. Unless there are other major bugs like the compiler one I'll start working on a new parser in my next coding session.

blewert
31/03/2008, 01:50 AM
lol, i like the default callback for "OnPlayerCommandText" it has this:

public OnPlayerCommandText(playerid, cmdtext[]) {
if (strcmp("/cake", cmdtext, true, 5) == 0) {
// User typed /cake
return 1;
}
return 0;
}


lol... :P

Clank
31/03/2008, 11:30 AM
and strtok :D

robhol
31/03/2008, 01:27 PM
It's so delicious and moist! 8)

weedarr
31/03/2008, 03:38 PM
Nice, but you need to add a horizonal scroll bar! ok mabye there is one.

WeeDarr

EDIT: heres a DMCD template gamemode and filterscript if you want

GM - http://pastebin.com/f766beb12
FS - http://pastebin.com/f43374f76

Dark-Pheonix
31/03/2008, 03:45 PM
i love this

Aless01
31/03/2008, 04:31 PM
Hey very cool man !

TABS, COLOR PICKER, the Includes selection Oo

PS: You was eating a cake when you chose the name of the compiler ... ? :lol:

pspleo
31/03/2008, 04:39 PM
and strtok :D


dcmd owns strtok totally.
btw, nice name on the editor..
goes to eat a cake

kallesmamma
31/03/2008, 04:49 PM
This is Great ;)

Nitroray
31/03/2008, 06:05 PM
This really Rocks! :!:

And ermm..ove the Design!

Even the site design is nice.. Getting hungry each time when i open CakePawn :lol:

Simon
04/04/2008, 02:34 AM
The editor freezes when I try to compile the LW_LVDM script (which compiles fine in Pawno).

It attempts to open up the compiler output box then freezes. The largest Pawn file is 217KB, another 133KB in custom includes and the compiler output in Pawno is this:


D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(170) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(172) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(174) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(175) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(176) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(179) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(180) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(181) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(185) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(186) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(187) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(188) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(189) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(190) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(200) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(202) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(203) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(207) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(211) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(212) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(223) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(233) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(237) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(238) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(239) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(240) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(241) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(242) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(245) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(253) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(255) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(262) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(264) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(272) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(274) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(280) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(282) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(289) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(291) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(299) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(608) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(619) : warning 213: tag mismatch
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetbank"
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetbounty"
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetgbank"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


45 Warnings.

LethaL
04/04/2008, 11:18 AM
The idea of tab browsing is good, however is there any chance you can include more options.
I mean different fonts and letter size and also the option to change the colours of the code back to the normal pawno complier colour. (i hate seeing bright red numbers everywhere :P)

Disco_OB
04/04/2008, 12:29 PM
The editor freezes when I try to compile the LW_LVDM script (which compiles fine in Pawno).

It attempts to open up the compiler output box then freezes. The largest Pawn file is 217KB, another 133KB in custom includes and the compiler output in Pawno is this:


D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(170) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(172) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(174) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(175) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(176) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(179) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(180) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(181) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(185) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(186) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(187) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(188) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(189) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(190) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(200) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(202) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(203) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(207) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(211) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(212) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(223) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(233) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(237) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(238) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(239) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(240) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(241) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(242) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(245) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(253) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(255) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(262) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(264) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(272) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(274) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(280) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(282) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(289) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(291) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(299) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(608) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\LWLVDM\include\menu.inc(619) : warning 213: tag mismatch
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetbank"
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetbounty"
D:\_12-02~1\PAWNPR~1\LWLVDM\LWLVDM.pwn(6669) : warning 203: symbol is never used: "dcmd_resetgbank"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


45 Warnings.



I can try emulating the output in the debugger but I'm guessing pawncc is crashing, can you check if the process (pawncc.exe) is still running after compiling?

Disco_OB
04/04/2008, 12:30 PM
The idea of tab browsing is good, however is there any chance you can include more options.
I mean different fonts and letter size and also the option to change the colours of the code back to the normal pawno complier colour. (i hate seeing bright red numbers everywhere :P)


It will be done, but I've got other things lined up first.

Simon
05/04/2008, 01:29 AM
cakePawn does tell me "Library failed to load. Only standard includes work properly atm" when I start it so this could be my problem. I assumed this means it wouldn't show in the side panel.

pawncc.exe is running when it freezes, there's a 0KB AMX in the gamemode's source directory.

When I end the pawncc.exe process it unfreezes cakePawn, when it unfreezes I get this in the cakePawn compiler output window.


[3:25:14 p.m.] Compile completed with 39 warnings.
-------- Compile details: --------
* Setting directory: D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn
* Executing: D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\pawncc.exe "D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\LWLVDM.pwn" -;+ -(+ -v2
-------- Output: --------

-------- Errors: --------
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(170) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(172) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(174) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(175) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(176) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(179) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(180) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(181) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(185) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(186) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(187) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(188) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(189) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(190) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(200) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(202) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(203) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(207) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(211) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(212) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(223) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(233) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(237) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(238) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(239) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(240) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(241) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(242) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(245) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(253) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(255) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(262) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(264) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(272) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(274) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(280) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(282) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(289) : warning 213: tag mismatch
D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\include\menu.inc(291) : warning 213: tag mismatch


It seems to be freezing after the warning on line 291, which by looking at Pawno's output tells me it's stopping to compile somewhere after line 291.

The code from 291 (last warning in cakePawn) to 299 (next warning that should appear) is this:


else if ( aMenuID == mAmmu[ MENU_ASSAULT ] ) // 291
{
switch ( row )
{
case 0: c = WEAPON_AK47;
case 1: c = WEAPON_M4;
}

ShowMenuForPlayer( mAmmu[ MENU_ASSAULT ], playerid ); // 299
}


Also; one other thing I've noticed is that cakePawn limits itself to *.pwn files only. It would be cool if we could open / save any type of file by changing the "PWN" filetype. I have Pawn data in *.inc, *.p and I can't find a way to open them in cakePawn :P.

Disco_OB
05/04/2008, 09:46 AM
cakePawn does tell me "Library failed to load. Only standard includes work properly atm" when I start it so this could be my problem. I assumed this means it wouldn't show in the side panel.

pawncc.exe is running when it freezes, there's a 0KB AMX in the gamemode's source directory.

When I end the pawncc.exe process it unfreezes cakePawn, when it unfreezes I get this in the cakePawn compiler output window.


[3:25:14 p.m.] Compile completed with 39 warnings.
-------- Compile details: --------
* Setting directory: D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn
* Executing: D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\pawncc.exe "D:\[12-02-2008] Backup\PAWN Projects\lwlvdm+cakepwn\LWLVDM.pwn" -;+ -(+ -v2
-------- Output: --------


It seems to be freezing after the warning on line 291, which by looking at Pawno's output tells me it's stopping to compile somewhere after line 291.

The code from 291 (last warning in cakePawn) to 299 (next warning that should appear) is this:


else if ( aMenuID == mAmmu[ MENU_ASSAULT ] ) // 291
{
switch ( row )
{
case 0: c = WEAPON_AK47;
case 1: c = WEAPON_M4;
}

ShowMenuForPlayer( mAmmu[ MENU_ASSAULT ], playerid ); // 299
}


Also; one other thing I've noticed is that cakePawn limits itself to *.pwn files only. It would be cool if we could open / save any type of file by changing the "PWN" filetype. I have Pawn data in *.inc, *.p and I can't find a way to open them in cakePawn :P.


Try running the executed command with a windows shortcut and set the run-in path to the path where the script file is, and see if pawncc locks up.
The library is just for show yeah, the panel on the right and the method tooltips. Currently working on a new proper recursive algo to read method definitions that will work with all files.
True about the extension thing, got that on my to-do.

[SOA]Spider
06/04/2008, 02:56 PM
This helps me a lot. This is awesome!

Clank
06/04/2008, 04:13 PM
when comes 0.1.3?

Disco_OB
06/04/2008, 05:06 PM
when comes 0.1.3?


Sometime this coming week, most likely.

blewert
06/04/2008, 06:05 PM
when comes 0.1.3?


Sometime this coming week, most likely.

cool, can't wait for it ;)

i use cakepawn default now :P

Spider518
11/06/2008, 02:38 PM
This application looks awesome!

edygangsta
15/06/2008, 06:45 AM
Coool :D i like it 8)

mave_man
15/06/2008, 06:56 AM
ye looks awesome :O must have taken some time to make :O

Ace_Menace
20/05/2009, 03:03 AM
This program is way better than Pawno.

It makes me cry for anyone who uses Pawno...

Gappy
20/05/2009, 03:31 AM
lol, bump a one year old topic.

Kinda happy you did bump in a way, could be very helpful to me. lol

.::: Ecko :::.
20/05/2009, 02:18 PM
Like the color,looking of the app,it's really cool

downloading now...

Ecko

Guedes747
20/05/2009, 02:46 PM
mhhhhhhhh caaaaaake... :P Nice program ;)

Gappy
21/05/2009, 06:17 AM
It doesn't work for me, when i try run it, it says "cakePawn Script Editor has encountered a problem and needs to close. We are sorry for the inconvenience."

dUDALUS
28/02/2011, 03:41 PM
Hello

Can anybode tell my how I should convert or compile this source ?


Lg dUDA

Sasino97
28/02/2011, 04:07 PM
Hello

Can anybode tell my how I should convert or compile this source ?


Lg dUDA

The last post in this topic is from 2009...

-------------------------------------------

This is not a FS or an include, it should be in Data files, maps and tool section.

dUDALUS
28/02/2011, 04:53 PM
Yes and whats the prblem ........I want to know HOW and not when...

jordy.kiesebrink
28/02/2011, 05:08 PM
hey great job i love your color picker its so easy and i'm looking for it..
maybe a hard question but can you make a color picker for me (JUST THAT Little window) that would be so awesome!

Greatzz [JJ]Jordy

Dr.Ghost
28/02/2011, 05:19 PM
Nice Useful thanks so much :D .and nice job

dUDALUS
28/02/2011, 07:05 PM
Hello

See hes last activiti....2008 xD. Can anybody tell me, how I must compile this ?

ReM!X
28/02/2011, 07:28 PM
When i try to compile i get this: "Compiler executable pawncc.exe not found."


To resolve this issue please download pawno again because you are missing a file

legodude
28/02/2011, 09:17 PM
nice one. everything works fine for me
colorpicker rocks!