PDA

View Full Version : Linux Server howto


madrebel
03-26-2002, 09:25 PM
Ok since there isnt a full howto ill write one. im missing some info like all the map names and i still dont know how to set the g_gametype flag yet since i dont have a list of what number coincides with which gametpye.

but here goes. obviously dl and follow the install instructions.

my server.cfg looks like this.

// Server Config
set sv_hostname "Reb's T1 Server"
set g_motd "Dont Be a Dick"
rconPassword "password"
sv_privatePassword "password"
sv_privateClients 1


set sv_pure 1
set sv_maxclients 19
set g_inactivity 0
set sv_maxRate 8000
set sv_maxping 200
set g_allowvote 1
set timelimit 20
set capturelimit 40
set g_autoMapCycle 1

map ffa_bespin


my command line goes like this
./jk2ded +exec server.cfg +map ffa_bespin

if you dont set the +map ffa_bespin the server wont start because it doesnt know what map to load.

If you want to be cool, you know you want to be cool. Launch the game using screen. Screen allows you to telnet/ssh into your server and attach to your servers "screen" just like youre at the console.

do this. In the user or in roots home type.

touch jk2
chmod +x jk2

open the file jk2 in your favorite editor. add these lines

cd /usr/local/games/jk2/
screen -A -m -d -S jk2 ./jk2ded +exec server.cfg +map ffa_bespin

now all you ahve to do to launch the game is go to the directory that you created the file jk2 in (remember touch jk2 created a text tile) and type in

./jk2

notice it dumps you back to a prompt, doesnt look like it did anything does it. just type screen -r jk2 and bamm youre in your servers console. To detach from screen hold down control and hit a then d.

Ill post updates when i figure out the map list and gameplay types.

djshorty
03-27-2002, 07:02 AM
0=Free For All
1=Holocron
2=Jedi Master
3=Duel
5=Team Free For All
7=Capture the Flag
8=Capture the Ysalimari

In my search for remote admin packet structure Raven added this info as well...

Fitz
03-28-2002, 02:40 PM
How about map rotations?

Wintrmte
03-29-2002, 09:26 PM
FWIW, never run the game server as root. Run it as a non privledged user.

WildManPiet
03-30-2002, 07:16 PM
First, I have used Unix so using the jargon is fine, but I am not quick at it.
I have not done the "screen" setup as I just wanted to test it first.
I set up the config as described above and I did the following on my clans FreeBSD Box and got the following error.
any ideas?

./jk2ded +exec server.cfg +map a_bespin

ELF binary type "0" not known.

Abort trap

Wintrmte
03-30-2002, 11:53 PM
Ahh.. To fix the ELF type 0 problem, do this..

go into the directory where you have the jk2ded file, and run:

brandelf -t Linux jk2ded

That should take care of your problem.

WildManPiet
03-31-2002, 01:01 AM
Thanks! Now that is solved, and it wont work b/c it cant read mpdefault.cfg.

Where do I get a mpdefault.cfg as an example to make one for this server?

gimli_aa
03-31-2002, 08:41 AM
I did the same server.cfg as you did at the top..

I get the following while running ./jk2ded +exec server.cfg +map ffa_bespin

Well more like things that could not load I think


couldn't exec jk2mpconfig.cfg
couldn't exec autoexec.cfg

then after a few lines of stuff.. like initgame: blahblah

at the end I get

Resolving masterjk2.ravensoft.com
Couldn't resolve address: masterjk2.ravensoft.com
Hitch warning: 16567 msec frame time


Any fixes or ideas why it does this? I am relearning linux and stuff, and wouldnt mind trying to set up a small dedicated server which sits behind a router.

Thanx :atat:

Vertex
03-31-2002, 10:30 AM
Hi there I followed the first post about setting up a server but using:

\jk2mp.exe" +set dedicated 2 +set net_port 28075 +exec server.cfg +map ffa_bespin

for a windows setup

All seems to work but the server PW :-(
ive set as you showed

sv_privatePassword "password"
sv_privateClients 1

but this fails to PW the server
What am I missing here ?
I'm new to setting up Q3 style servers and only know HL setups

Hope some1 can help

Demon646
03-31-2002, 10:27 PM
I really appreciate your time with this thread. It will be very helpful; however, I have not been able to find (in these forums and elsewhere) the linux binaries!!!

Does anyone know where I can get them? I've tried jediknightii.net and shacknews. I seem to have missed it. or just can't find the link!!

thanks. :deathii:

<edit>
also... is it a tar file or what?

thanks again...
<edit>

ThoMMo
03-31-2002, 10:48 PM
i've had the same problem with sv_privatepassword "password", it just won't password the damn server.

madrebel
03-31-2002, 10:51 PM
Originally posted by ThoMMo
i've had the same problem with sv_privatepassword "password", it just won't password the damn server. its not supposed to.

sv_password "password" locks the server.

sv_privatepassword "password" allows you to lock 1 spot (or more if you choose) for

sv_privateclients "x" (where x = the number of spots you want to be private).

for instance i have a 11 player sabers only server. only 10 spots are open to anyone allowing me to always join my own server using the private password.

gimli_aa
04-01-2002, 01:13 AM
I found them at um Ravengames site.

Let me see if I can find the URL

http://www.bluesnews.com/files/jedioutcast/jk2linuxded.shtml

http://www.3dgamers.com/games/jedioutcast/

Are a couple of places

ThoMMo
04-01-2002, 02:20 AM
ahhh my mistake

reserved spots, i know what your talking about.

i was after g_password

ThoMMo
04-01-2002, 02:23 AM
getting an error for linuxded, couldn't load mpdefault.cfg

*update*

helps if i copied all the files from the cd hey?

MarleY
04-01-2002, 02:51 AM
I've tried:

sv_password "password"
and
seta sv_password "password"

and neither of them will lock the server. Do I need to add anythink else?


And is there anyway to set the port and game type in the server config file?

Devo
04-01-2002, 03:00 AM
Originally posted by MarleY
I've tried:

sv_password "password"
and
seta sv_password "password"

and neither of them will lock the server. Do I need to add anythink else?


And is there anyway to set the port and game type in the server config file?

seta g_needpass 1
seta g_password "whatever"
seta net_port "28070" // or whatever port you want
seta g_gametype 3 //1 ffa, 2 holocron, 3 duel, 5 team ffa, 7 ctf, 8 cty

MarleY
04-01-2002, 03:35 AM
Thx Devo

Demon646
04-01-2002, 12:14 PM
Originally posted by gimli_aa
I found them at um Ravengames site.
THANK YOU so much! I can't believe I didn't check ravensoft :\

Thanks again! You're a genious!

WildManPiet
04-02-2002, 12:08 AM
Originally posted by ThoMMo
getting an error for linuxded, couldn't load mpdefault.cfg

*update*

helps if i copied all the files from the cd hey?

There is no mpdefault.cfg on my cd... please elaborate!

gimli_aa
04-02-2002, 04:31 PM
Just bumpin this.


Also if anyone else has successfully installed and currently runs a server.. please post =)

