NPC Walker Issues

Issue #174 invalid
John Maco created an issue

Greetings, I have a problem with NPC Walkers in general. I have tried to make myself one L2 Monster that could walk using Gordon.java as a base (changing names and id, of course), I have added the new routes in Routes.XML and I have registered it in the script.cfg but it does not work.

I also tried with the Sinister Prophets but neither. I can not change their routes or their position without spoiling the NPC (remains immobile)... At most I can change the appearance of the outside... I feel that there is one more place that needs to be modified but I do not know what it is or even if it still exists (since the last L2jserver files that have come to light have changed in structure, such as using the .xml in npcs, for example ).

I've been through this for days now... ¿Could anyone help me?

Comments (4)

  1. Maneco2

    You need to add initial spawn, first coordinate for start walk! Look a example: https://goo.gl/dCKaDU

    <target id="xxx" spawnX="xxx" spawnY="xxx" spawnZ="xxx" />
    

    You need adding (target id x,y,z) same in spawnlist.sql for start route.

  2. ShinichiYao

    I also tried to make a Wind Dragon Lindvior and let her fly from town to town. But player wont see her before she approaching close enough to the ground. I think its cause by knownlist. Any suggest?

  3. John Maco reporter

    Okay, I fixed it. I needed to add it to the spawnlist as you said and in addition, the location "Z" was wrong. I did not know that using the "//move_to" command and recalling the NPC gave different Z coordinates when checking with "/loc". Just saying, in case someone else has the same problem.

    Thank you so much :)

  4. Log in to comment