View Full Version : 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?
https://postpacific.loc-online.com/forum/viewtopic.php?t=5682
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">
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
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:
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}}};
{{;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[b]}}};
{{;3};{{[mouse];1[b]}}}
}
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
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....
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 :)
<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