Reload
Top Stats
Latest Blog Entries
1 I married my pr2 bo... lalafox 23
2 Game Design Ramblin... Sunlight1232 3
3 I JUST CAN’T 💀 Different 5
4 Lots of Life Change... Resarekt 3
5 If you are active o... TheBreeze 3
6 (Maybe) Final Updat... Chma 1
7 MY ACTIONS Ransom5hunna 7
8 A Board Game Sunlight123 7
9 Boo! gemj 0
10 DEATHBYGABE1 Different 0
Top Referrers
1 Stxtics 24
2 Ashley766 22
3 Stunt 21
4 a7x3 13
5 TRUC 7
6 ZXD 7
7 Camer the Dragon 5
8 Daft Fool 5
9 tadtad 5
10 XeNo 5
Latest Posts
Topic Date/Time  Last Sender Forum
Challenge 10: Race to the Polls Tue, 11:15 SirPepa781 Survivor
Let's get this thread to a mill... Tue, 11:00 Mia Village Games
2026 FIFA World Cup Tue, 10:53 Stxtics Game Day
Last post wins! Tue, 7:27 LCPD Village Games
Survivor: Jiggmin’s Revival Mon, 19:11 Resarekt Survivor
What are you listening to right... Sun, 22:01 Silky Silver Multimedia Masterpieces
[Forum]  Thread has a "stuck pos... Sun, 19:11 Mia Bugs and Suggestions
[Finished] PR2 Live Stream – Ju... Sun, 6:41 Resarekt Announcements
Lets get everyone to 100m ! Sun, 1:19 Addy Folding at Home
Challenge 9: Pass the Coconut Fri, 16:15 Sushie Survivor
PANDORA’S BOX 2: CIVIL WAR. Thu, 12:48 Sushie Survivor
[Finished] PR2 Live Stream – Ju... Thu, 1:50 bls1999 Announcements
Recommend good movies Mon, 12:11 Resarekt Discussion Hall
3 word story Sat, 19:15 Sunlight1232 Village Games
What situation has got you feel... Thu, 10:41 Sunlight1232 Discussion Hall
METAL MEGATHREAD Wed, 0:27 JEEJAYEM Multimedia Masterpieces
[Game]  Musical Evenizer Highsco... Mon, 20:46 bls1999 Bugs and Suggestions
Rapid-fire Twist: CHANGES Mon, 10:45 Sushie Survivor
Challenge 8: Day at the Races Sun, 0:21 Sushie Survivor
PR2 Email Bug Sat, 20:37 bls1999 Announcements
Word of the Post Wed, 8:23 Sunlight1232 Village Games

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,375
» Latest member: go88gbnet2
» Forum threads: 4,480
» Forum posts: 114,500

Full Statistics

Online Users
There are currently 316 online users.
» 4 Member(s) | 308 Guest(s)
Applebot, Bing, Google, Yandex, go88gbnet2, Mia, Resarekt, SirPepa781

Latest Threads
Challenge 10: Race to the...
Forum: Survivor
Last Post: SirPepa781
14 minutes ago
» Replies: 14
» Views: 373
Let's get this thread to ...
Forum: Village Games
Last Post: Mia
29 minutes ago
» Replies: 38,054
» Views: 12,242,891
2026 FIFA World Cup
Forum: Game Day
Last Post: Stxtics
35 minutes ago
» Replies: 66
» Views: 2,025
Last post wins!
Forum: Village Games
Last Post: LCPD
4 hours ago
» Replies: 2,617
» Views: 2,445,477
I married my pr2 boyfrien...
Forum: Blogs
Last Post: Adulock77
Yesterday, 7:19 PM
» Replies: 23
» Views: 2,047
Survivor: Jiggmin’s Reviv...
Forum: Survivor
Last Post: Resarekt
Yesterday, 7:11 PM
» Replies: 1,334
» Views: 113,646
What are you listening to...
Forum: Multimedia Masterpieces
Last Post: Silky Silver
21st June 2026, 10:01 PM
» Replies: 387
» Views: 470,502
Thread has a "stuck post"
Forum: Bugs and Suggestions
Last Post: Mia
21st June 2026, 7:11 PM
» Replies: 15
» Views: 638
[Finished] PR2 Live Strea...
Forum: Announcements
Last Post: Resarekt
21st June 2026, 6:41 AM
» Replies: 4
» Views: 227
Lets get everyone to 100m...
Forum: Folding at Home
Last Post: Addy
21st June 2026, 1:19 AM
» Replies: 6
» Views: 956

 
  Using Lua to optimize roller levels.
