View Single Post
  #4  
Old 05-30-2004, 08:50 AM
Richardo
Banned
 
Join Date: Oct 2003
Location: Mattmecks Basement
Posts: 546
Default

Its easier in game, heres how you do it...

#grid add 2000 0 0

walk to the points you want to set where your NPC walks...

first point type

#wp add 2000 0 1

next,..

#wp add 2000 0 2

and so on

#wp add 2000 0 3

With this grid, your target will walk to each #WP you create, also you can only have 50 #WP's and when the mob finally gets to your last grid, then walk back to where you set the first #WP which means Way Point.

So, say I go to freeport, make the grid, set a guard to walk to the pok book, when he walks back, he will walk through walls so its best you make it when he walks back he is in clear sight of his original way point so he does'nt walk through walls, objects, ect.

After you are done creating the way points, target your NPC and type #gassign 2000, sometimes it says ERROR: Duplicate Spawns Detected, Spawn2, or something like that. I have no idea how to fix that unfortunately, I have checked my DB for duplicate spawns in DB with same ID numbers and I fail to find 2 of the same on any mobs. Or even mobs with the same names, such as.. a_snake00 and another a_snake00... *It can also help you out if you clear all of the grids from your database in mysql*

use eq;

then..

delete from grids;

(That should clear all the old grids out of your database)
<No it will not delete the table from your database, grids will still be there>

(NOTE: NEVER MAKE 2 GRIDS WITH THE SAME NUMBER, if you want another mob with a different pathing, make it 2001, or something, does'nt matter just dont connect the same grids on top of each other and remember that making too many mobs with pathing in one zone can lag your server tremendously...)


-Hope it helps,
Rich
Reply With Quote