Jump to content

Quesooo

Members
  • Posts

    883
  • Joined

  • Last visited

Posts posted by Quesooo

  1. 8 minutes ago, Hijirikawa said:
    
    mes "You have chosen "+getitemname(.item[.@g])+" for the price of "+.cost[.@m]+" "+getitemname(.exc_id)+"s".";

    to

    
    mes "You have chosen "+getitemname(.item[.@g])+" for the price of "+.cost[.@m]+" "+getitemname(.exc_id)+"s.";

     

    Thank you for this. the npc is now showing but i got an error again

    image.png.26c856a082296609a00877b03f6e688c.png

  2. 3 hours ago, llchrisll said:

     

    5 Minutes scripting....

    Untested tho:

    
    prontera,150,180,4	script	GC Exchanger	100,{
    
    mes .n$;
    mes "I can exchange your "+getitemname(.exc_id)+"s for other items.";
    mes "Please select from the list what you want.";
    mes "( ) = Price per Exchange";
    next;
    for ( set .@m,0; .@m < getarraysize(.item); set .@m,.@m + 1)
    	set .@g_menu$,.@g_menu$ + "- "+getitemname(.item[.@m])+" ("+.cost[.@m]+")" + ( (.item[.@m+1] != 0)?":":"");
    set .@g,select(.@g_menu$) - 1;
    mes .n$;
    mes "You have chosen "+getitemname(.item[.@g])+" for the price of "+.cost[.@m]+" "+getitemname(.exc_id)+"s".";
    mes "Is that correct?";
    if(select("- Yes:- No") - 1) close;
    next;
    mes .n$;
    if(countitem(.exc_id) < .cost[.@g]) {
    	mes "I'm sorry, but you don't have enough "+getitemname(.exc_id)+", please come back when you have enough.";
    	close;
    }
    getitem .item[.@g],1;
    delitem .exc_id,.cost[.@g];
    mes "Exchange complete.";
    close;
    
    OnInit:
    set .n$,"["+strnpcinfo(0)+"]";
    //= Items: Old Blue Box, Oridecon Box (10pcs), Elunium Box (10pcs), Old Purple Box, Old Card Album
    setarray .item[0],603,13890,13889,618,616;
    setarray .cost[0],250,500,500,750,2500;
    set .exc_id,7517; // Gold Coin
    end;
    }

    Thank you  so much for this.

    i got an error

     

    image.png.e938bb22396300c642dcac0ef53c8ea0.png

  3. Hi i would like to request a npc that can exchange an item to another item with specific amount, for example 
    - 250 GC = Old Blue Box 
    - 500 GC = Box of 10 Oridecon or Box of 10 Elunium 
    - 750 GC= Old Purple Box and 2,500 GC = Old Card Album

    hopefully someone can make this

    thank you in advance.

  4. Hi anyone can help me how to fix this problem

     

    my client doesn't have any sounds in game i have BGM folder and sounds inside it, i also try to change the in game settings and check the sounds so that i can hear the sounds, all i can hear is a poring bouncing besides me and the attack of the character. i also try to change the settings on setup.exe but when i open it i got an error that im missing a dll file. btw im using 2018 client please help thank you.

  5. On 10/22/2018 at 12:50 PM, Sehrentos said:

    Hey,

    Thank you. There is option to turn off the floating rates:

    
    .use_floating_rates = 0;    // Increase servers exp and drop rates for 1 hour after boss kill(0=Disable, 1=Enable)

     

    oh i already disable that but it seems  still affecting the server rates

    @Sehrentos boss ping me when it done thank you for your fast response

  6. Anyone can help me about using @storeall command i know that rathena already have storeall command but my request is different

    on rathena default @storeall command its store all item inside inventory and equipment of the character

    when player use @storeall the item inside the inventories can be stored (ETC items only)  not included the equipment of the character it self

     

    thank you so much

×
×
  • Create New...