What Linux your runnin
What options you have
How you installed it
What specs your box has =)

And all that jazz!

When I try to start my server. It stops after is has found the ravengames broadcast site.. maps and all that stuff seems to load fine, the server.cfg file seems to load without any problems..

Just get a hitch error... and i dont know why =)

thanx

MatrixCPA
04-02-2002, 05:13 PM
I'd post all that, but for the sake of saving time I'll just let you know that a Hitch Warning is just the server saying, "Hey, it took me a bit to do this and that might have created some lag for anyone connected to the server." It's normal to get that when you startup the server and sometimes during a map change. As long as it's not constant, you're ok.

After all the startup stuff goes by and you see the heartbeat send and hitch warning type this:

status

See if it shows you the map and player list (probably empty since you just started it up). If it does, then the server is up and running just fine. You won't see anything else in the console until someone joins, there's a map change, or another heartbeat is sent to the master server. If it says, "server not running", then we have an issue to resolve. Let me know.

gimli_aa
04-02-2002, 09:30 PM
Hehe

Ok, I thought I would of gotten a 'Server is UP' type message.

Didnt know that, that was the actualy game console.

Anyway its up and I can log in via my internal IP address. Now I need to wait for some friends to get home from work and test it out via my external IP. My firewall likes to deny my trying to connnect to something which is within my network via the external ip and port forwarding.

Now all I have to do is find all of the different server options, document them and then configure them to what I want.

Thank you for the help! hehe

ZeroGravitySE
04-03-2002, 02:30 AM
Whats the command for running the server in the background?

Devo
04-03-2002, 03:41 AM
Originally posted by ZeroGravitySE
Whats the command for running the server in the background?

Read the original post, then go read up on how screen works.

There is a win32 dedicated server now if you do not wish to learn linux.

madrebel
04-03-2002, 04:52 AM
Originally posted by gimli_aa
Just bumpin this.

What Linux your runnin
What options you have
How you installed it
What specs your box has =)

When I try to start my server. It stops after is has found the ravengames broadcast site.. maps and all that stuff seems to load fine, the server.cfg file seems to load without any problems..

Just get a hitch error... and i dont know why =)

thanx add +map ffa_bespin or whichever map you wish to start with. Without that in the path the server doesnt know which map to load even if its in your mpdefault.cfg or server.cfg.

my server specs are
p3 500 128megs rammy t1 line SuSE 7.2 = 17 player ffa

p2 450 512megs rammy t1 line SuSE 7.2 = 17 player cty

p3 500 384 megs rammy 1.1 meg sdsl Debian 2.4.18 = 11 player sabers only ffa

ive never seen more than 63% utilization on the cpu for any of these machines with like 1% memory usage. I hate SuSE but im forced to run it at work =( debian is muy bueno.

MatrixCPA
04-03-2002, 05:12 AM
Originally posted by madrebel
add +map ffa_bespin or whichever map you wish to start with. Without that in the path the server doesnt know which map to load even if its in your mpdefault.cfg or server.cfg.


That's strange. His setup was working perfectly, he just didn't know what it was supposed to look like. I don't have +map in my command line and it loads the map from the server.cfg just fine. I guess we're just lucky. ;)

ZeroGravitySE
04-03-2002, 01:54 PM
Originally posted by ZeroGravitySE
Whats the command for running the server in the background?

I meant how do you run it in the background for linux?

BoneGavel
04-03-2002, 01:55 PM
Originally posted by ZeroGravitySE
Whats the command for running the server in the background?

Add a '&' to the end of your command

e.g.

./jk2ded +exec server.cfg &

Once you do this, it will run the server and set you at a blank line beneath the initilization text as normal. Then, hit enter and it should bring you back to the command line.

Do a ps -ax and you should see the server humming along.

matt

MatrixCPA
04-03-2002, 02:20 PM
I prefer to use screen myself. But, it's a personal preference issue. ;)

Cenuij
04-04-2002, 06:50 PM
OK

can anyone come up with a solution for my problem..

I got the linux server up and running OK. I set a password on the server when it was running as a duel server so only myself and my friends could play. I have changed my cfg back to running an FFA server however g_needpass 1 is still set!

It makes no difference if I specify set g_needpass 0 in the cfg file it simply will not change back. When i try and change g_needpass at the system console or with rcon it reports that g_needpass is read only and cannot be changed.

Now just wtf is up with that? I noticed that the linux server seems to load some sort of file into the virtual machine at startup. Does this have anything to do with the prob?

Cheers

Cen

cpnhowdy
04-06-2002, 07:07 PM
Someone posted on another thread that this binary has a memory leak and a possible exploit like the 1.29 Q3 release. Anyone experience anything? So far my machine has been up and running fine for the past 4 days.

Dual p3 800 512MB Ram 100mb fiber optic line
Red Hat 7.2 = 8 player ffa

MatrixCPA
04-06-2002, 07:30 PM
Originally posted by Cenuij
OK

can anyone come up with a solution for my problem..

I got the linux server up and running OK. I set a password on the server when it was running as a duel server so only myself and my friends could play. I have changed my cfg back to running an FFA server however g_needpass 1 is still set!

It makes no difference if I specify set g_needpass 0 in the cfg file it simply will not change back. When i try and change g_needpass at the system console or with rcon it reports that g_needpass is read only and cannot be changed.
Cen

what you need to do is add this to the server.cfg:

seta g_password ""

-or- type this into the remote console

seta g_password none

-or- via rcon (without rcon pass set)

/rcon rconpass seta g_password none

-or- via rcon (with rcon pass set)

/set rconpassword rconpass

/rcon seta g_password none

You need to use the word 'none' in the console and rcon because the "" are removed and if you type /rcon seta g_password "" it'll just think you're asking what the password is. ;)

dorkyboy
04-10-2002, 04:54 AM
Good thread, needs a bump, aaaand, I've got a problem.

Trying to run a Linux ded server on BSD. I've followed the install instrauctiona dna made some changes to config files etc after having a read here. I also noticed someone else a few pages down saying they had probs with BSD because of the emu installation but unfortunately, what the exact problems were he didn't say.

