Want to setup a dedicated server

Locked
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Want to setup a dedicated server

Post by poopy »

Ok, so I rent a fully dedicated linux CentOS server for some websites and want to run a quake arena server on it occassionally.

I have no idea if the box has a graphics card in it. If not, till do-able?

I dont not have physical access to the box. I noticed you need to buy a copy of quake area to run the server, but do I need to physically insert the CD into the machine? Or can I upload the stuff to install it and just enter the CD key?

Will the arena server on linux run from the command line?

If yes to all of the above... will users be able to download at least the demo version of quake arena for windows and play the free levels on my dedicated server?


Thanks for taking the time to reply :icon25:
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

No, you dont need a CD-key to make a DEDICATED server for the pc.. and you dont need a Graphics card as well.


here is a guide on how to do it..
http://weaponsfactory.planetquake.games ... -Docs.html

get the linuc pointrelease from here:
ftp://ftp.idsoftware.com/idstuff/quake3/

you will need the IP of the Box to be able to connect to it, through if you are on the same LAN as the box.. you can search it all out.

to configure the server how ever you want, read this ( ignore the Windows stuff.. pay attention to the Server .cfg editing )

http://planetquake.gamespy.com/View.php ... =47&game=4

You will need to use something like Kate or Xedit to Edit the server.cfg or Create it.

as for the Demo part, NO.. they will need the full game to play

if you are lucky, you MAY be able to find the Linux Demo And get a server running.. i am not sure if you will be able to though to be honest with you.
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Wow, that was fast, THANKS!!

Just found the quake 3 demo server, will try running that first and go from there. I definitely want to setup a demo server, so my buddies dont have to purchase a full client just to play a few levels.
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Crap, reading some directions and its talking about the GRAPHICAL installer.... I only have shell access to the box. :(
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Ok... after much work.... I try to start my server and get this:

[root@poopy q3demo]# ./q3ded
Q3 1.11 linux-i386 Dec 4 1999
----- FS_Startup -----
Current search path:
/root/.q3a/baseq3
./baseq3

----------------------

Running in restricted demo mode.

----- FS_Startup -----
Current search path:
/root/.q3a/demoq3
./demoq3

----------------------
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: hmmm.hmmm.com
Alias: hmmm
IP: xx.xx.xx.xxx
Hitch warning: 907 msec frame time
Hitch warning: 553 msec frame time

---------------------------------------
I created a default.cfg and here it is
--------------------------------

g_gametype 0
seta sv_hostname "hmmmmmmmmmm"
seta sv_maxclients 16
timelimit 30
set d1 "map q3dm1 ; set nextmap vstr d2"
set d2 "map q3dm2 ; set nextmap vstr d1"
vstr d1

-----------------------------------
It just sits there. Definitely not listening on that socket.
Any ideas?

Its burning 100% cpu doing nothing
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

I have found multiple quake arena linux demo distributions.
1.11, 1.13, all the way up to 1.30

Are the higher numbers patches to the original 1.11 version?
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

that should be running to he honest with you, if not typ typing "Map q3dm1" and see if you can join..

as for the vir's 1.11-> 1.3 i am not sure to be honest with you.. The demo should only be 1.11 because that was the release vir..

i would need to look into that for ya dude.


also, make sure there are no Firewall/proxy's blocking you and your firends from joining the server.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Start the game with "+set net_ip xxx.xxx.xxx.xxx" (replace with your IP address).
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Holy crap I feel like a total idiot!


I didnt realize it was sitting there waiting for me to type something!
A prompt of somekind would have been nice! LMAO

I typed "map q3dm1" and it loaded it and ran fine
YES!

THANKS MAN!!

^misantropia^ wrote:Start the game with "+set net_ip xxx.xxx.xxx.xxx" (replace with your IP address).
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

UGH....more problems :icon23:

So I can get verison 1.11 to work fine.

But I want to patch it to 32c so close the security hole.

However, no matter what I try, once I patch it, it never works again.
Ive tried moving my pak0.pk3 files to the baseq3 directory
but when I run the "mapq3dm1" command it says
"Can't find map maps/q3dm1.bsp"

It only seems to look for the .bsp files after I have patched it.
Do you have to unzip the pk3 files or something?

It also tries to look into a folder called demota by default.
But if I move the pak0.pk3 file there and try to load the map it says

2774 files in pk3 files
Sys_Error: Corrupted pak0.pk3: 2985612116

But the file works fine as long as I dont patch it.

AHHHHHHH help! Ive been beating on this for hours and getting nowhere fast :icon28:
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

This is what puzzles me, during the startup is seems to find pak0.pk3 and tells me how many files it containts, but later in the startup it complains it cant find maps/q3dm1.bsp

Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/jjj/.q3a/baseq3
/home/jjj/q/baseq3/pak8.pk3 (9 files)
/home/jjj/q/baseq3/pak7.pk3 (4 files)
/home/jjj/q/baseq3/pak6.pk3 (64 files)
/home/jjj/q/baseq3/pak5.pk3 (7 files)
/home/jjj/q/baseq3/pak4.pk3 (272 files)
/home/jjj/q/baseq3/pak3.pk3 (4 files)
/home/jjj/q/baseq3/pak2.pk3 (148 files)
/home/jjj/q/baseq3/pak1.pk3 (26 files)
/home/jjj/q/baseq3/pak0.pk3 (1387 files)
/home/jjj/q/baseq3
./q3ded/baseq3

----------------------
1921 files in pk3 files


..... followed by....


execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: 72.51.41.211:27960
Hostname: hmm.hmmm.com
Alias: hmmm
IP: XX.XX.XX.XXX
^3PunkBuster Server: PunkBuster Server (v0.993 | A0 C0.0) **DISABLED**
execing server.cfg
Can't find map maps/q3dm1.bsp
Hitch warning: 651 msec frame time



ANY IDEAS???????????????????? :confused:


Is there a server command line commands which can list all the available maps??
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

again, you cant update the demo.... 1.32c is for the full virsion of the game.
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Thats the impression I got. Time to run to walmart and get the quake trilogy for $20 :)


