From tim at ngus.net Tue Feb 12 07:56:15 2008 From: tim at ngus.net (Tim Angus) Date: Tue, 12 Feb 2008 12:56:15 +0000 Subject: r1253 - in trunk: . code/renderer In-Reply-To: <20080212100333.24175.qmail@icculus.org> References: <20080212100333.24175.qmail@icculus.org> Message-ID: <47B1976F.4000304@ngus.net> DONOTREPLY at icculus.org wrote: > Author: ludwig > Date: 2008-02-12 05:03:21 -0500 (Tue, 12 Feb 2008) > New Revision: 1253 > > Added: > trunk/code/renderer/tr_image_png.c > trunk/code/renderer/tr_image_png.h > Modified: > trunk/Makefile > trunk/code/renderer/tr_image.c > Log: > move png support to separate file Why? From ludwig.nussel at suse.de Tue Feb 12 08:29:04 2008 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Tue, 12 Feb 2008 14:29:04 +0100 Subject: [quake3] Re: r1253 - in trunk: . code/renderer In-Reply-To: <47B1976F.4000304@ngus.net> References: <20080212100333.24175.qmail@icculus.org> <47B1976F.4000304@ngus.net> Message-ID: <200802121429.04559.ludwig.nussel@suse.de> Tim Angus wrote: > DONOTREPLY at icculus.org wrote: > > Author: ludwig > > Date: 2008-02-12 05:03:21 -0500 (Tue, 12 Feb 2008) > > New Revision: 1253 > > > > Added: > > trunk/code/renderer/tr_image_png.c > > trunk/code/renderer/tr_image_png.h > > Modified: > > trunk/Makefile > > trunk/code/renderer/tr_image.c > > Log: > > move png support to separate file > > Why? It's so much code for a single file format that I've decided to split it off: $ wc -l code/renderer/tr_image.c code/renderer/tr_image_png.c 2757 code/renderer/tr_image.c 2474 code/renderer/tr_image_png.c It's also easier to test separately then which was my motivation in the first place. I'm currently running fuzzing tests against the image loaders. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From tim at ngus.net Tue Feb 12 08:55:59 2008 From: tim at ngus.net (Tim Angus) Date: Tue, 12 Feb 2008 13:55:59 +0000 Subject: r1253 - in trunk: . code/renderer In-Reply-To: <200802121429.04559.ludwig.nussel@suse.de> References: <20080212100333.24175.qmail@icculus.org> <47B1976F.4000304@ngus.net> <200802121429.04559.ludwig.nussel@suse.de> Message-ID: <47B1A56F.8040603@ngus.net> Ludwig Nussel wrote: > It's so much code for a single file format that I've decided to > split it off: Probably best to split ALL of the image loaders off into separate files, in that case. It's somewhat inconsistent otherwise. From audiocheese at gmail.com Tue Feb 12 09:17:51 2008 From: audiocheese at gmail.com (James Munro) Date: Tue, 12 Feb 2008 14:17:51 +0000 Subject: File download exploit Message-ID: <71f3c1de0802120617x226eeae5l57aacb95ef216829@mail.gmail.com> Hello, the following code is designed for JKA but can be adapted for most Q3 engined games. My question is has this issue been resolved in ioquake3? I am not the author of this code: http://rafb.net/p/XmBZ6E34.html The code will allow you to download any file from the server. As standard, the Q3 server file download function does not check which directory the user is downloading from, and so this code can be used to download the server.cfgwhich may contain the rcon password, so it is clear why this is a problem! Regards, James -------------- next part -------------- An HTML attachment was scrubbed... URL: From arny at ats.s.bawue.de Tue Feb 12 09:37:56 2008 From: arny at ats.s.bawue.de (Thilo Schulz) Date: Tue, 12 Feb 2008 15:37:56 +0100 Subject: [quake3] File download exploit In-Reply-To: <71f3c1de0802120617x226eeae5l57aacb95ef216829@mail.gmail.com> References: <71f3c1de0802120617x226eeae5l57aacb95ef216829@mail.gmail.com> Message-ID: <200802121538.01888.arny@ats.s.bawue.de> On Dienstag, 12. Februar 2008, James Munro wrote: > http://rafb.net/p/XmBZ6E34.html > > The code will allow you to download any file from the server. As standard, > the Q3 server file download function does not check which directory the > user is downloading from, and so this code can be used to download the > server.cfgwhich may contain the rcon password, so it is clear why this > is a problem! This looks like an exploit for a bug that Ludwig Nussel and I have found some time ago already. Please look at my advisory for more information: http://seclists.org/fulldisclosure/2006/May/0225.html -- Thilo Schulz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From james at jamesdesign.org Tue Feb 12 10:05:40 2008 From: james at jamesdesign.org (James Munro) Date: Tue, 12 Feb 2008 15:05:40 +0000 Subject: [quake3] File download exploit In-Reply-To: <200802121538.01888.arny@ats.s.bawue.de> References: <71f3c1de0802120617x226eeae5l57aacb95ef216829@mail.gmail.com> <200802121538.01888.arny@ats.s.bawue.de> Message-ID: <71f3c1de0802120705q3e7f4de2ocd2f1b9ec3844f3c@mail.gmail.com> Yep that looks like the one. In that case, sorry for the false alarm guys! I just wanted to make sure people were aware of the problem as it still exists in quite a few games. Thanks for the response, James On Feb 12, 2008 2:37 PM, Thilo Schulz wrote: > On Dienstag, 12. Februar 2008, James Munro wrote: > > http://rafb.net/p/XmBZ6E34.html > > > > The code will allow you to download any file from the server. As > standard, > > the Q3 server file download function does not check which directory the > > user is downloading from, and so this code can be used to download the > > server.cfgwhich may contain the rcon password, so it is clear why this > > is a problem! > > This looks like an exploit for a bug that Ludwig Nussel and I have found > some > time ago already. Please look at my advisory for more information: > > http://seclists.org/fulldisclosure/2006/May/0225.html > > -- > Thilo Schulz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludwig.nussel at suse.de Tue Feb 12 10:40:48 2008 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Tue, 12 Feb 2008 16:40:48 +0100 Subject: [quake3] Re: r1253 - in trunk: . code/renderer In-Reply-To: <47B1A56F.8040603@ngus.net> References: <20080212100333.24175.qmail@icculus.org> <200802121429.04559.ludwig.nussel@suse.de> <47B1A56F.8040603@ngus.net> Message-ID: <200802121640.48919.ludwig.nussel@suse.de> Tim Angus wrote: > Ludwig Nussel wrote: > > It's so much code for a single file format that I've decided to > > split it off: > > Probably best to split ALL of the image loaders off into separate files, > in that case. It's somewhat inconsistent otherwise. I don't mind the inconsistency for the 100-lines-single-function-formats but I can split them off as well if you prefer that. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From tim at ngus.net Tue Feb 12 15:38:09 2008 From: tim at ngus.net (Tim Angus) Date: Tue, 12 Feb 2008 20:38:09 +0000 Subject: r1253 - in trunk: . code/renderer In-Reply-To: <200802121640.48919.ludwig.nussel@suse.de> References: <20080212100333.24175.qmail@icculus.org> <200802121429.04559.ludwig.nussel@suse.de> <47B1A56F.8040603@ngus.net> <200802121640.48919.ludwig.nussel@suse.de> Message-ID: <20080212203809.0d8cbc2b.tim@ngus.net> On Tue, 12 Feb 2008 16:40:48 +0100 Ludwig wrote: > I don't mind the inconsistency for the > 100-lines-single-function-formats but I can split them off as well > if you prefer that. I think it would be better that way. If I was coming to the source fresh, I think my initial impression would be that only png is supported. So they should all go in the same file or each in separate files I reckon. Alternative opinions welcome? :) From monk at rq3.com Tue Feb 12 19:55:12 2008 From: monk at rq3.com (monk at rq3.com) Date: Tue, 12 Feb 2008 17:55:12 -0700 (MST) Subject: [quake3] Re: r1253 - in trunk: . code/renderer In-Reply-To: <20080212203809.0d8cbc2b.tim@ngus.net> References: <20080212100333.24175.qmail@icculus.org> <200802121429.04559.ludwig.nussel@suse.de> <47B1A56F.8040603@ngus.net> <200802121640.48919.ludwig.nussel@suse.de> <20080212203809.0d8cbc2b.tim@ngus.net> Message-ID: <55633.63.150.173.150.1202864112.squirrel@mail.rq3.com> > On Tue, 12 Feb 2008 16:40:48 +0100 Ludwig wrote: >> I don't mind the inconsistency for the >> 100-lines-single-function-formats but I can split them off as well >> if you prefer that. > > I think it would be better that way. If I was coming to the source > fresh, I think my initial impression would be that only png is > supported. So they should all go in the same file or each in separate > files I reckon. Alternative opinions welcome? :) I agree with your line of thinking, it's logical and helps reduce confusion. Sure, there'll be a few more files, but if they are named in a logical, consistent fashion, it shouldn't be a problem. Monk. From rjisaac at gmail.com Thu Feb 14 19:19:11 2008 From: rjisaac at gmail.com (Robert Isaac) Date: Thu, 14 Feb 2008 19:19:11 -0500 Subject: [quake3] Re: r1253 - in trunk: . code/renderer In-Reply-To: <20080212203809.0d8cbc2b.tim@ngus.net> References: <20080212100333.24175.qmail@icculus.org> <200802121429.04559.ludwig.nussel@suse.de> <47B1A56F.8040603@ngus.net> <200802121640.48919.ludwig.nussel@suse.de> <20080212203809.0d8cbc2b.tim@ngus.net> Message-ID: <3b47d0520802141619r71a03e21q33242719583b993d@mail.gmail.com> > > I think it would be better that way. If I was coming to the source > fresh, I think my initial impression would be that only png is > supported. So they should all go in the same file or each in separate > files I reckon. Alternative opinions welcome? :) > You should give your strawmen credit. That particular strawman would have to be a moron to believe that the only image format supported by ioq3 is png as playing a simple round of baseq3, or even a cursory glance at any of the projects that base off the code, proves that impression wrong. :) The inconsistency in the code base, however, should be addressed, if only to remove the impression of cheap hacks to allow new image formats. ;) From noisyb at gmx.net Thu Feb 28 08:34:17 2008 From: noisyb at gmx.net (Dirk) Date: Thu, 28 Feb 2008 14:34:17 +0100 Subject: [Patch] Hitch Warnings with time and date Message-ID: <47C6B859.2060106@gmx.net> This has proven useful for VPS owners like me... -------------- next part -------------- A non-text attachment was scrubbed... Name: hitch_warnings_with_time_and_date.patch Type: text/x-diff Size: 1478 bytes Desc: not available URL: From kamikaze at bsdforen.de Thu Feb 28 09:07:13 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 15:07:13 +0100 Subject: demos only playable from .pk3 files Message-ID: <47C6C011.4020002@bsdforen.de> I'm running ioquake3 on FreeBSD 7. I cannot play my recorded demos unless I put them into a .pk3 file. If I try to open them through the menu I just get a "couldn't open demo demo0000.dm_68". If I use the demo command from the console it loads the map and stops after the 'awaiting snapshot...' message appears. When I zip my demos into file with the ending .pk3 they work fine either way. From kamikaze at bsdforen.de Thu Feb 28 09:07:21 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 15:07:21 +0100 Subject: toggleconsole everywhere Message-ID: <47C6C019.9090005@bsdforen.de> I can only use the toggleconsole key within a game and I have to manually enter \toggleconsole to leave the console. This is kinda awkward, because I'm used to use the console to switch matches, connect to games adjust the graphics settings and so on. Many of these things are better done before joining a game. I suppose bound keys are only being listened to during a match. This is completely logical, except for the toggleconsole key. My preferred solution would be a new bind command. Something like bindstrong for bindings that are always listened to. This way I could run all my useful little scripts without first joining a game, put my favourite servers on keys and so on. From kamikaze at bsdforen.de Thu Feb 28 09:07:28 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 15:07:28 +0100 Subject: demos in spectator mode? Message-ID: <47C6C020.9040007@bsdforen.de> Yet another annoying feature request, please bear with me. I love the work you are doing on the game, keeping it working on my operation system of choice on the architecture of choice, more than 8 years after I bought it. I'd love to be able to watch demos in spectator mode. With different perspectives, free look and the ability to switch between the players I'm watching. Add a slow motion and a forward/backward function and it would become extremely useful to find flaws in ones game play or simply revisit a nice killing spree in all its g(l)ory. From monk at rq3.com Thu Feb 28 10:24:25 2008 From: monk at rq3.com (monk at rq3.com) Date: Thu, 28 Feb 2008 08:24:25 -0700 (MST) Subject: [quake3] demos in spectator mode? In-Reply-To: <47C6C020.9040007@bsdforen.de> References: <47C6C020.9040007@bsdforen.de> Message-ID: <4553.64.81.110.230.1204212265.squirrel@mail.rq3.com> > I'd love to be able to watch demos in spectator mode. With different > perspectives, free look and the ability to switch between the players I'm > watching. Add a slow motion and a forward/backward function and it would > become extremely useful to find flaws in ones game play or simply revisit > a > nice killing spree in all its g(l)ory. I don't think this is possible without rewriting the networking model/stream, which I think the demo file is just a dump of. CPMA has something called MVD, like multi-view demo, I think. I don't know for certain because it's been forever since I've read up on it, but it captures all the player streams at the same time, kind of like Q2's old "serverdemo" command. I think only a server can capture this, since Q3 doesn't send everything to all players at the same time? There was some opensores work with OpenDemo: http://machinima.com/opendemo/ However, that seems dead dead dead. I see mention of some other recamming tools: http://www.rq3.com/phpBB/viewtopic.php?p=23536 That might give you a start on a solution that would be useful with the current state of Q3. This issue has been brought up before and I think the reception was kind of lukewarm with interest. I believe some were slightly interested whenever CPMA opened their source so they could just port it, but didn't really want to create something from the ground up, if I recall correctly. Anyway, hope the info is useful to ya. Monk. From tjw at webteam.net Thu Feb 28 10:35:58 2008 From: tjw at webteam.net (Tony J. White) Date: Thu, 28 Feb 2008 09:35:58 -0600 Subject: [quake3] toggleconsole everywhere In-Reply-To: <47C6C019.9090005@bsdforen.de> References: <47C6C019.9090005@bsdforen.de> Message-ID: <20080228153558.GL12492@morbo.webteam.net> On Thu, Feb 28, 2008 at 03:07:21PM +0100, Dominic Fandrey wrote: > I can only use the toggleconsole key within a game and I have to manually > enter \toggleconsole to leave the console. This is kinda awkward, because > I'm > used to use the console to switch matches, connect to games adjust the > graphics settings and so on. Many of these things are better done before > joining a game. > > I suppose bound keys are only being listened to during a match. This is > completely logical, except for the toggleconsole key. My preferred solution > would be a new bind command. Something like bindstrong for bindings that are > always listened to. This way I could run all my useful little scripts > without > first joining a game, put my favourite servers on keys and so on. This is a hairy issue since when you're typing in the console you wouldn't be able to unbind any keys that were currently bound to toggleConsole. I'm guessing that the only reason you have noticed this is because ioq3 treats the built-in toggleConsole key differntly than id q3. Instead of using the keyboard scancode like id ioquake3 did, we look for the '~' character which may be in a different place on your keyboard. To counter this change we have added an built-in key sequence to control toggleConsole: Shift-Esc. This also has the added benefit of being a lot easier to explain to people than saying "whatever key is up in the top left area of the keys but not the very top row and if your keyboard is like mine it is a "*console closes* -Tony From kamikaze at bsdforen.de Thu Feb 28 10:36:41 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 16:36:41 +0100 Subject: [quake3] demos in spectator mode? In-Reply-To: <4553.64.81.110.230.1204212265.squirrel@mail.rq3.com> References: <47C6C020.9040007@bsdforen.de> <4553.64.81.110.230.1204212265.squirrel@mail.rq3.com> Message-ID: <47C6D509.10801@bsdforen.de> monk at rq3.com wrote: >> I'd love to be able to watch demos in spectator mode. With different >> perspectives, free look and the ability to switch between the players I'm >> watching. Add a slow motion and a forward/backward function and it would >> become extremely useful to find flaws in ones game play or simply revisit >> a >> nice killing spree in all its g(l)ory. > > I don't think this is possible without rewriting the networking > model/stream, which I think the demo file is just a dump of. > > CPMA has something called MVD, like multi-view demo, I think. I don't > know for certain because it's been forever since I've read up on it, but > it captures all the player streams at the same time, kind of like Q2's old > "serverdemo" command. I think only a server can capture this, since Q3 > doesn't send everything to all players at the same time? > > There was some opensores work with OpenDemo: http://machinima.com/opendemo/ > > However, that seems dead dead dead. I see mention of some other recamming > tools: > > http://www.rq3.com/phpBB/viewtopic.php?p=23536 > > That might give you a start on a solution that would be useful with the > current state of Q3. > > This issue has been brought up before and I think the reception was kind > of lukewarm with interest. I believe some were slightly interested > whenever CPMA opened their source so they could just port it, but didn't > really want to create something from the ground up, if I recall correctly. > > Anyway, hope the info is useful to ya. > > Monk. By what you say I gather that it might be possible for records by non-dedicated servers and single player records. Would it be very difficult to implement recording for dedicated servers? From kamikaze at bsdforen.de Thu Feb 28 10:57:17 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 16:57:17 +0100 Subject: [quake3] toggleconsole everywhere In-Reply-To: <20080228153558.GL12492@morbo.webteam.net> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> Message-ID: <47C6D9DD.7010007@bsdforen.de> Tony J. White wrote: > On Thu, Feb 28, 2008 at 03:07:21PM +0100, Dominic Fandrey wrote: >> I can only use the toggleconsole key within a game and I have to manually >> enter \toggleconsole to leave the console. This is kinda awkward, because >> I'm >> used to use the console to switch matches, connect to games adjust the >> graphics settings and so on. Many of these things are better done before >> joining a game. >> >> I suppose bound keys are only being listened to during a match. This is >> completely logical, except for the toggleconsole key. My preferred solution >> would be a new bind command. Something like bindstrong for bindings that are >> always listened to. This way I could run all my useful little scripts >> without >> first joining a game, put my favourite servers on keys and so on. > > This is a hairy issue since when you're typing in the console you wouldn't > be able to unbind any keys that were currently bound to toggleConsole. > > I'm guessing that the only reason you have noticed this is because ioq3 > treats the built-in toggleConsole key differntly than id q3. Instead > of using the keyboard scancode like id ioquake3 did, we look for > the '~' character which may be in a different place on your keyboard. > > To counter this change we have added an built-in key sequence to > control toggleConsole: Shift-Esc. This also has the added benefit > of being a lot easier to explain to people than saying "whatever key > is up in the top left area of the keys but not the very top row and > if your keyboard is like mine it is a "*console closes* It doesn't do this for me at all! Shift-Esc reset all my key bindings to the default (yay for backups). The ~ doesn't seem to be recognized by the game. Probably because I use a German keyboard and have to press AltGr-+ to print it. From tjw at webteam.net Thu Feb 28 11:21:31 2008 From: tjw at webteam.net (Tony J. White) Date: Thu, 28 Feb 2008 10:21:31 -0600 Subject: [quake3] toggleconsole everywhere In-Reply-To: <47C6D9DD.7010007@bsdforen.de> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> Message-ID: <20080228162131.GM12492@morbo.webteam.net> On Thu, Feb 28, 2008 at 04:57:17PM +0100, Dominic Fandrey wrote: > >To counter this change we have added an built-in key sequence to > >control toggleConsole: Shift-Esc. This also has the added benefit > >of being a lot easier to explain to people than saying "whatever key > >is up in the top left area of the keys but not the very top row and > >if your keyboard is like mine it is a "*console closes* > > It doesn't do this for me at all! Shift-Esc reset all my key bindings to > the default (yay for backups). The ~ doesn't seem to be recognized by the > game. Probably because I use a German keyboard and have to press AltGr-+ to > print it. I really don't see how Shift-Esc could unbind all of your keys. Are you sure you didn't do something else to cause this? Shift-Esc was added as a hardcoded bind for toggleConsole in February 2007 (svn 1044). Are you using a current ioq3 version? -Tony From kamikaze at bsdforen.de Thu Feb 28 11:33:21 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Thu, 28 Feb 2008 17:33:21 +0100 Subject: [quake3] toggleconsole everywhere In-Reply-To: <20080228162131.GM12492@morbo.webteam.net> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> <20080228162131.GM12492@morbo.webteam.net> Message-ID: <47C6E251.4040807@bsdforen.de> Tony J. White wrote: > On Thu, Feb 28, 2008 at 04:57:17PM +0100, Dominic Fandrey wrote: >>> To counter this change we have added an built-in key sequence to >>> control toggleConsole: Shift-Esc. This also has the added benefit >>> of being a lot easier to explain to people than saying "whatever key >>> is up in the top left area of the keys but not the very top row and >>> if your keyboard is like mine it is a "*console closes* >> It doesn't do this for me at all! Shift-Esc reset all my key bindings to >> the default (yay for backups). The ~ doesn't seem to be recognized by the >> game. Probably because I use a German keyboard and have to press AltGr-+ to >> print it. > > I really don't see how Shift-Esc could unbind all of your keys. Are > you sure you didn't do something else to cause this? You're right, not the Shift-Esc key combination, but starting a dedicated server reset all my key bindings. I put them into my autoexec.cfg, now. But I think this qualifies as a bug. > Shift-Esc was added as a hardcoded bind for toggleConsole in February 2007 > (svn 1044). Are you using a current ioq3 version? > > -Tony According to my package management I'm using ioquake3-1.34.r3_4. Some more testing reveals that I can close the console using Shift-Esc. The console will close and the menu will be openend (probably because Esc is bound to the menu. I don't think key bindings recognize combined keys). However, I cannot use Shift-Esc to open the console, no matter weather I'm in the menu or in a match. From tim at ngus.net Thu Feb 28 11:52:27 2008 From: tim at ngus.net (Tim Angus) Date: Thu, 28 Feb 2008 16:52:27 +0000 Subject: toggleconsole everywhere In-Reply-To: <47C6E251.4040807@bsdforen.de> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> <20080228162131.GM12492@morbo.webteam.net> <47C6E251.4040807@bsdforen.de> Message-ID: <47C6E6CB.9090107@ngus.net> Dominic Fandrey wrote: > You're right, not the Shift-Esc key combination, but starting a > dedicated server reset all my key bindings. I put them into my > autoexec.cfg, now. But I think this qualifies as a bug. Yes, that is quite annoying. Does anybody else (I'm speaking to the developers really) have any objections to the attached patch? -------------- next part -------------- A non-text attachment was scrubbed... Name: q3config-server.diff Type: text/x-patch Size: 1496 bytes Desc: not available URL: From baggett.patrick at gmail.com Thu Feb 28 16:40:33 2008 From: baggett.patrick at gmail.com (Patrick Baggett) Date: Thu, 28 Feb 2008 15:40:33 -0600 Subject: [quake3] Re: toggleconsole everywhere In-Reply-To: <47C6E6CB.9090107@ngus.net> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> <20080228162131.GM12492@morbo.webteam.net> <47C6E251.4040807@bsdforen.de> <47C6E6CB.9090107@ngus.net> Message-ID: <52f46b6b0802281340v1f775741xfb9e601dbed02bc@mail.gmail.com> I'm not a "developer", but having a config file for a dedicated server that differs from one for a client sounds like a pretty good idea since odds are the dedicated server is going to need different options than a client.... That and it sounds nice to keep the two seperate, especially if you switch often between the two. On Thu, Feb 28, 2008 at 10:52 AM, Tim Angus wrote: > Dominic Fandrey wrote: > > You're right, not the Shift-Esc key combination, but starting a > > dedicated server reset all my key bindings. I put them into my > > autoexec.cfg, now. But I think this qualifies as a bug. > > Yes, that is quite annoying. Does anybody else (I'm speaking to the > developers really) have any objections to the attached patch? > > > --- > To unsubscribe, send a blank email to quake3-unsubscribe at icculus.org > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?50 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludwig.nussel at suse.de Fri Feb 29 03:34:40 2008 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Fri, 29 Feb 2008 09:34:40 +0100 Subject: [quake3] Re: toggleconsole everywhere In-Reply-To: <47C6E6CB.9090107@ngus.net> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> <20080228162131.GM12492@morbo.webteam.net> <47C6E251.4040807@bsdforen.de> <47C6E6CB.9090107@ngus.net> Message-ID: <20080229083440.GA29698@suse.de> Tim Angus wrote: > Dominic Fandrey wrote: >> You're right, not the Shift-Esc key combination, but starting a dedicated >> server reset all my key bindings. I put them into my autoexec.cfg, now. >> But I think this qualifies as a bug. > > Yes, that is quite annoying. Does anybody else (I'm speaking to the > developers really) have any objections to the attached patch? The alternative would be to implement CL_InitKeyCommands() and Key_WriteBindings() in null_client.c I guess. But then separate config is fine too. > +#ifdef DEDICATED > +# define Q3CONFIG_CFG "q3config_server.cfg" What about "q3ded.cfg"? cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From ludwig.nussel at suse.de Fri Feb 29 03:39:47 2008 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Fri, 29 Feb 2008 09:39:47 +0100 Subject: [quake3] [Patch] Hitch Warnings with time and date In-Reply-To: <47C6B859.2060106@gmx.net> References: <47C6B859.2060106@gmx.net> Message-ID: <20080229083947.GA29969@suse.de> Dirk wrote: > This has proven useful for VPS owners like me... What's a VPS? Why is the current date useful only at the hitch warning? The patch changes tabs to spaces so is not applicable. > + p = strchr (buffer, 0); > + if (p) > + *(--p) = 0; Weird way to to strip the newline. Use strlen() or search for '\n'. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From kamikaze at bsdforen.de Fri Feb 29 03:51:40 2008 From: kamikaze at bsdforen.de (Dominic Fandrey) Date: Fri, 29 Feb 2008 09:51:40 +0100 Subject: [quake3] Re: toggleconsole everywhere In-Reply-To: <47C6E6CB.9090107@ngus.net> References: <47C6C019.9090005@bsdforen.de> <20080228153558.GL12492@morbo.webteam.net> <47C6D9DD.7010007@bsdforen.de> <20080228162131.GM12492@morbo.webteam.net> <47C6E251.4040807@bsdforen.de> <47C6E6CB.9090107@ngus.net> Message-ID: <47C7C79C.6040300@bsdforen.de> Tim Angus wrote: > Dominic Fandrey wrote: >> You're right, not the Shift-Esc key combination, but starting a >> dedicated server reset all my key bindings. I put them into my >> autoexec.cfg, now. But I think this qualifies as a bug. > > Yes, that is quite annoying. Does anybody else (I'm speaking to the > developers really) have any objections to the attached patch? Separate configs seem the best solution for me. One could fix the key binding behaviour, but that would still cause problems with config changes when dedicated server and client are running on the same machine. Whatever quits first (the client in most cases, I assume) looses its config changes. From noisyb at gmx.net Fri Feb 29 05:03:51 2008 From: noisyb at gmx.net (Dirk) Date: Fri, 29 Feb 2008 11:03:51 +0100 Subject: [quake3] [Patch] Hitch Warnings with time and date In-Reply-To: <20080229083947.GA29969@suse.de> References: <47C6B859.2060106@gmx.net> <20080229083947.GA29969@suse.de> Message-ID: <47C7D887.8000605@gmx.net> Ludwig Nussel wrote: > Dirk wrote: >> This has proven useful for VPS owners like me... > > What's a VPS? http://en.wikipedia.org/wiki/Virtual_private_server The problem is that because these servers, which can be rented at lower prices than normal, "real" servers, share their memory and have no own harddrive (the hd array is in another server)... This can lead to bottlenecks and the time (and date!) beside the "Hitch Warning" is useful for debugging these problems together with the host... or just for realizing that some cronjob causes too much hd traffic or a process eats too much cpu... > Why is the current date useful only at the hitch warning? Well... I would like to have current date everywhere ("InitGame:" would be cool) but I guess that could/would break compatibility with high scores that are generated by parsing the log files instead of using a rcon connection... > The patch changes tabs to spaces so is not applicable. > >> + p = strchr (buffer, 0); >> + if (p) >> + *(--p) = 0; > > Weird way to to strip the newline. Use strlen() or search for '\n'. i wasn't thinking when i wrote that... Dirk -------------- next part -------------- A non-text attachment was scrubbed... Name: hitch_warning_with_date.patch Type: text/x-diff Size: 1438 bytes Desc: not available URL: From ludwig.nussel at suse.de Fri Feb 29 05:49:50 2008 From: ludwig.nussel at suse.de (Ludwig Nussel) Date: Fri, 29 Feb 2008 11:49:50 +0100 Subject: [quake3] [Patch] Hitch Warnings with time and date In-Reply-To: <47C7D887.8000605@gmx.net> References: <47C6B859.2060106@gmx.net> <20080229083947.GA29969@suse.de> <47C7D887.8000605@gmx.net> Message-ID: <200802291149.51361.ludwig.nussel@suse.de> Dirk wrote: > > Why is the current date useful only at the hitch warning? > > Well... I would like to have current date everywhere ("InitGame:" would > be cool) but I guess that could/would break compatibility with high > scores that are generated by parsing the log files instead of using a > rcon connection... We could introduce a cvar that enables timestamps for log messages. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) From noisyb at gmx.net Fri Feb 29 05:27:53 2008 From: noisyb at gmx.net (Dirk) Date: Fri, 29 Feb 2008 11:27:53 +0100 Subject: [quake3] [Patch] Hitch Warnings with time and date In-Reply-To: <200802291149.51361.ludwig.nussel@suse.de> References: <47C6B859.2060106@gmx.net> <20080229083947.GA29969@suse.de> <47C7D887.8000605@gmx.net> <200802291149.51361.ludwig.nussel@suse.de> Message-ID: <47C7DE29.4080605@gmx.net> Ludwig Nussel wrote: > Dirk wrote: >>> Why is the current date useful only at the hitch warning? >> Well... I would like to have current date everywhere ("InitGame:" would >> be cool) but I guess that could/would break compatibility with high >> scores that are generated by parsing the log files instead of using a >> rcon connection... > > We could introduce a cvar that enables timestamps for log messages. > > cu > Ludwig > That would be awesome! :D Dirk