View Full Version : question shops
how i can add items in shops wich is the shop file i guess not the multisell.txt because i dont see were is the npc and the items pls help
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 12:55 PM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
how i can add items in shops wich is the shop file i guess not the multisell.txt because i dont see were is the npc and the items pls help
Search it on AI.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 01:47 PM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
class 1 stany : merchant
property_define_begin
buyselllist_begin SellList0
// Mystic Weapons
{176; 10; 0.000000; 0 } // Journeyman's Staff
{310; 10; 0.000000; 0 } // Relic of The Saints
{177; 10; 0.000000; 0 } // Mage Staff
{311; 10; 0.000000; 0 } // Crucifix of Blessing
{100; 10; 0.000000; 0 } // Voodoo Doll
{178; 10; 0.000000; 0 } // Bone Staff
{101; 10; 0.000000; 0 } // Scroll of Wisdom
{7885; 10; 0.000000; 0 } // Priest Sword
{312; 10; 0.000000; 0 } // Branch of Life
{314; 10; 0.000000; 0 } // Proof of Revenge
{179; 10; 0.000000; 0 } // Mace of Prayer
{182; 10; 0.000000; 0 } // Doom Hammer
{183; 10; 0.000000; 0 } // Mystic Staff
{185; 10; 0.000000; 0 } // Staff of Mana
{315; 10; 0.000000; 0 } // Divine Tome
{83; 10; 0.000000; 0 } // Sword of Magic
{143; 10; 0.000000; 0 } // Sword of Mystic
{144; 10; 0.000000; 0 } // Sword of Occult
{238; 10; 0.000000; 0 } // Dagger of Mana
{239; 10; 0.000000; 0 } // Mystic Knife
{240; 10; 0.000000; 0 } // Conjurer's Knife
{241; 10; 0.000000; 0 } // Shilen Knife
{186; 10; 0.000000; 0 } // Staff of Magic
{316; 10; 0.000000; 0 } // Blood of Saint
{317; 10; 0.000000; 0 } // Tome of Blood
{90; 10; 0.000000; 0 } // Goat Head Staff
{7886; 10; 0.000000; 0 } // Sword of Magic Fog
{7890; 10; 0.000000; 0 } // Priest Mace
{318; 10; 0.000000; 0 } // Crucifix of Blood
{321; 10; 0.000000; 0 } // Demon Fangs
{17; 10; 0.000000; 0 } // Wooden Arrow
{1341; 10; 0.000000; 0 } // Bone Arrow
{1342; 10; 0.000000; 0 } // Fine Steel Arrow
buyselllist_end
property_define_end
that are the AI from the weapon seller for mage class, city of giran.
just put the ID por the new items in the list.
{79; 10; 0.000000; 0 } // now you are selling a sword of damascus ;P.
{78; 10; 0.000000; 0 } // great sword, and so on!
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 02:40 PM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
this is the line where npc sells the item i got that but i wanna understand every value that is between {}
{176; 10; 0.000000; 0 } Journeyman Staff
{176; = ?
10; = ?
0.000000; = ?
0 = ? }
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-31-2009, 05:22 AM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
Only thing you need to worry about is the first
1. ItemID
2. City Tax Rate
3. Time in Hours for renewed item w/ Limit
4. Item Limit (0 = no limit)
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-31-2009, 06:07 AM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
Only thing you need to worry about is the first
1. ItemID
2. City Tax Rate
3. Time in Hours for renewed item w/ Limit
4. Item Limit (0 = no limit)
The last 2 are basically used on Clan Hall npcs.
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-31-2009, 07:00 AM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).
thanks i will start tomorow to add in ai.obj new items hb when ill end ill share new ai.obj
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-31-2009, 07:34 AM. Открыть источник (https://web.archive.org/web/20100324120449id_/http://www.postpacific.com:80/archive/index.php/t-167.html).