PDA

View Full Version : NPC AI Question


Sauron
04-21-2002, 05:13 PM
The NPCs are still have static position (unless they aggro on something.) So I was wondering how far development in making then move has gone. The DB has walk and run speeds in it. I saw function that appear to send packets that updates npc info such as position. Also in the database is a heading field. Finally there is a SendTo function in the source code I believe in the zone\npc.c file. So is it just a bug that keeps moving NPCs from working. A packet or OP code that has not been figured out yet or just something that there has not been time for yet. I was just wondering. I would not say I'm great at it but I've done alot of C programming in the past and in addition to just testing trying the emulator as it gets released I would like to do anything I can to help.

Merkur
04-21-2002, 07:20 PM
no its not a bug, its missing code. ATM everybody is working on something else, but i'm sure we will get this in soon ;)

Vipermmx
04-22-2002, 04:58 AM
hehe first I think they have to fix the movement code. NPC warp around when they aggro. They never really follow you they poof up and down and then skip ahead alot. Thats probably also the fact NPC dont move right now? I noticed they skip alot.

Merkur
04-22-2002, 06:22 AM
yes movment (follow etc) is buggy atm. I'm working on it and I will try to implement correct movementspeed for every NPC_type too (but this will only work with new databaseupdate which is coming up - if at all)