SA-MP Forums Archive
[Tool/Web/Other] PAWN Playground - Online code runner - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] PAWN Playground - Online code runner (/showthread.php?tid=314780)

Pages: 1 2 3


Re: PAWN Playground - Online code runner - Y_Less - 21.07.2014

Nice. I mainly wanted it to look at more optimised assembly (or post examples without "break"s).


Re: PAWN Playground - Online code runner - ShinichiKudou - 25.07.2014

Quote:
Originally Posted by Slice
Посмотреть сообщение
It is now!

The following options can be overridden:
  • dataAlignment - A
  • compactEncoding - C
  • codepage - c
  • debugLevel - d
  • optimizationLevel - O
  • stackHeapSize - S
  • skipLines - s
  • tabsize - t
  • verbosityLevel - v
  • disableWarning - w
  • requireSemicolons - ;
  • requireParentheses - (
Simply add a special comment in the code. Examples:
pawn Код:
//@pawncc debugLevel=0
//@pawncc optimizationLevel=2
//@pawncc requireSemicolons=false

so we only compile using this command?

Код:
pawncc (filename).pwn
?


Re: PAWN Playground - Online code runner - ShinichiKudou - 25.07.2014

now got some problems compiling

https://github.com/Zeex/pawn/issues/31
https://github.com/Zeex/pawn/issues/30


EDIT: @Y-Less it involves your libraries (YSI)


Re: PAWN Playground - Online code runner - ShinichiKudou - 28.07.2014

can you add some instructions how to set PPG on our VPS the in in git was not so clear


Re: PAWN Playground - Online code runner - Slice - 28.07.2014

Something like this:

Код:
git clone https://github.com/oscar-broman/ppg.git
cd ppg
./install.sh
ln -s /path/to/pawncc node_modules/samp-server/bin/pawncc
npm install -g forever # if this doesn't work, run: sudo npm install -g forever
forever start lib/ppg.js



Re: PAWN Playground - Online code runner - ShinichiKudou - 29.07.2014

thanks


Re: PAWN Playground - Online code runner - czerwony03 - 31.07.2014

Hi everyone,

I have just installed everything on my vps with Ubuntu.
Unfortunately it's not working :/.
Here you have addres: http://s1.redlike.pl/ppg/public

I can't hit buttons and can't sign to github.

In Apache logs I have 2 errors:
[Thu Jul 31 15:43:38 2014] [error] [client 80.48.159.1] File does not exist: /var/www/ppg/public/components/oauth-js/oauth.min.js, referer: http://s1.redlike.pl/ppg/public/
[Thu Jul 31 15:43:38 2014] [error] [client 80.48.159.1] File does not exist: /var/www/ppg/public/socket.io, referer: http://s1.redlike.pl/ppg/public/

Can you help me?


Re: PAWN Playground - Online code runner - Slice - 31.07.2014

@czerwony03: You're doing it wrong. You can't put it in your webserver - you need to run the custom PPG webserver.

Read my instructions above.


Re: PAWN Playground - Online code runner - czerwony03 - 31.07.2014

@Slice: I created account with homefolder in /var/www/ppg and installed it with your instruction above
Quote:

git clone https://github.com/oscar-broman/ppg.git
cd ppg
./install.sh
ln -s /path/to/pawncc node_modules/samp-server/bin/pawncc
npm install -g forever # if this doesn't work, run: sudo npm install -g forever
forever start lib/ppg.js

And it's not working :/


Re: PAWN Playground - Online code runner - Slice - 31.07.2014

What errors do you get?
What is not working?


Re: PAWN Playground - Online code runner - Jonny5 - 24.05.2015

yes I know all about linux and how easy it can be to install,
and that android uses linux kernel . lol

but not doing that right now that is why i wanted to see if anyone is hosting a live copy
thanks


Re: PAWN Playground - Online code runner - Slice - 27.09.2015

I just updated it to work with the latest Node.js version. Clone it, run install.sh then run develop.sh.


Re: PAWN Playground - Online code runner - SecretBoss - 27.09.2015

Quote:
Originally Posted by Slice
Посмотреть сообщение
I just updated it to work with the latest Node.js version. Clone it, run install.sh then run develop.sh.
I can't find any download link lol


Re: PAWN Playground - Online code runner - riajedA - 27.09.2015

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
I can't find any download link lol
https://github.com/oscar-broman/ppg


Re: PAWN Playground - Online code runner - SimonItaly - 14.01.2016

I've installed PPG on Debian 8, but I'm getting a blank page on localhost:7070. Apparently it can't find the *.css and *.js in the components folder (e.g. http://localhost:7070/components/fon...wesome.min.css)
How can I fix this?


Re: PAWN Playground - Online code runner - Slice - 14.01.2016

Run develop.sh once


Re: PAWN Playground - Online code runner - Crystallize - 05.04.2016

Is anyone running this on your own web servers?


Re: PAWN Playground - Online code runner - Jayse - 07.10.2016

I fixed the problems, here is the ppg if someone would like to try.

http://46.105.238.159:7070/


Re: PAWN Playground - Online code runner - Chaprnks - 07.12.2017