![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2006
Posts: 11
|
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 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 338
|
Your htm file must be saved on unicode and not ANSI, resave it on unicode
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2006
Posts: 11
|
i will try
thank you ![]() working now
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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 ;-)))) |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2006
Posts: 163
|
I just cant understand how to save html In UNICODE?!?!?! ... i need a program or something? ....
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2006
Posts: 136
|
Use some adv text editor like Ultra Edit
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
Notepad -> File -> Save As... -> Unicode!!
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jun 2006
Posts: 163
|
Thx Mcrabben
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Feb 2006
Posts: 136
|
Notepad sux! and gg with open AI on it or find something
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Nov 2006
Posts: 204
|
yeah just use a notepad like editor ( editplus/notepad++/.. )
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Apr 2006
Posts: 28
|
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|