The Dink Network

game crashes upon this scene

July 21st 2012, 10:36 AM
knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
well all was going well with my game mod till i wanted to test my latest boss and upon launching the introduction part of the boss fight the game crashes

if (&dungeon == 5)
{
&bossdef = &strength;
&bossdef -= 20;
wait(1);
&crap = create_sprite(289,201,0,71,1);
freeze(1);
if (&gramps == 3)
{
say_stop("what do we have here A strong adventurer.",&crap);
say_stop("well i was getting bored of sending the delightful screams of adventurers back via the well which they entered.",&crap);
wait(100);
say_stop("delightful? dang you evil dink!",1);
wait(100);
say_stop("Evil? guess you don't know that for me any sound is delightful as i am sound itself",&crap);
wait(100);
say_stop("You mean you're echo? more handsome than i imagined.",1);
wait(100);
say_stop("Ugh what is it with you humans and calling visions f yourself handsome?!",&crap);
say_stop("but enough of this allow me to properly introduce myself",&crap);
say_stop("I'm Echo the ancient one of sound."&crap);
wait(100);
say_stop("and i'm Dink Smallwood hero extraordinaire.",1);
wait(100);
say_stop("and a pig farmer you left that out.",&crap);
wait(100);
say_stop("I'm no pig farmer!!",1);
wait(100);
say_stop("aah yells oh so delicious*burp*",&crap);
wait(100);
say_stop("you're weird",1);
wait(100);
say_stop("maybe from your point of view"&crap);
say_stop("I just hope you put up atleast of a good fight as Eduardo.",&crap);
wait(100);
say_stop("well only 1 way to find out.",1);
}

if (Gramps == 4);
{
int &randlosers = random (5,1);
say_stop("Welcome Back Dink sofar only &randlosers managed to reach me none pt up a real fight though.",&crap);
say_stop("so i welcome a strong opponent like you even if i might lose again.",&crap);
wait(100);
say_stop("It'll be fun to challenge you again but i still won't hold back.",1);
wait(100);
say_stop("I wouldn't want it any other way",1);
}
sp_script(&crap,"boss-echo");
unfreeze(1);
}


I dunno what causes it but whatever the cause is i seem to find it
July 21st 2012, 10:41 AM
boncag.gif
JugglingDink
Peasant He/Him United Kingdom
Streetfish 
say_stop("well i was getting bored of sending the delightful screams of adventurers back via the well which they entered.",&crap);


I don't know for sure, but I have a feeling that string might be slightly too long. Try splitting it into two say_stop functions?

say_stop("well i was getting bored of sending the delightful screams",&crap);
say_stop("of adventurers back via the well which they entered.",&crap);
July 21st 2012, 10:54 AM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
^
That.
July 21st 2012, 11:12 AM
peasantmg.gif
Raven
Peasant He/Him Sweden
 
if (Gramps == 4);

Missing &
July 21st 2012, 11:36 AM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Good catch, Raven. But that wouldn't crash the game. It would just not work.
July 21st 2012, 11:39 AM
wizardg.gif
paul
Peasant He/Him United States
 
Or maybe the space in "random (5,1)".
July 21st 2012, 11:53 AM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
Yep, pretty sure it's the length of that line of text.
July 21st 2012, 01:35 PM
knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
Thanks will try that sure hope it is that than all thanks for the help as this ancient one is hopefully one of the more fun bosses when you guys figure how to reach XD
July 21st 2012, 02:02 PM
knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
Turns out it was the line of text Thanks for the fresh pair of eyes you always are willing to give