View Single Post
Old 31.05.2005, 13:04   #18
deathz0r
Архивный участник
 
Join Date: May 2005
Posts: 31
Default I went trough all that

I learned to be very carefull when editing multisell.txt
and that was on c1. it's case sensitive and sometimes
the items names are diferent, ej. blue_wolve's_breastplate
its a right name even though one could think it wouldn't
recognize the " ' " and for god sake be carefull with the { }
=)

Anyways, knowing if it is a syntax problem its quite easy cuz you'll
get

[highlight=red:87864dc8ff]
[Multisell.cpp] [197] Parsin Multisell file failed[/highlight:87864dc8ff]

and then when you open a NPC store that calls for the multisell it
won´t necessarily crash but it wont show anything... the dwarf could crash
your client though.
Try to Use Ultraedit32 to work with
these files, its pretty handy and the search feature is way better than notepad.

Also i think you got it all wrong
you need to call for the LINE NUMBER where the item string info is, not the
numbre beside Multisell_begin

EJ:
Code:
//명품관 무기		
MultiSell_begin	[blackmerchant_weapon]	1
selllist={{{[flamberge];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[stormbringer];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[sword_of_delusion];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[sword_of_desert];1};{{[crystal_b];723};{[crystal_c];1808}}};
{{[war_pick];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[war_axe];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[heavy_war_axe];1};{{[crystal_b];723};{[crystal_c];1808}}};		
{{[crystal_staff];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[sage's_staff];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[sprite's_staff];1};{{[crystal_b];723};{[crystal_c];1808}}};		
{{[cursed_dagger];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[dark_screamer];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[hell_knife];1};{{[crystal_b];723};{[crystal_c];1808}}};		
{{[chakram];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[fist_blade];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[pata];1};{{[crystal_b];723};{[crystal_c];1808}}};
{{[crystallized_ice_bow];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[akat_long_bow];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[dark_elven_long_bow];1};{{[crystal_b];723};{[crystal_c];1808}}};		
{{[orcish_glaive];1};{{[crystal_c];573};{[crystal_d];2865}}};		
{{[poleaxe];1};{{[crystal_c];1075};{[crystal_d];5375}}};		
{{[great_axe];1};{{[crystal_b];723};{[crystal_c];1808}}}}		
MultiSell_end		
//명품관 방어구		
MultiSell_begin	[blackmerchant_armor]	2
in here if you want to call for the "pata" item
youll need to use:

Code:
 <a action="bypass -h menu_select?ask=-9&reply=16">
now, count the lines starting from SELLLIST and you'll see
the line 16 is where the pata item is.

BTW, the Multisell_Begin line doesnt count, neither blank spaces
or Multisell_End or the // lines. that is. you must count "lines" as
valid items.

Hope this clears out everything.


And i have a question:
what are those new items on the ProjectC2 Beta3 Final Multisell.txt
i mean where are they being sold?
deathz0r is offline