Post Pacific

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

xarion 25.12.2005 11:00

Event medal - need help
 
[glow=red:803a156167]Itemdata[/glow:803a156167]
Code:

item_begin etcitem        6392  [event__medal] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=1 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=gold crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
item_begin etcitem        6393  [event__glittering_medal] item_type=etcitem slot_bit_type={none} armor_type=none etcitem_type=none blessed=0 weight=0 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=1 spiritshot_count=0 immediate_effect=1 price=0 default_price=0 item_skill=[none] critical_attack_skill=[none] material_type=gold crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end

[glow=red:803a156167]item_pch[/glow:803a156167]
[event__medal] = 6392
[event__glittering_medal] = 6393[/code]
[glow=red:803a156167]npcdata[/glow:803a156167]
Code:

npc_begin  citizen        8228        [roy_the_cat]    level=70 exp=4296345xx.xx5 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=10 race=human sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx4851683855 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=0 collision_radius=9 collision_height=16 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[roy_the_cat];{[fnHi] = [eventmedal001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
npc_begin  citizen        8229        [winnie_the_cat] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=10 race=human sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=24xx.xx818899627 org_mp=1345.8 base_defend=2xx.xx597408024 base_magic_attack=4xx.xx4627426724 base_magic_defend=2xx.xx8467292763 base_physical_attack=6xx.xx4851683855 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=0 collision_radius=9 collision_height=16 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[winnie_the_cat];{[fnHi] = [winnie_the_cat001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end

[glow=red:803a156167]AI.obj [/glow:803a156167]
Code:

class roy_the_cat : citizen
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"fhtml0"
"i0"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41913
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41913
branch_false L41932
L41914
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
push_reg_sp
fetch_i
branch_true L41915
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
or
push_reg_sp
fetch_i
branch_true L41915
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
or
push_reg_sp
fetch_i
branch_true L41915
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6402
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
or
L41915
branch_false L41930
L41916
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8889. "eventmedal004.htm"
push_string S8889
func_call 84 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41922
L41917
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8890. "event_level"
push_string S8890
S8891. "rabbit"
push_string S8891
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8892. "sellid"
push_string S8892
push_const 22
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41929
L41922
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41924
L41923
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8893. "event_level"
push_string S8893
S8894. "hyena"
push_string S8894
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8895. "sellid"
push_string S8895
push_const 23
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41928
L41924
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41926
L41925
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8896. "event_level"
push_string S8896
S8897. "fox"
push_string S8897
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8898. "sellid"
push_string S8898
push_const 24
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41927
L41926
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8899. "event_level"
push_string S8899
S8900. "wolf"
push_string S8900
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8901. "sellid"
push_string S8901
push_const 25
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
L41927
L41928
L41929
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_event // fhtml0
push_const 316
add
fetch_i
func_call 88 // func[ShowFHTML]
shift_sp -2
shift_sp -1
jump L41931
L41930
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8902. "eventmedal005.htm"
push_string S8902
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41931
L41932
handler_end

class_end


class winnie_the_cat : citizen
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"fhtml0"
"i0"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end

push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
branch_false L41966
L41933
push_event // reply
push_const 104
add
fetch_i
push_reg_sp
fetch_i
push_const 1
equal
branch_false L41947
L41934
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6402
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L41945
L41935
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8903. "winnie_the_cat003.htm"
push_string S8903
func_call 84 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41937
L41936
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8904. "event_level"
push_string S8904
S8905. "rabbit"
push_string S8905
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8906. "medal_count"
push_string S8906
push_const 10
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41944
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41939
L41938
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8907. "event_level"
push_string S8907
S8908. "hyena"
push_string S8908
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8909. "medal_count"
push_string S8909
push_const 20
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41943
L41939
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41941
L41940
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8910. "event_level"
push_string S8910
S8911. "fox"
push_string S8911
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8912. "medal_count"
push_string S8912
push_const 40
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
jump L41942
L41941
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8913. "event_level"
push_string S8913
S8914. "no level"
push_string S8914
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8915. "medal_count"
push_string S8915
push_const 5
func_call 85 // func[FHTML_SetInt]
shift_sp -3
shift_sp -1
L41942
L41943
L41944
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_event // fhtml0
push_const 316
add
fetch_i
func_call 88 // func[ShowFHTML]
shift_sp -2
shift_sp -1
jump L41946
L41945
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8916. "winnie_the_cat002.htm"
push_string S8916
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41946
jump L41965
jump L41948
L41947
push_reg_sp
fetch_i
push_const 4
equal
branch_false L41963
L41948
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6402
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L41962
L41949
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41951
L41950
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 10
assign
shift_sp -1
jump L41958
L41951
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41953
L41952
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 20
assign
shift_sp -1
jump L41957
L41953
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41955
L41954
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 40
assign
shift_sp -1
jump L41956
L41955
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 5
assign
shift_sp -1
L41956
L41957
L41958
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6393
func_call 81 // func[OwnItemCount]
shift_sp -2
push_event // i0
push_const 192
add
fetch_i
greater_equal
branch_false L41960
L41959
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8917. "winnie_the_cat004.htm"
push_string S8917
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41961
L41960
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8918. "winnie_the_cat005.htm"
push_string S8918
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41961
L41962
jump L41964
L41963
L41964
L41965
shift_sp -1
jump L42008
L41966
push_event // ask
push_const 100
add
fetch_i
push_const 2
negate
equal
branch_false L42007
L41967
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6402
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L42006
L41968
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41970
L41969
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 10
assign
shift_sp -1
jump L41977
L41970
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41972
L41971
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 20
assign
shift_sp -1
jump L41976
L41972
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41974
L41973
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 40
assign
shift_sp -1
jump L41975
L41974
push_event // i0
push_const 192
add
push_reg_sp
fetch_i
push_const 5
assign
shift_sp -1
L41975
L41976
L41977
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6393
func_call 81 // func[OwnItemCount]
shift_sp -2
push_event // i0
push_const 192
add
fetch_i
greater_equal
branch_false L42005
L41978
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6393
push_event // i0
push_const 192
add
fetch_i
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_const 100
func_call 55 // func[Rand]
shift_sp -1
push_const 50
greater
branch_false L42000
L41979
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L41981
L41980
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8919. "winnie_the_cat008.htm"
push_string S8919
func_call 84 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
jump L41982
L41981
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8920. "winnie_the_cat009.htm"
push_string S8920
func_call 84 // func[FHTML_SetFileName]
shift_sp -2
shift_sp -1
L41982
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41986
L41983
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
func_call 81 // func[OwnItemCount]
shift_sp -2
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8921. "event_level"
push_string S8921
S8922. "hyena"
push_string S8922
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L41985
L41984
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8923. "event_level2"
push_string S8923
S8924. "hyena"
push_string S8924
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
L41985
jump L41999
L41986
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41990
L41987
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6400
func_call 81 // func[OwnItemCount]
shift_sp -2
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8925. "event_level"
push_string S8925
S8926. "fox"
push_string S8926
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L41989
L41988
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8927. "event_level2"
push_string S8927
S8928. "fox"
push_string S8928
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
L41989
jump L41998
L41990
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
not_equal
branch_false L41994
L41991
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6401
func_call 81 // func[OwnItemCount]
shift_sp -2
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6402
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8929. "event_level"
push_string S8929
S8930. "wolf"
push_string S8930
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L41993
L41992
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8931. "event_level2"
push_string S8931
S8932. "wolf"
push_string S8932
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
L41993
jump L41997
L41994
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 6399
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8933. "event_level"
push_string S8933
S8934. "rabbit"
push_string S8934
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L41996
L41995
shift_sp 1
push_event // fhtml0
push_const 316
add
fetch_i
S8935. "event_level2"
push_string S8935
S8936. "rabbit"
push_string S8936
func_call 87 // func[FHTML_SetStr]
shift_sp -3
shift_sp -1
L41996
L41997
L41998
L41999
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_event // fhtml0
push_const 316
add
fetch_i
func_call 88 // func[ShowFHTML]
shift_sp -2
shift_sp -1
jump L42004
L42000
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
branch_false L42002
L42001
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8937. "winnie_the_cat006.htm"
push_string S8937
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L42003
L42002
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S8938. "winnie_the_cat007.htm"
push_string S8938
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L42003
L42004
L42005
L42006
L42007
L42008
handler_end

class_end

[glow=red:803a156167]Multisell[/glow:803a156167]
Code:

// for Roy the Cat
MultiSell_begin [event_medal_1] 65
selllist={{{[l2day_scroll_of_wind_walk];1};{{[event__medal];5}}};
{{[l2day_scroll_of_haste];1};{{[event__medal];10}}};
{{[l2day_scroll_of_greater_acumen];1};{{[event__medal];10}}};
{{[greater_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}};
{{[scrl_of_ench_am_a];1};{{[event__medal];833}}};
{{[scrl_of_ench_wp_a];1};{{[event__medal];3000}}}}
MultiSell_end

when i click trade the medals - client disconected with a CE and server popup

[highlight=red:803a156167]ObjectDB.cpp[182] undefined(or unregistered)ClassID[6403]

ObjectDB.cpp[3763] CreateItem failed (Get object failed)[/highlight:803a156167]

dar55 25.12.2005 12:33

I dont know why 6403, but you have this in itemdata.txt?
Code:

item_begin        questitem  6399  [badge_of_rabbit]  item_type=questitem  slot_bit_type={none}  armor_type=none  etcitem_type=none  blessed=0  weight=0  default_action=action_none  consume_type=consume_type_stackable  initial_count=1  maximum_count=1  spiritshot_count=0  immediate_effect=1  price=0  default_price=0  item_skill=[none]  critical_attack_skill=[none]  material_type=gold  crystal_type=none  crystal_count=0  is_trade=1  is_drop=1  is_destruct=1  physical_damage=0  random_damage=0  weapon_type=none  can_penetrate=0  critical=0  hit_modify=0  avoid_modify=0  dual_fhit_rate=0  shield_defense_rate=0  attack_range=0  effective_range=0  damage_range={}  attack_speed=0  reuse_delay=0  mp_consume=0  magical_damage=0  durability=100  physical_defense=0  magical_defense=0  mp_bonus=0  category={}  enchanted=0  html=[item_default.htm]  equip_pet={0}  magic_weapon=0  item_end
item_begin        questitem  6400  [badge_of_hyena]  item_type=questitem  slot_bit_type={none}  armor_type=none  etcitem_type=none  blessed=0  weight=0  default_action=action_none  consume_type=consume_type_stackable  initial_count=1  maximum_count=1  spiritshot_count=0  immediate_effect=1  price=0  default_price=0  item_skill=[none]  critical_attack_skill=[none]  material_type=gold  crystal_type=none  crystal_count=0  is_trade=1  is_drop=1  is_destruct=1  physical_damage=0  random_damage=0  weapon_type=none  can_penetrate=0  critical=0  hit_modify=0  avoid_modify=0  dual_fhit_rate=0  shield_defense_rate=0  attack_range=0  effective_range=0  damage_range={}  attack_speed=0  reuse_delay=0  mp_consume=0  magical_damage=0  durability=100  physical_defense=0  magical_defense=0  mp_bonus=0  category={}  enchanted=0  html=[item_default.htm]  equip_pet={0}  magic_weapon=0  item_end
item_begin        questitem  6401  [badge_of_fox]  item_type=questitem  slot_bit_type={none}  armor_type=none  etcitem_type=none  blessed=0  weight=0  default_action=action_none  consume_type=consume_type_stackable  initial_count=1  maximum_count=1  spiritshot_count=0  immediate_effect=1  price=0  default_price=0  item_skill=[none]  critical_attack_skill=[none]  material_type=gold  crystal_type=none  crystal_count=0  is_trade=1  is_drop=1  is_destruct=1  physical_damage=0  random_damage=0  weapon_type=none  can_penetrate=0  critical=0  hit_modify=0  avoid_modify=0  dual_fhit_rate=0  shield_defense_rate=0  attack_range=0  effective_range=0  damage_range={}  attack_speed=0  reuse_delay=0  mp_consume=0  magical_damage=0  durability=100  physical_defense=0  magical_defense=0  mp_bonus=0  category={}  enchanted=0  html=[item_default.htm]  equip_pet={0}  magic_weapon=0  item_end
item_begin        questitem  6402  [badge_of_wolf]  item_type=questitem  slot_bit_type={none}  armor_type=none  etcitem_type=none  blessed=0  weight=0  default_action=action_none  consume_type=consume_type_stackable  initial_count=1  maximum_count=1  spiritshot_count=0  immediate_effect=1  price=0  default_price=0  item_skill=[none]  critical_attack_skill=[none]  material_type=gold  crystal_type=none  crystal_count=0  is_trade=1  is_drop=1  is_destruct=1  physical_damage=0  random_damage=0  weapon_type=none  can_penetrate=0  critical=0  hit_modify=0  avoid_modify=0  dual_fhit_rate=0  shield_defense_rate=0  attack_range=0  effective_range=0  damage_range={}  attack_speed=0  reuse_delay=0  mp_consume=0  magical_damage=0  durability=100  physical_defense=0  magical_defense=0  mp_bonus=0  category={}  enchanted=0  html=[item_default.htm]  equip_pet={0}  magic_weapon=0  item_end

P.S. <rus> насчет кода со страйдером, сори руки пока не дошли, завтра постараюсь сделать и отправлю в ПМ.<rus>

xarion 25.12.2005 12:37

/ru Да, эти айтемы есть в моей айтемдате /ru

Yes

Flamestrike 25.12.2005 19:25

You made something wrong from the beginning. The Event Medal Quest is working good for me

xarion 27.12.2005 16:04

Maybe thi is client problem?
Maybe client is old?:(

RomanKazancew 31.12.2005 13:57

Help
 
need help.

client crash when i click -> I want to trade a medal for prize. Whats up?

/rus/
помогите плиз, когда в игре жму получить призы клиент вылетает.
пишет вот что:

OS: Windows XP 5.1 (Build: 2600)
CPU: GenuineIntel Unknown processor @ 3004 MHz with 1023MB RAM
Video: NVIDIA GeForce FX 5200 (8185)

General protection fault!

History: UNetworkHandler::Tick <- Function Name=MultiSellListPa <- UGameEngine::Tick <- UpdateWorld <- MainLoop

/rus/

i use server PPL2C_v1.0.rar

Flamestrike 01.01.2006 01:00

Check your MultiSell listings. Maybe something is miss-typed.

Aspire 01.01.2006 10:36

Клиент 530 протокола? Скорее всего нет, исполюзуй поиск тут уже лечили мультиселл в других версиях клиента. Похоже у тебя именно эта проблема. Проверить легко, через твой клиент и дуалы не должны делаться - просто выкинет когда нажмешь просмотр листа.

RomanKazancew 01.01.2006 14:11

help
 
My client is 555 protokol
Server patched 555 protokol

If i unpached server(555-->530) and use client(530p) my client work ok. Multisell ok.
I not see mrdal's, in a shop list another stuff(gloves).
Client replace small cat on big white rabbit. :-)

/rus/
У меня клиент на 555 есть и 530 и 560(папки систем) но работает сервер только с 530 и 555 более менее. Проверил на 530 протоколе и сервер и клиент, вроде как работает но вместо того что прописано в мултиселле показывает вообще не то. Вместо малньких кошаков два кролика здоровых и хтмл и все вроде поправил...
/rus/


Sorry my English. :-(

Aspire 01.01.2006 16:23

С клиентской стороны нет этих НПСов в npcname-e.dat и npcgrp.dat поэтому и зайцы, аналогично может быть и с итемами, написано одно - видишь - другое, по id надо сверять.

на английский переводить не буду, все равно для русского пишу =)

xarion 08.01.2006 09:03

This is client problem, need 555 client protocol, or patch system for itemdat,name etc.
/ru Это проблема клиента /ru

Flamestrike 10.01.2006 01:31

For one thing the error says that you get disconnected by the MultiSell
so check it for errors or smth was not written well.
As for second if you see black squares, update ur client to 530
and also add the c4 textures and you`ll be just fine.
I have the Event Medal with drops updated and everything works just fine.


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