Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   How work Multisell in C4 (https://postpacific.loc-online.com/showthread.php?t=5400)

BeTePok 13.08.2006 17:23

How work Multisell in C4
 
In c1 work <a action="bypass -h multisell?id=4">
In c4 it's work with ask reply
Question
How made new multisell in c4?

TuMBLer 13.08.2006 17:58

https://postpacific.loc-online.com/f...pic.php?t=5682

FidoW 13.08.2006 18:02

func[ShowMultisell]
func_call 184680529


In citizen class .. in MENU_SELECTED handler... you can see.... if (ask = -303) .... more code... ShowMultisell(reply, talker);

so you can open a multisell in any NPC with <a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID">

BeTePok 13.08.2006 18:10

Big thx FidoW

Lithrian 25.10.2006 22:49

Can u make a complete list of things that i have to do for making multiseller pls? i tried hard but it never worked. when i linked the multisell.txt to a trader the shop didnt open..even not when i took the blacksmith of mammon with a completed multisell :(

thx

rodier 29.10.2006 00:46

then you make something wrong, because its REALLY EASY.
Simply edit any trader html and write there this:
<a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID">NEW MENU WITH ITEM FOR SALE</a>

now edit multisell.txt and make new section there:
Code:

MultiSell_begin MULTISELL_ID
selllist={
{{[mold_lubricant];10};{{[mouse];1}}};
{{[mold_glue];15};{{[mouse];1}}};
{{[enria];15};{{[mouse];1}}};
{{[asofe];20};{{[mouse];1}}};
{{[scrl_of_ench_wp_a];1};{{[mouse];20}}};
{{[scrl_of_ench_am_a];1};{{[mouse];5}}};
{{[scrl_of_ench_wp_b];1};{{[mouse];6}}};
{{[scrl_of_ench_wp_c];1};{{[mouse];1}}};
{{[blessed_scroll_of_resurrection];2};{{[mouse];1}}};
{{[l2day_scroll_of_empower];3};{{[mouse];1}}};
{{[l2day_scroll_of_haste];3};{{[mouse];1}}};
{{[l2day_scroll_of_greater_acumen];3};{{[mouse];1}}};
{{[l2day_scroll_of_death_whisper];3};{{[mouse];1}}};
{{[blessed_scroll_of_escape];3};{{[mouse];1}}}
}

MultiSell_end

Remember, the multisell_Id must be number
remember last line of section must have 4x } .. all other 3x} + 1x;

AsterisKSM 29.10.2006 23:37

Quote:

Originally Posted by BeTePok (Post 64731)
In c1 work <a action="bypass -h multisell?id=4">
In c4 it's work with ask reply
Question
How made new multisell in c4?

why it doesent work for me?<a action="bypass -h multisell?id=4"> i use an C1-C4 Modded... :(


I klick On The List and it doesent work...

Lithrian 31.10.2006 16:15

i tried it but its still not working. i created new section in multisell.txt and linked it with a htm but when i click the link in game nothing happens....

Xoleum 12.11.2006 10:08

Quote:

Originally Posted by Lithrian (Post 71156)
i tried it but its still not working. i created new section in multisell.txt and linked it with a htm but when i click the link in game nothing happens....

Having the same problem.

Lithrian 12.11.2006 12:38

so i managed to create one.
xoleum make backup of the multisell.txt, delete all the other entrys in the original multisell so that u only have the entry of ur own multiseller. then try if it works this way. if yes some other entry of ur multisell is broken. if not, check if u really made everything right. check if have a ; in the last line and if yes delete it. check if u wrote all the itemnames properly, check if u have ; everywhere they are needed, check if u have as many { as }.and make sure u restart server after u edited multisell.txt. i had some of these errors and now my multisell works fine :)

didu 12.11.2006 15:19

<a action="bypass -h menu_select?ask=-303&reply=MULTISELL_ID">

Why can i say the menu_select?ask= is -303 ??

Lithrian 13.11.2006 18:17

because it is so :D
its set so for the c4 servers....no paticular reason why....just for fun i guess....perhaps someone was bored and thought about such thing....u only need to know that is so everytime u wanna link to multisell....server knows then what he has to do


All times are GMT. The time now is 16:26.