The Dink Network

Bug?

October 16th 2010, 03:58 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
I cant place purple boncas in my dmod(When i play the moment i enter a screen with one it turns brown and there is an endless screen lock)
October 16th 2010, 04:09 PM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
You'll have to show us your script.
October 23rd 2010, 05:30 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
//Bonca..medium strength

void main( void )
{
//can't get out of screen until this dude is DEAD

int &mcounter;
sp_brain(&current_sprite, 9);
sp_speed(&current_sprite, 1);
sp_nohit(&current_sprite, 0);
sp_distance(&current_sprite, 50);
sp_timing(&current_sprite, 33);
sp_exp(&current_sprite, 40);
sp_base_walk(&current_sprite, 610);
sp_base_death(&current_sprite, 550);
sp_base_attack(&current_sprite, 620);
sp_defense(&current_sprite, 3);
sp_strength(&current_sprite, 8);
sp_touch_damage(&current_sprite, 5);
sp_hitpoints(&current_sprite, 20);
preload_seq(531);
preload_seq(533);
preload_seq(537);
preload_seq(539);
preload_seq(551);
preload_seq(553);
preload_seq(557);
preload_seq(559);

preload_seq(542);
preload_seq(544);
preload_seq(546);
preload_seq(548);

}

void hit( void )
{
playsound(29, 22050,0,&current_sprite, 0);

sp_target(&current_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound

}

void die( void )
{

if (get_sprite_with_this_brain(9, &current_sprite) == 0)
{
//no more brain 9 monsters here, lets unlock the screen

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","medium");
}

void attack( void )
{
playsound(31, 22050,0,&current_sprite, 0);
&mcounter = random(4000,0);
sp_attack_wait(&current_sprite, &mcounter);
}

EDIT:This is a stolen script
October 23rd 2010, 05:31 PM
anon.gif
Absolution
Peasant They/Them
The Dark Lord of the DN. 
That's because it's a script for a brown one. And there's a screen lock script in there too. XD
October 23rd 2010, 05:38 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
well,I still don't get why there is an infinity lock
October 23rd 2010, 05:40 PM
anon.gif
Absolution
Peasant They/Them
The Dark Lord of the DN. 
Ditto. I'm not exactly a scripter. Meta could fix it though.
October 23rd 2010, 06:18 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
err.. wait.....YAY!
i used a different script and got it to work
EDIT:Meta could fix anything