Jump to content

n0stalgia

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by n0stalgia

  1. {
        Id: 99999
        AegisName: "Random_Potion_Box"
        Name: "Random Potion Box"
        Type: "IT_USABLE"
        Buy: 10000
        Weight: 200
        BuyingStore: true
        Trade: {
            noselltonpc: true
        }
        Script: <" getrandgroupitem 99999,1; ">
    },

    add this to your  "item_group.conf"
    Random_Potion_Box: (
        ("Red_Potion",3),
        ("Yellow_Potion",3),
        ("Orange_Potion",3),",
    )

  2. 4729,Dexterity10,DEX+10,6,20,,10,,,,,,,,16,,,,,{ if( !TF_H ){callfunc("Hiding",4729);} skill "TF_HIDING",1; },{},{} //callfunc("func_name",itemID);

     

    That is for the item itself.

    function    script    Hiding    {
    getinventorylist;
    set @i,1;
    for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1)
        {if( getitemslots(@inventorylist_id[.@i] && !@inventorylist_card1[.@i] && !@inventorylist_card2[.@i] && !@inventorylist_card3[.@i] && !@inventorylist_card4[.@i] && !@inventorylist_expire[.@i] && !@inventorylist_attribute[.@i]) //Because some gear has 4slots. Also not sure if Rental Items can have slots (poor scripting?) Also the item is not broken (Pretty sure this is how normal cards function).
            {set .@menu$,.@menu$ + getitemname(@inventorylist_id[.@i]) +":"; set .@menu[@i],.@i; set @i,@i+1;} }//Saving Menu for later use
    menu .@menu$,-;
    set .@j,getd(".@menu["+@menu+"]");
    delitem2(@inventorylist_id[.@j],1,1,@inventorylist_refine[.@j],0,0,0,0,0);
    getitem2(@inventorylist_id[.@j],1,1,@inventorylist_refine[.@j],0,getarg(0),0,0,0);
    set TF_H,1;
    end;
    }
    

     

    And that is the script used to make it act like a card. It's not totally refined, but it should work.

    *Note - This will only work for items that don't have any cards in it.*

    *Note - This will also only work once per item, in this case, once for this particular item*

    its still goes on the 1st slot where card item goes... 

  3. im using that script on my new server and its working properly..
    here's another one.. i didnt edit anything here..
    Download link from my mediafire : http://www.mediafire.com/download/8kalkdz5d23gs11/freebies.txt

     //http://roscripts.go-forum.net///An open site where you can share and download some helpful RO Scripts.
    //===================================================================
    prontera,157,197,5    script    Freebies    811,{
        
        if(#freebie_quest == 0){
        mes "[Admin Zratinel]";
        mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
        mes "Welcome to ^E066FFRegime Ragnarok Online!^000000";
        mes "I see that you're new here so to help you out I'd like to give you these";
        mes "items as a gift to show how much we appreciate you here!";
    next;
        mes "[Paulinds]";
        mes "Have fun!";
        getitem2    2394,1,1,0,0,0,0,0,0;
        getitem2    2444,1,1,0,0,0,0,0,0;
        getitem2    2549,1,1,0,0,0,0,0,0;
        getitem2    2772,1,1,0,0,0,0,0,0;
        getitem2    5377,1,1,0,0,0,0,0,0;
        getitem2    5518,1,1,0,0,0,0,0,0;
        getitem2    2202,1,1,0,0,0,0,0,0;
        getitem2    2763,1,1,0,0,0,0,0,0;
        getitem2    2548,1,1,0,0,0,0,0,0;
        getitem2    2137,1,1,0,0,0,0,0,0;
        getitem2    4493,1,1,0,0,0,0,0,0;
        getitem2    4494,1,1,0,0,0,0,0,0;
        getitem2    4480,1,1,0,0,0,0,0,0;
        getitem2    4058,1,1,0,0,0,0,0,0;
        getitem2    4133,1,1,0,0,0,0,0,0;
        set Zeny,Zeny+5000000;
        set #freebie_quest,1;
        savepoint "prontera",155,181;
    next;
        announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
        warp "prontera",155,181;
        close;
        }
    
    if(#freebie_quest == 1) {
        mes "[Zratinel]";
        mes "Have fun in ^E066FFRegime RO!^000000";
    next;
        warp "prontera",155,181;
        close;
        }
    }
    
  4. here's one as you requested :)
    //Freebies NPC
    //===================================================================
    prontera,157,197,5    script    Freebies    811,{
        
        if(#freebie_quest == 0){
        mes "[Admin Zratinel]";
        mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
        mes "Welcome to ^E066FFRagnarok Online!^000000";
        mes "I see that you're new here so to help you out I'd like to give you these";
        mes "items as a gift to show how much we appreciate you here!";
    next;
        mes "[Paulinds]";
        mes "Have fun!";
        getitem2    12902,1,1,0,0,0,0,0,0;
        getitem2    13599,1,1,0,0,0,0,0,0;
        getitem2    2357,1,1,0,0,0,0,0,0;
        getitem2    2524,1,1,0,0,0,0,0,0;
        getitem2    2421,1,1,0,0,0,0,0,0;
        getitem2    2115,1,1,0,0,0,0,0,0;
        set Zeny,Zeny+5000000;
        set #freebie_quest,1;
        savepoint "prontera",155,181;
    next;
        announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
        warp "prontera",155,181;
        close;
        }
    
    if(#freebie_quest == 1) {
        mes "[Zratinel]";
        mes "Have fun in ^E066FFRagnarok!^000000";
    next;
        warp "prontera",155,181;
        close;
        } 
    }
    

     

     
  5. here's mine ready to use.. :))



    //http://roscripts.go-forum.net/
    //An open site where you can share and download some helpful RO Scripts.
    //===================================================================
    prontera,157,197,5    script    Freebies    811,{
        
        if(#freebie_quest == 0){
        mes "[Admin Zratinel]";
        mes "Nice to meet you "+ strcharinfo ( 0 ) +", my name is Zratinel";
        mes "Welcome to ^E066FFRegime Ragnarok Online!^000000";
        mes "I see that you're new here so to help you out I'd like to give you these";
        mes "items as a gift to show how much we appreciate you here!";
    next;
        mes "[Paulinds]";
        mes "Have fun!";
        getitem2    2394,1,1,0,0,0,0,0,0;
        getitem2    2444,1,1,0,0,0,0,0,0;
        getitem2    2549,1,1,0,0,0,0,0,0;
        getitem2    2772,1,1,0,0,0,0,0,0;
        getitem2    5377,1,1,0,0,0,0,0,0;
        getitem2    5518,1,1,0,0,0,0,0,0;
        getitem2    2202,1,1,0,0,0,0,0,0;
        getitem2    2763,1,1,0,0,0,0,0,0;
        getitem2    2548,1,1,0,0,0,0,0,0;
        getitem2    2137,1,1,0,0,0,0,0,0;
        getitem2    4493,1,1,0,0,0,0,0,0;
        getitem2    4494,1,1,0,0,0,0,0,0;
        getitem2    4480,1,1,0,0,0,0,0,0;
        getitem2    4058,1,1,0,0,0,0,0,0;
        getitem2    4133,1,1,0,0,0,0,0,0;
        set Zeny,Zeny+5000000;
        set #freebie_quest,1;
        savepoint "prontera",155,181;
    next;
        announce "Let's welcome " + strcharinfo(0) + " for joining our server ! ",0;
        warp "prontera",155,181;
        close;
        }

    if(#freebie_quest == 1) {
        mes "[Zratinel]";
        mes "Have fun in ^E066FFRegime RO!^000000";
    next;
        warp "prontera",155,181;
        close;
        }
        
    }

×
×
  • Create New...