The hassle I've got is that after I enter the command line nothing happens. Nothing at all. No errors, no server, no nothing. Cursor drops down to the next line, and then nada.

As fas as I can see, the setup, install and config is all fine, so all I can think of are possibly permission problems on files or directories, maybe the server doesn't like being run from my user's home directory (I have root on the server, but it's not mine, so I don't like creating directories under /usr/local/games etc willy nilly) or maybe something to do with BSD.

I have the server in /home/dorkyboy/jk2 which I have set as a+x as are all the files in that directory including the base dir and any files in there. I've also tried chowning everything to root and chrgp to wheel because my Tribes 2 server didn't want to run before I did that, but it hasn't helped at all.

My config file follows:

<snip>
// Server Config
seta sv_hostname "AE Bubberdome Jedi Stylin'"
set g_motd "COMRADE BUBBER PITIES THE LAZY IMPERIALIST!"
rconPassword "password"

set sv_pure 1
set sv_maxclients 8
set g_inactivity 0
sv_maxRate 10000
set g_allowvote 1
set timelimit 20
set capturelimit 20
set g_autoMapCycle 1

map ffa_bespin

</snip>

So, anyone got any clues?

MatrixCPA
04-10-2002, 05:48 AM
What's your command line look like? If you're using a startup script, let's see that too. I don't know if it really makes a difference, but just because I'm weird, I like to put seta in front of the rconpassword cvar.

dorkyboy
04-10-2002, 05:58 AM
Just regular stuff..

./jk2ded +exec server.cfg + map ffa_bespin as suggested at the top of the thread.

I'm also talking to the guy who owns the machine..he's been trying to run a server as well apparently and is getting exactly the same result. He suspects it's to do with the BSD/Linux Emulation?

MatrixCPA
04-10-2002, 02:29 PM
That would be a good place to start. Have the admin make sure that all the emu bunk is in place and appears to be working. I would normally expect at least an error message of some kind. Certainly makes it harder to troubleshoot w/o.

Ogmios
04-11-2002, 02:06 AM
I am running a server on a FreeBSD 4.5 box and it works fine. I had to change the elf to linux as mentioned above. Other than that it works fine. However I am using the default config, I changed everything to what I needed but I haven't added anything extra yet. I am running on a pIII 500 with 384 megs of ram, I am going to buy two more 256 meg sticks this weekend. (been wanting to do that for a while, running MySQL and Apache, sshd, etc so I need more memory anyway). However, instead of using screen (which is a good idea) I did "nohup <server commands> &" then hit enter and typed "bg 1" to send it to the background (I was logged in remotely when I did it).

I have a question though, I am using a dynamic IP. So does that mean I should make my startup script restart the server if the IP changes, or is it aware of such changes? (I get the feeling from watching it start up that the answer is no, it is not aware of ip changes) I already have a cron job that telnets into my router and pulls my public IP and notifies my dynamicDNS service if it is different from the last time it ran, i can just add it to that if I have to.

Ogmios
:duel:

MatrixCPA
04-11-2002, 03:23 AM
I believe you are correct that the server doesn't recognize an ip change. That could make for quite a mess. Hopefully, it doesn't change too often. I'm guessing that it changes when the router goes down (power outage) or your isp takes a dump. That's the boat I'm in at home. I get a new ip about once every month or two. Thankfully, my server is on a dedicated line with it's own ip address. ;)

KandyFLip
04-11-2002, 11:09 AM
OK.. I was looking here for help with the "Sys_Error: Couldn't load mpdefault.cfg" error... but didn't see a solution... then I found the solution. So, for anyone else's reference:

If I try to start jk2 from some other directory (like my home dir) I get that error. But, if I cd to the game dir first it starts up just fine. Hope that helps some peeps.

OK... now for my other problem: How might I start my server running in the background in such a way that I can then log out and it'll still be running?
My server is hidden in some deep dark corner and has no keyboard or monitor, so all I use is telnet. I've tried ending the command with '&' but still, if I log out of telnet, it takes the server down with it.

Any help? please? pretty please? pretty pretty please with Kandy on top?

Oh yeah, if it matters much:
Celeron 733
160 MB RAM (shush!)
SuSe 7.3 on the 2.2.19 kernel (UT webadmin didn't like 2.4 kernel)
T1

Thanks in advance for any help :)

Wintrmte
04-11-2002, 12:49 PM
Originally posted by KandyFLip
OK.. I was looking here for help with the "Sys_Error: Couldn't load mpdefault.cfg" error... but didn't see a solution... then I found the solution. So, for anyone else's reference:

If I try to start jk2 from some other directory (like my home dir) I get that error. But, if I cd to the game dir first it starts up just fine. Hope that helps some peeps.

OK... now for my other problem: How might I start my server running in the background in such a way that I can then log out and it'll still be running?
My server is hidden in some deep dark corner and has no keyboard or monitor, so all I use is telnet. I've tried ending the command with '&' but still, if I log out of telnet, it takes the server down with it.

Any help? please? pretty please? pretty pretty please with Kandy on top?

Oh yeah, if it matters much:
Celeron 733
160 MB RAM (shush!)
SuSe 7.3 on the 2.2.19 kernel (UT webadmin didn't like 2.4 kernel)
T1

Thanks in advance for any help :)

Use screen. It is a fantastic utility that will let you reattach to the server session and is more friendly than using &

For example, all you have to do to start the server inside screen is:

screen -S jedi ./jk2ded <your server arguments>

The screen will blank, and the server starts up. At this point:

press ctrl+a, then press the d key by it's self. You should see a line that says

[Screen detached]

The server is still running though. You can logout safely at this point.

Now, to get back into your running server, all you have to do is log into your box as the user who is running the jk2ded process (that you screen'd)

and type:

screen -r jedi

You should now be in your server. Do the same (ctrl+a, then d) to get back out.

Hope this helps.

rivmin
04-11-2002, 12:53 PM
A small screen tutorial:
http://www.gameadmins.com/guides/linux/linuxscreens.htm

KandyFLip
04-11-2002, 02:58 PM
groovy. thanks a lot. KandyLand is now up and running :D

now if only they'd fix the forcedisable flag....

MatrixCPA
04-11-2002, 03:13 PM
Originally posted by Wintrmte
press ctrl+a, then press the d key by it's self

You can hold down cntl the whole time, hit a then d and it'll still work. ;)

neutrino
04-11-2002, 08:19 PM
Anyone try to have multiple servers on one box? I'm going to attempt to run 5 on a p4 2.2 with 1 gig of ram. They are all ladder duel servers so there will only be 2 people per server...

Think it's possible? also could I screen all five servers? Would this be easier on a windows box?

MatrixCPA
04-11-2002, 09:44 PM
Personally, I don't think it would be easier on a win box....but I'm a linux admin. ;) I have 2 servers running on a tbird 900 with 512mb of ram without any problem. One server is 20 max the other is 24 max. I would think that 5, 2 player servers would be cake on a p4 2.2/1gig. Yes, I would screen them all and have them all setup to auto-restart (script). I'd title all the screens too...but I'm just anal about organization. ;)

