The Dink Network

trouble with unfinished business

Unfinished Business

January 7th 2004, 03:47 PM
fairy.gif
nenaja
Peasant They/Them
 
When I kill the dragon in the house with the key the game freezes, and I have to quit every time. Am I missing something?
January 8th 2004, 07:14 AM
pig.gif

it's all here
January 11th 2004, 05:40 PM
anon.gif
Ace
Ghost They/Them
 
I have the same problem and some of us are not script saavy enough to figure out what to do. I read your comments and I am confused as to how to to fix the freeze problem with the dragon.

Can you please give us a patch or tell me in "hey I'm not a script genious" language. If not, guess I need to give up
January 12th 2004, 04:41 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Copy the next lines to Notepad or something, and save it as "en-drag.c". (Without the "). Place this en-drag.c to the story directory of the DMod with the bug. It should work now.

//Start copying here
//pillbug brain

void main( void )
{
int &fsave_x;
int &kcrap;
int &fsave_y;
int &resist;
int &mcounter;
int &mtarget;
screenlock(1);
sp_brain(&current_sprite, 10);
sp_timing(&current_sprite, 66);
sp_speed(&current_sprite, 1);
sp_nohit(&current_sprite, 0);
sp_exp(&current_sprite, 400);
sp_base_walk(&current_sprite, 200);
sp_base_death(&current_sprite, 210);
sp_touch_damage(&current_sprite, 10);
sp_hitpoints(&current_sprite, 80);
sp_defense(&current_sprite, 8);
preload_seq(202);
preload_seq(204);
preload_seq(206);
preload_seq(208);
preload_Seq(70);
preload_Seq(166);

set_callback_random("target",500,2000);

}

void target( void )
{
//get new target
&kcrap = random(9, 1);
if (&life < 1)
&kcrap = 2;

if (&kcrap == 1)
{
sp_target(&current_sprite, 1);
return;
}

&mtarget = get_sprite_with_this_brain(16, &current_sprite);
if (&mtarget > 0)
{

&mtarget = get_rand_sprite_with_this_brain(16, &current_sprite);
sp_target(&current_sprite, &mtarget);
}

}

void attack( void )
{

playsound(47, 22050,0,0,0);

&kcrap = sp_target(&current_sprite, -1);
&fsave_x = sp_x(&kcrap, -1);
&fsave_y = sp_y(&kcrap, -1);
&mcounter = random(5000,3000);
sp_attack_wait(&current_sprite, &mcounter);

&resist = random(40, 1);

//if NPC, turn off resist option
if (&kcrap != 1)
&resist = 100000;

if (&resist > &magic)
{
say("`4<Casts harm>", &current_sprite);

playsound(31, 12050,0,0, 0);
hurt(&kcrap, 20);

&fsave_y -= 29;
int &spark = create_sprite(&fsave_x, &fsave_y, 7, 70, 1);
sp_seq(&spark, 70);
sp_que(&spark, -70);
sp_speed(&spark, 5);
return;
}

playsound(31, 44050,0,0, 0);
&fsave_y -= 29;
int &spark = create_sprite(&fsave_x, &fsave_y, 7, 166, 1);
sp_seq(&spark, 166);
sp_que(&spark, -70);
say("Magic resisted.", &kcrap);
}

void hit( void )
{
sp_target(&current_sprite, &enemy_sprite);
playsound(46, 17050, 4000, &current_sprite, 0);
//lock on to the guy who just hit us
//playsound
}

void die( void )
{

if (get_sprite_with_this_brain(10, &current_sprite) == 0)
{
//no more brain 10 monsters here, lets unlock the screen
if (&life > 0)
{
screenlock(0);
}
}

int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
editor_type(&hold, 6);

&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);

external("emake","xlarge");

}
//Copying done, save as en-drag.c
January 12th 2004, 07:01 PM
anon.gif
Ace
Ghost They/Them
 
OK, OK, OK I tried! Didn't work. I tried to save as everything I could from Word to eternity and it would not recognize the file.

I attempted to re-follow your previous script and I could not open with any text-editor to fix or anything else for that matter. I guess this is the end for me. Thanks for trying to help me out
January 12th 2004, 08:12 PM
wizardb.gif
merlin
Peasant He/Him
 
Uh, you're using Microsoft Word? HAHAHA. Use notepad. And what do you mean you "could not open with any text-editor"?
January 13th 2004, 06:11 AM
anon.gif
Ace
Ghost They/Them
 
Maybe I am a little slow - I can't find "notepad" to save the script in. As for text editor the previous e-mail before mine stated to use text editor.

Hey - I am NO computer whiz so be gentle
January 13th 2004, 08:26 AM
pig.gif

ok i'll tell you as an non-computer wiz to a non-computer wiz [no sarcazm- i realy am no wiz]
press your right mouse button,then move your pointer on new,and select new "text document"
then paste the script that magic man posted. then change hte ending from ".txt" to ".c". and renamit "endrag"
January 13th 2004, 09:07 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
And, this time from a computer whiz to a non-computer whiz: if you don't see the extension of a file and if you have the Windows OS (Operating System), go to the English equivalent of Extra > Options (something like that) > Second Tab > and look for an option that hides the file extensions and uncheck the box.
January 14th 2004, 06:15 PM
anon.gif
Ace
Ghost They/Them
 
Hey - thanks for your help. I saved the info like that before and it did not work, maybe I am still doing something wrong. I tried it again and still no luck. I guess at this point I'm thankful for your help.

I hate not finishing the game, but just need to move on. I've played all of them once, twice and some 3 times and am looking forward to the next one coming out. Who knows maybe I can learn how to creat one myself
January 15th 2004, 08:12 AM
anon.gif
RustedSorrow
Ghost They/Them
 
oh did you attach tha script to the dragon?
January 15th 2004, 05:18 PM
anon.gif
Ace
Ghost They/Them
 
What? OK - looks like I must a missed something, what's with the dragon??
January 15th 2004, 05:30 PM
wizardb.gif
merlin
Peasant He/Him
 
Uh, RS, if she renamed the file to the exact same name, the file would already be attached. Eheh.
January 16th 2004, 06:10 AM
anon.gif
Ace
Ghost They/Them
 
I'm a she
January 23rd 2004, 04:07 AM
death.gif
or you could download the patch.

http://w1.393.telia.com/~u39303926/files/b_patch_1.2.zip
January 23rd 2004, 02:00 PM
wizardb.gif
merlin
Peasant He/Him
 
Or you could just click here.
May 30th 2007, 10:19 PM
duckdie.gif
lance
Peasant He/Him United States
 
I read thru all these reviews, but they don't help me. I Killed the dragon, went to hut, read note, went back, got the key; SO now what do I do with it?????? I also found a winter spot, but there's nothing to do there (I'm not sure on this, because I haven't got any fireball spell, and there are sure a lot of trees "need burnin'!") Is there a fire ball spell in the dmod? Anyone? If so, please tell me what I gotta do to get it! Thanx.