| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 910 online users. » 4 Member(s) | 903 Guest(s) Bing, Google, Yandex, Dan-83, Mia, Sunlight1232
|
| Latest Threads |
Let's get this thread to ...
Forum: Village Games
Last Post: Mia
8 minutes ago
» Replies: 31,266
» Views: 11,765,647
|
PR2 Email Bug
Forum: Announcements
Last Post: bls1999
1 hour ago
» Replies: 0
» Views: 26
|
Challenge 8: Day at the R...
Forum: Survivor
Last Post: Resarekt
6 hours ago
» Replies: 33
» Views: 948
|
METAL MEGATHREAD
Forum: Multimedia Masterpieces
Last Post: JEEJAYEM
9 hours ago
» Replies: 58
» Views: 44,550
|
Last post wins!
Forum: Village Games
Last Post: LCPD
Yesterday, 9:31 PM
» Replies: 2,600
» Views: 2,394,784
|
Survivor: Jiggmin’s Reviv...
Forum: Survivor
Last Post: TRUC
Yesterday, 3:37 AM
» Replies: 1,250
» Views: 89,465
|
Word of the Post
Forum: Village Games
Last Post: Sunlight1232
3rd June 2026, 8:23 AM
» Replies: 29
» Views: 12,087
|
Challenge 7: Doors
Forum: Survivor
Last Post: Sushie
30th May 2026, 8:40 AM
» Replies: 6
» Views: 580
|
Lets get everyone to 100m...
Forum: Folding at Home
Last Post: Addy
30th May 2026, 2:11 AM
» Replies: 5
» Views: 769
|
I married my pr2 boyfrien...
Forum: Blogs
Last Post: Magyar
29th May 2026, 3:39 AM
» Replies: 22
» Views: 1,217
|
|
|
| Hi |
|
Posted by: lp - 19th December 2017, 7:45 AM - Forum: Welcoming Gates
- Replies (8)
|
 |
hi am lp and am sorry for my outburst on the site. am over it now lets move on and be happ k?
also can i has lp name back pl0x
thnx bye
|
|
|
| Good old configurable PR2 simming page |
|
Posted by: aaaaaa123456789 - 17th December 2017, 10:55 PM - Forum: Coding and Development
- No Replies
|
 |
For a long time, there was a page on acidch.at/multipr2.php that allowed loading an arbitrary number of instances of PR2 in a configurable layout. Originated as a prank (trying to make someone load 25,000 instances of PR2, which would crash most setups), the page actually survived and was useful to quite a few people.
That page has been down for a while, for a few reasons. I happened to find the code for it, so I figured I'd share it; someone might be able to do something nice with it.
Here:
PHP Code: <?php
function pr2code ($width, $height) { $width = (int) $width; if ($width <= 0) return false; $height = (int) $height; if ($height <= 0) return false; return '<embed width="' . (string) $width . '" height="' . (string) $height . '" base="http://external.kongregate-games.com/gamez/0001/0110/live/" ' . 'src="http://external.kongregate-games.com/gamez/0001/0110/live/embeddable_10110.swf"' . 'type="application/x-shockwave-flash"></embed>'; }
function repeat ($rows, $cols, $content) { $rows = (int) $rows; $cols = (int) $cols; if (($rows < 0) or ($cols < 0)) return false; $content = (string) $content; $line = str_repeat($content, $cols); if ($rows > 1) $result = str_repeat($line . '<br />', $rows - 1); else $result = ""; if ($rows) $result .= $line; return $result; }
function homepage () { $uri = $_SERVER['PHP_SELF']; return <<<code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Multiple PR2s</title> </head> <body> <center> <h2>Multiple PR2s</h2> <br /> Enter the configuration you want:<br /> <br /> <form action="$uri" method="get"> <table> <tr> <td align="right">Rows:</td> <td align="left"><input type="text" name="rows" value="1" /></td> </tr> <tr> <td align="right">Columns:</td> <td align="left"><input type="text" name="cols" value="1" /></td> </tr> <tr> <td align="right">Width (px):</td> <td align="left"><input type="text" name="width" value="550" /></td> </tr> <tr> <td align="right">Height (px):</td> <td align="left"><input type="text" name="height" value="400" /></td> </tr> </table> <br /> <input type="submit" value="Load" /> <input type="reset" value="Reset" /> </form> </center> </body> </html> code; }
$pagehead = <<<'code' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Multiple PR2s</title> </head> <body> code;
$pagefoot = <<<'code' </body> </html> code;
$r = @$_REQUEST['rows']; $c = @$_REQUEST['cols']; $w = @$_REQUEST['width']; $h = @$_REQUEST['height'];
if (($r === null) or ($c === null)) { echo homepage(); return 0; }
if (($w === null) and ($h === null)) { $w = 550; $h = 400; } if ($w === null) $w = $h * 11 / 8; if ($h === null) $h = $w * 8 / 11;
$line = pr2code($w, $h); if ($line === false) { echo homepage(); return 0; } $repeat = repeat($r, $c, $line); if ($repeat === false) { echo homepage(); return 0; }
echo $pagehead; echo $repeat; echo $pagefoot;
|
|
|
Producer Planet |
|
Posted by: Jyintel - 16th December 2017, 12:25 PM - Forum: Multimedia Masterpieces
- Replies (10)
|
 |
*A take on a thread from old JV*
♪ ♫ Producer Planet ♪ ♫
This is a place to connect with fellow producers of the community and receive feedback regarding your crafts (constructive criticism allowed only). If you produce music of any sort, you can leave a link to your music portfolio or something to that extent (soundcloud, youtube, spotify, etc etc.) and I will create a list of JV2's very own music producers!!
JV2 Music Producers:
While you're here, I ask that you check out everyone's pages and support them, as I will be doing the same.
Enjoy the music fest!!
|
|
|
|