Ogmios
04-11-2002, 09:55 PM
KandyFLip,

I used nohup '<sever command>' &. Then when I hit enter it would stop the process so I did bg <job number>, you can type 'jobs' at the command line and it will show you the job number, most likely it will be 1. Note that the sever commands are in single quotes.

Hope this helps.

Ogmios

Ogmios
04-11-2002, 10:00 PM
Screen works just fine too though :luke:

jk2-digger
04-13-2002, 06:21 PM
Stay away from Windoze, its da debil! =)

Seriously though I agree with Matrix, it would be much easier and more efficient on a Linux/Unix OS than in Windows. You should have no problems running all of that on a 2Gig-er

olgrandad
04-13-2002, 07:54 PM
Alright, I'm about to pull my hair out trying to get this to work correctly. :eek: Here's my configuration:
Mandrake 8.2 (Intel)
eth1 - internet interface
eth0 - LAN interface
iptables (MonMotha firewall script)

Now, my problem is that I can't seem to get my server to show up on a master list at all. I am running different services over my external interface and am able to access them via the internet from many locations, so my firewall is working properly (I have poked a hole in my firewall for UDP port 28070). As a matter of a fact, I had a buddy connect, via the internet, to my server by IP address and it was fine, but I wasn't showing on the master list. So, what am I missing? I have used the configuration listed in this post, and a great many others too. Here's my current server.cfg:

// Server Config
set sv_hostname "-:{Naturally Skilled}:-"
set g_motd "STFU Techlogic"
set rconPassword "password"
set g_needpass 1
set g_password "password"
set sv_privatePassword "password"
set sv_privateClients 2

set sv_pure 1
set sv_maxclients 10
set g_inactivity 0
set sv_maxRate 8000
set sv_maxping 200
set g_allowvote 1
set timelimit 20
set capturelimit 40
set g_autoMapCycle 1
set hunkMegs 128
set net_port 28070

map ffa_bespin

And here is my command line:

jk2ded +set dedicated 2 +set net_ip w.x.y.z +exec server.cfg

I thank you all in advance for the help you're going to give
:D, and as a token of my appreciation, I leave you with this server script I wrote:
Linux JK2 Server Startup Script (http://www.montazer.org/games/jk2/jk2serv.sh)

Hopefully you will find it useful.

Thanks,
olgrandad

olgrandad
04-13-2002, 09:10 PM
Doh! Guess I should do a little reading before I ask questions. Turns out that it doesn't report to the master server if the port number is 28070, so I bumped it to 28080 and it showed up! Now, I couldn't get the seta net_port to work from my server.cfg so I set an optional parameter for my script that will allow you to specify the port of your desire, else it will default to 28070.

I'm not much on versioning, but this one will be version 1.0.1 (.1 for the -p option)

I know I didn't give you all much time to reply, but thanks anway. Oh, if you're interested in future version of this script or have a wish list, please send me an email to the address listed when you specify -h or --help.

Thanks again,
olgrandad

MatrixCPA
04-13-2002, 10:12 PM
If you look, most of the servers on the master list are on 28070. Now, there may have been a particular issue with your setup, but using port 28070 (default) by itself doesn't cause the master list problem. Does the in-game master list include servers that are passworded? I haven't taken the time to look. If that's true, then that could be part of your problem. Did you remove the password prior to changing the port by chance?

Regarding the script, there's no option for a listen server (+set dedicated 0). It doesn't take into account that someone might be running more than one screen window. It also doesn't provide for auto-restart in the event of a crash. I'm sure all those features can be added. I guess I'm just too direct, because using a script of that size to startup my server when I can just use a command line inside an auto-restart script that's 5 lines long (includes logging) seems like a waste. But, it's whatever works for you. ;)

olgrandad
04-14-2002, 12:36 AM
Yeah, I've been self-learning BASH scripting, for my job, and went a little haywire:eek:. But it does the trick and maybe it'll help someone out.

My password is set and it still shows up on the list and I'm positive I have nothing else running on port 28070. I even opened up a wider range of ports on my firewall to see if there were other communications trying to take place, to no avail. After switching the port, all was well, go figure.

In general I have no need for large scripts, I'm more of a minimalist. For that matter, screen is kind of a waste as well, when a nohup and an & would do just as nicely.

Anyhow, good chattin with you.

olgrandad

neutrino
04-14-2002, 07:11 PM
Server Crashes...

So I have my duel server up now on FreeBSD (quite a learning experience having rarely used linux... but I did it in only a coupel hours, nice OS) Now the game server is crashing at the rate of ~1x per day. This is just not acceptable because I do not have access to this server when I leave work. It's become a real pain in the ass.

Is there a setting on screen or the executable that once the game server crashes it will automatically restart?

[KWA]SaVAgE
04-16-2002, 05:34 PM
Just a note, I've been running linux servers since Quake2, newest builds of screen are almost the same as original.

The easiest way is create the screen FIRST.

screen -R jk (jk is now the name of the screen you can resume and moniter realtime)

This creates a screen session named jk the capitol R is to FORCE it to make not just resume an existing screen.

You have the ability to go back and forth between prompt and the real time feed from your server. In the realtime screen you can issue commands and run it as if from the win32 console.

screen -r jk

NOTE: if you simply do a screen -R it only makes one screen and this is fine if your going to only run on e screen session (i have three sesions jk cs aq)

Also it's the same ctrl a d to detach.

Hope this is also helpfull :) :fett: :jawa :





Originally posted by Wintrmte


Use screen. It is a fantastic utility that will let you reattach to the server session and is more friendly than using &

For example, all you have to do to start the server inside screen is:

screen -S jedi ./jk2ded <your server arguments>

The screen will blank, and the server starts up. At this point:

press ctrl+a, then press the d key by it's self. You should see a line that says

[Screen detached]

The server is still running though. You can logout safely at this point.

