The Dink Network

Reply to Re: you guys help alot but i need help again

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
March 1st 2005, 10:06 PM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
I'd check to see if it is playing a sound that you don't have loaded via the START.C file.

if the playsound() command calls for a sound bank number that hasn't been loaded first - game crashes out.

From start.c

load_sound("DRAG1.WAV", 46);
load_sound("DRAG2.WAV", 47);
load_sound("AXE.WAV", 48);
load_sound("BIRD1.WAV", 49);

//end of loading sounds

so if you have:

playsound(50, 22050, 0, 0, 0);

in another script - like an item script then game crashes... as no sound has been loaded into sound bank number 50.