[Tool/Web/Other] PAWN Playground - Online code runner
#1

Hey,

So I've finally managed to get a proper Linux compiler working, which allows me to use my Ubuntu VPS to both compile and run code.

Here's a tool I've been working on a little bit, which allows you to instantly write and test code without having to compile it and start the server/reload a FS/reload the GM. The output is limited to that of print and printf, though.

Have a look: http://slice-vps.nl:7070/
Reply
#2

fuck yeah, fucking awesome D

I suggest you should add new includes, like YSI package etc...
Reply
#3

Yeah, that's what I had in mind. Checkboxes for certain includes/plug-ins that will make them included.
Reply
#4

I sometimes use PAWN for solving real life problems, like counting, sorting something. And compiling a gamemode each time and running it wasn't really convenient. (if doing such thing is convenient/smart at all)

Now it's just one button away. Thanks!

And would you add plugin support? (CSTL for example)

EDIT:
You were a bit faster.
Reply
#5

Awesome, like always, good work.
Reply
#6

Looks nice. Will try it.
Reply
#7

Looks awesome Slice!
Good Job. I like it!
Reply
#8

Updates!

Lots of new stuff.. One cool feature is Pastebin integration - you can save and link to code by clicking just a button!

Example:
http://slice-vps.nl/ppg/?paste=xgDrkkXJ

Reply
#9

YEAH!!
I <3 this work of you Slice !!
Keep it up!! , and really lol its a pawno hardcore playground
Reply
#10

wow fucking awesome man good job
Reply
#11

Thanks, and I wouldn't say it's a "hardcore playground". It really is what you make it. For example, if you're having trouble with strfind you could just use this to quickly mess around with it and hopefully find the root to your problem!
Reply
#12

I put
pawn Код:
for(new i = 0; i < 100; i++)
{
     if(i == 99)
     {
         i = 0;
     }
     print("Livin la vida loca");
}
Eventually my browser crashed
Reply
#13

Get a better browser.
Reply
#14

Quote:
Originally Posted by CookieJar
Посмотреть сообщение
I put
pawn Код:
for(new i = 0; i < 100; i++)
{
     if(i == 99)
     {
         i = 0;
     }
     print("Livin la vida loca");
}
Eventually my browser crashed
Is it like this?
pawn Код:
#include <a_samp>

main ()
{
    for(new i = 0; i < 100; i++)
    {
         if(i == 99)
         {
             i = 0;
         }
         print("Livin la vida loca");
    }
}
It works.
pawn Код:
// Output:
[18:05:55] Livin la vida loca
[18:05:55] Livin la vida loca
[18:05:55] Livin la vida loca
[18:05:55] Livin la vida loca
[18:05:55] Livin la vida loca
// Continues ( very big )
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
[18:05:57] Livin la vida loca
Reply
#15

Nice Job!
can i see the PHP script in private message?
Reply
#16

I'm curious about the linux compiler, the php script is easy to make and to set it up, but the most interesting part is the compiler..
Will you release the compiler? (I don't mind if you don't include the source)
Reply
#17

Download the compiler v3.2.3664 and replace SOURCE/COMPILER/sc2.c with this and you're all set!
Reply
#18

Quote:
Originally Posted by Slice
Посмотреть сообщение
Download the compiler v3.2.3664 and replace SOURCE/COMPILER/sc2.c with this and you're all set!
thank you for the info, will try asap I'm home
Reply
#19

Sneak-peek of some awesome new features!

You can now see a nicely formatted assembler output, arranged in blocks by the line they came from. You can also click them to have that line highlighted!

Try it on:
http://slice-vps.nl/ppg/new.php (press "Show assembler output" then click inside the outputted assembly code)
Reply
#20

This is really aweomse. Nice work :]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)