Limit to walk

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
deathofkiller
Posts: 19
Joined: Sat Dec 20, 2008 9:56 pm

Limit to walk

Post by deathofkiller »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 3979
L2JDP Revision Number: 7138


What say how can i put a limit on the mobs walk? Thanks

Excusee my bad english :(
User avatar
Mayhem
Posts: 144
Joined: Fri Dec 04, 2009 4:45 pm

Re: Limit to walk

Post by Mayhem »

In sql database:
In custom_npc or npc there is 'walkspd' and 'runspd' values. Change them as you want.
Revolution burns within us all.
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Limit to walk

Post by jurchiks »

or search for mob drift range in configs
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
deathofkiller
Posts: 19
Joined: Sat Dec 20, 2008 9:56 pm

Re: Limit to walk

Post by deathofkiller »

Mayhem wrote:In sql database:
In custom_npc or npc there is 'walkspd' and 'runspd' values. Change them as you want.
Changing any of these values, will prevent him walk too? I want him to walk up to a certain point may not go away from the area to spawn. To keep the players leading the mob stay away
User avatar
Mayhem
Posts: 144
Joined: Fri Dec 04, 2009 4:45 pm

Re: Limit to walk

Post by Mayhem »

As jurchiks said, to prevent mobs to walk use this property in NPC.properties:

Code: Select all

# Maximum distance mobs can randomly go from spawn point.# DEFAULT NEEDS TO BE VERIFIED, MUST BE CHANGED HERE AND IN CONFIG.JAVA IF NOT CORRECT# Default: 300MaxDriftRange = 300
Setting this value to 1 will prevent mobs to walk freely.
Revolution burns within us all.
Image
Post Reply