Page 1 of 1

Custom NPCs dont move!

Posted: Fri Jan 21, 2011 11:32 am
by Genjimaru
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 4417:
L2JDP Revision 7670:

Alright... been looking around, googling... checking tables, core coding and dont know what more...........
The problem is, all custom npcs I create dont move at all and when I define their behavior type on custom_npcaidata I get a loading error.
At first I thought I edited something wrong and did a copy and paste from npcaidata and changed npcId only but it still wont work.
All malee npcs attack only if you get close enough.
Spellcaster and archer type mobs attack if you are on defined range but as soon as you step away, they just stop and dont follow.
I updated the revision hoping it would be fixed but it is not so I'm relying on this post.

Can anyone tell me how to solve this?

Re: Custom NPCs dont move!

Posted: Fri Jan 21, 2011 11:48 am
by Gnacik
add also custom AI with can_move=1

Re: Custom NPCs dont move!

Posted: Fri Jan 21, 2011 12:10 pm
by Genjimaru
Gnacik wrote:add also custom AI with can_move=1
That's the funny part... The server refuses to load the data from custom AI table.
I also tried moving them from custom_npcs to npcs along with AI data to respective table.... result = fail =/

Re: Custom NPCs dont move!

Posted: Fri Jan 21, 2011 12:37 pm
by hope
i am sure you can read the error

Re: Custom NPCs dont move!

Posted: Fri Jan 21, 2011 1:24 pm
by shinomidefuego
Gnacik wrote:add also custom AI with can_move=1
i have that problem too but i will check with this solution, i did not notice that option Thanks!!

Re: Custom NPCs dont move!

Posted: Fri Jan 21, 2011 1:33 pm
by Genjimaru
hope wrote:i am sure you can read the error
Yes indeed I can.....
I forgot I changed their Id's....

Problem fixed.