I use the X1.8 service side to add a new map to the server, because this map encoding is 79, so direct use of the M-key transmission is not easy to achieve, so I want to use NPC to solve this problem, but I add NPC at the client can not trigger the NPC dialogue process, whether someone can help me to answer ...
extra_obj.enc :
<extra_stuff ID="17" filename="character\w3warp.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2200" rotate="0,161,0" scale="1,1,1" disable_cell_radius="1" stuff_id="8" name="extra_npc_0127" npc_id="85" npc_tag="0" npc_type="7" />
</extra_stuff>
<extra_stuff ID="18" filename="character\wexpnpc.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2000" rotate="0,255,0" scale="1,1,1" disable_cell_radius="0" stuff_id="1" name="extra_npc_0128" npc_id="86" npc_tag="0" npc_type="7" />
</extra_stuff>
<extra_stuff ID="19" filename="character\wRMS.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1100,0,2000" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="87" npc_tag="0" npc_type="6" /> <extra_entity type="1" pos="1100,0,1800" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="88" npc_tag="0" npc_type="6" />
</extra_stuff>
script.enc :
<phrase id="7353" cont="17078"> <child cont="17079" order="1" link_id="-1"> <event order="1" id="194" param="87" /> </child> </phrase>
<phrase id="7354" cont="17080"> <child cont="17081" order="1" link_id="-1"> <event order="1" id="194" param="88" /> </child> </phrase>
<npc_script id="863" world_id="1" npc_id="85"> <npc_case id="23" phrase_id="7353" order="4069" /> </npc_script> <npc_script id="864" world_id="1" npc_id="86"> <npc_case id="23" phrase_id="7354" order="4070" /> </npc_script>
script_msg.enc :
<msg id="17078" msg_uid="000000PH__0DF_1_0_1_87" cont="xxx!\ " />
<msg id="17079" msg_uid="000000PH__0DF_1_1_1_87" cont="go" />
<msg id="17080" msg_uid="000000PH__0DF_1_0_1_88" cont="xxx!\ " />
<msg id="17081" msg_uid="000000PH__0DF_1_1_1_88" cont="go" />
I thought that the question should be out in the script. The enc this file, but I don't know how to get to the corresponding npc_case id ='xxxx' and the order='xxx'
extra_obj.enc :
<extra_stuff ID="17" filename="character\w3warp.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2200" rotate="0,161,0" scale="1,1,1" disable_cell_radius="1" stuff_id="8" name="extra_npc_0127" npc_id="85" npc_tag="0" npc_type="7" />
</extra_stuff>
<extra_stuff ID="18" filename="character\wexpnpc.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1300,0,2000" rotate="0,255,0" scale="1,1,1" disable_cell_radius="0" stuff_id="1" name="extra_npc_0128" npc_id="86" npc_tag="0" npc_type="7" />
</extra_stuff>
<extra_stuff ID="19" filename="character\wRMS.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775" > <extra_entity type="1" pos="1100,0,2000" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="87" npc_tag="0" npc_type="6" /> <extra_entity type="1" pos="1100,0,1800" rotate="0,275,0" scale="1,1,1" disable_cell_radius="1" stuff_id="20" name="" npc_id="88" npc_tag="0" npc_type="6" />
</extra_stuff>
script.enc :
<phrase id="7353" cont="17078"> <child cont="17079" order="1" link_id="-1"> <event order="1" id="194" param="87" /> </child> </phrase>
<phrase id="7354" cont="17080"> <child cont="17081" order="1" link_id="-1"> <event order="1" id="194" param="88" /> </child> </phrase>
<npc_script id="863" world_id="1" npc_id="85"> <npc_case id="23" phrase_id="7353" order="4069" /> </npc_script> <npc_script id="864" world_id="1" npc_id="86"> <npc_case id="23" phrase_id="7354" order="4070" /> </npc_script>
script_msg.enc :
<msg id="17078" msg_uid="000000PH__0DF_1_0_1_87" cont="xxx!\ " />
<msg id="17079" msg_uid="000000PH__0DF_1_1_1_87" cont="go" />
<msg id="17080" msg_uid="000000PH__0DF_1_0_1_88" cont="xxx!\ " />
<msg id="17081" msg_uid="000000PH__0DF_1_1_1_88" cont="go" />
I thought that the question should be out in the script. The enc this file, but I don't know how to get to the corresponding npc_case id ='xxxx' and the order='xxx'