Jump to content

tr0n

Members
  • Posts

    562
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by tr0n

  1. You can check if a cell is walkable or not and then let the npc walk to it or use a new random coordination.

    checkcell("<map name>",<x>,<y>,<type>);
    
    This command will return 1 or 0, depending on whether the specified cell has the 'type' flag set or not. There are various types to check, all mimicking the server's cell_chk enumeration. The types can be found in db/const.txt.

     

    source: Checkcell

    • Upvote 2
  2. So, ich bitte die Leute hier beim Topic zu bleiben und nur bezügliches des eigentlichen Themas zu antworten. Eure Diskussion über Rechtschreibung oder sonstige Themen könnt ihr woanders fortführen. Ansonsten muss ich diesen Thread closen oder gegebenfalls bei nicht Einhaltung Warn-Punkte verteilen. Vielen Dank!

     

    Viele Grüße,

    tr0n (German Moderators)

    • Upvote 1
  3. At this moment there is no way to invite people with fakename. The reason for this is because this modification I made is used

    for script side title system as example. That means people could have names like [MVP] myName and if you want to invite him into

    a party you just use the name, it would be ridicioulus to use the title too for an invitation.

  4. Ach der gute alte Masao :) Warst doch damals wie ich Script/DB Developer hier oder ? Bringst es jedenfalls ziemlich gut auf den Punkt. Deutsche Community tod. Naja was solls. Gibt ja immernoch die iternationale :)

  5. Ich glaub es gab eine Möglichkeit das durch den Patcher eine Webseite automatisch besucht wird wenn man den client startet. Du könntest youtube starten lassen und dort kommt ein Video. Alternativ ein Button wo "Trailer" oder sonst was stehst. Das mal eben zu "hexen" ist glaub ich nicht soooo einfach. Kann mich aber auch irren.

  6. Should be fixed:

     

    // Sad Girl
    new_1-1,124,129,6 script Sad Girl 552,{ //4_F_STARFISHGIRL
    if (checkquest(20500) == -1) { //You don't have this quest.
    mes "Leave me alone!!...";
    next;
    mes "[ " + strnpcinfo(1) + " ]";
    mes "I said leave me alone!!...";
    next;
    mes "^009900[ " + strcharinfo(0) + " ]^000000";
    mes "Why are you crying?";
    mes "Is there something i can do.";
    next;
    mes "[ " + strnpcinfo(1) + " ]";
    mes "This dog stole Gold Pouch !";
    mes "He digged it beneath the ground";
    mes "And i cant find it anymore";
    next;
    mes "[ " + strnpcinfo(1) + " ]";
    mes "Do you want to help me search?";
    if (select("Help Search:Dont help") != 1) {
    mes "[ " + strnpcinfo(1) + " ]";
    mes "You Selfish Human Being!!";
    } else {
    mes "[ " + strnpcinfo(1) + " ]";
    mes "Thank you so much";
     
    setquest 20500;
     
    mes "[ " + strnpcinfo(1) + " ]";
    mes "There is a dighole around.";
    close2;
    end;
    }
    }
    if (checkquest(20500) == 2) { //Quest is completed.
    mes "Thanks for helping";
    close2;
    end;
    }
    if (checkquest(20000) == 0 || checkquest(20000) == 1) { //Active.
    if (countitem(7865) > 0) {
    mes "[ " + strnpcinfo(1) + " ]";
    mes "Oh my god, you found it!!";
    delitem 7865,1;
    next;
    completequest 20500;
    getexp 20,15;
    close;
    }
    }
    // Dighole
    new_1-1,122,125,6 script Dighole 557,{ //4_SOIL
    if( !GiveQuestItem1 ){
    set GiveQuestItem1,1;
    mes "[ " + strnpcinfo(1) + " ]";
    mes "You found the Gold Pouch";
    getitem 7865,1;
    } else {
    mes "Just and empty dighole";
    close;
    end;
    }
    }
    // Dog who digged in Gold Pouch
    new_1-1,124,129,6 script Playfull Dog 81,{ //4_DOG01
    mes "[ " + strnpcinfo(1) + " ]";
    mes "Bark !!";
    close;
    end;
    }
    
  7. map,x,y,r    script    Healer    id,{
    
        if((Hp == MaxHp && BaseLevel < 255) || (Hp == MaxHp && BaseLevel == 255))
        {
            npctalk "You already have full HP!";
            end;
        }
        else if(BaseLevel < 255 && Hp < MaxHp)
        {
            percentheal 100, 0;
            skilleffect 384,0; sc_start SC_MELTDOWN,360000,5;
            skilleffect 383,0; sc_start SC_WINDWALK,360000,5;
            skilleffect 378,0; sc_start SC_EDP,360000,5;
            skilleffect 465,0; sc_start SC_KAITE,360000,7;
            skilleffect 464,0; sc_start SC_KAUPE,360000,3;
            skilleffect 463,0; sc_start SC_KAAHI,360000,7;
            skilleffect 462,0; sc_start SC_KAIZEL,360000,7;
            skilleffect 8,0; sc_start SC_ENDURE,360000,10;
            skilleffect 33,0; sc_start SC_ANGELUS,360000,10;
            skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10;
            skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5;
            skilleffect 75,0; sc_start SC_GLORIA,360000,5;
            skilleffect 459,0; sc_start SC_ADRENALINE2,360000,1;
            skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5;
            skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,3;
            skilleffect 34,0; sc_start SC_BLESSING,360000,10;
            skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10;
            skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10;
            skilleffect 113,0; sc_start SC_OVERTHRUST,360000,5;
            skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,5;
            skilleffect 357,0; sc_start SC_CONCENTRATION,360000,5;
            skilleffect 355,0; sc_start SC_AURABLADE,360000,5;
            skilleffect 155,0; sc_start SC_LOUD,360000,1;
            skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,1;
            sc_start SC_ASPDPOTION2,360000,0;
            sc_start SC_STRFood,360000,10;
            sc_start SC_AGIFood,360000,10;
            sc_start SC_VITFood,360000,10;
            sc_start SC_INTFood,360000,10;
            sc_start SC_DEXFood,360000,10;
            sc_start SC_LUKFood,360000,10;
            sc_start SC_HitFood,1200000,30;
            sc_start SC_FleeFood,1200000,30;
            sc_start SC_BATKFood,1200000,10;
            sc_start SC_MATKFood,120000,10;
            skilleffect 380,0; sc_start SC_TRUESIGHT,360000,5;
            skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,5;
            npctalk "Good Luck out there!";
        }
        else if(BaseLevel == 255 && Hp < MaxHp)
        {
            percentheal 100, 0;
            npctalk "Good Luck out there!";
        }
        end;
    }
    

    This is with npctalk now.

  8. map,x,y,r    script    Healer    id,{
        
        mes "[Healer]";
        mes "Do you want to be healed?";
        if(select("Yes:No")==1)
        {
            if((Hp == MaxHp && BaseLevel < 255) || (Hp == MaxHp && BaseLevel == 255))
            {
                mes "[Healer]";
                mes "You already have full HP";
                close;
            }
            else if(BaseLevel < 255 && Hp < MaxHp)
            {
                percentheal 100, 0;
                skilleffect 384,0; sc_start SC_MELTDOWN,360000,5;
                skilleffect 383,0; sc_start SC_WINDWALK,360000,5;
                skilleffect 378,0; sc_start SC_EDP,360000,5;
                skilleffect 465,0; sc_start SC_KAITE,360000,7;
                skilleffect 464,0; sc_start SC_KAUPE,360000,3;
                skilleffect 463,0; sc_start SC_KAAHI,360000,7;
                skilleffect 462,0; sc_start SC_KAIZEL,360000,7;
                skilleffect 8,0; sc_start SC_ENDURE,360000,10;
                skilleffect 33,0; sc_start SC_ANGELUS,360000,10;
                skilleffect 45,0; sc_start SC_CONCENTRATE,360000,10;
                skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5;
                skilleffect 75,0; sc_start SC_GLORIA,360000,5;
                skilleffect 459,0; sc_start SC_ADRENALINE2,360000,1;
                skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5;
                skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,3;
                skilleffect 34,0; sc_start SC_BLESSING,360000,10;
                skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10;
                skilleffect 112,0; sc_start SC_WEAPONPERFECTION,360000,10;
                skilleffect 113,0; sc_start SC_OVERTHRUST,360000,5;
                skilleffect 114,0; sc_start SC_MAXIMIZEPOWER,360000,5;
                skilleffect 357,0; sc_start SC_CONCENTRATION,360000,5;
                skilleffect 355,0; sc_start SC_AURABLADE,360000,5;
                skilleffect 155,0; sc_start SC_LOUD,360000,1;
                skilleffect 157,0; sc_start SC_ENERGYCOAT,360000,1;
                sc_start SC_ASPDPOTION2,360000,0;
                sc_start SC_STRFood,360000,10;
                sc_start SC_AGIFood,360000,10;
                sc_start SC_VITFood,360000,10;
                sc_start SC_INTFood,360000,10;
                sc_start SC_DEXFood,360000,10;
                sc_start SC_LUKFood,360000,10;
                sc_start SC_HitFood,1200000,30;
                sc_start SC_FleeFood,1200000,30;
                sc_start SC_BATKFood,1200000,10;
                sc_start SC_MATKFood,120000,10;
                skilleffect 380,0; sc_start SC_TRUESIGHT,360000,5;
                skilleffect 361,0; sc_start SC_ASSUMPTIO,360000,5;
            }
            else if(BaseLevel == 255 && Hp < MaxHp)
                percentheal 100, 0;
                
            mes "[Healer]";
            mes "Good Luck out there!";
            close;
        }
        else
        {
            mes "[Healer]";
            mes "Have a nice Day!";
            close;
        }
    }
    

    I think this should work. Dont forget to replace the first line with map and coordinations and sprite id.

  9. What exactly do you want ? A buffer or a healer ? If both should it be possible to choose between heal and buff ?
    Or should it be like this:

     

    if baselevel under 255 and hp = maxhp (buff but no heal)

    if baselevel 255 and hp < maxhp (heal and no buff)

    or

    if baselevel 255 OR hp = maxhp (do not heal and buff)

     

    Need more details.

  10.  

    I am officially working on party support for quests now!

    I will need someone with a testserver who can test the new feature.

    I don't want to release such a big feature without testing it. Please PM me if interested :)

     

    Greets

    tr0n

     

    UPDATE: I AM DONE. STILL NEED TESTERS

    thanks tron looking forward to test this later =) i'm on school when i get home i try this

     

     

    Just pm me and I send you version 1.6.4 for testing.

×
×
  • Create New...