Jump to content
  • 0

#pointshop NPC request


johnbond

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  457
  • Reputation:   11
  • Joined:  02/17/13
  • Last Seen:  

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.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  


- 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;

}

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  457
  • Reputation:   11
  • Joined:  02/17/13
  • Last Seen:  

 

-    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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  457
  • Reputation:   11
  • Joined:  02/17/13
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Oh crap my bad :o

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

Forgot the -1.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  457
  • Reputation:   11
  • Joined:  02/17/13
  • Last Seen:  

Oh crap my bad :o

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

Forgot the -1.

 

 

It is now fixed. Thank you.

 

+1 for you sir!

Link to comment
Share on other sites

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.

×
×
  • Create New...