girinaum Posted February 6 Share Posted February 6 Hello guys I'm a beginner in this server stuff and I'm trying to put a store npc like the Ragnarok Online Brazil, it works like a store npc but using items from instances / quests so you can buy other items see the example in the image. As I said I am a beginner in these things, maybe there is already something like this and I have not found, if I am in the wrong place in the forum please put me in the right place, thank you, and I apologize for my English, I have not practiced much, I speak Portuguese. Quote Link to comment Share on other sites More sharing options...
Poring King Posted February 8 Share Posted February 8 its a Dynamic shop . But you need to learn how to understand the script flows 1 Quote Link to comment Share on other sites More sharing options...
girinaum Posted February 8 Author Share Posted February 8 57 minutes ago, Poring King said: its a Dynamic shop . But you need to learn how to understand the script flows where could I learn about this? Quote Link to comment Share on other sites More sharing options...
ryukazuna Posted February 8 Share Posted February 8 15 hours ago, girinaum said: where could I learn about this? https://github.com/rathena/rathena/blob/master/npc/custom/barters.yml you need to understand this barter shop system workflow. this is an example to the first item on your picture , NPC located on prontera,156,183 and selling holy water and cursed water for 1 bloody coins : Body: - Name: Barter Shop Map: prontera X: 156 Y: 183 Direction: South Sprite: 2_F_SIGN1 Items: - Index: 0 Item: Holy_Water RequiredItems: - Index: 0 Item: Bloody_Coin Amount: 1 - Index: 1 Item: Water_Of_Darkness RequiredItems: - Index: 0 Item: Bloody_Coin Amount: 1 Result Picture : Spoiler 1 Quote Link to comment Share on other sites More sharing options...
girinaum Posted February 9 Author Share Posted February 9 21 hours ago, ryukazuna said: https://github.com/rathena/rathena/blob/master/npc/custom/barters.yml você precisa entender esse fluxo de trabalho do sistema de troca. este é um exemplo para o primeiro item da sua foto, NPC localizado em prontera,156,183 e vendendo água benta e água amaldiçoada por 1 moeda sangrenta : Imagem do resultado : Ocultar conteúdo perfect, I found here why this script does not work, my emulator that I have here is very old, is there a way for me to update it without losing the ekips and quests that I created? or at least a way to check in which "pull" my server was downloaded? Quote Link to comment Share on other sites More sharing options...
Akbare Posted February 10 Share Posted February 10 On 2/9/2022 at 9:20 PM, girinaum said: perfect, I found here why this script does not work, my emulator that I have here is very old, is there a way for me to update it without losing the ekips and quests that I created? or at least a way to check in which "pull" my server was downloaded? update your emulator and move anything your edit in old server 1 Quote Link to comment Share on other sites More sharing options...
Poring King Posted February 13 Share Posted February 13 On 2/8/2022 at 11:48 AM, ryukazuna said: https://github.com/rathena/rathena/blob/master/npc/custom/barters.yml you need to understand this barter shop system workflow. this is an example to the first item on your picture , NPC located on prontera,156,183 and selling holy water and cursed water for 1 bloody coins : Body: - Name: Barter Shop Map: prontera X: 156 Y: 183 Direction: South Sprite: 2_F_SIGN1 Items: - Index: 0 Item: Holy_Water RequiredItems: - Index: 0 Item: Bloody_Coin Amount: 1 - Index: 1 Item: Water_Of_Darkness RequiredItems: - Index: 0 Item: Bloody_Coin Amount: 1 Result Picture : Hide contents This is new to me LOL . Its been a while since i play rAthena Quote Link to comment Share on other sites More sharing options...