Thxs that is a start. Was more after the guts of how to update the svn. Im a noob when it comes to linux :P
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ondrej Hošek Sent: Sunday, May 06, 2007 4:12 AM To: [email protected] Subject: Re: [hlcoders] hl2mp fresh source compilation for linux crashingon startup Something along these lines might work... #!/bin/sh while true do # Update from SVN. svn update # Run the dedicated server with a painfully draconian setup. ./srcds_run -game "cstrike" +map de_dust +alias map echo +alias changelevel echo +alias changelevel2 echo done The only way to abort this script, however, is to use "kill" or the server will keep restarting. You might want to add a conditional like "[ -f srcds_exitserver ] && exit 0" after the server call to quit the script when the file "srcds_exitserver" exists in the current directory, then e.g. upload a file via FTP and quit the server to make the script stop. I'm sure other coders will come up with more elegant solutions; I might be looking at an outdated srcds_run here which doesn't give helpful quit codes (since it always SIGINTs itself). ~~ Ondra Mark Chandler wrote: > While on the topic of linux any one know how to write a script so that a > linux server will update its files from a svn and then boot it self every > time its quited. > > > Mark > GoldenEye Source > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Sunday, May 06, 2007 12:16 AM > To: [email protected] > Subject: Re: [hlcoders] hl2mp fresh source compilation for linux crashingon > startup > > I went back in my cvs logs and see that I fixed that bug at the same time > that I fixed the buggy lack of a version script. I forgot to post the > former. For the latter, see: > http://developer.valvesoftware.com/wiki/Compiling_under_Linux > > > At 2007/05/03 03:43 PM, OndÅ™ej Hošek wrote: > >> Yay. :-) >> >> It's in Bugzilla as #147; fix is, as I have shown, trivial. Pretty >> please get it out with the next SDK drop, Valve people. ;-) >> >> ~~ Ondra >> >> [EMAIL PROTECTED] wrote: >> >>> Yes that worked! >>> >>> Thanks a lot >>> Sent from my BlackBerry device on the Rogers Wireless Network >>> >>> -----Original Message----- >>> From: OndÅ™ej Hošek <[EMAIL PROTECTED]> >>> Date: Thu, 03 May 2007 19:19:56 >>> To:[email protected] >>> Subject: Re: [hlcoders] hl2mp fresh source compilation for linux crashing >>> on startup >>> >>> (If any Valve people are reading this: sorry, but it seems you screwed >>> up slightly on the Makefile generation... I'll Bugzillize this straight >>> away.) >>> >>> You can probably see the absolute link paths in the list >>> ("/home/johnt/..."). They are evil; srcds crashed on me too before I got >>> them relativised. >>> >>> Change the following line in the Makefile: >>> >>> LDFLAGS="-lm -ldl $(GAME_DIR)/bin/tier0_i486.so >>> $(GAME_DIR)/bin/vstdlib_i486.so mathlib_i486.a choreoobjects_i486.a >>> tier1_i486.a" >>> >>> into: >>> >>> LDFLAGS="-lm -ldl tier0_i486.so vstdlib_i486.so mathlib_i486.a >>> choreoobjects_i486.a tier1_i486.a" >>> >>> Do a "rm server_i486.so" and run make. Once it's done, check "ldd >>> server_i486.so" again. It should show lines like this: >>> tier0_i486.so => not found >>> vstdlib_i486.so => not found >>> >>> If it does, all is good. (There must be no absolute path in front of >>> their names.) The dynlinker might not be able to find the two libs now, >>> but the Source engine will make sure they are available and loadable in >>> due time. (It did in my case.) >>> >>> Good luck with your progress, >>> ~~ Ondra >>> >>> John Tsakok wrote: >>> >>> >>>> -- >>>> [ Picked text/plain from multipart/alternative ] >>>> here's my link stuff: >>>> >>>> [EMAIL PROTECTED]:~/decloak/linux_sdk$ ldd server_i486.so >>>> linux-gate.so.1 => (0xffffe000) >>>> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb6f25000) >>>> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb6f21000) >>>> /home/johnt/srcds/bin/tier0_i486.so (0xb6eeb000) >>>> /home/johnt/srcds/bin/vstdlib_i486.so (0xb6ed7000) >>>> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb6da9000) >>>> /lib/ld-linux.so.2 (0x80000000) >>>> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6d95000 >>>> -- >>>> _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

