Author Topic: Linux Server  (Read 4115 times)

section8

  • PGP
  • Posts: 17
Linux Server
« on: July 17, 2003, 12:08:20 AM »
Can anyone help me figure out how to set one up ?  I have quake2 for linux and all the pball files, but when I try: ./quake2 +set game pball +set dedicated 1  it just try's to run a normal dedicated quake server, not pball.  and I get a few errors as well.  Here is my output:
$ ./quake2 +set game pball +set dedicated 1
couldn't exec default.cfg
couldn't exec config.cfg
Unknown command "dedicated_start"
====== Quake2 Initialized ======

and thats it, and it dosent even show up as a server when I try to connect to it :(

Any suggestions or help would be awesome, thanks in advance :P

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux Server
« Reply #1 on: July 17, 2003, 11:17:37 AM »
Those errors don't really mean much -- you just don't have some config files, so it'll just use the default settings.  You need to load a map before you can play on the sever.  Add "+map midnight2" to the command line, and you should be good to go.

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #2 on: July 17, 2003, 01:17:41 PM »
ok, that almost worked, but now look what happens when more than 1 person joins:

Added packfile ./baseq2/pak2.pak (2 files)
couldn't exec default.cfg
couldn't exec config.cfg
====== Quake2 Initialized ======

------- Loading gamei386.so -------
-------------------------
40 CMDlist entrys found.
-------------------------
==== PB2 InitGame ====
autojoin on, normal
=== Rotation Init ===
Map rotation has been loaded
------- Server Initialization -------
mapname: jump
==== PB2 InitMatch ====
== Map Loaded: jump ==
=== Team Flag CTF ===
OneTimeInit is write protected.
0 entities inhibited
0 teams with 0 entities
-------------------------------------
-=DoF=-Luck connected [192.168.1.100:15070]
section8 connected [192.168.1.101:8725]
Segmentation fault (core dumped)


also, if your the first person to join, it keeps flashing the player list screen and dosent even show your name in there.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Linux Server
« Reply #3 on: July 17, 2003, 02:29:19 PM »
The linux binaries for Quake 2 from iD software come in two flavours: libc and glibc

Try using the other, I think that resolves seg fault.

glibc: http://www.eR33t.com/files/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz

libc: http://www.eR33t.com/files/quake2-3.20-i386-unknown-linux2.0.tar.gz

Hope this helps

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #4 on: July 17, 2003, 02:33:08 PM »
I have tried the other one, but I need some other lib's for it.. I get this message:

ELF interpreter /compat/linux/lib/ld-linux.so.1 not found
Abort trap

I'll look around for that lib, but the glibc one is the only one that half works so far :(

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #5 on: July 17, 2003, 02:48:12 PM »
Nope, there is no way I'm getting that library.  I am running FreeBSD with linux compatibility.. but that lib has so many dependencies its not funny.  I'll keep screweing around.. but if anyone has any other suggestions, please feel free to post them :)

Shreds

  • Stingray
  • Posts: 88
Re: Linux Server
« Reply #6 on: July 18, 2003, 03:43:03 AM »
linux is stupid

PLazTiC

  • PGP
  • Posts: 46
Re: Linux Server
« Reply #7 on: July 18, 2003, 04:04:33 AM »
Ehum, ok dont have any exp. with *bsd so i'll try my best.

I assume you've put the pball dir. inside the quake2 dir. (/usr/local/games/quake2/pball)

I use this line to start my server:
./quake2 +set dedicated 1 +set game pball  +exec server.cfg +map crates &

I remeber something about seg fault when I ran a DP2 server on Red Hat 5.2. Had something to do with Sad switching from static to dynamic linking on the gamei386.so file.

(Dont have thouse problems on RH9)

\plaz


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux Server
« Reply #8 on: July 18, 2003, 05:09:39 PM »
dependencies.  The number one reason 'nix sucks.

You could always try grabbing the quake2 source now that it's released and run that -- see if you can track down where it crashes (or maybe it won't crash if you compile it on BSD).
« Last Edit: July 18, 2003, 05:10:36 PM by jitspoe »

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #9 on: July 19, 2003, 07:15:07 PM »
I've got a couple of boxes here, I'm a FreeBSD person myself, but maybe I'll put redhat on one of these..

thanks for the help guys :)

PLazTiC

  • PGP
  • Posts: 46
Re: Linux Server
« Reply #10 on: July 22, 2003, 04:15:54 AM »
Quote
dependencies.  The number one reason 'nix sucks.


Dependencies can be a pain in the ass, especially when you dont follow the updates. Like the time Sad changed the linking ... and upgrades where a no no for me ::)

I ran a DP2 server on a RH 5.2 75Mhz Pentium and 48MB ram with total 10 players. Dont think Windoze can compete with that.

So *nix have some advantedges ...

\plaz


jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux Server
« Reply #11 on: July 22, 2003, 10:55:13 AM »
I think it can, but I don't have a 75mhz pentium to test it on.

PLazTiC

  • PGP
  • Posts: 46
Re: Linux Server
« Reply #12 on: July 23, 2003, 02:22:50 AM »
Ok,  :P you like windows I like *nix

peace out

\plaz

Eiii

  • Autococker
  • Posts: 4595
Re: Linux Server
« Reply #13 on: July 23, 2003, 06:28:15 AM »
well i don't like *nix.
at all
it sucks
NO-ONE likes *nix
live with it

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #14 on: July 23, 2003, 09:15:14 AM »
Maybe you don't like it because you don't know how to use it.  Hundred's of thousands of buisnesses can't be wrong.

Eiii

  • Autococker
  • Posts: 4595
Re: Linux Server
« Reply #15 on: July 24, 2003, 03:35:55 PM »
well...accually they can, but the chance of that is very low.
AND,i'm always right.
Ha.

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #16 on: July 24, 2003, 03:37:47 PM »
But was I right about you not knowing how to use it ?

Eiii

  • Autococker
  • Posts: 4595
Re: Linux Server
« Reply #17 on: July 24, 2003, 03:54:49 PM »
look at the time on those.
:o :o :o :o :o

section8

  • PGP
  • Posts: 17
Re: Linux Server
« Reply #18 on: July 24, 2003, 03:56:07 PM »
Yes, cause I have it email me when there are reply's.  And MSN tells me when I get new emails.  Futuristic isn't it ?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Linux Server
« Reply #19 on: July 24, 2003, 10:27:43 PM »
"You've got mail!"