Push Button Master Server 0.93a
by Mike Kuklinski · 05/20/2005 (4:22 pm) · 27 comments
Download Code File
Primary Mirror - GarageGames
Secondary Mirror - Kuattech 1
I have uploaded a new version of PBMS from my head. This only uses RAM, no SQLite required.
Currently, the project is set up for VC 8.0 (the Express ones). I did not include the PLib libraries (NET or UL); you must compile those yourself.
If a preference file does not exist, the Master Server Daemon will automatically make one, and fill it with defaults.
In the BIN folder is a Win32 binary. It has everything it needs with it (it makes it's own preference file).
Changelog:
0.93a: (12/23/05)
Added a 'name' preference.
Added a 'region' preference.
Added a 'MasterServerInfoRequest' packet (24).
Added a 'MasterServerInfoResponse' packet (26).
--CString 'name' len-255
--CString 'region' len-255
--U16 'numServers' len-16
0.93: (12/22/05)
Quite a few bugs were fixed.
Fixed the client-send netcode so that the client will receive the proper packets.
Added RAM support.
Removed SQLite support -- it now runs entirely from RAM.
Added new preferences and repaired the bantime preference.
0.92:
Several security issues were patched.
Preference support was added.
Updated from SQLite 2 to SQLite 3.
Added Flood Protection.
Primary Mirror - GarageGames
Secondary Mirror - Kuattech 1
I have uploaded a new version of PBMS from my head. This only uses RAM, no SQLite required.
Currently, the project is set up for VC 8.0 (the Express ones). I did not include the PLib libraries (NET or UL); you must compile those yourself.
If a preference file does not exist, the Master Server Daemon will automatically make one, and fill it with defaults.
In the BIN folder is a Win32 binary. It has everything it needs with it (it makes it's own preference file).
Changelog:
0.93a: (12/23/05)
Added a 'name' preference.
Added a 'region' preference.
Added a 'MasterServerInfoRequest' packet (24).
Added a 'MasterServerInfoResponse' packet (26).
--CString 'name' len-255
--CString 'region' len-255
--U16 'numServers' len-16
0.93: (12/22/05)
Quite a few bugs were fixed.
Fixed the client-send netcode so that the client will receive the proper packets.
Added RAM support.
Removed SQLite support -- it now runs entirely from RAM.
Added new preferences and repaired the bantime preference.
0.92:
Several security issues were patched.
Preference support was added.
Updated from SQLite 2 to SQLite 3.
Added Flood Protection.
About the author
http://dev.stackheap.com/
#2
05/20/2005 (4:50 pm)
Yaay! Push Button!
#3
05/21/2005 (8:31 am)
Currently I fixed another bug (there was a security risk in readU8), and I am debugging the server with RAM capabilities, so it will store server information in RAM instead of SQL. This is still being tested, however. I might also include basic user authentication capabilities with it.
#4
05/21/2005 (12:40 pm)
Can someone please fix the link? It seems to be broken.
#5
EDIT: For those of you who are too lazy, you can also get the SQlite DLL at dl.uberrealgames.com/sqlitedll-3_2_1.zip
Robert
05/22/2005 (6:41 pm)
I put this on my webspace at dl.uberrealgames.com/pbms0.92.rar just incase you still need it hosted elsewhere.EDIT: For those of you who are too lazy, you can also get the SQlite DLL at dl.uberrealgames.com/sqlitedll-3_2_1.zip
Robert
#6
05/22/2005 (7:06 pm)
Thanks Robert!
#7
(By the way, incase you need the correct SQlite DLL, I edited my post above with the SQlite DLL)
Robert
05/22/2005 (7:27 pm)
Anything to help the community.(By the way, incase you need the correct SQlite DLL, I edited my post above with the SQlite DLL)
Robert
#8
05/22/2005 (7:50 pm)
I fixed my link as well -- however the bandwidth concerns are killing my DSL :) -- Btw, Robert, why did you not linke to the SQLiteDLL on sqlite?
#9
Nice making my site the primary mirror, :P. I have currently used 275 MB of my monthly bandwidth (The month is almost over anyway). I just have to say, if because of this file, I end up getting 900+ MB used of my bandwidth, I may have to stop hosting it (but I don't forsee this happenening anytime in the near future, since that would mean quite a few people would have to download it in a short time, :P).
Also, I decided to host the SQlite DLL since people would be too lazy to click it if it were to the SQlite site (I don't even understand my logic behind it, :P)
Robert
05/23/2005 (7:43 pm)
@Mike:Nice making my site the primary mirror, :P. I have currently used 275 MB of my monthly bandwidth (The month is almost over anyway). I just have to say, if because of this file, I end up getting 900+ MB used of my bandwidth, I may have to stop hosting it (but I don't forsee this happenening anytime in the near future, since that would mean quite a few people would have to download it in a short time, :P).
Also, I decided to host the SQlite DLL since people would be too lazy to click it if it were to the SQlite site (I don't even understand my logic behind it, :P)
Robert
#10
05/23/2005 (10:15 pm)
BTW, if anyone catches any problems with it, let me know so I can fix them.
#11
05/24/2005 (9:23 pm)
Is this for running your own Master Server?
#12
Any clues ?
05/25/2005 (12:07 pm)
I can get the server displayed on the master , but cant get the client to see the server when i query the the master.Any clues ?
#13
Billy: Are you running the Master Server on the same system you are trying to query it on? Or is it on the same local network as you?
05/25/2005 (6:39 pm)
TerroX: Affirmative.Billy: Are you running the Master Server on the same system you are trying to query it on? Or is it on the same local network as you?
#14
Its the same local network , i can query lan and it works fine.
Im testing with the starter.fps to make it easier , i have set port 28000 to 28002 in xp.
anything else i need ?
05/26/2005 (7:08 am)
@MikeIts the same local network , i can query lan and it works fine.
Im testing with the starter.fps to make it easier , i have set port 28000 to 28002 in xp.
anything else i need ?
#15
05/26/2005 (1:00 pm)
Well, when I used to test it with the original PBMS (Ben's untouched), when I did it on the local network, it failed miserably. Try it remotely.
#16
12/22/2005 (1:39 pm)
I just uploaded a new version, enjoy.
#17
I'm real glad to see this resource.
I tried to use this with Visual Studio net 2003 and of course it would not run due to the project is later than the compiler. I then tried to install VS8 C++ express and had to give up. They insist on puting a few gigs of stuff in C: and my c: is small to allow OS backups. Even tried another computer and the installer crashed so express seems like more trouble than it is worth.
So, I'm trying to modify it so it will work with my VS C++ 2003 compiler. It can't find a few files like
network.h I assume they are part of the express installation since I don't see them in the pbms download.
Any advice on where to get these extra files? I downloaded generic files from the net with those names but they don't seem to be compatible with the pbms code. The compiler says "xxxxx" is not contained in network.h. " or some similar thing that implied the generic files are the wrong ones.
Thanks, I'll upload the VC 2003 project if I can get it to compile.
John
05/15/2006 (2:16 pm)
Mike, I'm real glad to see this resource.
I tried to use this with Visual Studio net 2003 and of course it would not run due to the project is later than the compiler. I then tried to install VS8 C++ express and had to give up. They insist on puting a few gigs of stuff in C: and my c: is small to allow OS backups. Even tried another computer and the installer crashed so express seems like more trouble than it is worth.
So, I'm trying to modify it so it will work with my VS C++ 2003 compiler. It can't find a few files like
network.h I assume they are part of the express installation since I don't see them in the pbms download.
Any advice on where to get these extra files? I downloaded generic files from the net with those names but they don't seem to be compatible with the pbms code. The compiler says "xxxxx" is not contained in network.h. " or some similar thing that implied the generic files are the wrong ones.
Thanks, I'll upload the VC 2003 project if I can get it to compile.
John
#18
I'm an animator trying to play programmer so a little help would be appreciated.
After installing Platform SDK and DX9SDK, it still demanded netSocket.h, netFirst.h, mainIncludes.h , netAddress.h, mainDefines.h and ul.h. I found versions of these files on the internet but then the error changed to "open is not a member of netSocket" so obviously the files I found were not the right version, or even written to address the same problem, I guess.
What am I not including that is going to give me these files? It's obvious that a lot of you were able to compile it so it must be simple. I don't see these files in either masterserver or network in PBMS. Or any in of the other SDK's I've installed.
Thanks,
John
05/27/2006 (1:18 am)
Finally got VS C++ Express installed on a different computer and it throws the same errors as VS C++ net.I'm an animator trying to play programmer so a little help would be appreciated.
After installing Platform SDK and DX9SDK, it still demanded netSocket.h, netFirst.h, mainIncludes.h , netAddress.h, mainDefines.h and ul.h. I found versions of these files on the internet but then the error changed to "open is not a member of netSocket" so obviously the files I found were not the right version, or even written to address the same problem, I guess.
What am I not including that is going to give me these files? It's obvious that a lot of you were able to compile it so it must be simple. I don't see these files in either masterserver or network in PBMS. Or any in of the other SDK's I've installed.
Thanks,
John
#20
05/31/2006 (9:40 pm)
Thankyou so much for this resource! I have been trying to figure out how to set up my own master server. But now with this resource my problem is fixed! Thankyou! 
Torque Owner Mike Kuklinski