The Dink Network

bug

Attack of the Evil Wizard (The)

May 19th 2009, 02:44 AM
duck.gif
GODLEY
Peasant
 
when i kill the dragon, the game freezes.
May 19th 2009, 02:52 AM
slimeg.gif
metatarasal
Bard Male Netherlands
I object 
Yes, this is a rather nasty bug. Unfortunately the author of this DMOD doesn't seem to update the DMOD anymore. The only way to continue the DMOD is to fix the bug manually.

Just a word of warning: This is not the last bug in an essential place, when I played through the DMOD I had to fix three bugs just to be able to finish it...
May 19th 2009, 04:12 AM
duck.gif
GODLEY
Peasant
 
how to fix it. i have found dragon file in story folder. where to modify it?
May 19th 2009, 04:24 AM
slimeg.gif
metatarasal
Bard Male Netherlands
I object 
Make a new script called "extra.c" Put this in the script:

void main( void)
{
screenlock (0);
freeze(1);
say_stop("Yay, I won.", 1);
wait(500);
say_stop("That's odd...", 1);
say_stop("I seem to be teleporting...", 1);
&story = 20;
script_attach(1000);
fade_down();
&player_map = 336;
sp_x (1, 407);
sp_y (1, 195);
load_screen();
draw_screen();
fade_up();
wait(500);
say_stop("Looks like I missed the big battle.", 1);
unfreeze(1);
kill_this_task();
}


Now go to the script "dragon.c" and find this part:

void die( void )
{
screenlock (0);
freeze(1);
say_stop("Yay, I won.", 1);
wait(500);
say_stop("That's odd...", 1);
say_stop("I seem to be teleporting...", 1);
&story = 20;
script_attach(1000);
fade_down();
&player_map = 336;
sp_x (1, 407);
sp_y (1, 195);
load_screen();
draw_screen();
fade_up();
wait(500);
say_stop("Looks like I missed the big battle.", 1);
unfreeze(1);
}


Replace it with this:

void die( void )
{
spawn("extra");
}


Note that to finish the game you have to fix bugs twice more. Can't remember where exactly...