SA-MP Forums Archive
[Plugin] pawnCompiler - Compile your scripts without pawno - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] pawnCompiler - Compile your scripts without pawno (/showthread.php?tid=174033)

Pages: 1 2


Re: pawnCompiler - Compile your scripts without pawno - gamer931215 - 06.09.2010

Wow very nice ryder :O so this allows you to compile an .pwn file with just a filterscript and plugin


Re: pawnCompiler - Compile your scripts without pawno - RyDeR` - 06.09.2010

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
Wow very nice ryder :O so this allows you to compile an .pwn file with just a filterscript and plugin
Extactly ^^


Re : pawnCompiler - Compile your scripts without pawno - Ruto - 01.05.2011

Good job !!!

Not for Linux ? :/


Re: Re : pawnCompiler - Compile your scripts without pawno - blackwave - 01.05.2011

Quote:
Originally Posted by Ruto
Посмотреть сообщение
Good job !!!

Not for Linux ? :/
Last post of this topic before yours above

06/09/2010, 03:06 PM

Almost a year ago.


Re: Re : pawnCompiler - Compile your scripts without pawno - Donya - 01.05.2011

Quote:
Originally Posted by blackwave
Посмотреть сообщение
Last post of this topic before yours above

06/09/2010, 03:06 PM

Almost a year ago.
whats your problem? hes asking for a linux version


Re: Re : pawnCompiler - Compile your scripts without pawno - Cameltoe - 01.05.2011

Quote:
Originally Posted by Donya
Посмотреть сообщение
whats your problem? hes asking for a linux version
Quote:
Originally Posted by dugi
Посмотреть сообщение
SA-MP is using a custom pawn compiler which will work only on windows.
4char.


Re: pawnCompiler - Compile your scripts without pawno - Rob_Zero - 03.06.2011

This source can be used to make plugin for decompiling scripts


Re : pawnCompiler - Compile your scripts without pawno - Varkoll_ - 06.06.2011

Awesome


Re: pawnCompiler - Compile your scripts without pawno - iMonk3y - 05.08.2011

Hey awesome! This would be damn useful to me ...but the link is broken.


Re: pawnCompiler - Compile your scripts without pawno - Gareth - 08.09.2011

Very very awesome man!


Respuesta: pawnCompiler - Compile your scripts without pawno - Dreyfuz - 03.08.2015

With all the changes that ocurred in samp, does it still work?


Re: Respuesta: pawnCompiler - Compile your scripts without pawno - Crayder - 03.08.2015

Quote:
Originally Posted by Dreyfuz
Посмотреть сообщение
With all the changes that ocurred in samp, does it still work?
Yes.

Also, on a side note. adri1 compiled the pawn compiler directly inside his TBR plugin, I think doing that is better than executing the file.


Re: pawnCompiler - Compile your scripts without pawno - Abagail - 03.08.2015

It should work however personally even recompiling, I couldn't(this was a while ago though, when I wasn't so experienced with C++) and couldn't seem to get it work properly.

Though, using systemEx(which uses the system function in C++) in my C++ function can do the job easily, though the only thing(that may not be quite wanted) is it prints the result of the compiler in the console(though this can be modified so it doesn't output).

The following code works great:
pawn Код:
#include <a_samp>
#include <color>
#include <sscanf2>

public OnRconCommand(cmd[])
{
    new operation[32], file[64], string[128];
    if(sscanf(cmd, "s[32]s[64]", operation, file)) return 1;
    if(strcmp(operation, "compile", true) == 0)
    {
                format(string, sizeof(string), "pawno\\pawncc.exe %s", file);
        systemEx(string);
        return 1;
    }
   
    return 1;
}
The plugin can be found here: https://sampforum.blast.hk/showthread.php?tid=582364


Respuesta: pawnCompiler - Compile your scripts without pawno - MatrixenXD - 03.08.2015

WoW
Good Work