Posted by: ThePizzaEater1000 - 7th July 2020, 12:50 AM - Forum: Platform Racing 3 - Replies (1)

Recently, I spent about an hour and a half making and testing a short lua project of mine involving the block.teleportto lua command. I had been interested in this command ever since needing to use it creating FYR4 sector 12, though this was more related to what I had been doing earlier that day, which was creating a graphing calculator using lua. The code itself is shown below.

Code:
local times = tolua(player.getmetadata("rollerprog", 0))
local rtm = 0
local done = tolua(player.getmetadata("rollergendone", 0))
if done == 0 then
  if times == 0 then
    player.chat("this will take about two minutes. please be patient.")
  end
  if times < 25000 then
    while rtm < 10 do
      rtm = rtm + 1
      local xdist = times + math.random(16) - 8
      local ydist = (times + math.random(16) - 8) * -1
      block.getblock(1,1).teleportto(xdist,ydist, false)
      xdist = times + math.random(12) - 6
      ydist = (times + math.random(12) - 6) * -1
      block.getblock(1,1).teleportto(xdist, ydist, false)
      times = times + 1
    end
  end
  if times > 18745 and times < 18755 then
    player.chat("you are about halfway through the generation.")
  end
  rtm = 0
  local pvtimes = tolua(player.getmetadata("minerollerprog",0))
  if times >= 25000 and pvtimes < 12500 then
    while rtm < 10 do
      rtm = rtm + 1
      local xdist = (2 * pvtimes) + math.random(18) - 9
      local ydist = (-2 * pvtimes) + math.random(18) - 9
      block.getblock(0,1).teleportto(xdist,ydist,false)
      xdist = (2 * pvtimes) + math.random(18) - 9
      ydist = (-2 * pvtimes) + math.random(18) - 9
      block.getblock(0,1).teleportto(xdist,ydist,false)
      times = times + 1
      pvtimes = pvtimes + 1
    end
  end
  if times >= 37496 then
    player.teleportto(5,-5)
    block.getblock(-1,1).teleportto(25000,-25000,true,true)
    player.setmetadata("rollergendone",1)
    player.chat("generation is complete. enjoy your roller!")
  end
  player.setmetadata("rollerprog", times)
  player.setmetadata("minerollerprog", pvtimes)
end

This code takes three blocks set up beneath it like this: 
[Image: 608uB20.png]
and duplicates them, moving the duplicate to a distant location, determined by how far through the generation process it is. The code as it is configured currently creates 50000 vanishes and 25000 bombs, in a roller about 35.3 thousand blocks long (25k blocks tall, 25k blocks wide, diagonal). The lua itself isn't perfect, and due to some limitations, it only generates these blocks locally, and due to the random parts, will be different for everyone.

Despite this, it may be possible to use lua blocks like this to optimize roller levels, before they are sent to the server.


Roller Optimization
Optimizing rollers using this requires certain conditions, and there are some drawbacks to this.

The conditions are:

1. The bombs can be placed in a mathematical way, where nothing about the roller is lost.

This condition prevents using this optimization for "random" sections of rollers, such as vanish sectors. The main purpose of this condition is to minimize player desync.

2. You measured everything properly.

This condition is mostly to keep things normal and possible. If you screw this up, it could be cause issues related to block placement. Thankfully, a few tests with block.teleportto make measurements quite easy to make, and you could always just build around specific measurements.


The drawbacks are:

1. This adds a moment in the match to generate the blocks where they need to go.

Generating the blocks does take a bit. While loops allow the process to move MUCH faster, but it can't be done all at once, as otherwise it would causes extreme lag or even a crash. 20 blocks per frame seems to be good for most people, though it still does cause a crash or significant lag for some. The desktop preloader seems better disposed towards this too.

2. Still some possible desync.

