Add HTML to item

scantraxx7777

Heir
Customer
How do I add HTML dialog or multisell to an item?
I need Shadow Item Exchange Coupon: D Grade (8869) to open the list of weapons directly.

I took Tutorial Guide (5588) as an example, but could not make it work.
gameserver\data\html-en\help\5588.htm
 
i haven't tested it.
i saw this in NPCs. Have you tried it?

<set name="htm_root" value="help/5588.htm" />
 
almost at the finish line. Removed the hardcode of items and functions for them. Same as on the PTS server

item_begin etcitem 5588 [tutorial_guide] item_type=etcitem..................... default_action=action_show_html

5646a6c762d85aec94f0d13a701dd0b8.png
 
Committed to Classic. At morning will commit to IT/Legacy and MultiProtocol
Please If some one read it and see messages from other ppls like: "MOTHER OF GOD!!1111 Dice!!11 harvesting !!!11 BOOKS!!111 " IS STOPPED WORKED AFTER UPDATE!!111111 HELP ME SOME ONE !1111 WHAT A HELL IS GOING ON ??7777

На русском: Если вы видите..... людей которые начинают писать что у них отвалились книги, сбору урожая, кубики, смена внешнего вида и еще ряд предметов. Скинуть данный скрин. Буду премного благодарен

send this....

5c38cee47149bd5c3bc87bf0b663c103.png
 
almost at the finish line. Removed the hardcode of items and functions for them. Same as on the PTS server

item_begin etcitem 5588 [tutorial_guide] item_type=etcitem..................... default_action=action_show_html

5646a6c762d85aec94f0d13a701dd0b8.png
а как предмету указать нужный html?
data/html-ru/mods/1.htm
к примеру. и можно ли вызвать меню какое-то.
например есть команда .tvtjoin она открывает определенный html. можно этот html привязать например к предмету id 33333?
 
а как предмету указать нужный html?
data/html-ru/mods/1.htm
к примеру. и можно ли вызвать меню какое-то.
например есть команда .tvtjoin она открывает определенный html. можно этот html привязать например к предмету id 33333?
А ты создай предмет и кликни, он покажет путь и имя файла который нужно создать. Сделано сразу что бы не было вот таких вот вопросов
 
А ты создай предмет и кликни, он покажет путь и имя файла который нужно создать. Сделано сразу что бы не было вот таких вот вопросов
Понял, спасибо)
 
Ты уже реализовал такое?) Я может в глаза долблюсь, а как открывать допустим не html а мультиселл по нажатию?
Не добавлял, переносил только функционал птс. Кастомное решение есть в сервер дев ветке
 
i was be able to make this coupon item (7833) to open shadow weapon multisell 200, when using gm char can do the exchange, but when using normal char clicked exchange and nothing happen, anyone ever having similar problem with this auction show html function?
 
i was be able to make this coupon item (7833) to open shadow weapon multisell 200, when using gm char can do the exchange, but when using normal char clicked exchange and nothing happen, anyone ever having similar problem with this auction show html function?
maybe you have something wrong with id 7833
 
Back
Top