PRMasterServer

Insights into the development of Project Reality.
Post Reply
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

PRMasterServer

Post by AncientMan »

Hey guys, time for another blog. No pictures, just a bunch of text, how boring hey...

So as I'm sure everyone is well aware, with PR:BF2 v1.2 it brings in support for PRMasterServer. But what is PRMasterServer, what does it do, why is it so important? Well let me explain...

With GameSpy shutting down, it takes with it the online services for Battlefield 2 (as well as many other games that were also announced in the shutdown). While BF2 is still playable right now (it shuts down June 30 according to EA), after the services are shut down you can no longer login to your online accounts, there's no more server list, there's no more online play. It will kill BF2, and all associated mods (unless you only play co-op offline of course).

So yeah, that's not good, not good at all. Screw that I say, PR:BF2 still has players, it needs to live right? So in order to keep it alive and kicking, we needed to develop a replacement for GameSpy. This means a new login server, a server list server, and CD Key verification (or rather, say yes to all CD Keys ;)). GameSpy also handles BF2 statistics, but since PR:BF2 doesn't support stats, it's not replaced. So off I go to code it up. I'd like to note here that there was some code floating around on the internets for a login server emulator. We did look into using this, but ultimately it wasn't up to scratch, and it wasn't used. Besides, the login server is only half the issue.

Before anything happened, FH2 contacted me to see what were our plans. Because I already had custom written code for all the client-side implementation of GameSpy's functionality, as seen in PRLauncher (login) and PRSPY (server list), it was not an issue for me to do the server-side functionality. So I told them that I'd get it done no worries and they could use our server if they wanted. They were cool with that (well of course they were :p), so FH2 was on-board.

And yeah, when I had some spare time after work, I slapped some code together, and PRMasterServer was born. Took about 3 afternoons, maybe 20 hours all up to get it all working. Of course, after that testing had to be done, stress testing, bugs fixed, etc. But since releasing v1.2, apart from a couple of issues that were fixed reasonably quickly, it's been pretty solid. And PR:BF2 survives another day :D.

Now that's all well and good for PR:BF2 and FH2, but what about the rest of Battlefield 2? Well there's been a few other people taking up the slack, ReviveBF2 being the main group that have been getting all the media attention. But they are yet to release their solution. Looks like they've run into some issues with their server list, but I'm sure they can sort it all out in the next 10 days or so. Which leads me onto my next point.

Because I'm a nice guy, in order to help the other people working on solutions for BF2, BF2142, and any other game affected by the GameSpy shutdown, I've open-sourced PRMasterServer under the GPLv3 license. Hopefully it can prove useful to others working on GameSpy replacements, and hopefully we can keep on playing our favourite games long after the publishers give up...

But alas, any online service does have a use by date, and PRMasterServer is no exception. It does cost money to run these servers, and yes the rumors are true that I pay for this out of my own pocket (I don't receive PR donations - they only go to the website and subversion server payments for PR:BF2, PR:A3 and PR2). But it's all good, PR:BF2 will continue for a long time yet if I have anything to say about it, today is not the day it dies.

That'll do for this wall of text, enjoy, and happy online gaming :)
Image
IWI-GALIL.556FA
Posts: 511
Joined: 2013-03-25 20:51

Post by IWI-GALIL.556FA »

That's awful nice of you to keep it open sourced to help others. A community is only as strong as it's leaders, and we have a strong community.

And now, we wait.....
KEIOS
Posts: 522
Joined: 2008-09-08 12:43

Post by KEIOS »

Thanks for all the work you guys put into the game!
MADsqirrel
Posts: 410
Joined: 2011-08-15 13:00

Post by MADsqirrel »

How can you be so nice?
Paying out of your pocket so we can play?
Write code stuff and make it free for everyone to use?
You are like PR Jesus.
[img]http://www.realitymod.com/forum/uploads/signatures/sigpic56970_7.gif[/img]
UAE FPSB9K58
Posts: 9
Joined: 2014-06-17 23:12

Post by UAE FPSB9K58 »

More like the Jesus and Saint of Game Developers and Modders. Never have I seen a dev team so benevolent and with such dedication. This is a team that is the embodiment of "for players, by players".

Thank you all very much for your work!
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Post by Rhino »

AM is da man!
Image
Mineral
PR:BF2 Lead Developer
Posts: 8532
Joined: 2012-01-02 12:37

Post by Mineral »

Image
Image
tankninja1
Posts: 962
Joined: 2011-05-31 22:22

Post by tankninja1 »

One server to rule them all...
Image
=Romagnolo=
Posts: 4765
Joined: 2006-12-29 14:52

Post by =Romagnolo= »

seriouslly, isn't there anyway to pay you?
[R-DEV]OkitaMakoto:"Cheers, you're the man, Okita"
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Adriaan:"Damned classy Roma, if I may say so."
[R-DEV]Chuc:"Pro man, pro."
(yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
WeeD-KilleR
Posts: 792
Joined: 2009-11-01 13:32

Post by WeeD-KilleR »

Inb4 "why haven't you guys fix the flare bug yet. You guys suck"

Really nice work. Appreciate that you put so much of your own time and money into keeping this mod alive. Hats off for this.
camo
PR:BF2 Developer
Posts: 3156
Joined: 2013-01-26 09:00

Post by camo »

A-man
future superhero.
Image
[md]MadMak[rus]
Posts: 358
Joined: 2009-05-15 11:24

Post by [md]MadMak[rus] »

Thank you
Some guy: "u a f** lier this guy dont use cheats i see him everyday... u draw tha lines u f*** loser"

www.clan41.ru
Redamare
Posts: 1897
Joined: 2007-10-30 21:09

Post by Redamare »

Doo I smell a possible Merger? ... Could you in turn letting FH2 Devs use the open sourced server could we benefit with our WW2 style game play? they do have large amounts of Objects effects and other goodies our boys in PR Normandy Im sure would love to get their hands on... Its worth a try :3
matty1053
Posts: 2007
Joined: 2013-07-03 00:17

Post by matty1053 »

Ancient man and the mates who helped him...

I must greatfuly approve your actions to help the PR community live to it's greatest!
We all wish to give you hugs and cookies, well at least I do!

If I had enough money, I would definently donate about $1k to PR. (But of course, i have to pay some bills n' stuff..)

I can assure 2 things...
I love PR now.
If I win the lotto, I will donate $5k to PR. (No joke! Depends on how much I get tho!)

But I noticed the login times take less then like 1-2 seconds!!!!

THANK YOU GUYS FOR DOING THIS!!!!!
-matt
DETROIT TIGERS
Image
maximi4444
Posts: 32
Joined: 2011-06-20 06:35

Post by maximi4444 »

I salute you Sir for paying that from your own pocket....you are making many people happy......including me.....dammit I think I am going to cry.....nice people still exist.... *THE BIGGEST BLOODY THUMB YOU HAVE EVER SEEN UP*
Raphavenger
Posts: 637
Joined: 2014-04-05 19:11

Post by Raphavenger »

AMAZING!!!!!!!!!! :)
Regdul
Posts: 3
Joined: 2010-12-08 11:47

Post by Regdul »

Image
ComradeHX
Posts: 3294
Joined: 2009-06-23 17:58

Post by ComradeHX »

Image
zloyrash
Posts: 408
Joined: 2009-11-08 10:25

Post by zloyrash »

Thank you AncientMan!
Image
Post Reply

Return to “Development Blogs”