Jump to content

Syllabear

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Syllabear

  1. Maybe it is "supposed to" be an array, maybe you thought it was an array, but sorry -- it isn't.

    <?php foreach($vp as $site): ?>

    Invalid argument supplied for foreach($vp as $site):

    "No voting sites found"

    Find this themes/default/voteforpoints/index.php on line 2

    <?php if (!defined('FLUX_ROOT')) exit; ?>
    <?php if($vp): ?>
    
    <br/>
    <h3>Vote for Points</h3>
    <table class="horizontal-table" width="100%">
    

    Add variable

    <?php if (!defined('FLUX_ROOT')) exit; ?>
    <?php if([color=#ff0000]![/color]$vp): ?>
    
    <?php if(!$vp): ?>
    
    <br/>
    <h3>Vote for Points</h3>
    <table class="horizontal-table" width="100%"> 

  2. Please fix my Script

    Npc's wont appear

    yuno_in02,93,205,7 script Seal Mentor 936,{
    //Weight Checker
    if(dar_dar > 1) goto s_bulmadone;
    if(smz_bit > 1) goto s_bulmatapos;
    if(sew_jmz > 1) goto d_newjmz;
    if(hen_hen > 1) goto s_ulma;
    if(hen_hen < 1){
    mes "[^FF1100Othin^000000]";
    mes "What brings you here young one?";
    mes "Have you accomplished the ^CC0000Break the Seal Quest^000000?";
    mes "I hope you've become powerful...";
    close;
    }
    
    s_ulma:
    mes "[^FFCC00Othin^000000]";
    mes "The winds of destiny blow in Midgard.^FF0000Ragnarok^000000, The fall of the Gods.";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "Is coming and the time of man will begin";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "But the Gods wont surrender that easily. They send out their best warriors, the Valkyries, ^FF0000Ragnarok^000000.";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "If the Valkyries manage to stop whatever is meant to trigger ragnarok, the Gods will be able to rule for another thousand years";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "Do you want to hear more?";
    menu "Okay",-,"Nope",pi_opo;
    next;
    mes "[^FFCC00Othin^000000]";
    mes "Fenris-Fenrir is looking for the reborn Baldr in the hope that the fallen God will be able to help her";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "Make sure the Ragnarok won't fail and thus the change world. But if the Valkyries find Baldr first...Fenris-Fenrir's search might just be over befor it has begun";
    next;
    mes "[^FFCC00Othin^000000]";
    mes "Do you want Valkyrie items materialized into Divine Set???";
    next;
    mes "You must pay 250 worth of credits fee...";
    mes "Each items are worth 50 credits , these are helm,armor,shoes,shield and manteau";
    menu "Yes,right a way",-,"I am poor,so sick",e_opo;
    next;
    mes "[^FFCC00Othin^000000]";
    mes "I'm counting on you";
    set sew_jmz,1;
    close;
    d_newjmz:
    mes "[^FFCC00Othin^000000]";
    mes "Oh, so you came back!";
    if(countitem(20001) < 250) goto inc_plete;
    if(countitem(20001) >= 250) goto c_plete;
    close;
    
    e_opo:
    mes "[^FFCC00Othin^000000]";
    mes "Okay, Talk to me later.";
    close;
    pi_opo:
    mes "[^FFCC00Othin^000000]";
    mes "Im not good at all";
    close;
    inc_plete:
    mes "[^FFCC00Othin^000000]";
    mes "You don't have the items";
    next;
    mes "[^FFCC00Othin^000000]";
    mes " ^008800Credit^000000";
    mes "  You have only: ^0000FF"countitem(20001)"^000000 / 250";
    close;
    
    c_plete:
    mes "[^FFCC00Othin^000000]";
    mes "That doen'st hard after all you will be blessed!";
    delitem 20001,250;
    next;
    mes "[^FFCC00Othin^000000]";  
    mes "Continue searching for the Ragnarok";
    announce "Wowowow "+strcharinfo(0)+" shall now start with the Break the Seal Episode II! Good luck!";
    set smz_bit,1;
    close;
    s_bulmatapos:
    mes "[^FFCC00Othin^000000]";
    mes "What path you want to choose";
    close;
    s_bulmadone:
    mes "[^FFCC00Othin^000000]";
    mes "It is forbidden to repeat this quest.";
    close;
    }
    }
    jupe_ele_r,45,97,5 script Valfreya 920,{
    //Weight Checker
    if(Weight>=(MaxWeight/2)) {
    mes "[^00FF00Valfreya000000]";
    mes "You are ^FF0000Overweight^000000, you need to put some items in your storage";
    close;
    } else {
    if(smz_bit > 1) goto bts_ptone;
    if(smz_bit < 1){
    mes "[^FF1100Valfreya^000000]";
    mes "What brings you here young one?";
    mes "Have you accomplished the ^CC0000Break the Seal Quest^000000?";
    mes "[^FF1100Valfreya^000000]";
    mes "You must talk the Othin first before me ";
    close;
    }
    bts_ptone:
    mes "[^FF1100Valfreya^000000]";
    mes "What brings you here young one?";
    mes "Have you accomplished the ^CC9900Break the Seal Quest^000000?";
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "I hope so...";
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "I can materialize your valkyrie gears into divine set";
    mes "You can attain the powers of Vallhala";
    goto V_top;
    V_top:
    menu
    "Light Valkyrie Helm",w_helm,"Light Valkyrie Armor",w_armor,
    "Light Valkyrie Shield",w_shield,"Light Valkyrie Manteau",w_manteau,
    "Light Valkyrie Shoes",w_shoes,"Cancel",w_cancel;
    w_helm:
    next;
    mes "^FF00001^000000 Valkyrie Helm [1]";
    mes "^FF00005^000000 Valhalla's Flower";
    mes "^FF00005^000000 White Dyestuffs";
    mes "^FF0000100^000000 White Mask";
    menu "Make valkyrie helm",m_helm,"Return to Menu",V_top;
    w_armor:
    next;
    mes "^FF00001^000000 Valkyrie Armor [1]";
    mes "^FF0000100^000000 Destroyed Armor";
    mes "^FF00005^000000  White Dyestuffs";
    mes "^FF0000100^000000 Armor Piece of Dullahan ";
    menu "Make valkyrie armor",m_armor,"Return to Menu",V_top;
    w_shield:
    next;
    mes "^FF00001^000000 Valkyrie Shield [1]";
    mes "^FF00005^000000 Holy Guard [0]";
    mes "^FF00005^000000 White Dyestuffs";
    mes "^FF000020^000000 Piece of Shield";
    menu "Make valkyrie shield",m_shield,"Return to Menu",V_top;
    w_manteau:
    next;
    mes "^FF00001^000000 Valkyrie Manteau [1]";
    mes "^FF0000100^000000 Transparent Celestial Robe";
    mes "^FF000010^000000 Holy Robe [0]";
    mes "^FF00005^000000 White Dyestuffs";
    menu "Make valkyrie manteau",m_manteau,"Return to Menu",V_top;
    w_shoes:
    next;
    mes "^FF00001^000000 Valkyrie Shoes[1]";
    mes "^FF0000100^000000 Soft Silk";
    mes "^FF00002^000000 Verit Card";
    mes "^FF00004^000000 Matyr Card";
    mes "^FF00003^000000 Sohee Card";
    menu "Make valkyrie shoes",m_shoes,"Return to Menu",V_top;
    //=======================================
    m_helm:
    if(countitem(7510)< 5 || countitem(5171)< 1 || countitem(982)< 5 || countitem(7568)< 100) goto M_insufficient;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7510,5;
    delitem 5171,1;
    delitem 982,5;
    delitem 7568,100;
    getitem 20100,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Dark materialization equips";
    announce "Heaven reveals a shining light to "+strcharinfo(0)+" receives a blessing from Odin.",8;
    close;
    m_armor:
    if(countitem(7069)< 100 || countitem(2357)< 1 || countitem(982)< 5 || countitem(7210)< 100) goto M_insufficient;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7069,100;
    delitem 2357,1;
    delitem 982,5;
    delitem 7210,100
    getitem 20101,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Dark materialization equips";
    announce "Heaven reveals a shining light to "+strcharinfo(0)+" receives a blessing from Odin.",8;
    close;
    m_shield:
    if(countitem(2110)< 5 || countitem(2115)< 1 || countitem(982)< 5 || countitem(7108)< 20) goto M_insufficient;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 2110,5;
    delitem 2115,1;
    delitem 982,5;
    delitem 7108,20;
    getitem 20103,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Dark materialization equips";
    announce "Heaven reveals a shining light to "+strcharinfo(0)+" receives a blessing from Odin.",8;
    close;
    m_manteau:
    if(countitem(7165)< 100 || countitem(2524)< 1 || countitem(2327)< 5 || countitem(2524)< 1) goto M_insufficient;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7165,100;
    delitem 2524,1;
    delitem 982,5;
    delitem 2327,5;
    getitem 20102,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Dark materialization equips";
    announce "Heaven reveals a shining light to "+strcharinfo(0)+" receives a blessing from Odin.",8;
    close;
    m_shoes:
    if(countitem(7166)< 100 || countitem(2421)< 1 || countitem(4107)< 2 || countitem(4100)< 3 || countitem(4097)< 4) goto M_insufficient;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7166,100;
    delitem 2421,1;
    delitem 4107,2;
    delitem 4100,3;
    delitem 4097,4;
    getitem 20104,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Dark materialization equips";
    announce "Heaven reveals a shining light to "+strcharinfo(0)+" receives a blessing from Odin.",8;
    close;
    //====================================================
    M_insufficient:
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "You don't have the required materials.";
    mes "Please come back when you do...";
    menu "Return to Main Menu",V_top,"Leave",w_cancel;
    close;
    w_cancel:
    close;
    }
    }
    jupe_ele_r,54,97,3 script Kolbyr 997,{
    //Weight Checker
    if(Weight>=(MaxWeight/2)) {
    mes "[Reminder]";
    mes "You are ^FF0000Overweight^000000, you need to put some items in your storage";
    close;
    } else {
    if(smz_bit > 1) goto bts_pttwo;
    if(smz_bit < 1){
    mes "[^FF1100Kolbyr^000000]";
    mes "What brings you here young one?";
    mes "Have you accomplished the ^CC0000Break the Seal Quest^000000?";
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "You must talk the Othin first before me ";
    close;
    }
    bts_pttwo:
    mes "[^FF1100Kolbyr^000000]";
    mes "What brings you here young one?";
    mes "Have you accomplished the ^CC9900Break the Seal Quest^000000?";
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "I hope so...";
    next;
    mes "[^FFCC00Kolbyr^000000]";
    mes "I can materialize your valkyrie gears into divine set";
    mes "You can attain the powers of Vallhala";
    goto O_top;
    O_top:
    menu
    "Dark Valkyrie Helm",d_helm,"Dark Valkyrie Armor",d_armor,
    "Dark Valkyrie Shield",d_shield,"Dark Valkyrie Manteau",d_manteau,
    "Dark Valkyrie Shoes",d_shoes,"Cancel",d_cancel;
    d_helm:
    next;
    mes "^FF00001^000000 Valkyrie Helm [1]";
    mes "^FF00005^000000 Valhalla's Flower";
    mes "^FF00005^000000 Black Dyestuffs";
    mes "^FF0000100^000000 Dark Mask";
    menu "Make valkyrie helm",dk_helm,"Return to Menu",O_top;
    d_armor:
    next;
    mes "^FF00001^000000 Valkyrie Armor [1]";
    mes "^FF0000100^000000 Destroyed Armor";
    mes "^FF00005^000000 Black Dyestuffs";
    mes "^FF0000100^000000 Dark Crystal Fragment ";
    menu "Make valkyrie armor",dk_armor,"Return to Menu",O_top;
    d_shield:
    next;
    mes "^FF00001^000000 Valkyrie Shield [1]";
    mes "^FF000050^000000 Rune of Darkness";
    mes "^FF00005^000000 Black Dyestuffs";
    mes "^FF000020^000000 Piece of Shield";
    menu "Make valkyrie shield",dk_shield,"Return to Menu",O_top;
    d_manteau:
    next;
    mes "^FF00001^000000 Valkyrie Manteau [1]";
    mes "^FF0000100^000000 Transparent Celestial Robe";
    mes "^FF0000100^000000 Will of the Darkness";
    mes "^FF00005^000000 Black Dyestuffs";
    menu "Make valkyrie manteau",dk_manteau,"Return to Menu",O_top;
    d_shoes:
    next;
    mes "^FF00001^000000 Valkyrie Shoes[1]";
    mes "^FF0000100^000000 Soft Silk";
    mes "^FF00002^000000 Verit Card";
    mes "^FF00004^000000 Matyr Card";
    mes "^FF00003^000000 Sohee Card";
    menu "Make valkyrie shoes",dd_shoes,"Return to Menu",O_top;
    //=======================================
    dk_helm:
    if(countitem(7510)< 5 || countitem(5171)< 1 || countitem(983)< 5 || countitem(7157)< 100) goto S_insufficient;
    mes "[^FF1100Kolbyr^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7510,5;
    delitem 5171,1;
    delitem 983,5;
    delitem 7157,100;
    getitem 20105,1;
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "Remember that this gear are neccessary to fight against Holy materialization equips";
    announce "Hell reveals darkness to "+strcharinfo(0)+" receives a blessing from Loki.",8;
    close;
    dk_armor:
    if(countitem(7069)< 100 || countitem(2357)< 1 || countitem(983)< 5 || countitem(7315)< 100) goto S_insufficient;
    mes "[^FF1100Valfreya^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7069,100;
    delitem 2357,1;
    delitem 983,5;
    delitem 7315,100
    getitem 20106,1;
    next;
    mes "[^FF1100Valfreya^000000]";
    mes "Remember that this gear are neccessary to fight against Holy materialization equips";
    announce "Hell reveals darkness to "+strcharinfo(0)+" receives a blessing from Loki.",8;
    close;
    dk_shield:
    if(countitem(7511)< 5 || countitem(2115)< 1 || countitem(983)< 5 || countitem(7108)< 20) goto S_insufficient;
    mes "[^FF1100Kolbyr^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7511,50;
    delitem 2115,1;
    delitem 983,5;
    delitem 7108,20;
    getitem 20107,1;
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "Remember that this gear are neccessary to fight against Holy materialization equips";
    announce "Hell reveals darkness to "+strcharinfo(0)+" receives a blessing from Loki.",8;
    close;
    dk_manteau:
    if(countitem(7165)< 100 || countitem(2524)< 1 || countitem(982)< 5 || countitem(7340)< 50) goto S_insufficient;
    mes "[^FF1100Kolbyr^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7165,100;
    delitem 2524,1;
    delitem 982,5;
    delitem 7340,50;
    getitem 20108,1;
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "Remember that this gear are neccessary to fight against Holy materialization equips";
    announce "Hell reveals darkness to "+strcharinfo(0)+" receives a blessing from Loki.",8;
    close;
    dk_shoes:
    if(countitem(7166)< 100 || countitem(2421)< 1 || countitem(4107)< 2 || countitem(4100)< 3 || countitem(4097)< 4) goto S_insufficient;
    mes "[^FF1100Kolbyr^000000]";
    mes "Thanks";
    mes "You really are strong";
    delitem 7166,100;
    delitem 2421,1;
    delitem 4107,2;
    delitem 4100,3;
    delitem 4097,4;
    getitem 20109,1;
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "Remember that this gear are neccessary to fight against Holy materialization equips";
    announce "Hell reveals darkness to "+strcharinfo(0)+" receives a blessing from Loki.",8;
    close;
    //====================================================
    S_insufficient:
    next;
    mes "[^FF1100Kolbyr^000000]";
    mes "You don't have the required materials.";
    mes "Please come back when you do...";
    menu "Return to Main Menu",O_top,"Leave",d_cancel;
    close;
    d_cancel:
    close;
    }
    }
    

×
×
  • Create New...