The Dink Network

WTH?!?

October 1st 2004, 05:49 AM
old.gif
Why the heck does the game crash when I press the CTRL button after I've used this choice script?

key-74.c:
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()

if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
October 1st 2004, 07:29 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Well, first; there's a } bracket missing in that key-74.c script. And second, the CTRL button is for items.. so couldn't the problem be in the item script of the item you had equiped?

And what's the point of hiding the midi file name?
October 1st 2004, 07:29 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Even with the assumption that the midi name is just a temporary one, make sure that it is under 8 characters.
October 1st 2004, 07:46 AM
anon.gif
jedisecret
Ghost They/Them
 
dang, forgot to hide the Choice thing too

The wrong can't be in the item script, 'cause the item is the fist

So I'll try to make the number of letters under 8, and place the missing } at the right place.
October 1st 2004, 07:47 AM
old.gif
Sorry, forgot to write the password, lol
October 1st 2004, 09:32 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
You don`t actually need to say that sinse we know that you did
October 1st 2004, 10:54 AM
pig.gif
sjoerdje
Peasant He/Him Netherlands
Lava pig to the rescue! 
key-74.c:
void main ( void )
{
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()

if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}

You didn't end the total.. Put another } behind the last }

if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
}
}

[edit]ow dang, I'm too late already Sorry didn't see the other posts
November 21st 2004, 12:55 AM
duckdie.gif
and chang it from

The jukeboks

to

"The jukeboks"
November 21st 2004, 06:14 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
No, don't. You may type the quotes, but they'll literally appear in the title.
November 21st 2004, 10:59 PM
duckdie.gif
rilly?

Man im dum

Ah well who cares
December 14th 2004, 01:08 PM
wizardg.gif
chaotic
Peasant He/Him
 
I dunno whats wrong, i made a script and whenever i pressed Ctrl and the sprite talked for a bit and then after that, it crashed. I fixed it by adding "unfreeze" to it, try:

void main ( void )
{
freeze(1)
choice_start()
title_start();
The jukeboks
title_end();
"Nightwish remix"
choice_end()
}
if (&result == 1)
{
playmidi("XXX wait until it's realesed.mid");
unfreeze(1)
}

December 14th 2004, 01:12 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
You've already closed the main function before it's had a chance to even get to the if. That can't be good.
December 14th 2004, 01:15 PM
old.gif
Oh, sorry. Forgot to write that the script now works, and thanks to everyone who has helped me (or tryied to)
December 14th 2004, 03:12 PM
wizardg.gif
chaotic
Peasant He/Him
 
All of my conversation scripts close the main procedure before going to the &results and they still work =/