Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PR2] Private server + source code
#61
(2016-01-10 01:40:24)aaaaaa123456789 Wrote: Now compress that folder, the PR2 level format awful and thus you'll gain a lot from compression.

I compressed using squashfs ids 5000000-6000000 (14GB) to a 3GB squashfs image. Squashfs worked very fast. Everything else was working too slow on my harddrive. (Simply copying from harddrive to ssd resulted only in a 1,5MB/s transfer speed)
Reply
#62
(2016-01-10 15:49:42)FastiQ Wrote:
(2016-01-10 01:40:24)aaaaaa123456789 Wrote: Now compress that folder, the PR2 level format awful and thus you'll gain a lot from compression.

I compressed using squashfs ids 5000000-6000000 (14GB) to a 3GB squashfs image. Squashfs worked very fast. Everything else was working too slow on my harddrive. (Simply copying from harddrive to ssd resulted only in a 1,5MB/s transfer speed)

Good idea.
I had never known how squashfs worked; I just looked it up.
If you need to contact me for any reason, or if you have any questions, concerns, problems or requests, message me here or email me at aaaaaa123456789@acidch.at.

This forum has been around for (loading...)
Reply
#63
For those who are still interested, I have now implemented Level Editor.

Video demo (skip to 2:30 for some quick technical overview):




Binaries:
https://github.com/Stardox/PR2PS/releases

.NET framework v4.5 required.

Source code:
https://github.com/Stardox/PR2PS

Note:
Do not reuse your v0.1.0 database for this new release. This is because model has changed and migrations will be implemented later on.

I am also thinking about porting this to .NET Core so that it can run on other platforms.

Cheers.
[-] The following 2 users say Thank You to Stardox for this post:
  • 12as, FastiQ
Reply
#64
Nice work!
Today I noticed that Jiggmin has open-sourced the PR2 server!

Blog: https://grahn.io/anyone-want-to-work-on-...rm-racing/
Repository: https://github.com/jacob-grahn/pr2-multiplayer-server
Reply
#65
(2018-01-09 15:06:31)FastiQ Wrote: Nice work!
Today I noticed that Jiggmin has open-sourced the PR2 server!

Blog: https://grahn.io/anyone-want-to-work-on-...rm-racing/
Repository: https://github.com/jacob-grahn/pr2-multiplayer-server

What's going on here?
PHP Code:
if($data != 'none' && strpos($data'`') === false){ 
Is it looking for a backtick in the room name?
What happens if you make or join a room with a backtick in its name?
Reply
#66
(2018-01-09 17:19:29)Ringstaart Wrote:
(2018-01-09 15:06:31)FastiQ Wrote: Nice work!
Today I noticed that Jiggmin has open-sourced the PR2 server!

Blog: https://grahn.io/anyone-want-to-work-on-...rm-racing/
Repository: https://github.com/jacob-grahn/pr2-multiplayer-server

What's going on here?
PHP Code:
if($data != 'none' && strpos($data'`') === false){ 
Is it looking for a backtick in the room name?
What happens if you make or join a room with a backtick in its name?

Backticks are used as separators in TCP packets sent to and from the game server, so having one in a name would break the packets.
Check out my YouTube channels for tool-assisted goodies.
Suuper W, SuuperPR2
Reply
#67
(Escaping strings is a mysterious art for him.)
If you need to contact me for any reason, or if you have any questions, concerns, problems or requests, message me here or email me at aaaaaa123456789@acidch.at.

This forum has been around for (loading...)
Reply




Users browsing this thread: 1 Guest(s)