Now, to get back into your running server, all you have to do is log into your box as the user who is running the jk2ded process (that you screen'd)

and type:

screen -r jedi

You should now be in your server. Do the same (ctrl+a, then d) to get back out.

Hope this helps.

Mastiphal
04-20-2002, 08:32 AM
The only problem I see with screen, is that it won't automatically restart the server if it crashes.

I dont know how big a problem this is, but i have seen my server crash from time to time, and therefore I would like it to start automatically again.

So I made a script /usr/bin/jediknight2
which has this line of code:

while true; do cd /usr/local/games/jk2/; ./jk2ded +exec server.cfg > /dev/null 2>&1; sleep 1; done &

And then I just start it by typing "jediknight2" as user jk

Since I cant attach to the server console as one can with screen, does anyone know of a console-program for jk2ded ?
Kinda like "halfd" for Half-Life based servers..

MatrixCPA
04-22-2002, 03:10 PM
I run my servers inside of screen AND have auto-restart ability. My scripts look like so:

--startjk2--
#!/bin/csh
echo -n "Starting - "
date "+%D %H:%M:%S"
cd /usr/local/games/jk2
screen -d -m ./holdjk2


--holdjk2--
#!/bin/csh
echo Ok
while 1
date "+%D %H:%M:%S" >> /tmp/jk2_start.log
echo "JK2 Server Started." >> /tmp/jk2_start.log
sh startup.sh
date "+%D %H:%M:%S" >> /tmp/jk2_start.log
echo "JK2 Server crashed, Restarting." >> /tmp/jk2_start.log
sleep 5
end

My startup.sh is a standard command line startup. This setup not only uses screen and provides auto-restart, but it also generates a log letting me know how often and when my server has crashed.

sab
05-09-2002, 04:01 PM
Ok I am running Mandrake 8.2,
I had the server running all fine and dandy, then I installed the new Binary 103, now when I start the server I get this,
When it gets to doing the InitGame I get a dump and the error: Segmentation fault.
It started doing this when I put on the new binary, any ideas?
I would like to stay with the current version, IT ran good on 102 just a few bugs.

Jedi_Jack
05-09-2002, 04:29 PM
Originally posted by sab
Ok I am running Mandrake 8.2,
I had the server running all fine and dandy, then I installed the new Binary 103, now when I start the server I get this,
When it gets to doing the InitGame I get a dump and the error: Segmentation fault.
It started doing this when I put on the new binary, any ideas?
I would like to stay with the current version, IT ran good on 102 just a few bugs.

saw this problem addressed in another thread, but don't remember the answer. seems the new patch doesn't work in linux servers. ours had the same problem, so we set it back to v 1.02c until there's a patch for the patch :p

MatrixCPA
05-10-2002, 01:04 AM
Most of the time, what is causing the problem is that the 1.03 client patch includes a new .pk3 file--assets2.pk3. You need to patch your client and upload a copy of that file into your server base dir. Without that extra file, you'll get a seg fault every time.

skeep
05-17-2002, 12:52 PM
MatrixCPA

Can you post your startup script "startup.sh" or re-link. Link was bad.

I just wanted to see it. I am running Linux Ded Server 1.03 seems to be working fine but very interested in the server restartability. ;)

Also can anyone tell me how to add a bot once the server is started... i have 4 but if I get lonley ;) ????

-skeeeeeeeeeeep

willum
05-23-2002, 02:05 AM
I have a script I use which is pretty simple. I run this script from the user willum. i call it restart.sh
--------------------------------------------------------------------
#!/bin/bash
willumpid() {
/usr/sbin/lsof -i UDP:$1 -F '' | cut -f 1-
}
pid=`willumpid 27960`
if [ -z "$pid" ];
then
/home/willum/server.sh
fi

--------------------------------------------------------------------
if the server is down it executes my startup script server.sh
------------------------------------------------------------------------
#!/bin/sh

echo Starting up JK2 dedicated server: CTF

cd /home/willum/jk2

