The Dink Network

Reply to The tears of the devil debug thread

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 14th 2009, 04:28 PM
knights.gif
merder
Peasant He/Him Netherlands
The Voice in the back of your head! 
I'm debugging a d-mod before igo on with m other (though slow on progress)d-mod.
but it is above my current d-modding skills. so i'm asking a little help.

ok the major bugs are
1. the purple bonca bug.(need is say more?)

2. the !nsane class monster don't drop gold(though they are supposed to and usually enough to satisfy the potion shop ducks(might ad a 3rd in the health shop for defense).
i might be in the emake so here is their emake segment
void !nsane ( void )
{
int &mcrap = random(20,1);

if (&mcrap == 2)
 {
 //lets give 'em a large heart
 int &crap = create_sprite(&save_x, &save_y, 6, 54, 1);
 sp_script(&crap, "heart");
 return;
 }

if (&mcrap == 3)
{

    &mcrap = random(3,1);

        if (&mcrap == 1)
         {
        //give them food type 1
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 1);
        sp_script(&crap, "sfood");
        }
        if (&mcrap == 2)
        
        {
        //give them food type 2
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 2);
        sp_script(&crap, "sfood");
        }
        
        if (&mcrap == 3)
        
        {
        //give them food type 3
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 7);
        sp_script(&crap, "sfood");
        }
        
        if (&mcrap == 4)
        
        {
        //give them food type 4
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 8);
        sp_script(&crap, "sfood");
        }
   return;
}

if (&mcrap == 4);
{
 //statpotion won
&mcrap = random(70,1);

        if (&mcrap == 1)
         {
        //give them food type 1
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 1);
        sp_script(&crap, "bpoiton");
        }
        if (&mcrap == 2)
        
        {
        //give them food type 2
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 2);
        sp_script(&crap, "rpotion");
        }
        
        if (&mcrap == 3)
        
        {
        //give them food type 3
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 7);
        sp_script(&crap, "ppotion");
        }
        
        if (&mcrap == 4)
        
        {
        //give them food type 4
        int &crap = create_sprite(&save_x, &save_y, 6, 421, 8);
        sp_script(&crap, "apotion");
        }
   return;
}

debug("Making gold200");
 //lets give 'em a random amount of gold
 int &crap = create_sprite(&save_x, &save_y, 6, 178, 4);
 sp_script(&crap, "insgold");
 return;
}

the strange thing is i on;y copy and pasted it and added the potion section. if gold was dropped i could have reduces the likelyhood of gold with another if statement. so it would make harder again.
the gold it self works just fin. you can find some piles of it deep in the insanity caves open only on !nsane mode.

3. the corpse sprites don't show the corpses as they are supposed to. even though they are barely altered original scripts. and this bug mainly focuses on slayers and bosses.(for the bosses hard and !nsase).