Pawncc.exe Issues - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawncc.exe Issues (
/showthread.php?tid=354565)
Pawncc.exe Issues -
Silentfood - 27.06.2012
Hi.
I'm working on an external Pawno IDE, but it seems that the pawncc.exe won't tell me the errors of code submitted to it.
If I ask it to run this:
It will give me this message with no notice on where it's located (reversed, read down up)
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I'm using this command line, is there anything I'm missing? I need the error to appear in the console, not in an external file or such.
Код:
D:\pawno\pawncc.exe ./scripts/temp2345.pwn -;+ -\ -(+
Re: Pawncc.exe Issues -
Dubya - 27.06.2012
Download a new Pawncc.exe.
Re: Pawncc.exe Issues -
Silentfood - 27.06.2012
Quote:
Originally Posted by Dubya
Download a new Pawncc.exe.
|
That did nothing to help me in any shape or form. Pawncc.exe has been the same for quite a while on the SA:MP binaries.
Re: Pawncc.exe Issues -
Silentfood - 27.06.2012
Managed to get my IDE to log errors to server_errors.log, and normal pawno output to server_console.log. If server_console.log was made, then wohoo script worked with no errors. If server_errors was made, then oops there's some errors and it's in the file. I would have used the handle if my PHP code wasn't a standard command line.
After that it would delete both, ready for the next build. Best part about it is that it's a website IDE, all wrote in PHP which is rather cool.
Error message:
https://dl.dropbox.com/u/9105338/ide_error.PNG
Successful Build:
https://dl.dropbox.com/u/9105338/ide_worked.PNG