View Single Post
  #2  
Old 04-19-2002, 01:04 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

You're going to have to port forward more than just 9000, you'll need to UDP forward all your zoneserver ports too..


Also, make sure you dont have any whitespace on the end of your .ini lines..

As far as starting, Ive thought about setting the server up so its started when the server bounces, but I havent gotten around to it yet. What I'd like to see 1st is logfile output to something other than stdout specified in the code (variable via an ini file perhaps) before I try to make a service out of it. I've toyed around with doing it myself, but the dev team isn't very open with their task/assignment list (not really their fault, just a result of using starteam rather than cvs, though I wish starteam had a public web interface so certain parts could be made available, ie the tasklist), so I dont want to work on something thats either being worked on by someone else, or won't get merged into the code anyways.. I'll just wait to the emulator gets to a later phase, then think about wrappers for it then.. It would be very easy to create an init.d script to do it though.. Just start them, get the pid numbers, write them out to /var/tmp, then background all the processes. For stopping, just do a Sig Hangup on the process pids, wait 10 seconds, check them, then kill -9 them if theyre still alive... Nothing much that really needs to be done. Since you can send a broadcast via the world binary, you could even tell it to broadcast to players on the server before it shuts down.
Reply With Quote