hello all i have make a code for walker same mobs but i dont know why is not running and in console show me error can any tell me where is the problem ?
public void DoWalkerMonster()
{
if (npc == null || npc.getSpawn() == null)
{
if (npc.getTemplate().getNpcId() != walkerNpc)
{
_isWalkTo++;
if (_isWalkTo < 55)
{
_isWalkTo = 1;
}
X = WALKS[_isWalkTo - 1][0];
Y = WALKS[_isWalkTo - 1][1];
Z = WALKS[_isWalkTo - 1][2];
// TODO: find better way to prevent teleporting to the home location
npc.getSpawn().setLocx(X);
npc.getSpawn().setLocy(Y);
npc.getSpawn().setLocz(Z);
npc.setRunning();
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(X, Y, Z, 0));
}
return;
}
LOGGER.info("walker mob working!"); // only for check work or not.
}
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
tazerman2
hello all i have make a code for walker same mobs but i dont know why is not running
Edited by tazerman2and in console show me error can any tell me where is the problem ?
13 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.