Game Development Community

Pushbutton Master Server Redux

by ArmedGeek · 05/15/2007 (8:54 am) · 3 comments

Download Code File

I've resurrected Ben Garney's master server. It includes some fixes, CMake files and VS2005 project files. This builds and runs on both Windows (XP) and Linux (Kubuntu Feisty). Functionality has been only tested on Linux. I plan to continue with this and add start/stop scripts for Linux and whatever Windows equivalent is ( I really don't use Windows ).

If anyone wants to do the Mac stuff, I'm sure it would be appreciated. I dont' own a Mac.

Windows
Open the solution, edit paths for includes and libs to match your system, build. When you run it the first time, it will generate a generic preferences file, edit this file to suit your needs.

Linux
Use cmake (http://www.cmake.org). I hate GNU autotools. I had hoped to use CMake for all platforms, but on Windows that proved more difficult than just creating VS project files.

After cmake is installed:
user@host $ cmake .
user@host $ make

That should do it. I pulled the required parts from plib so you don't need that installed. In this version there should be no outside dependencies.

The master server can also be downloaded at:
www.lonestarcode.com/download.php?list.7

#1
05/15/2007 (10:38 am)
Hey thanks a ton!!! I was really hoping someone would get around to this soon.
#2
08/09/2007 (8:26 am)
Hey guys got a problem :(

Error 9 fatal error LNK1104: cannot open file 'kernel32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib network.lib wsock32.lib .\debug\network.lib' masterd


which dont make sense my include directory and lib directory are pointed to my microsoft platoform sdk lib/include folders so everything should be there anyone else run into this error?

I also just tried breing all the libs straight into the masterd folder to possibly see if that would work but no luck. MSDN on this problem is NO help, so any tips would be awsome!
#3
03/11/2008 (5:41 pm)
@Austin - better late than never (Im just trying this out)...try removing the quotes in the additional libraries fielf. For some reason, they were all bunched together on one line, so it was looking for one long file.