Not everyone will reach the part at the same time, and you can't force people to wait 20 minutes for everyone else to catch up. People that arrive later to the sector will generate some blocks where the first people to get there already passed. This can be solved by generating all the blocks at the start of the level, but this leads to a delay to actually playing the level that may extend to ten minutes or more.


Nonetheless, some examples of roller sectors that could be optimized this way include:

FYR4 sector 3, FYR4 sector 5, FYR4 sector 6, FYR4 sector 7, FYR4 sector 8, FYR3 sector 3, FYR3 sector 2, and FYR3 sector 4.

Using these optimizations in FYR4 could have allowed me to complete the original plan for sector 11 (which was also optimizable), and perhaps tack on a few more sectors after sector 12. After all, this process does save a *lot* of blocks, especially with FYR4 sector 3 and 8.

This process is difficult and requires measurements, which adds a lot to the process of making the roller, but it could allow for significantly longer rollers.

Also, at the time of writing, there are a few things that need to be tested to see how well this would work, namely how bomb explosions would work like this and whether or not it allows for teamwork.

Print this item

  Push block desync bug
Posted by: bls1999 - 6th July 2020, 10:18 PM - Forum: Bugs and Suggestions - Replies (4)

Sometimes, when you move a push block, the position will either not update or the block will move in a way that causes a different position on other players' games. I don't know what causes it, but it's been a long-term goal to fix this. Can someone do some testing and try to figure out what causes it?

Print this item

  Trial and Error
Posted by: bi3liu - 5th July 2020, 5:43 PM - Forum: Platform Racing 2 - Replies (42)

-Trial And Error-

Introduction:

Trial And Error is a contest similar to GGP, but much harder. It is for either masters, or poor determined souls. This is a contest with amazing prizes, and much fun to be had on the 150 levels roller coaster, with 30 Trials to be conquered.
A special thank you to bi3liu, who pushed me to create this contest, and Magniloquent, who helped make sure that levels were not out of place, and review the system that we set up.

For completing a level, a player will gain one point, all levels give the same amount of points. Each Trial will give 5 points from levels, 1 per level, for a total of 150 Points. You will get an extra 1 point for completing each trial, ending in a grand total of 180 Points.
This contest is run by lalafox, Ashley766, Colind, and Anoromodero. If you wish to do your runs, message one of us on Discord at:
lalafox#4165(lalafox) - Host
Anoro#1638(Anoromodero)
Ashley766#6618(Ashley766)
Bi3liu#2184 - Backup
Colind#1453(Colind) - Backup


Rules:

• All runs for this contest will be done along side a judge, all runs *will* be recorded, or points will not count.

•If you complete a level, you own the point for that level, if you completed 4 levels of a Trial and did not complete the Trial, you still have those points. Additionally, you do not have to run an entire Trial in order to get back to where you were. If you beat 4 levels, you can start on the 5th level and ignore the 4 previous levels, resulting in completing the entire Trial, which will also result in your daily run being concluded, and you will not be allowed to start another Trial, regardless of having time left.

• Players are allowed to play with a judge for up to sixty minutes per day, once per day, and only one Trial is allowed to be completed per day. You are allowed to retry the same level in a trial as many times as you would like, but it will not score you any extra points after you have beaten it for the first time. If you are to fail, or get trapped, etc. You can retry during your the 60 minutes that you are given with the Judge you are with.

• Players are not allowed to do this contest for others.

• No hats are allowed for use, any stats can be used.

• No glitches are allowed. Glitches that are required to be performed for a player to beat a level are not counted as glitches. If you would like additional information, please contact one of the contest judges.

• Failure to follow these guidelines, or attempting to find or exploit loopholes in them will result in a ban from continuing this contest, and possible part removal.


Prizes:
180 Points - 20,000,000 Experience Points
144 Points - Artifact Hat(+Epic)
120 Points - 10,000,000 Experience Points
96 Points - Brew Set(+Epic)
72 Points - 7,500,000 Experience Points
60 Points - Bat Set(+Epic)
48 Points - 5,000,000 Experience Points
36 Points - Bubble Set(+Epic)
24 Points - 2,500,000 Experience Points
12 Points - Stick Set(+Epic)


Trials:

