![]() |
Problem with multiseller
Hi
I just tried to create a multiseller. I made the ai for it, created new .htm files and edited the trader to the npcdata.txt and edited all points there so that the .htm files should be linked to the trader. but when i now summon that npc and click on him his chat window is empty and the normal chat window tells: HTML: npc_name.htm dunno what i missed while creating the trader...if anyone has an solution pls help :) P.S. the ai entry of that merch (shortened) class 1 Adventure_Trader : merchant property_define_begin buyselllist_begin SellList0 {225; 20; 0.000000; 0 } {226; 20; 0.000000; 0 } {232; 20; 0.000000; 0 } {230; 20; 0.000000; 0 } {227; 20; 0.000000; 0 } {233; 20; 0.000000; 0 } {231; 20; 0.000000; 0 } {228; 20; 0.000000; 0 } {243; 20; 0.000000; 0 } {229; 20; 0.000000; 0 } {234; 20; 0.000000; 0 } {235; 20; 0.000000; 0 } {236; 20; 0.000000; 0 } buyselllist_end buyselllist_begin SellList1 {130; 20; 0.000000; 0 } {70; 20; 0.000000; 0 } {72; 20; 0.000000; 0 } {84; 20; 0.000000; 0 } {145; 20; 0.000000; 0 } {74; 20; 0.000000; 0 } {131; 20; 0.000000; 0 } {73; 20; 0.000000; 0 } {133; 20; 0.000000; 0 } {71; 20; 0.000000; 0 } {75; 20; 0.000000; 0 } {77; 20; 0.000000; 0 } {134; 20; 0.000000; 0 } {76; 20; 0.000000; 0 } {132; 20; 0.000000; 0 } {135; 20; 0.000000; 0 } {5286; 20; 0.000000; 0 } {148; 20; 0.000000; 0 } {142; 20; 0.000000; 0 } {79; 20; 0.000000; 0 } {78; 20; 0.000000; 0 } {150; 20; 0.000000; 0 } {151; 20; 0.000000; 0 } {80; 20; 0.000000; 0 } {2500; 20; 0.000000; 0 } {81; 20; 0.000000; 0 } {136; 20; 0.000000; 0 } buyselllist_end . . . buyselllist_begin SellList37 {2393; 20; 0.000000; 0 } {547; 20; 0.000000; 0 } {5769; 20; 0.000000; 0 } {5781; 20; 0.000000; 0 } buyselllist_end buyselllist_begin SellList38 {2400; 20; 0.000000; 0 } {2405; 20; 0.000000; 0 } {547; 20; 0.000000; 0 } {5770; 20; 0.000000; 0 } {5782; 20; 0.000000; 0 } buyselllist_end property_define_end class_end |
Your htm file must be saved on unicode and not ANSI, resave it on unicode
|
i will try
thank you :) working now :) |
I think better way of creating your own shop is:
1. add item to existing NPC 2. create new multisell section and edit any html to point to new multisell section Why? Its easy mode and you can edit html of more traders.. so ppl can buy that items from more places (you will make universal shop that can be accessed from all cities around world).. And remember, all traders are originally in castledata ..for tax rates by Lord owning castle.. If you not put your new npc to castledata .. its "not right".. if yes, its bad too because one castle get advantage ;-)))) |
I just cant understand how to save html In UNICODE?!?!?! ... i need a program or something? ....
|
Use some adv text editor like Ultra Edit
|
Notepad -> File -> Save As... -> Unicode!!
|
Thx Mcrabben
|
Notepad sux! and gg with open AI on it or find something
|
yeah just use a notepad like editor ( editplus/notepad++/.. )
|
Quote:
|
| All times are GMT. The time now is 21:51. |