Re: [hlds_linux] MOTD chalkboard how-to (TF2)
Hi It's not really a tutorial, but I've made a pack to be able to get a dynamic and graphical motd I've modified my scripts so you have a config.php file, but all the text is still hardcoded. It will not be difficult to modify it though. You'll find the doc (in french and english) and a tar.gz with all the needed files on my server's blog: http://www.coldfire.info/?p=64 Feel free to ask for help replying to this thread. The motd as provided has about, rules and contact blocks, as well as a mapcycle bloc, displaying in color current map and nextmap. If the current/nextmap is not in the mapcycle, then the map name is written in the legend. And the code has comments, so it should not be difficult to modify and adapt to your needs if you have basic php-gd knowledge. Cold On Wed, Jun 25, 2008 at 9:22 PM, Patrick Shelley [EMAIL PROTECTED] wrote: A tutorial on using php for bringing in this dynamic info into the MOTD would be very grateful indeed. On 6/25/08, Coldorak [EMAIL PROTECTED] wrote: Yep, the reason is I want to use the font TF2 secondary. With the new headers in the image and a change to motd.html (changed to php with a always changing link to the image), no more cache problem motd2.html changed to motd.php, and the img link is now: img src= http://www.coldfire.info/tf2/motd/cold/motd_image.php??php echo time(); ? / so the link is never the same And the no-cache headers in motd_image.php (with returns a png image), all works fine Thanks to all for the help For those interested by all this stuff, feel free to ask Cold ___ 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
[hlds_linux] garrysmod with wine?
Hi I just wanted to ask if it's possible to run srcds.exe with garrysmod under wine without X installed? At the moment I get following error messages: [EMAIL PROTECTED] wine srcds.exe -game garrysmod +map gm_construct +maxplayers 16 ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:ole:apartment_createwindowifneeded CreateWindow failed with error 2 err:ole:RegisterDragDrop invalid hwnd (nil) err:mmio:MMIO_ParseExtA No . in szFileName: err:mmio:MMIO_ParseExtA No . in szFileName: Z:\\home\\test\\garry\\down\\ err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) err:ole:RegisterDragDrop invalid hwnd (nil) --- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Try adding -console without the quotes to your list of commandline arguments. ~~ Ondra On 26.06.08 17:05 Uhr, Marcel wrote: Hi I just wanted to ask if it's possible to run srcds.exe with garrysmod under wine without X installed? At the moment I get following error messages: [EMAIL PROTECTED] wine srcds.exe -game garrysmod +map gm_construct +maxplayers 16 megasnip ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Try adding -console without the quotes to your list of commandline arguments. thank you. result: Less errors - but srcds.exe still wants to open a window :( [EMAIL PROTECTED] wine srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16 ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:ole:apartment_createwindowifneeded CreateWindow failed with error 2 Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
On 26.06.08 18:28 Uhr, Marcel wrote: Try adding -console without the quotes to your list of commandline arguments. thank you. result: Less errors - but srcds.exe still wants to open a window :( [EMAIL PROTECTED] wine srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16 Okay, try this instead: wineconsole --backend=curses -- srcds.exe -console -game garrysmod +maxplayers 16 +map gm_construct Note well that maxplayers 16 must come before map. ~~ Ondra ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
This is because srcds *isnt* a true console program. Marcel wrote: Try adding -console without the quotes to your list of commandline arguments. thank you. result: Less errors - but srcds.exe still wants to open a window :( [EMAIL PROTECTED] wine srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16 ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:ole:apartment_createwindowifneeded CreateWindow failed with error 2 Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting ___ 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
Re: [hlds_linux] garrysmod with wine?
Okay, try this instead: wineconsole --backend=curses -- srcds.exe -console -game garrysmod +maxplayers 16 +map gm_construct It looked good - but wine doesn't like it :) (endless loop) fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Well... did you try beating them? Marcel wrote: Okay, try this instead: wineconsole --backend=curses -- srcds.exe -console -game garrysmod +maxplayers 16 +map gm_construct It looked good - but wine doesn't like it :) (endless loop) fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us ___ 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
Re: [hlds_linux] garrysmod with wine?
Marcel - backend=curses is broken in all but the newest versions of wine, it will print precisely that error. But like others have pointed out, srcds.exe isn't a normal console program, it ignores its parent console but then opens a new window. It might work though, so upgrade and give it a shot. - Neph On Thu, Jun 26, 2008 at 12:35 PM, Tom Leighton [EMAIL PROTECTED] wrote: Well... did you try beating them? Marcel wrote: Okay, try this instead: wineconsole --backend=curses -- srcds.exe -console -game garrysmod +maxplayers 16 +map gm_construct It looked good - but wine doesn't like it :) (endless loop) fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us fixme:curses:WCCURSES_GetEvents Ooch. somebody beat us ___ 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
Re: [hlds_linux] garrysmod with wine?
try make a bat script, which has something like echo off option. My knowledge is, that -console on windows make window with console, not just console, thats the problem. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Marcel - backend=curses is broken in all but the newest versions of wine, it will print precisely that error. But like others have pointed out, srcds.exe isn't a normal console program, it ignores its parent console but then opens a new window. It might work though, so upgrade and give it a shot. I've compiled wine 1.0 and it still gives me errors. Someone suggested using Xvfb - that might be the solution. But it doesn't seem to be well documented, so I've to google :) cheers Marcel ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Yeah. Bastard probably uses AllocConsole. From reading the wine code, that function just lets wineconsole use its default, which is user32 (creating a window and needing X11 for it). Does the version downloaded via the hldsupdatetool also do an AllocConsole? ~~ Ondra On 26.06.08 19:08 Uhr, Tom Leighton wrote: This is because srcds *isnt* a true console program. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] garrysmod with wine?
Yeah. Bastard probably uses AllocConsole. From reading the wine code, that function just lets wineconsole use its default, which is user32 (creating a window and needing X11 for it). Does the version downloaded via the hldsupdatetool also do an AllocConsole? The hldsupdatetool(win32 exe) works quite well with wine. But here is my update (running garrysmod without real X or vnc crap): Xvfb -ac :1 export DISPLAY=:1 wine srcds.exe -console -port 27015 -ip -game garrysmod +maxplayers 16 +map gm_construct netstat: tcp0 0 :27015 0.0.0.0:* LISTEN 9857/srcds.exe udp0 0 :27015 0.0.0.0:* 9857/srcds.exe Server is pingable in HLSW. I might try connecting tomorrow :) Sadly you don't see the serverconsole, just wine output... cheers and good night, marcel ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] update
I just received a update... What's it about? No mail etc, been 30 minutes now. Cheers, ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] update
I just received a update... What's it about? No mail etc, been 30 minutes now. Cheers, ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] update
Everybody who starts a Valve game today will get a small client update. I'll let someone else decide if they want to post the details or not. -Richard Eid On Thu, Jun 26, 2008 at 6:42 PM, Saint K. [EMAIL PROTECTED] wrote: I just received a update... What's it about? No mail etc, been 30 minutes now. Cheers, ___ 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
Re: [hlds_linux] update
If i try to update my server i get a new update.. So i think jason is sick (or has a too long break :) ) or we get the update notes a bit later :) I just received a update... What's it about? No mail etc, been 30 minutes now. Cheers, ___ 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
Re: [hlds_linux] update
I doubt there will be any updates notes or changelog. -Richard Eid On Thu, Jun 26, 2008 at 7:37 PM, Eric van Beesten [EMAIL PROTECTED] wrote: If i try to update my server i get a new update.. So i think jason is sick (or has a too long break :) ) or we get the update notes a bit later :) I just received a update... What's it about? No mail etc, been 30 minutes now. Cheers, ___ 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