1. The Gate Guards

Hat Factory by Jiggmin (84156)
Redemption by Cooldude90 (5793214)
Apocalypse by Divinity (5877893)
Guardian by Overbeing (5161100)
The Guardian by 898ppp (6387752)

2. The Courtyard

Rapid Frustwork by Apex Frusts (6355758)
Electroman Adventures by Miniberry83 (6322428)
Cablad Caverns by Kwing95 (1557650)
Aggression by Apex Frusts (6284044)
High Anxiety by Kwing (6451283)

3. The Royal Guard

Century[Frust](Bronze) by AspectZero (6491146)
Obstaclez by Firefight (4998909)
F 145 Easy by Firefight (6272418)
F 145 Medium by Firefight (6272417)
[E]Frustration by AspectZero (6496555)

4. The Dungeons

Easy Frust by AspectZero (6492019)
Project #2032 by AspectZero (6487556)
Dragon’s Fortress by Fran10 (5691255)
Century[Frust](Silver) by AspectZero (6491146)
[Easy] Frust Attack by Intransitive (6464524)

5. Cavernous Wasteland

ClubStep by rafaelrosa123 (6424027)
Frustration by Apex Frusts (6313250)
[Easy] Co-Frust by Vipa (6461695)
Century[Frust](Gold) by AspectZero (6491146)
Frustrator by Munim (6393244)

6. An Attack In The Night

Chill Frust by Bubbel Doge (6481847)
~Ultimate Frust~ by Miniberry83 (6345680)
Frust (MEDIUM) by Miniberry83 (6376962)
frust by Firefight (5809725)
Co-Frust by Vipa (6461681)

7. Hunting Bandits

~Ultimate Frust 2~ by Miniberry83 (6351839)
Time Trial - Hard by Firefight (5769160)
Adept Frust by Apex Frusts (6274523)
[2min]Frustration by Munim (6447607)
The Legend by nerdy (798121)

8. Deep Dark Forest

Quick Frust by Apex Frusts (6355648)
[Easy] Fragile by Shattered Remains (6473923)
Skilled Frustration by Munim (6448860)
Death Temple by 898ppp (6316674)
Frust (HARD) by Miniberry83 (6375890)

9. A Small Stream

WTFrust by Apex Frusts (6277632)
Baal's Frust by Apex Frusts (6370927)
Tobias by Frust (6403157)
1 by Frust (6403141)
Ascension[Easy] by AspectZero (6488945)

10. Roaring Flames

Volcanic Inferno by Pounce (4866546)
[Expert] Volcanic Inferno by Pounce (5396064)
Flame Frustration by Flame God (6468005)
Sakupen Hell by -Level Editor- (6478070)
Dragon by SirGalevant (6486153)

11. Boss Hunter

Quest For Perfection[Remaster] by SirGalevant (6485737)
Deadlocked by Rafaelrosa123 (6430488)
Quest For Perfection by -Level Editor- (6476785)
Deadlocked by -Level Editor- (6467130)
Deadlocked[Remaster] by SirGalevant (6485760)

12. Words, Words, Words

Platform Racing 2 by Kwing95 (1775268)
Your Wife by Kwing (5900711)
Rainbow Dash by TRUC (6301789)
Fluttershy by TRUC (6358271)
Depression[VE] by Kwing (5964198)

13. Soaring High

Break Frust by Apex Frusts (6276320)
Dessication by Apex Frusts (6315245)
Brachios by Apex Frusts (6317864)
[Easy]Serpent[Frust] by Magniloquent (6472971)
[Easy] Sonia [Frust] by Apex Frusts (6406583)

14. The Fortress

Frustration Easy by Intrpd (1048085)
Frustration 2 Easy by Intrpd (2062832)
The Blueprints by Kwing95 (1843211)
Instinct Frust by Skilledzz (6490314)
Thunder Cloud by SirGalevant (6486097)

15. The High lord

Repent [Frust] by Apex Frusts (6416976)
Skill-Test [Frust] by Apex Frusts (6281698)
2017-Frust [Easier] by Vipa  (6467721)
Return 3 by 898ppp (6482699)
Blue Blues Frust by Romen. (6497247)

16. The Fortress Dungeons

