View Single Post
A problem setting up linux server...I hope this helps....
Old
  (#1)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default A problem setting up linux server...I hope this helps.... - 08-08-2002, 06:48 PM

Well since I can't see the original post I'll just try to cover the basics....

The server runs as any user (but only root if under port 1024.... this is Linux's security restriction.... not server's)

You need to be patched to 1.11

You MUST have intact pak files. Read the text file that came with it for the MD5SUM string. To check pak's out for corruption, in a CONSOLE (linux console not the games aka TERMINAL) type "md5sum *.pk3" (w/out quotes) and compare the output to the text file. If the screen scrolls by too fast add the MORE command. IE: "md5sum *.pk3 | more" or redirect it to a txt file like "md5sum *.pk3 >filename.txt". To read the txt file (assuming no graphical desktop is installed like my linux server) use the "cat" command. IE: "cat filename.txt | more"

Put the linux server executable in your MOHAA folder where mohaa.exe is and NOT /MAIN

Linux has no idea the executable is a proggie until you TELL it. This required a a "chmod" (change mode) command in my case. In a terminal (console) while IN the same directory (saves typing the PATH) issue the command (w/out quotations) "chmod +x filename" ... the +x tells linux the file is exectuable.

Make sure the second file "fdgamed.so" (if i remember the name correctly) is also in the Mohaa directory. (an .so is to linux what a .dll is to winDOZE)

You should be ready to run the server now. I renamed my server executable to "mohaalinux" (to remember it ez'r) so in a console I'd type (while IN the proper directory to save typing the PATH) ./mohaalinux

....you should now see what looks just like normal windows mohaa console output. The output will STOP and the last line will read something like "Loaded 1242 localization entries".... this means the server is up and running but hasn't loaded any maps.

At a MINIMUM you must now set "gametype" and 'map"

g_gametype 4 (no "set" needed)
map obj/whatever... dm/whatever

OR if you have a server configuration file you can load it instead for map rotation, # of players etc etc.

IE:...

exec server.cfg (no + needed as you would normally do in a shortcut)

Well that's about all I can think of off hand. If you have any problems feel free to PM or mail me.

]NBK[ G.I. Jerk

PS. If this works for you maybe they should add this post to the "guides" section... eh rudedog?
  
Reply With Quote