Anyone know where I can get a scoreboard for quake arena? perl based maybe?
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Nice! Thanks dude! Heading to walmart now :icon25:
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Wish I could buy a key and download it somewhere instead.

I struck out. No one seems to have the Quake trilogy pack anymore :icon23:
Ill have to order online or ebay or something. Hate waiting.
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Ok I bought a copy of quake arena.

Now I can copy the real pak files to the baseq3 directory.

I can start the server, but when I try to connect using my demo client I get "wrong password"

Whats going on?

I want to setup a dedicated server, that only runs the demo levels so people can try it out.

What am I missing?
Do I need to enter the server key somewhere on the server side?
Any ideas?
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

if i remember correctly, The Demo CAN Join a full Game as long as its the same Version, So the demo allways remains 1.11 so the Full Server needs to be running 1.11 as well..

you cannot update the Server and get Demo's to join, just for the simple fact that you cannot update the demo's
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

@AmIdYfReAk: nope, the checksums of the PK3s need to match as well.
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Crap, so I bought a copy when I didnt need it after all.

I just want to run a demo server, with the 3 demo maps, where people can connect using the demo client.

I was getting timelimit errors on the server and I figured there was a timelimit for how long you could run the demo server or something.

Ok... now that thats over... can someone tell me what is wrong with my q3config.cfg file?

It will not automatically load a map and then cycle them.
Here is the end of the file

set m1 "map q3dm1; set nextmap vstr m2"
set m2 "map q3dm7; set nextmap vstr m3"
set m3 "map q3dm17; set nextmap vstr m1"
vstr m1


When I start the server, it sits and spins cpu.
If I type "map q3dm1" then it will load the map and you can log in.

I start the server with
./q3ded +set dedicated 1 +set net_port 27960 +set map q3dm1 +com_hunkMegs 50

Why doesnt it load the first map?
poopy
Posts: 14
Joined: Thu Jun 21, 2007 6:05 am

Post by poopy »

Got everything working, finally.

For future reference, be sure to create a server.cfg file.
Using a q3config.cfg file does nothing, and its ignored, even if you used the "+exec q3config.cfg" on the command line. GRRRRRR.
Locked