Reply to Re: Bane of Magi bug
If you don't have an account, just leave the password field blank.
I believe I've located the problem.
Ok, I downloaded Bane of the Magi today and began to play it. As soon as I chose the first dialogue choice while talking to a little girl in town, the game crashed. Curious, I went into WinDinkEdit and checked which script the girl had: chat-sh.c. I perused through there in search of the mistake, and I found this within:
if (&result == 1)
{
say_stop("Hi, is everyone in this town o.k.?",1);
wait
There was no specification of time to wait behind the wait procedure... it was merely "wait". After changing it to wait(200); the script worked well.
I also found the same problem in chat-h.c.
What you posted looks correct (though again, ditch that bracket
), but it seems as though you fixed it and never made it public.
Edit: Out of boredom, I decided to download the 1.1 patch file, despite the fact that I downloaded BOTM 1.1 Full. Upon investigation, you never made any updates to chat-sh.c or chat-h.c, supporting my theory that you fixed the crash problem and never made the fix public... however, I did stumble across some other interesting things.
key-80.c - The version of key-80.c in the patch file is more recent, and is as follows:
void main ()
{
if(&story < 2)
{
return;
}
show_bmp("graphics\map.bmp", 0,0);
}
The version in the full release is a day older, and is as follows:
void main ()
{
if(&map < 10)
{
return;
}
show_bmp("graphics\map.bmp", 0,0);
}
Interesting difference in requirements. Which one should be the appropriate one?
mteach.c - Oddly enough, the version in the full release is more recent than the version in the patch file, and has one more line of dialogue near the end:
say_stop("`4Erm....how nice.",¤t_sprite);
Just thought you'd be interested in this info.
Ok, I downloaded Bane of the Magi today and began to play it. As soon as I chose the first dialogue choice while talking to a little girl in town, the game crashed. Curious, I went into WinDinkEdit and checked which script the girl had: chat-sh.c. I perused through there in search of the mistake, and I found this within:
if (&result == 1)
{
say_stop("Hi, is everyone in this town o.k.?",1);
wait
There was no specification of time to wait behind the wait procedure... it was merely "wait". After changing it to wait(200); the script worked well.
I also found the same problem in chat-h.c.
What you posted looks correct (though again, ditch that bracket

Edit: Out of boredom, I decided to download the 1.1 patch file, despite the fact that I downloaded BOTM 1.1 Full. Upon investigation, you never made any updates to chat-sh.c or chat-h.c, supporting my theory that you fixed the crash problem and never made the fix public... however, I did stumble across some other interesting things.
key-80.c - The version of key-80.c in the patch file is more recent, and is as follows:
void main ()
{
if(&story < 2)
{
return;
}
show_bmp("graphics\map.bmp", 0,0);
}
The version in the full release is a day older, and is as follows:
void main ()
{
if(&map < 10)
{
return;
}
show_bmp("graphics\map.bmp", 0,0);
}
Interesting difference in requirements. Which one should be the appropriate one?
mteach.c - Oddly enough, the version in the full release is more recent than the version in the patch file, and has one more line of dialogue near the end:
say_stop("`4Erm....how nice.",¤t_sprite);
Just thought you'd be interested in this info.