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.

Dark GDK / Getting Access Violation when trying to play sound

Author
Message
Briere
19
Years of Service
User Offline
Joined: 28th Feb 2005
Location: Amherst New York, United States
Posted: 20th May 2006 05:42
When ever I try to play a certain sound I keep getting an access violation. Know any possible reasons for this?

5/14/06- 1427 lines into my 3D game engine! Player Movement and File System completed. Working on weapon inventory and player classes.
monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 20th May 2006 12:37
Add a dbSoundExist( SoundNo ); command before the the play sound command and see if the sound is loaded properly.

My W.I.P project
Briere
19
Years of Service
User Offline
Joined: 28th Feb 2005
Location: Amherst New York, United States
Posted: 20th May 2006 16:28
I had to make an outside function to access the sound in a class function.

5/14/06- 1427 lines into my 3D game engine! Player Movement and File System completed. Working on weapon inventory and player classes.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th May 2006 19:20
Same reason as your dbLoadObject problem?

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Briere
19
Years of Service
User Offline
Joined: 28th Feb 2005
Location: Amherst New York, United States
Posted: 20th May 2006 20:24
No, for some reason It wasnt loading I dont know, but I deleted the old folder, and pasted a new one, and it worked.

5/14/06- 1427 lines into my 3D game engine! Player Movement and File System completed. Working on weapon inventory and player classes.

Login to post a reply

Server time is: 2024-11-19 06:34:36
Your offset time is: 2024-11-19 06:34:36