[Easy] Boastful Frust by Shattered Remains (6473788)
ClaFru Easy by Kwing (5857068)
Falling Up 2 by -Level Editor- (6478160)
Falling Up by -Level Editor- (6478071)
Snake [Frust] by Genius Shadow (6471195)

17. The Eye Of The Overseer

Raphael [Frust] by Apex Frusts (6381203)
7 Minutes [Frustration] by Munim (6437914)
Frustrator’s Warm Up by Munim (6484860)
Frustipation by Lich (6449691)
Frustration Course by Munim (6452125)

18. Overseer's Minions

[Easy]Sticky Situation by 898ppp (6484510)
Joker Jr. [Frustration] by Munim (6436403)
Aarflon’s Lair by -Level Editor- (6466730)
Perfectionist [Frustration] by Munim (6433730)
150 Steps(Easy) by Fire N Screw (2101367)

19. Cornering The Beast

Succession Easy by Aspect0 (6486230)
2017-Frust by Vipa (6467716)
Terror[Frust] by AspectZero (6492049)
[Epic] Co-Frust by Vipa (6461694)
Ascending Order by -Level Editor- (6485902)

20. The Overseer's Wrath

Portal by AspectZero (6500493)
Ezra by Hard 77 (6474083)
Broodmother Lysrix by SirGalevant (6486134)
Michael[Frust] by Apex Frusts (6381545)
Lucifer[Frust] by Apex Frusts (6376269)

21. Running From Danger

Alcazar by Hard 77 (6473917)
Quirk by Hard 77 (6473785)
[Frust Fear] by Alvesta (6502198)
Fragg Frust-work by Apex Frusts (6313914)
Equitable [Frust] by Genius Shadow (6466702)

22. Boarding The Flagship

The Challenge by Fran10 (2533544)
Grim Easy by Firefight (2596657)
BOSS [Frust] by Genius Shadow (6467027)
Gabriel[Frust] by Apex Frusts (6383885)
Century[Frust](Platinum) by AspectZero (6491146)

23. Commanding The Fleet

Succession by Aspect0 (6486227)
Tales of Gold by AspectZero (6495488)
Serpent[Frust] by Magniloquent (6472969)
Frustration by AspectZero (6496554)
[Frust] Sticky Situation by 898ppp (6484512)

24. Facing The Enemy Fleet

Lazuli by Apex Frusts (6315126)
Element. By Hard 77 (6474201)
Depth Charge by Hard 77 (6473857)
Frust by Polyban (6489260)
[Legend] Co-Frust by Vipa (6461699)

25. Floating On Wreckage

