[Guide]Moving Npc's on Current Map

09/15/2012 01:18 Andy20081#1
Hello All this is my first little guide for all of you there may be others i am not entirely sure but i thought as i could not find one for myself when i wanted to move npcs i thought i would have a tinker with the cq_npc and i have figured it out so i want to share the knowledge with you

Things required
Access to your server through Client
Navicat (or programs what do the same steps may be different)

firstly log into your client so your on in this example i will be using Cronus
open your navicat into your Db files open up your cq_NPC

find the npc in the map aka i will use the Cronus snipe (in cq_NPC its "Sam") as example
then go into your cq_NPC find "sam" u should see by scrolling the side scroll-er
CellX and CellY those are the cords X + Y of the Npc then you go into the client find a spot with your character where you would like him to be moved to and up the top on map is the cords of where u are for example 000, 001

this will help you on the db side so you know whats X and y for who dose not know

000 (the first 3 cords = X)
001 ( the next 3 cords = y)

that's the cords details for the map

then go into the cq_NPC and change CellX to the first 3 cords on map in my case 000 then in cellY put the cords 001 once u did that at bottom of the cq_NPC is a tick among other buttons press the tick then restart your server then when you log into the game again the npc has been move

i hope this helps you all out as people have helped me loads so i would like to give something back to the community

Good luck and have fun

If its helpful please thank me :)
09/15/2012 01:28 Gekru#2
Another way to move npc's without doing a maint, you can use action codes to do the move. Here's an example.

A row from cq_action
Quote:
1 0 0 301 1502 1000 296 480
cq_action.id
Action Type
cq_npc.id
Map id and Coords of map


If you do /processaction 1 the action row would move npc 1502 to 1000 396 480


*Edit*
Forgot to say what I was originally going to.

Thanks for returning something to the forums :)
09/15/2012 01:34 Andy20081#3
thanks for the added bit to the topic i appreciate it even though your way is much better then mine >.< lol