Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 15.10.2006, 17:50   #1
Lithrian
Архивный участник
 
Join Date: Jun 2006
Posts: 11
Default 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
Lithrian is offline  
Old 15.10.2006, 17:55   #2
mantrastic
Архивный участник
 
Join Date: Apr 2006
Posts: 338
Default

Your htm file must be saved on unicode and not ANSI, resave it on unicode
mantrastic is offline  
Old 15.10.2006, 18:03   #3
Lithrian
Архивный участник
 
Join Date: Jun 2006
Posts: 11
Default

i will try
thank you

working now
Lithrian is offline  
Old 16.10.2006, 17:07   #4
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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 ;-))))
rodier is offline  
Old 08.12.2006, 22:00   #5
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

I just cant understand how to save html In UNICODE?!?!?! ... i need a program or something? ....
AsterisKSM is offline  
Old 09.12.2006, 00:52   #6
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

Use some adv text editor like Ultra Edit
empathon is offline  
Old 09.12.2006, 01:50   #7
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Notepad -> File -> Save As... -> Unicode!!
mcrabben7 is offline  
Old 09.12.2006, 12:43   #8
AsterisKSM
Архивный участник
 
Join Date: Jun 2006
Posts: 163
Default

Thx Mcrabben
AsterisKSM is offline  
Old 09.12.2006, 13:01   #9
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

Notepad sux! and gg with open AI on it or find something
empathon is offline  
Old 09.12.2006, 13:48   #10
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

yeah just use a notepad like editor ( editplus/notepad++/.. )
dirkr is offline  
Old 09.12.2006, 13:51   #11
Lockbete
Архивный участник
 
Join Date: Apr 2006
Posts: 28
Default

Quote:
Originally Posted by empathon View Post
Notepad sux! and gg with open AI on it or find something
When did anyone say anything about open AI with notepad? they were talking about making HTML's and save it as unicode. Maybe read all the posts before replying? I don't know thats just an idea tho.
Lockbete is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:15.