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

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

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
?
Reply
#43

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)
Reply
#44

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

Something like this:

Код:
git clone https://github.com/oscar-broman/ppg.gitn...03631247cd 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
Reply
#46

thanks
Reply
#47

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?
Reply
#48

@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.
Reply
#49

@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 :/
Reply
#50

What errors do you get?
What is not working?
Reply
#51

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
Reply
#52

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

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
Reply
#54

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

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?
Reply
#56

Run develop.sh once
Reply
#57

Is anyone running this on your own web servers?
Reply
#58

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

http://46.105.238.159:7070/
Reply
#59

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)