Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Problem with multiseller (https://postpacific.mmorpg-game.online/showthread.php?t=6021)

Lithrian 15.10.2006 17:50

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

mantrastic 15.10.2006 17:55

Your htm file must be saved on unicode and not ANSI, resave it on unicode

Lithrian 15.10.2006 18:03

i will try
thank you :)

working now :)

rodier 16.10.2006 17:07

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 ;-))))

AsterisKSM 08.12.2006 22:00

I just cant understand how to save html In UNICODE?!?!?! ... i need a program or something? ....

empathon 09.12.2006 00:52

Use some adv text editor like Ultra Edit

mcrabben7 09.12.2006 01:50

Notepad -> File -> Save As... -> Unicode!!

AsterisKSM 09.12.2006 12:43

Thx Mcrabben

empathon 09.12.2006 13:01

Notepad sux! and gg with open AI on it or find something

dirkr 09.12.2006 13:48

yeah just use a notepad like editor ( editplus/notepad++/.. )

Lockbete 09.12.2006 13:51

Quote:

Originally Posted by empathon (Post 73771)
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.


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