Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Midi acts weird after installing .DLL

Author
Message
Steele
21
Years of Service
User Offline
Joined: 25th Oct 2003
Location: Somewhere over the rainbow
Posted: 17th Jan 2004 05:45
I installed Nuclear Glory's collision DLL and it is a nice little product. However, from time to time the strangest thing will happen. The music will be playing and suddenly the game will freeze and a Window's beep sound event will happen. I keep thinking there might be a message in the background that I can't get to.

So I press a button like the space bar and the game continues only without the music. The sounds and everything else works perfectly.

Has this happened to anyone before? Any ideas what might can be done to prevent this?

Steele

-- I straddle the line between genius and insanity. Guess which side I am on now? --
Steele
21
Years of Service
User Offline
Joined: 25th Oct 2003
Location: Somewhere over the rainbow
Posted: 17th Jan 2004 06:28
I just tried it without the music. It still freezes like I described earlier. Once I press the spacebar, it continues running without problem. I still get a >ding< sound when it freezes.

Steele

-- I straddle the line between genius and insanity. Guess which side I am on now? --
FoxBlitzz
21
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 17th Jan 2004 06:42
Is debug mode on? If so, it could have been that the collision dll found an error. If debug mode was off and it happened than I don't know what to tell you.

HP Pavilion | Intel Pentium 4 CPU 2.40 GHz
512 MB Ram | NVIDIA GeForceFX 5600 AGP, with 256 MB Ram
Steele
21
Years of Service
User Offline
Joined: 25th Oct 2003
Location: Somewhere over the rainbow
Posted: 17th Jan 2004 07:55
The debug mode is on. Maybe the popup box with the error message isn't showing for some reason. I find it strange that it only happens once and usually within the first two minutes of the game but only one out of three times. I'll turn the debugger off and see if that helps.

Thanks for the tip!

Steele

-- I straddle the line between genius and insanity. Guess which side I am on now? --
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 17th Jan 2004 09:55 Edited at: 17th Jan 2004 09:56
Posted this on our forum as well:
That's definitely a new one. It sounds like either a logical problem in your program or... you're somehow maxing the DLL out that's causing it pause momentarily.

You might try running some smaller test code to see if you can isolate the problem. Then you can provide us with your test code and we'll look into it.

From the sounds of it, it sounds like a logical bug since it's dependent on the hitting of the spacebar.

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
Steele
21
Years of Service
User Offline
Joined: 25th Oct 2003
Location: Somewhere over the rainbow
Posted: 17th Jan 2004 17:01
I just confirmed that if I hit anything else besides the space bar, I just get a beep. It is as if everything is on pause. I haven't tried the enter key. It does act like a dialog box has popped up somewhere that I can't see and the only thing on it is <OK> and maybe <Cancel>.

As far as maxing it out, I've got probably 120 objects in all. Most are simple and maybe six are complicated meshes.

I'll try to isolate it. Perhaps it has to do with trying to activate something that is already active or deactivate something that isn't active.

I love this DLL. You did great work! I hope you don't mind a pat on the back now and then.

Steele

-- I straddle the line between genius and insanity. Guess which side I am on now? --

Login to post a reply

Server time is: 2025-05-22 21:52:28
Your offset time is: 2025-05-22 21:52:28