Did I ever state screen in my post? No. It has nothing todo with screen. hlds_run is a startup script from valve. If it is restarting its either one of the following:
A bug in valves script. It should break out of the while loop if quit. Maybe change the "break" line to "exit 0" instead. hlds server does not send exitcode 0 when exiting, which in turn might be related to plugins like metamod. /Bjorn On Mon, 28 Nov 2005, Craig Moore wrote: > Again, screen has absolutely nothing to do with the server > auto-restarting. Screen is just an environment for another terminal. > Trying to diagnose a problem with screen will fix nothing, as it's not > the issue. Screen is just a detachable tty. Not sure if most of you > guys open a shell in screen first, then start the server, or if you > start the server in the same line as the screen without screen opening > a shell, but either way the application inside has no idea it is in a > screen session. > > Now that we've eliminated one thing, let's try thinking of other > possibilities. > > Also, to whoever said -autoupdate has no effect on whether or not the > server restarts... I run two servers. One that auto-updates, the other > that doesn't. When I do "quit" on the one with auto-update, it > restarts in 10 seconds. On the server without auto-updapte, it simply > exits. While its intended use may be to update the server, it may have > some extra functions. Perhaps it's so you can issue "quit" via rcon > and the server will update and come back online. Of course, Valve > doesn't tell us everything we might want to know about certain > functions, but we must be able to come to some sort of conclusion that > -autoupdate and the server restarting on "quit" are related. > > -Craig Moore (ping) > > On a side note, I'd appreciate it if you guys would quit arguing on > the actual list. The "offender's" e-mail address shows, and e-mailing > the person directly in a courteous manner will probably get you > farther than publicly flaming the person. Of course someone is going > to flame this, too, so feel free to e-mail it directly to me. I won't > respond to flames on the list. > > On 11/28/05, kama <[EMAIL PROTECTED]> wrote: > > > > Which should be the correct way of dealing. If you issue a quit or exit, > > the program should report 0 as exitcode. And reading the hlds_run script > > it checks if it 0 and then break out of the whileloop. > > > > I think there is a restart command in the hlds that, hopefully, sends > > another exitcode. > > > > Test this: > > First set the path > > # export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" > > run hlds > > # ./hlds_i686 -game cstrike +map de_dust > > > > Then type 'exit' in the game concole > > # echo $? > > > > run hlds_i686 again and then kill it with -9 'kill -9 <pid#>' from another > > shell. In the prompt where hlds console is type: > > # echo $? > > > > the one where you typed exit should return 0 and the other one will return > > anything but 0. my guess would be -1 or 255. > > > > /Bjorn > > > > On Sun, 27 Nov 2005, doomed999 wrote: > > > > > I have noticed that if I run mine in screen and run a exit or quit command > > > through rcon it wont restart a new screen session and wont start back up. > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Craig Moore > > > Sent: Sunday, November 27, 2005 8:40 PM > > > To: [email protected] > > > Subject: Re: [hlds_linux] quit -> no restart, huh? > > > > > > The source/half-life dedicated server have no idea if they're run in a > > > screen session or not. That's not even a factor, just so you know. And > > > it's also not a question of the server being out-of-date, it's just > > > that the -autoupdate makes the server restart (and try to update) > > > every time it receives the quit command. > > > > > > And yes, this is its own thread. > > > > > > On 11/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Quoting m0gely <[EMAIL PROTECTED]>: > > > > > > > > > Dagok wrote: > > > > > > > > > > > This is it's own thread topic, so stop being your usual ass self > > > > > > Eric. > > > > > > > > > > No, it's not. Would you like a screenshot? > > > > > > > > > > -- > > > > > - m0gely > > > > > http://quake2.telestream.com/ > > > > > Q2 | Q3A | Counter-strike > > > > > > > > > > _______________________________________________ > > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please > > > > > visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > > > > > > > Well, If you run the server In a screen It will automaticly restart, > > > > well > > > It > > > > should.What Is the start up command line you use? > > > > > > > > > > > > _______________________________________________ > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

