| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,364
» Latest member: nh88zacom
» Forum threads: 4,479
» Forum posts: 113,978
Full Statistics
|
| Latest Threads |
Survivor: Jiggmin’s Reviv...
Forum: Survivor
Last Post: 4h3y
10 hours ago
» Replies: 1,320
» Views: 112,644
|
What are you listening to...
Forum: Multimedia Masterpieces
Last Post: Silky Silver
Yesterday, 10:01 PM
» Replies: 387
» Views: 469,762
|
Let's get this thread to ...
Forum: Village Games
Last Post: Mia
Yesterday, 9:26 PM
» Replies: 37,563
» Views: 12,212,988
|
Thread has a "stuck post"
Forum: Bugs and Suggestions
Last Post: Mia
Yesterday, 7:11 PM
» Replies: 15
» Views: 617
|
2026 FIFA World Cup
Forum: Game Day
Last Post: Mia
Yesterday, 7:08 PM
» Replies: 62
» Views: 1,712
|
[Finished] PR2 Live Strea...
Forum: Announcements
Last Post: Resarekt
Yesterday, 6:41 AM
» Replies: 4
» Views: 181
|
Lets get everyone to 100m...
Forum: Folding at Home
Last Post: Addy
Yesterday, 1:19 AM
» Replies: 6
» Views: 943
|
Challenge 9: Pass the Coc...
Forum: Survivor
Last Post: Sushie
19th June 2026, 4:15 PM
» Replies: 527
» Views: 22,198
|
i am also alive
Forum: Blogs
Last Post: 1amayzingman
19th June 2026, 12:08 AM
» Replies: 6
» Views: 3,767
|
PANDORA’S BOX 2: CIVIL WA...
Forum: Survivor
Last Post: Sushie
18th June 2026, 12:48 PM
» Replies: 32
» Views: 1,704
|
|
|
| Replay System |
|
Posted by: oxy - 28th August 2020, 3:56 PM - Forum: PR2 Suggestions
- Replies (28)
|
 |
This has been a highly requested feature in LT Discord especially from @Magniloquent and @bi3liu and I've always wanted this in PR2, so I spent all of yesterday making a little prototype to get the ball rolling and hopefully pique some interest here for this feature.
Here's a modified client & custom server with rudimentary replaying capability, and switching cameras with the 1234 keys:
I was thinking there could be a "Replay Manager" somewhere with your last 10 replays, and you could save a replay or send someone a replay in a PM etc.
More gifs:
https://gfycat.com/bigheartedaffectionatecarp
https://gfycat.com/enchantingeagerdeinonychus
It seems like a lot of work but it's surprisingly simple to add. Most of the work is server-side (which I heard you like,) the replays are recorded by the server and played back from the server so there's no room funny business, bar hacking the game, which would be on the replay. But you can do it however you like.
Here are my implementation details:
Recording
Upon starting a race the server will add a fake "ghost" racer I call the VCR. This exists only on the server, the client is not aware of it. The VCR has the same interface as a regular client connection, i.e. you can write packets to it, and it will be sent packets about other racers as a normal client would, these packets include `createRemoteCharacter`, `beginRace`, position updates `p` and `exactPos`, and everything a normal racer would receive.
EXCEPT: it will not receive a `createLocalCharacter`packet, this is explained in the playback section.
The VCR will save all the packets received during the race with unix millisecond timestamps prepended (this may be better as a delta timestamp), and once all players have left the race it'll save the replay with a unique ID, I used course ID + version + timestamp as the ID.
Playback
To play back the recording the server will read each packet from the replay file and schedule them to be sent at the appropriate intervals according to the unix millisecond timestamp at the beginning of the packet. I omitted the first 3 packet parameters `timestamp`, `subHash`, and `sendNum` from the packets before sending, you may want to remove `subHash` and `sendNum` entirely from being recorded.
Rather than a `createLocalCharacter` packet, a replay spectator will receive a `createSpectator` packet.
I've made a git diff of the (small amount) of changes made to the client https://pastebin.com/6t3Mzn17
The server is completely custom and in Go, so I'm not sure how useful it will be to see.
Here's the raw replay recording from the video (i.e. what the server reads and parses and sends to the spectating client) https://pastebin.com/CdmT5M1Z.
A note about versioning:
Replay recordings may be saved with a copy of the level to avoid issues with different versions or the level being deleted entirely.
Game versions should not be an issue unless a part/item is removed from the game, which is unlikely.
Any questions/criticism welcome.
|
|
|
| wholesome |
|
Posted by: ClassyElephant - 25th August 2020, 6:06 AM - Forum: Blogs
- Replies (3)
|
 |
Just looked at PPOY again.
There's so many people on this website that are all varying ages, styles, social cliques, etc. Even though we shouldn't, we often judge people by the way they look, which helps us determine who we hang out with and associate with.
I feel that if we were all together in-person, it's very unlikely that we would be friends, or even communicate with each other. This site allows us to do just that.
And I think thats beautiful.
|
|
|
| Blast from the past |
|
Posted by: bobheadtomato - 24th August 2020, 7:10 PM - Forum: Welcoming Gates
- Replies (9)
|
 |
Hey!
I had a bit of downtime and was trying to think of old internet games to play, so I decided to check and see if platform racing 2 still existed, and discovered somehow that game is still chugging along! I forgot the music in it is full of bangers.
Anyway, I decided to check out to see if Jiggmin’s Village still existed, and it’s pretty wild to me that this is still going too as I had originally joined it over 12 years ago. I wasted so many hours practically doing nothing on this website it’s crazy to think back on it.
Just wanted to pop in and say hi! Hope all’s been well with everyone.
|
|
|
|