🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DX Lock bug

Started by
14 comments, last by Rock2000 24 years, 6 months ago
I wouldn't think that you would have to worry about that situation to much. Seems to me that you have to go to a whole lot of trouble to get your game to screw up. You should try out my first game I made. Just about anything screws it up! What windows version are you running on. I had heard that Windows 2000 does some strange stuff with your surface pointers.
William Reiach - Human Extrodinaire

Marlene and Me


Advertisement
Don't forget that any surfaces loaded in video memory aren't guaranteed to still be existant when you switch in and out of fullscreen mode. Check all of your return values before you do anything.
Well, while it certainly IS a fairly uncommon bug, in that it won't be seen too often, I have a no tollerance policy (I've been watching to many news programs :] ) on bugs. It is one of my biggest pet peeves that bugs are tolerated by users, and therefore acceptable by developers. I adhere to the Carmack/id idealogy of 'it isn't done till its perfect'. Bugs are ok for beginners, but unfortunetely I'm not a beginner anymore either (my first attempts at games were probably much worse than yours)

As far as return codes and what not, I'm doing everything I'm supposed to be doing. This is a DirectX bug. And I've tried it on my computers running Win95 and Win98 (original versions of each). I'm curious as to if they've fixed it in DX6 or 7 though, which I don't have.

Rock

I fricken hate bugs also! It does seem like any new software that I download is just packed full of bugs. Sometimes you have to wonder just how competent these developers are. A lot of these programs just won't even run on my computer anymore, but they don't report any problems either.

I guess that the only way for you to see if it was just DirectX 5, would be to bite the bullet and pay for a copy of DirectX7 on CD, or try and find a place where you can download it. I like v7 much better then v5. Much easier to setup your window and init DirectX.

Good luck to you.

William Reiach - Human Extrodinaire

Marlene and Me


quote:
it isn't done till its perfect

Played Quake 2 v3.05? (and I'm willing to bet Quake 3 will give you that deja vu feeling)

I think you have 3DRealms and id software confused!

Hehe, Santa icon.

Well, I've become out of touch with id since I'm not a fan of FPSers or Quake (Doom rocked though!). I know their creed USED to be 'it isn't done till its done'. id and Lucas Arts were the last 'good' developers, and I know Lucas Arts has buggy games now. I guess the days of solid software and programming are finished.

As a gamer (not as a developer), I've practically abandoned the PC , since contrary to what seems to be popular opion, I think bugs are UNACCEPTABLE. I'll buy MAYBE 2 PC games a year. I'm a console boy now, but the scariest thing is that even console games are becoming buggier. There is just no excuse for that besides just plain not caring. From the Atari 2600 to the Super Nes, I only saw 1, maybe 2 bugs out of all the games I played. Already just in the 32bit consoles, I've seen probably 10 buggy games. No excuse.

Rock

Sorry about that, I try to make them better from now on.
William Reiach - Human Extrodinaire

Marlene and Me


hmm, this icon looks like a cone you see at construction sites! or a party hat, or something..

Rock, I think the reason games are becoming more buggy is that they are becoming more complex. This is not an excuse, it's an explanation. PC games are required to run on thousands of different hardware and software configurations, so there are bound to be a few bugs that show up without the developers even knowing about it. It's the nature of the beast.

As far as console games, you're right, bugs are very sad, because the game only needs to run on one type of hardware, maybe support a few extra joysticks (specs known during development), but that's it. Bugs in software are easier to fix than bugs in hardware, so in theory there should be none (that the user can see!), but it doesn't always work out that way in real life..

Gromit: See that you do! (j/k)

I understand that the software is generally becoming much more complex, but if modularized, and unit tested (which admitedly few programmers do), the pieces themselves are not complex at all.

This is how I look at it. PCs are very diversified, and as such there will be hardware and configuration bugs. I can somewhat accept that (or at least blame the hardware company and not the app programmers). So initially users were confronted with these bugs, and were told, rightly so, that these are not app bugs, and don't blame us game programmers.

Then something terrible started to happen. Software bugs, not related at all to hardware drivers, started to creep in, because I think developers saw that users were willing to download new drivers, so why not get them to download patches as well. This is what I have issue with. Many bugs nowadays are bugs in the software, which the programmer has full responsibility for. I've read quite a few articles about how QA tells the dev team about specific known bugs, but the software is released anyway.

To our defense, I like to think that its more the publishers/management that force us to release bad programs, rather than us developers not caring, but maybe I'm being idealistic. I understand hardware bugs, and I understand that, because of the the complexities of the software, there will be occasional (read: very infrequent) unknown bugs that get into software. But clearly there are countless examples of software that has KNOWN bugs in THEIR code, and the # of these are growing rapidly.

To defend the console programmers (very slightly), they have the same type of bugs as the software bugs I've described above for the PC. Unfortunately, they can't use the 'patch crutch' that the PC market uses, so they HAVE to be more diligent than their PC counterparts. At this point it is becoming questionable whether they are or not, but either way it is a sad state.

Rock

I agree with grommit, BUGS SUK!!!

I have spent about 3 long tedious hours just getting DX7 to work for me. Finally I managed to get my game up and going again, actually the game runs a bit faster and a couple of release errors have disappeared. Horray 4 DX7 ... uumm..not.

Like many of us, we would love to program games for consoles, but not everyone has those console development kits worth $$$$ousands.

  Downloads:  ZeroOne Realm

This topic is closed to new replies.

Advertisement