Jump to content
  • 0

Question

Posted

I would like to request a sample "pointshop" NPC and I  will fill in the rest. I just want a pointshop NPC that requires #ONLINEPOINTS to buy from it ... BUT before the shop opens the NPC should display a message window first and after clicking next the shop will be displayed.

 

I will just edit the rest.

Thank you dear Sirs/Maam.

7 answers to this question

Recommended Posts

  • 0
Posted


- pointshop custom_seller1 #ONLINEPOINTS,509:0,5406:100,5407:100

- pointshop custom_seller2 #ONLINEPOINTS,509:0,5766:100,5207:100

prontera,155,155,3 script Name_Shop_Here 437,{

mes "[NPC_NAME_HERE]";

mes "Which one do you want to open?";

@shop = select("Headgears:Supplies");

mes "[NPC_NAME_HERE";

mes "Happy shopping.";

close2;

callshop "custom_seller"+@shop,1;

end;

}

  • 0
Posted

 

-    pointshop    custom_seller1    #ONLINEPOINTS,509:0,5406:100,5407:100

-    pointshop    custom_seller2    #ONLINEPOINTS,509:0,5766:100,5207:100

prontera,155,155,3    script    Name_Shop_Here    437,{

    mes "[NPC_NAME_HERE]";

    mes "Which one do you want to open?";

    @shop = select("Headgears:Supplies");

    mes "[NPC_NAME_HERE";

    mes "Happy shopping.";

    close2;

    callshop "custom_seller"[email protected]<script data-cfhash='f9e31' type="text/javascript">/* */</script>,1;

    end;

}

 

 

Oh thank you.

 

I loaded the NPC and there are no errors in console. But the thing is what is the 509:0 part for? Because I tried to buy from the NPC and it did not allow me to buy and printed this message in main chat:

 

2zsaek2.jpg

 

And it also said "not enough zeny" while I have zeny. But I want  #ONLINEPOINTS to purchase from it.

 

 

Thanks.

  • 0
Posted

Try changing 0 to 1. Also you need Zeny to buy, but it won't consume zeny when buying. It's a bug with the client, nothing we can do about that.

 

 

Same problem sir. I changed the 509:0 to 509:1. The only difference is that now the shop allows "discounts" or at least shows tha discount values:

 

post-15215-0-02154100-1457106524_thumb.jpg

post-15215-0-58693400-1457106364_thumb.jpg

 

And I have zeny 500k but I still cannot buy from it. I also have #ONLINEPOINTS.

 

post-15215-0-12632800-1457106681_thumb.jpg

 

 

Thank you sir.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...