screen -A -m -d -S JK2 ./jk2ded +set com_hunkmegs 128 +set dedicated 2 +set sv_pure 1 +sets gamestartup \"`date
+"%m-%d-%y %T"`\" +set ttycon 0 +set net_ip 207.19.97.119 +set net_port 27960 +exec jk2ctf.cfg &
--------------------------------------------------------------------------------
then i have crontab check every 5 mins if the port is open
------------------------------------------------------------------------
*/5 * * * * /home/willum/restart.sh

-----------------------------------------------------------------
hope this helps!


:cool:

Farslayer
05-24-2002, 01:29 AM
WOW this thread has been a lot of help.. I actually got my linux server up before I located this forum, but now my configs are tweaked a bit better, and that screens command was exactly what I was looking for last night..

well as for the question I had when I came here, I just figured it out.. couldn't get autodownload working it was because I had the config wrong..

seta cl_allowdownload 1
instead of the correct command
seta sv_allowdownload 1

and farther up the thread someone mentioned server specs .... heres mine

PIII 800
256 MB RDRAM
20 GB HD
RedHat 7.3
eth0 Internet
4 - T1's (6MB Internet connection)

and heres the config I'm running, it might help someone else out... if anyone see's anything in my config that I should change or might improve performance (or options that don't work for jk2) please let me know.. but it's up and running fine at the moment :)

//////////////////////////
// Server Information //
//////////////////////////

seta g_motd "Welcome to Farslayers Nightmare"
seta sv_hostname "Farslayers-linux v1.03"
set Administrator "Farslayer"
set Email ""
set url ""
set Location "USA"

//////////////////////////
// Server Configuration //
//////////////////////////

seta g_needpass "0"
seta sv_privatePassword "********"
seta rconpassword "********"
seta sv_maxclients "32"
seta sv_minclients "0"
seta sv_privateClients "1"
seta sv_maxRate "10000"
seta sv_maxping "500"
seta g_ghostRespawn "0"
seta g_forcerespawn "1"
seta g_inactivity "0"
seta g_warmup "0"
seta sv_pure "1"
seta sv_master5 ""
seta sv_master4 ""
seta sv_master3 ""
seta sv_master2 ""
seta sv_master1 "masterjk2.ravensoft.com"
seta g_allowvote "1"
seta sv_allowDownload "1"
seta g_friendlyfire "0"
seta g_teamForceBalance "1"
seta g_teamAutoJoin "1"
seta sv_floodProtect "1"
seta g_duelWeaponDisable "0"
seta g_privateDuel "0"
seta g_friendlySaber "1"

//seta g_gravity 800

//////////////////////////
// Game Settings //
//////////////////////////
seta fraglimit "0"
seta timelimit "20"
seta capturelimit "5"


//////////////////////////
// MODE Settings //
//////////////////////////
//
// Set one line for gametype and one for PMOD
//
//Normal CTF is gametype 7

seta g_gametype 7


// Map Stuff


// Maps for Normal CTF

set d1 "map ctf_spaceport ; set nextmap vstr d2"
set d2 "map ctf_imperial ; set nextmap vstr d3"
set d3 "map ctf_ns_streets ; set nextmap vstr d4"
set d4 "map ctf_Yavin ; set nextmap vstr d5"
set d5 "map EchoBaseCTF ; set nextmap vstr d6"
set d6 "map ctf_destroyer ; set nextmap vstr d7"
set d7 "map ctf-massassi ; set nextmap vstr d8"
set d8 "map ctf_bespin ; set nextmap vstr d9"
set d9 "map ctf_tanzin ; set nextmap vstr d1"
vstr d1

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

I'm relatively new to linux, this is my first attempt at hosting a linux game server, I must say it's not too bad after you start to locate all the information you need. Probably would have helped if I had hosted a Quake server in the past as well no matter what the platform...

Thx again.

Far...out

MatrixCPA
05-24-2002, 03:05 PM
Ok, here's my comments on the config. I've seen a bunch of variations of that one and they all have the same things wrong:

Administrator, Email, URL, Connection, Location should all use sets and not seta.

I don't believe sv_autoDownload is a valid cvar.

You have g_autoMapCycle on, but use a custom rotation. I'd recommend turning it off.

Any cvar that starts with cl_, cg_, ui_, r_, or s_ can be ignored for a dedicated server as they don't make any difference. There are a few in your config.

Otherwise, it's hard to knock it if it's working. I only make the comments about the client-side cvars because people keep including them needlessly after looking at posted configs that contain them.

Farslayer
05-24-2002, 09:44 PM
I appreciate the feedback, Like you guessed I pulled the config from around here and modified it, I don't really understand the whole thing yet. but your pointers should help me clean it up a bit and trim it down. Config is Updated, I'll just edit the last post and replace it there for further pointers.. :) seems not too many people play CTF though since the server has been pretty much empty for the last 2 days.. 4-T1's sitting Idle.. 6Mb of bandwidth and no players, how depressing is that ?

Far...out

MatrixCPA
05-25-2002, 04:29 PM
My CTF Saber-Only server is full nearly 24/7. ;)

skeep
05-26-2002, 03:22 PM
yeah my CTF server had crashed last night and when i restarted this morning with in 3 minutes I had players and within the hour I had 20+

Whats wierd is I personally cant see the server the master-list. but from the traffic it seems other people can. ;)

oh and there are some CTF maps that I downloaded that im sure people dont have. Is there a way to get people to download if they dont have them since you say "I don't believe sv_autoDownload is a valid cvar. " ???


-skeep

Farslayer
05-27-2002, 03:13 AM
seta sv_allowDownload "1"

is the correct option to turn on Map downloading on the server.. I have tested it and it works :)

Finally figured it out by going to the server list and viewing options it has the valid ones listed. and it listed allowDownload instead of autodownload I tried it, and it works.

Far..out

MatrixCPA
05-27-2002, 04:29 AM
Just remember that for the download to occur, both the server and the client need to have downloads enabled. There is no way to "force" a client to accept a download. By default, the client-side download feature is off.

skeep
05-28-2002, 02:13 AM
okay now next question is how bad do downloads tax the server? I also host UT servers and I know that it pretty much kills it unless you redirect to a different box. In other words should i leave it off? I have a 25 player max set and the network lights are solid when the server is full.

-skeep

rcol
05-28-2002, 04:12 AM
Thanks in advance for you help;

I've set up and run my jk2 server without a hitch...except one.

I'm attempting a Duel/lightsaber-only server, but it always loads up with all the weapons. I've put in the line:

seta g_weaponDisable "65531"

but it still screws up and loads all the weapons/allows them all.

It even says "saber only" when you attempt to connect, but...it just says it.

If anyone could help me out, it'd be much appreciated.

MatrixCPA
05-28-2002, 02:33 PM
It's helpful, since the search feature is disabled, if you post questions in their own thread with a suitable title so that others with the same question can more readily find it. I'll answer your questions here out of the kindness of my heart. ;)

okay now next question is how bad do downloads tax the server? I also host UT servers and I know that it pretty much kills it unless you redirect to a different box. In other words should i leave it off? I have a 25 player max set and the network lights are solid when the server is full. Well, unlike UT, a JK2 server cannot redirect downloads. However, downloads don't tax the server because the download speed is limited to the sv_maxrate. So, the player downloading a map uses no more bandwidth than a player who is playing. The downside is that it can take FOREVER to download a map this way--especially if the server has a maxrate around 5000-6000. Remember that a maxrate of 5000 is designed to accomodate a 56k user.

I'm attempting a Duel/lightsaber-only server, but it always loads up with all the weapons. I've put in the line:

seta g_weaponDisable "65531"

but it still screws up and loads all the weapons/allows them all.

It even says "saber only" when you attempt to connect, but...it just says it. You need to also use the following in your config:

seta g_duelWeaponDisable "65531"

There's 2 cvars for disabling weapons, one for duels and one for all other times.

SenseiHitokiri
05-31-2002, 04:49 PM
In the 103a zip it says that you need Assets2.pk3 from the 103 patch... where is that? I'm not sure if that's the problem... but I keep getting seg faults when running the game... I'm new to linux... actually just started using it for this :) ... but it gets all the way to loading the is :
g_weaponDisable\0\g_redteam\Empire\g_blueteam\Rebe llion
then it seg faults.

I also just noticed that it cant exec autoexec.cfg

MatrixCPA
05-31-2002, 05:58 PM
The autoexec.cfg isn't necessary and you can ignore the error. If you really want to get rid of it, just create an empty file with that name and put it in the base directory. Now, as far as the assets2.pk3 file, you need to copy that from a 1.03 patched client. It will be in the gamedata/base directory.

SenseiHitokiri
05-31-2002, 08:47 PM
Got it to works, thanks... for some reason I was missing assets2.pk3... dunno where it went... I got it off someone and now the server runs.

And now I have another problem :)

It is said the default loads internet play... but for some reason mine doesn't... what's the command for running it in internet mode?

Ok well I found out that it does work on the internet it's just that when people attempt to join it stops at awaiting connection... any idea?

MatrixCPA
06-02-2002, 03:55 AM
What do you see server-side when they connect? Are you behind a firewall/router?

Sn1PeR
06-04-2002, 02:18 AM
Is there a way for the server to get the pk3 files off of the cd, instead of having to copy them all into the base folder, I dont have enuf hd space on the box :( Gunna have to take the thing apart and put a new drive in next week I guess....

MatrixCPA
06-04-2002, 04:35 AM
That's what I'd recommend. Even though it might be possible to run them off the cd with symlinks, it'd be slow as molasses in Canada in January.

DarthSeldon
06-10-2002, 03:36 AM
I see the server listed fine but when I go to start the client it gives me this error:

Error: User interface is version 6, expected 7

Any ideas?

06/11/02

I had the wrong version of pk* files.

Reefn Koff
06-14-2002, 03:54 AM
I want to make an unpure server for skin purpouses so would the comand be set sv_pure 0 ?

Sn1PeR
06-23-2002, 01:18 PM
Would my 450Mhz K6 III w/ 256MB PC-100 RAM be enuf to host a game ~8 people max w/ Linux? I installed win2k on the thing bc I was in a hurry(and wasn't at my house) when I built it, but it seems to be semi laggy(1 bot and 1 LAN connection and the LAN player starts getting real choppy) I'm trying to setup a nice FFA server on this box, would linux give me much better performance than win2k pro? btw.... I have no problem running linux, I have a linux box and am semi familiar w/ it.

DSpawn
06-26-2002, 07:16 PM
To answer the one above, my experience so far is that linux can handle more than W2k, I run a cs-server on a PII 250 with 256 mb ram. 18 players, and it works like a charm. Try that with W2k :p

My cfg looks like this:
// Server Config
set sv_hostname "[BOFH] Et Dukkehjem"
set g_motd "WE WILL NOT ALTER THE SERVER RULES!!"
rconpassword "password"
set sv_allowDownload 1
set sv_maxclients 3
set g_inactivity 0
set sv_maxRate 10000
set g_allowvote 0
set timelimit 4
set capturelimit 20
set g_autoMapCycle 1
set g_gametype 3
set g_duelWeaponDisable 65531
set g_forcepowerDisable 32741
set g_weaponDisable 65531
set g_maxForceRank 6
set g_saberLocking 1
set g_friendlySaber 1
set g_autoMapCycle 1
set duel_fraglimit 10
set fraglimit 1
map duel_pit

(If any of my settings are incorrect or need explanation please let me know:)

And it works like a charm. What I would like to know is:
- how to make it run a custom mapcycle

- how to turn on logging

- what is up with the "motd" (for some reason the message never appears on the server),

- how to make the server appear as a "limited force" server when people connect. (I am running neutral force only, but it says no force to clients connecting)

- Anyone have reccommendations to a nice "adminmod-like" tool?

- Am I gonna need any kind of anticheat software?

And finally I have a suggesion:

Somebody should organize all the info in this thread, get rid of any incorrect information, and make a detailed faq. Including how to do chmod chgrp chown getting correct filestructure and so on.

DSpawn
06-26-2002, 09:51 PM
Sorry about this post being so large. Hope you can get through it:)

As you can se below, when I type serverinfo, with the server running on the .cfg above, everything doesnt seem correct. For one it claism sv_allowDownload is set to 0

Another problem is that although the server has no problem starting with the map duel_pit as I have set in the server.cfg, it claims when I try a "map duel_pit" that it cant find /maps/duel_pit
I take it it then wants duel_pit to be put into a maps folder, but none of the maps I have installed have any problem, and they are all pk3 files located in my base folder, as are the assets0 through 3 .pk3 files.
Now I could of course create a map dir in my base dir and put all the files in there, but since the server is happy with all the other maps just in the base dir, it doesnt seem likely to correct the problem. Besides, the standard maps are all stuffet into to those huge assets files, and I dont want extra copies of those all over the place.

And one other thing. The server claims that it is exec'ing mpdefault.cfg and jk2mpserver.cfg (It also bitches about an autoexec.cfg, but I read that I could ignore that problem somewhere else in this thread) The two cfg files I have mentioned above are not located anywhere in my linux file-structure, unless they are a part of the "assets-files". So is it supposed to exec those?

Hitch warning: 5237 msec frame time
serverinfo
Server info settings:
g_blueteam Rebellion
g_redteam Empire
g_weaponDisable 65531
g_forcePowerDisable 32741
g_forceRegenTime 200
g_maxGameClients 0
capturelimit 20
sv_floodProtect 1
sv_maxPing 0
sv_minPing 0
sv_maxRate 10000
sv_maxclients 3
sv_hostname [BOFH] Et Dukkehjem
g_duelWeaponDisable 65531
g_forceBasedTeams 0
duel_fraglimit 10
g_maxForceRank 6
g_saberLocking 1
g_privateDuel 1
timelimit 4
fraglimit 1
dmflags 0
version JK2MP: v1.03a linux-i386 May 15 2002
g_maxHolocronCarry 3
g_gametype 3
g_needpass 0
protocol 15
mapname duel_pit
sv_privateClients 0
sv_allowAnonymous 0
sv_allowDownload 0
bot_minplayers 0
gamename basejk
g_jediVmerc 0

DSpawn
07-17-2002, 06:01 PM
Nobody answered since 26th of june!!! Come on guys

Sn1PeR
07-22-2002, 12:31 PM
I have no clue on the above post, sorry, I'm having some of the same problems w/ the 1.04 linux dedicated server(which I just installed redhat 7.3 on, and it flys). Just trying to keep this thread semi alive, cmon guys wake up!

another problem I'm having.... I use jedirunner to create my cfgs, and then import them into my jk2 linux server, and I can't get Pure Server to be turned off, its set to 0 in the cfg, the linux server is just really touchy, I guess I'm gunna have to make my cfg by hand(just like everything else w/ linux lol)

Revan Bakr'
07-29-2002, 02:39 PM
I see all these server cfg's and wonder: Where do I put the server cfg folder and how do I include the coding inside?

MatrixCPA
08-02-2002, 12:25 PM
Well, I haven't replied for a couple of reasons. First off, I was on vacation for a few weeks. Second, I've always asked that admins post their questions in a new thread, rather than tacking on to this one. That way, if someone else has the same question, or the answer, they are more likely to see the post.

DSpawn: I'd want to see your command line and perhaps your startup spam to get a better idea what the problem was. I'd recommend you use seta instead of set for everything except map rotation items--that includes putting seta in front of rconpassword.

Revan Bakr': The server.cfg file belongs in the base directory, along with the pk3 files. When you ask, "how do I include the coding inside?" what do you mean? If you mean, how do I get the server to use the config, you put +exec server.cfg at the end of your command line/shortcut. If you mean, what types of things should/can you put in the config, that's a bit more lengthly answer and I'd want to make sure that was the case before I went on and on about it.

Revan Bakr'
08-02-2002, 12:51 PM
First off, I don't know anything about dedicated servers! But I have to make one for my clan. All I'm asking is for someone who knows what they're doing to walk me through it in layman's terms. If you can do this MatrixCPA, I would really appreciate it.

MatrixCPA
08-05-2002, 02:20 PM
Get a hold of me on MSN messenger or AIM sometime. Both are listed in my profile here. I also use ICQ, but not at work.

damien
11-06-2002, 03:03 PM
when i run

./jk2ded +exec server.cfg +map ffa_bespin

the following happens

JK2MP: v1.04 linux-i386 Jul 1 2002
Initialising zone memory .....
----- FS_Startup -----
Current search path:
/usr/local/games/jk2/base/assets2.pk3 (289 files)
/usr/local/games/jk2/base/assets1.pk3 (8011 files)
/usr/local/games/jk2/base/assets0.pk3 (6674 files)
/usr/local/games/jk2/base
./jk2ded/base

----------------------
14974 files in pk3 files
execing mpdefault.cfg
couldn't exec jk2mpserver.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Illegal instruction

and then it kicks me back to the prompt.. i am setting up the server for the first time.. I can't find any documentation anywhere in regards to the "Illegal instruction" error.. has anyone seen this before?

I am running Mandrake Linux release 9.0 on a PII 200.

TheAphextwin
11-21-2002, 03:55 PM
Please post your configs here for us to view

tech
12-05-2002, 10:43 PM
G'Day Guys,

I have been trying to get the jkii dedicated server working now on and off for the last couple of weeks and have resorted to these foums for some help.

Basically with an out of the box install I am getting the following errors after running './jk2ded +exec server.cfg' or even if i just do './jk2ded' and as soon as I select a map to load.

Any help would be much appreciated. The pk3 files were sourced from a client running the 1.04 Patch.

Current search path:
/root/.jkii/base
/usr/games/jk2/base/assets5.pk3 (4 files)
/usr/games/jk2/base/assets2.pk3 (289 files)
/usr/games/jk2/base/assets1.pk3 (8011 files)
/usr/games/jk2/base/assets0.pk3 (6674 files)
/usr/games/jk2/base
./jk2ded/base

----------------------
29956 files in pk3 files
Loading dll file jk2mpgame.
Sys_LoadDll(/usr/games/jk2/base/jk2mpgamei386.so)...
Sys_LoadDll(/usr/games/jk2/base/jk2mpgamei386.so) failed: "/usr/games/jk2/base/jk2mpgamei386.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(./jk2ded/base/jk2mpgamei386.so) failed: "./jk2ded/base/jk2mpgamei386.so: cannot open shared object file: Not a directory"
----- Server Shutdown -----
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:28060
Sending heartbeat to master3.idsoftware.com
Resolving master0.gamespy.com
master0.gamespy.com resolved to 216.177.89.34:28060
Sending heartbeat to master0.gamespy.com
Resolving clanservers.net
clanservers.net resolved to 65.113.118.130:28060
Sending heartbeat to clanservers.net
Resolving q3master.barrysworld.com
Couldn't resolve address: q3master.barrysworld.com
Sending heartbeat to master3.idsoftware.com
Sending heartbeat to master0.gamespy.com
Sending heartbeat to clanservers.net
---------------------------
Sys_Error: Sys_LoadDll(jk2mpgame) failed dlopen() completely!

lf412
02-27-2003, 12:32 AM
My jk2ded is having problems finding the pk3 files. I put them all into my base folder, but the jk2ded binary can't seem to locate them. I assume this is because my pk3s are in a different format that linux can't understand or something? How do I copy these files properly from the CD? Or how do I go about converting the pk3s. Thanks.

leowulf
04-13-2003, 12:10 PM
Hi,
I have a problem, the server load up great and it run as background but somehow i couldnt connect to it through the internet, my server is running on Freebsd4.8 here is mine cfg file can someone help me out? thanks Secondly, i have many IPs on this server, how can i bind it to one IP

// Server Config
set sv_hostname "wildabar"
set g_motd "test"
rconpassword "password"
set sv_allowDownload 1
set sv_maxclients 3
set g_inactivity 0
set sv_maxRate 10000
set g_allowvote 0
set timelimit 4
set capturelimit 20
set g_autoMapCycle 1
set g_gametype 3
set g_duelWeaponDisable 65531
set g_forcepowerDisable 32741
set g_weaponDisable 65531
set g_maxForceRank 6
set g_saberLocking 1
set g_friendlySaber 1
set g_autoMapCycle 1
set duel_fraglimit 10
set fraglimit 1
map duel_pit

KomeK
05-16-2003, 02:00 PM
My friend to me have linux and he wants to run a Dedicated jk2 server from it with the mod Jedi academy mod 1.2.I wonder if anyone can tell me step by step how to do.With the commands and the cfg things :S

miner60
07-07-2003, 12:17 AM
I have been trying to set up a dedicated server on Linux now for a few days. Everything runs fine and I can connect to my server through my LAN. The only problem is the server does not get listed on the master list. I always get an error message that says something to the effect of "Couldn't resolve masterjk2.ravensoft.com". I have read through a few other posts on this topic but haven't found any good solutions. Anybody have any help for me?

Also I forgot to mention that my server is running behind a Gateway running Windows XP with ICS.

escapedturkey
10-05-2003, 08:06 AM
Originally posted by leowulf
Hi,
I have a problem, the server load up great and it run as background but somehow i couldnt connect to it through the internet, my server is running on Freebsd4.8 here is mine cfg file can someone help me out? thanks Secondly, i have many IPs on this server, how can i bind it to one IP

// Server Config
set sv_hostname "wildabar"
set g_motd "test"
rconpassword "password"
set sv_allowDownload 1
set sv_maxclients 3
set g_inactivity 0
set sv_maxRate 10000
set g_allowvote 0
set timelimit 4
set capturelimit 20
set g_autoMapCycle 1
set g_gametype 3
set g_duelWeaponDisable 65531
set g_forcepowerDisable 32741
set g_weaponDisable 65531
set g_maxForceRank 6
set g_saberLocking 1
set g_friendlySaber 1
set g_autoMapCycle 1
set duel_fraglimit 10
set fraglimit 1
map duel_pit

How did you get the Linux Dedicated Server working with 4.8?

Jedi Academy just hangs for me.

What does your startup command look like?

Mine just hangs everytime I start the program.

Please see this thread:

http://forums.ravensoft.com/ib/ikonboard.pl?act=ST;f=21;t=25075

Thank you. :)