Reborn Posted April 19, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Share Posted April 19, 2014 im a newbie in scripting, can anyone make me an npc in which the npc will going to sell an item that uses a cashpoints. but i need an npc that has a menusmenus will gonna be weapons, armors, headgears, and accesories.all of the item here will going to use a cashpoints to buy them. i hope someone can help me with this kind of npc. thanks. Quote Link to comment Share on other sites More sharing options...
Mabuhay Posted April 20, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Share Posted April 20, 2014 You should use the search engine next time. http://rathena.org/board/files/file/2504-multi-currency-shop/ Quote Link to comment Share on other sites More sharing options...
Reborn Posted April 20, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted April 20, 2014 i tried this one but i noticed that the price was zeny but it was points and if the player is a blacksmith it will gonna be discounted. i want a script/npc that has a price of 100 P not 100 z... and the discount of the blacksmith/merchant will not gonna show here. Quote Link to comment Share on other sites More sharing options...
Mabuhay Posted April 20, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Share Posted April 20, 2014 i tried this one but i noticed that the price was zeny but it was points and if the player is a blacksmith it will gonna be discounted. That's how you do it. Discount skill does not affect the price. and lastly, 100 P not 100 z... you cant just change that... Quote Link to comment Share on other sites More sharing options...
Reborn Posted April 20, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted April 20, 2014 but in some RO in there cashshop the prize of the items are not being showing as a discounted prize and it was not using a Z as the prize of the time, it is P as Points. Quote Link to comment Share on other sites More sharing options...
Patskie Posted April 20, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 1 hour ago Share Posted April 20, 2014 Follow this : ** Define a shop/cashshop/itemshop/pointshop NPC. -%TAB%shop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...} <map name>,<x>,<y>,<facing>%TAB%shop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...} -%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...} <map name>,<x>,<y>,<facing>%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...} -%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} <map name>,<x>,<y>,<facing>%TAB%itemshop%TAB%<NPC Name>%TAB%<sprite id>,<costitemid>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} -%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} <map name>,<x>,<y>,<facing>%TAB%pointshop%TAB%<NPC Name>%TAB%<sprite id>,<costvariable>{:<discount>},<itemid>:<price>{,<itemid>:<price>...} Quote Link to comment Share on other sites More sharing options...
Reborn Posted April 20, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted April 20, 2014 i also tried that script but still i wasnt able to make my npc have an option first before buying the products using a custom points. i want an npc that has an option first like weapons, headgears and misc. all option has an items with a designated amount on it, like with euphys script "shop npc" just like it but i want to have an option first before buying an item and also i want to use a P=points not Z=zeny as the price of the item showing on the npc shop. can anyone help me with this one? Quote Link to comment Share on other sites More sharing options...
sylphers Posted May 6, 2014 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 12 Reputation: 2 Joined: 04/27/14 Last Seen: February 22, 2020 Share Posted May 6, 2014 (edited) i think it can help u *sorry my english is bad* red = npc name blue = npc sprite ID orange = item ID green = price item yellow = map & coordinate NPC lunar01,135,192,4 cashshop [Cash 01] Shizuka 758,5380:7500 Edited May 6, 2014 by sylphers Quote Link to comment Share on other sites More sharing options...
Pneuma Posted May 7, 2014 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Share Posted May 7, 2014 He basically wants an NPC to "callshop" different cashshops based on a menu. Quote Link to comment Share on other sites More sharing options...
Reborn Posted May 8, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted May 8, 2014 pneuma was correct i wanted to have an npc that will going to have a speech first and after that the npc will going to have a menu that has the items that will gonna be bought using the cashpoint or custom points. thanks anyway for helping. i hope someone will gonna help with this one... Quote Link to comment Share on other sites More sharing options...
Reborn Posted May 23, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted May 23, 2014 · Hidden by Emistry, May 23, 2014 - No reason given Hidden by Emistry, May 23, 2014 - No reason given ...??? Link to comment
Reborn Posted May 24, 2014 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted May 24, 2014 (edited) i already found the answer about multiple shops in one npc. however i have another problem here when got multiple shop in one npc i cant buy the item instead i got a gravity error..heres my script. hope someone can help me -cashshop premium01 -1,501:1000,502:1000,503:1000; -cashshop premium02 -1,504:1000,505:1000,506:1000; prontera,150,150,6 script Premium 123,{ mes "[Premium Point Redemption]"; mes "Please select a category"; next; menu "Items",L_01,"Cards",L_02; next; L_01: callshop "premium01",0; npcshopattach "premium01"; end; L_02: callshop "premium02",0; npcshopattach "premium02"; end; } im sorry if i just post my script her. i cant download the file using my phone. i hope someone can help me .. hello? Edited May 24, 2014 by Pneuma Put scripts in a codebox Quote Link to comment Share on other sites More sharing options...
Weistony Posted May 24, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 108 Reputation: 12 Joined: 06/19/12 Last Seen: Sunday at 04:47 AM Share Posted May 24, 2014 Gravity error ? Make sure you got the suitable msgstringtable.txt for your client. Quote Link to comment Share on other sites More sharing options...
Question
Reborn
im a newbie in scripting,
can anyone make me an npc in which the npc will going to sell an item that uses a cashpoints. but i need an npc that has a menus
menus will gonna be weapons, armors, headgears, and accesories.
all of the item here will going to use a cashpoints to buy them. i hope someone can help me with this kind of npc.
thanks.
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.