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.
}
Really? Really
Completely? Completely
We're sorry too. It's been a great way of 10 years, and we are grateful to you for every activation you made. All the details about the closure are available on the website.
Important! The SMS-Activate brand no longer exists. There appear websites that duplicate our name — these are scammers, we have no connection to them. If you receive messages from “SMS-Activate employees”, be sure it's a scam. Currently, our technical support is only processing withdrawals from balances.
We are entering another season, the year 2026, which marks 20 years since the beginning of preparations for the first Chronicle server - Gracia Final.
The plans are the same as 20 years ago: to prepare a new generation of the game with the help of our edited game client, New Era.
There will be special new locations and dungeons for solo players and clans, clan quests and a clan shop, as well as special items and jewelry with attributes.
Enjoy the game at Dark Dragon
https://www.darkdragon.club/wp-content/uploads/2025/12/Dark_Dragon_login_New_Era.mp4
Coming soon — New Year promotions across the entire SOCNET ecosystem
We are preparing special offers, bonuses, and surprises across all our projects.
Follow updates on our social media — you definitely don’t want to miss them.
News:
➡ Telegram channel: https://t.me/accsforyou_shop
➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t
➡ Discord server: https://discord.gg/y9AStFFsrh
Question
tazerman2
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. }Edited by tazerman213 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now