perfect script, couldn't have done it better myself.. but i think you should add one more thing to npcpos:
[php:1:c0c8350926]
fputs($npcpos,"territory_begin [".$row["location"]."] {"
[/php:1:c0c8350926]
to
[php:1:c0c8350926]
fputs($npcpos,"territory_begin [".$row["location"]."".$row["id"]."] {"
[/php:1:c0c8350926]
and
[php:1:c0c8350926]
.$row["location"]."]\r\nnpc_begin ["
[/php:1:c0c8350926]
to
[php:1:c0c8350926]
.$row["location"]."".$row["id"]."]\r\nnpc_begin ["
[/php:1:c0c8350926]
(else errors will appear when you load l2npc.. because every territory has to be identical)
|