Memorial Frust by Shattered Remains (6474047
Asus Frust by Curs3d (6478349)
[Hard] Fragile by Shattered Remains (6473922)
Boastful Frust by Shattered Remains (6473579)
[Impossible] Co-Frust by Vipa (6461738)

26. An Island

Free Frust by Shattered Remains (6472429)
Level Collab 2 by Kwing(4th Row Only) (5907535)
Frustration Easy by Fran10 (2175592)
40 Steps to Freedom by Aspect0 (6486545)
Depression[E] by Kwing (5964196)

27. Overseer's Lair

Challenge by Kniight (5087590)
Tough by Kniight (5077698)
Horde by Aspect0 (6486937)
Tenth Judgement by Taco2 (6247159)
Frustration by Intrpd (1045634)

28. The Sentinels

Challenge [Hard] by Fran10 (5349440)
Prince Of Persia by Fran10 (5440263)
Ascension by AspectZero (6488925)
Frustration 2 by Intrpd (2061284)
Pure Skillz by Fran10 (5311059)


29. The Door Guard

Sonia[Frust] by Apex Frusts (6402401)
Nightmare by AspectZero (6496081)
Hypertension by AspectZero (6490344)
F 145 Hard by Firefight (6272416)
Rage 101 by 898ppp (5659427)

30. Battling The Overseer

[Frust]Overseer by AspectZero (6495525)
[E]JIGGMIN (Unlimited Time) by -LP- (6483938)
The Net Dance by The Unforgiven (6416205)
The Gauntlet by TRUC (6469850)
Frustration 145 by Firefight (2623529)

Print this item

  Speedrunner of the Week #46
Posted by: ExceedZero - 5th July 2020, 9:47 AM - Forum: Platform Racing 2 - Replies (2)

Speedrunner of the Week
Welcome to Speedrunner of the Week! What is Speedrunner of the Week? It is a contest for skilled players, there are racers, fast racers, and on another level, speed runners. Do you have what it takes to be a speed runner?
How does it work? Every week a new Level is picked for players to speed run, a time is selected for you to beat, you must beat that time and all other contestants' times, the fastest time sent in by the end of the week will be the winner. 
The winner each week will earn the Crocodile Set + Epic.
The contest rules are listed below:
Failure to follow these guide lines will void your run for the week.
No corner glitches are allowed.
You are only allowed to use 180 Stat Points(Rank 30)
You are not allowed to use any hats other than the Exp Hat, Kong Hat, and Party Hat.
You are not allowed to win two weeks in a row.
Stat blocks and Items are allowed.
Only Video Submissions are allowed.
Important! You can only win the prize on the account used during the video of your run.
You must submit your run by 0:00 Sunday CST.
The Level Selected For This Week:
Square by Fresh Cookies (6326984)
 3:00.00
Last Week's Winner: M!nt!

Print this item

  METAL MEGATHREAD
Posted by: JEEJAYEM - 5th July 2020, 12:32 AM - Forum: Multimedia Masterpieces - Replies (61)

Mainly making this for nostalgia and as a legacy to the original thread in JV1.

Discuss all things metal! (The musical genre, you dummy)

Print this item

  VOTING: SoTM June Submissions
Posted by: Addy - 3rd July 2020, 6:50 PM - Forum: Platform Racing 2 - Replies (1)

Hey everyone, its been a whole year since i resurrected  Styler of the week Month, and i have decided to change how we choose the winners for every month. everything is the same, but i am going to let the community decide which of the submissions the judges have chosen is the winner. Contest thread can be found here: Click <-----

Our judges have chosen;

Bubble Boy by @"Jae"
Rango by @Hyperacticpro
Mayor Flower by @Odin0030
Marty McFly from 'Back to the future: Part III'  by @Ajax-iwnl

@"Jae" , @Hyperacticpro , @Odin0030 , @Ajax-iwnl my not participate in the poll. Thank you.

Print this item

  Blaz
Posted by: Blaz - 3rd July 2020, 4:18 PM - Forum: Welcoming Gates - Replies (4)

yeah it me
the gates to infinity / celeste / whatever guy
i'll buy your soul for a quarter if you want
i make games but none of them will be out for a while, mostly due to how i need to make like 82,293,417,646 plugins
i should've made this back in april of '18 apparently so oops

gamer

Print this item

  Add /updates command to chatroom!
Posted by: Ashley766 - 3rd July 2020, 2:53 PM - Forum: PR2 Suggestions - Replies (2)

Add /updates command to chatroom when a user types: /updates, it'll say something like "For latest pr2 updates, they can be found at pr2hub.com/updates.

Print this item

  honesty
Posted by: ClassyElephant - 3rd July 2020, 12:16 PM - Forum: Blogs - Replies (3)

I'm gonna be honest about the scavenger hunt/why it hasn't come out yet.

I've been getting shafted at my job. High hours with low pay, no overtime, just a real messy situation. I've had no free time to relax, let alone work on the scavenger hunt ever since the first one was cancelled. 

I had every intention to complete the new version as soon as I could, but things just keep coming up irl that I can't control. I still intend to complete it at some point, but if someone else wants to work on it instead and hold the contest, just make a thread in AAM and I'm sure the lovely mods can work it out with you.

I'm really sorry for letting you all down and not finishing what I started. Some good news is, I was able to find another temporary job and have put in my two-weeks notice for this job that I have now. I'm still looking for a job in my career field, but the market right now due to COVID is understandably dry. I'm not sure how much free time I'll have with my new job, but I will be making considerably more money with considerably less labor.

Again, I apologize. Frown

Print this item

  give me a lot of alerts
Posted by: new bat pr2 - 3rd July 2020, 9:04 AM - Forum: Blogs - Replies (22)

because i am bored

Print this item