Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

About adding new NPC support Map transfer

Newbie Spellweaver
Joined
Mar 16, 2017
Messages
19
Reaction score
1
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'
 
Joined
May 21, 2011
Messages
418
Reaction score
73
You need this <event order = "1" id = "194" param = "88" /> </ child> </ phrase>

Parameter only to Power Teleport, putting the id of an Npc barrior. It already works normally, and as you want 2 npcs, you need 2 event Order one with parameter 88 and another 87 as you did. And the npc case you can pick up with any other npc who makes this Teleport an example if I am not mistaken be the npc instructor when they teleport you to the place of the mission of degree, initial
 
Upvote 0
Newbie Spellweaver
Joined
Mar 16, 2017
Messages
19
Reaction score
1
[QUOTE = joel de paula; 8786851] You need this <event order = "1" id = "194" param = "88" /> </ child> </ phrase>

Parameter only to Power Teleport, putting the id of an Npc barrior. It already works normally, and as you want 2 npcs, you need 2 event Order one with parameter 88 and another 87 as you did. And the npc case you can pick up with any other npc who makes this Teleport an example if I am not mistaken be the npc instructor when they teleport you to the place of the mission of degree, initial [/ QUOTE]
I did not think that you as X1.8 the author will answer my question, thank you very much for the free server file, it brings us a lot of fun!
 
Last edited:
Upvote 0
Joined
May 14, 2013
Messages
107
Reaction score
8
PT BR
Olá Senhores, queria uma ajuda por gentileza para obter uma explicação acima, por exemplo, como fazer para teletransportar para determinado mapa após clicar no NPC..

ENG
Hello gentlemen, I would like help to get an explanation above, for example, how to teleport to a specific map after clicking on the NPC

thank you
Hello gentlemen, I would like help to get an explanation above, for example, how to teleport to a specific map after clicking on the NPC
 
Upvote 0
Initiate Mage
Joined
Sep 26, 2012
Messages
1
Reaction score
0
o joel respondeu ali em cima mano, traduza oq ele escreveu
joel already answered above, just translate it.
 
Upvote 0
Back
Top