Jump to content
  • 0

Npc recipes


icarka

Question

3 answers to this question

Recommended Posts

  • 0
4 minutes ago, icarka said:

Hello any one can send me npc with s grade recipes?

 

How do you mean that? You need NPC with multisell with all S grade recipes?

 

If so, make a list of recpies you need there (you can find names in item_pch.txt), create your own multisell (in multisell.txt, give it ID 1000+), create some npc (copy existing npc that is merchant in npcdata.txt and npc_pch.txt), create AI class for it (can be just empty class derived from citizen) or set it's class to be just citizen and create html for it that will contain

<a action="bypass -h menu_select?ask=-303&reply=YOURMULTISELLID">Buy recipes</a>

Link to comment
Share on other sites

  • 0
23 minutes ago, icarka said:

yeah i need npc with s grade recipes armor and weps

 

Then you need to do following:

  1. Decide whether you really need brand new NPC - it's MUCH easier to do with existing NPC. If you can use existing NPC, go to step 8
  2. Decide which NPC you will copy - just find proper NPC that suits you and pick a new name for it, I'll use recipe_seller as name on server side in this example (generally you can pick name as you need but use only small letters, numbers and underscore "_" character)
  3. Get some tools to edit client stuff
  4. Client - edit npcgrp.dat and npcname-e.dat
    1. find the original NPC you're copying
    2. copy it and give it unique ID (for example 32000)
    3. in npcname-e.dat also change the name; don't change anything else
  5. Server - edit npcdata.txt and npc_pch.txt, again as in client
    1. find the original NPC you're copying
    2. copy the line and give it same ID as in client (32000)
    3. in both npcdata.txt and npc_pch.txt pick change name to recipe_seller
    4. in npcdata.txt change npc_ai=... to npc_ai={[citizen];{[fnHi]=[recipe_seller.htm];{[MoveAroundSocial]=0};{MoveAroundSocial1]=90}}
  6. Server - create html/recipe_seller.htm and use this link there:
    <a action="bypass -h menu_select?ask=-303&reply=1000">Buy recipes</a>

     

  7. Now continue with step 9
  8. Select some NPC where you want to add the multisell and find it's HTML file in html/ folder, add link from step 6 there
  9. Create your multisell - edit multisell.txt and add this (and change price etc, also _i versions are 60/70%, the other ones are 100% - use what you need):
    MultiSell_begin	[s_recipes] 1000
    is_dutyfree = 1
    selllist={
    {{{[[rp_sealed_sanddragon's_earing_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_sanddragon's_earing];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_ring_of_aurakyria_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_ring_of_aurakyria];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_dragon_necklace_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_dragon_necklace];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_armor_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_armor];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_gaiters_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_gaiters];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_gauntlet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_gauntlet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_shield_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_shield];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_helmet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_helmet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_armor_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_armor];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_gloves_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_gloves];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_helmet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_helmet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_robe_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_robe];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_gloves_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_gloves];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_hood_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_hood];1}};{{[adena];10000000}}};
    {{{[[rp_forgotten_blade_i];1}};{{[adena];1000000}}};
    {{{[[rp_forgotten_blade];1}};{{[adena];10000000}}};
    {{{[[rp_basalt_battlehammer_i];1}};{{[adena];1000000}}};
    {{{[[rp_basalt_battlehammer];1}};{{[adena];10000000}}};
    {{{[[rp_imperial_staff_i];1}};{{[adena];1000000}}};
    {{{[[rp_imperial_staff];1}};{{[adena];10000000}}};
    {{{[[rp_angel_slayer_i];1}};{{[adena];1000000}}};
    {{{[[rp_angel_slayer];1}};{{[adena];10000000}}};
    {{{[[rp_shining_bow_i];1}};{{[adena];1000000}}};
    {{{[[rp_shining_bow];1}};{{[adena];10000000}}};
    {{{[[rp_dragon_hunter_axe_i];1}};{{[adena];1000000}}};
    {{{[[rp_dragon_hunter_axe];1}};{{[adena];10000000}}};
    {{{[[rp_saint_spear_i];1}};{{[adena];1000000}}};
    {{{[[rp_saint_spear];1}};{{[adena];10000000}}};
    {{{[[rp_demon_splinter_i];1}};{{[adena];1000000}}};
    {{{[[rp_demon_splinter];1}};{{[adena];10000000}}};
    {{{[[rp_heavens_divider_i];1}};{{[adena];1000000}}};
    {{{[[rp_heavens_divider];1}};{{[adena];10000000}}};
    {{{[[rp_arcana_mace_i];1}};{{[adena];1000000}}};
    {{{[[rp_arcana_mace];1}};{{[adena];10000000}}}
    }
Edited by eressea
Link to comment
Share on other sites

  • 0
On 24.11.2017 at 7:44 PM, eressea said:

 

Then you need to do following:

  1. Decide whether you really need brand new NPC - it's MUCH easier to do with existing NPC. If you can use existing NPC, go to step 8
  2. Decide which NPC you will copy - just find proper NPC that suits you and pick a new name for it, I'll use recipe_seller as name on server side in this example (generally you can pick name as you need but use only small letters, numbers and underscore "_" character)
  3. Get some tools to edit client stuff
  4. Client - edit npcgrp.dat and npcname-e.dat
    1. find the original NPC you're copying
    2. copy it and give it unique ID (for example 32000)
    3. in npcname-e.dat also change the name; don't change anything else
  5. Server - edit npcdata.txt and npc_pch.txt, again as in client
    1. find the original NPC you're copying
    2. copy the line and give it same ID as in client (32000)
    3. in both npcdata.txt and npc_pch.txt pick change name to recipe_seller
    4. in npcdata.txt change npc_ai=... to npc_ai={[citizen];{[fnHi]=[recipe_seller.htm];{[MoveAroundSocial]=0};{MoveAroundSocial1]=90}}
  6. Server - create html/recipe_seller.htm and use this link there:
    
    <a action="bypass -h menu_select?ask=-303&reply=1000">Buy recipes</a>

     

  7. Now continue with step 9
  8. Select some NPC where you want to add the multisell and find it's HTML file in html/ folder, add link from step 6 there
  9. Create your multisell - edit multisell.txt and add this (and change price etc, also _i versions are 60/70%, the other ones are 100% - use what you need):
    
    MultiSell_begin	[s_recipes] 1000
    is_dutyfree = 1
    selllist={
    {{{[[rp_sealed_sanddragon's_earing_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_sanddragon's_earing];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_ring_of_aurakyria_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_ring_of_aurakyria];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_dragon_necklace_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_dragon_necklace];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_armor_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_armor];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_gaiters_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_gaiters];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_gauntlet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_gauntlet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_shield_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_shield];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_imperial_crusader_helmet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_imperial_crusader_helmet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_armor_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_armor];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_gloves_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_gloves];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_draconic_leather_helmet_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_draconic_leather_helmet];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_robe_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_robe];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_gloves_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_gloves];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_boots_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_boots];1}};{{[adena];10000000}}};
    {{{[[rp_sealed_major_arcana_hood_i];1}};{{[adena];1000000}}};
    {{{[[rp_sealed_major_arcana_hood];1}};{{[adena];10000000}}};
    {{{[[rp_forgotten_blade_i];1}};{{[adena];1000000}}};
    {{{[[rp_forgotten_blade];1}};{{[adena];10000000}}};
    {{{[[rp_basalt_battlehammer_i];1}};{{[adena];1000000}}};
    {{{[[rp_basalt_battlehammer];1}};{{[adena];10000000}}};
    {{{[[rp_imperial_staff_i];1}};{{[adena];1000000}}};
    {{{[[rp_imperial_staff];1}};{{[adena];10000000}}};
    {{{[[rp_angel_slayer_i];1}};{{[adena];1000000}}};
    {{{[[rp_angel_slayer];1}};{{[adena];10000000}}};
    {{{[[rp_shining_bow_i];1}};{{[adena];1000000}}};
    {{{[[rp_shining_bow];1}};{{[adena];10000000}}};
    {{{[[rp_dragon_hunter_axe_i];1}};{{[adena];1000000}}};
    {{{[[rp_dragon_hunter_axe];1}};{{[adena];10000000}}};
    {{{[[rp_saint_spear_i];1}};{{[adena];1000000}}};
    {{{[[rp_saint_spear];1}};{{[adena];10000000}}};
    {{{[[rp_demon_splinter_i];1}};{{[adena];1000000}}};
    {{{[[rp_demon_splinter];1}};{{[adena];10000000}}};
    {{{[[rp_heavens_divider_i];1}};{{[adena];1000000}}};
    {{{[[rp_heavens_divider];1}};{{[adena];10000000}}};
    {{{[[rp_arcana_mace_i];1}};{{[adena];1000000}}};
    {{{[[rp_arcana_mace];1}};{{[adena];10000000}}}
    }

helpfulness %100 :)

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.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • Whatever @Tryskell said...   Unfortunately it is not 2005-2010 anymore... Most of the community from those days is "grown up" and probably does not play games anymore (or at least no MMOs). I think anything related to MMOs will be a nail in the coffin.   I understand that it is hard to let the thing you've built for years to "just die". I assume most people got into programming, so maybe you can try something in that direction. But then again, this is a very niche community.   We need to think of something to bring the people together. I think events may be really fun, but then you would probably need to add prizes n order for the people to participate.   So yea, just my 2 cents. Hopefully somebody can come up with some great idea so we can revive this place. I've already forgotten it for the last couple (5-6) years...
    • Thats an interface future. You can reach me out about this in discord: xbaus
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices https://campsite.bio/utchihaamkt
    • Both "MMO genre" AND "forums" are greatly deprecated those days. MMO genre, except very few games (TESO, WOW, BDO, FF14), is mostly "eaten" by fast paced games (aka games with 15-30min game parties, they are numerous). See Twitch best games, I doubt the top 10 are MMOs. Adding more MMOs categories, while MMOs themselves got less population, isn't a bright idea. Also, in the past, there was multiple games categories - none actually worked out, so far. Forums type were replaced by Discord, mostly. You communicate faster, you got voice, you can group up and it's already thematized (by server, by guild, by game,...)... Unfortunately, there is nothing you can do about. You already did it multiple times without success (3 or 4 times at least ?). It's not due to staff. MMO forum is just "niche" nowadays, while 20 years ago it was "dope" and the thing to do. Your main problem is MxC is a community based on "nothing". It was first cheater dedicated, then mostly L2 development dedicated,... With a mix of random things here and there. The formula is lightly-themed as "community" (that's actually why you still have some ppl posting), and in same time community never was expanded to retain ppl (notably through MxC servers - no matter the game : L2, GTA, Conan Exiles, Lost Ark, whatever else). In the end, you end with "nothing", since people comes and goes (and mostly goes, since MMO isn't a thing anymore), but both MMO genre is greatly endangered by other types of games AND forums isn't the proper way to communicate in 2024. Actually, the only use of a forums compared to Discord is to search through archives, and the main point is it's a better "showcase" than Discord (a static website would end with the same output). The proposed formula will never work, or at best will attract greedy ppl.
    • Welcome to my store :https://ultrasstore11.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord :@ultrasstore11 Telegram : https://t.me/ultrastore11  
  • Topics

×
×
  • Create New...