Fun - Most Obscure Quake Bugs
Fun - Most Obscure Quake Bugs
I thought it might be fun to list the most obscure Quake bugs you've ever seen; just things you've noticed while playing around with the source code.
The more harmless the better; I mean the kind of bugs that don't actually make the engine crash & burn, or that don't really affect gameplay, but just shouldn't happen. The kind of bugs that would get shoved so far down the bottom of the priority list in any professional project that it goes beyond being not even funny and back to being funny again.
I'll start:
SCR_CenterPrint - the server sends a blank string from time to time. I noticed this a few months ago while playing around with putting a textbox around the string, and was bemused (and amused) to see loads of small empty textboxes popping up on my screen here and there. The obvious solution is to check for if (!str[0]) at the start of the function, but sometimes I wonder if fixing this takes away from the rickety charm of Q1.
The more harmless the better; I mean the kind of bugs that don't actually make the engine crash & burn, or that don't really affect gameplay, but just shouldn't happen. The kind of bugs that would get shoved so far down the bottom of the priority list in any professional project that it goes beyond being not even funny and back to being funny again.
I'll start:
SCR_CenterPrint - the server sends a blank string from time to time. I noticed this a few months ago while playing around with putting a textbox around the string, and was bemused (and amused) to see loads of small empty textboxes popping up on my screen here and there. The obvious solution is to check for if (!str[0]) at the start of the function, but sometimes I wonder if fixing this takes away from the rickety charm of Q1.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
Re: Fun - Most Obscure Quake Bugs
How do you deal with Threewave CTF and other multiplayer mods where there is constant status information shown as centerprints?mh wrote:SCR_CenterPrint - the server sends a blank string from time to time. I noticed this a few months ago while playing around with putting a textbox around the string, and was bemused (and amused) to see loads of small empty textboxes popping up on my screen here and there. The obvious solution is to check for if (!str[0]) at the start of the function, but sometimes I wonder if fixing this takes away from the rickety charm of Q1.
Re: Fun - Most Obscure Quake Bugs
That's one of those things that's either a very clever and innovative solution or a blatant abuse of functionality that'll bite everyone in the ass at some point.LordHavoc wrote:How do you deal with Threewave CTF and other multiplayer mods where there is constant status information shown as centerprints?mh wrote:SCR_CenterPrint - the server sends a blank string from time to time. I noticed this a few months ago while playing around with putting a textbox around the string, and was bemused (and amused) to see loads of small empty textboxes popping up on my screen here and there. The obvious solution is to check for if (!str[0]) at the start of the function, but sometimes I wonder if fixing this takes away from the rickety charm of Q1.
I haven't quite decided which side my own opinion lies on.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
Re: Fun - Most Obscure Quake Bugs
I read it as putting a frame around the existing centerprint when displaying it, so it'd work normally with everything except that blank centerprints showed up as just the frame.LordHavoc wrote:How do you deal with Threewave CTF and other multiplayer mods where there is constant status information shown as centerprints?
Re: Fun - Most Obscure Quake Bugs
Exactly. I was a little confused by LH's question, to tell the truth.KrimZon wrote:I read it as putting a frame around the existing centerprint when displaying it, so it'd work normally with everything except that blank centerprints showed up as just the frame.LordHavoc wrote:How do you deal with Threewave CTF and other multiplayer mods where there is constant status information shown as centerprints?
Anyway, here's another:
"items/damage2.wav is not precached".
Happens when you're on a map that doesn't have the quad and you do impulse 255. It had bothered me for a bit when I was testing dynamic light colours for the Quad effect on start.bsp, but is easy enough to fix.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
Re: Fun - Most Obscure Quake Bugs
Confused why? The Threewave CTF HUD contains many newlines, it places some text at the bottom of the view (which requires adjustment via impulses to match your view size - and adjusting it for a larger size than you are running in winquake/dosquake crashes due to going outside the screen bounds).mh wrote:Exactly. I was a little confused by LH's question, to tell the truth.KrimZon wrote:I read it as putting a frame around the existing centerprint when displaying it, so it'd work normally with everything except that blank centerprints showed up as just the frame.LordHavoc wrote:How do you deal with Threewave CTF and other multiplayer mods where there is constant status information shown as centerprints?
Some mods also place some text at the left and right sides of the view.
So the way I interpret your text box comment is that a text box would be covering the entire view in Threewave CTF, all the time.
-
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
i think mh is talking about when your walking along in a map shooting things in the face, and suddenly you hear the chat beep, so you bring down the console, and if the engine dosen't outline centerprint messages [assuming it records centerprint message] that it will have a blank space at the bottom, but if it does, you will have 2 lines..shall i call them dividers on the console
wait, now im confused
wait, now im confused
bah
Aaaaaahhhhhhhhh.LordHavoc wrote:You are talking about the Quake bug, I'm talking about your text box addition affecting not only the Quake bug but also Threewave CTF.mh wrote:Fine but it ain't a newline, it's an actual empty string (str[0] == 0) and it happens a lot even in ID1.
Unless I'm missing something here...
Well yeah, the text box addtion was something that seemed a neat idea at the time but ultimately proved to be somewhat silly.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for