I am trying to adapt a event that every day will spawn a npc with the outfit of the top player. I managed to add the patch that i found but on aCis 401 that im using a lot of things are changes. I dont have any error but the npc doesn't appear as it has. here is the patch for what i did.
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.
🎮 Websites & Webapps for Your Server
Hey! I’m the guy behind gh0t.studio. I build websites, dashboards, and tools that actually connect with your game. With more than 40 finished projects and 500k+ page views, I know what private servers need to grow and keep their players engaged.
I’ve worked on:
🌐 Server sites & landing pages (like L2Jade, Eteral Conquest)
📊 Event dashboards & rankings (like L2Jade Tournaments or TopGameRankings)
📖 Wikis (like Wiki Lineage)
🎨 UI/Graphic design for in-game elements
If you want something different — not just a CTRL+C / CTRL+V CMS template — I’ve got the solution for you. 🚀
📩 Contact me at gh0t.studioarg@gmail.com or visit gh0tstudio.com
👉 If you’re running a server and need someone who gets it, let’s talk.
@T0M, you don’t seem to have the patience to show care and respect to the readers of your topic by at least formatting it properly. It looks like just a lazy copy/paste, yet you expect players to trust your project? Not to mention, you even posted it in the Private Servers section instead of Previews.
Question
andy1984
Hello MxC!
I am trying to adapt a event that every day will spawn a npc with the outfit of the top player. I managed to add the patch that i found but on aCis 401 that im using a lot of things are changes. I dont have any error but the npc doesn't appear as it has. here is the patch for what i did.
https://pastebin.com/nnpTSaJ9
I think the problem is on this lines
+ public void setPolymorphInfo(CharSelectInfoPackage polymorphInfo)
+ {
+ _polymorphInfo = polymorphInfo;
+
+ for (L2Object object : getKnownList().getKnownObjects())
+ {
+ if (object instanceof L2PcInstance)
+ {
+ sendInfo(object.getActingPlayer());
+ }
+ }
+ }
this is from an older acis pack.
I did it like this:
public void setPolymorphInfo(CharSelectSlot polymorphInfo)
{
_polymorphInfo = polymorphInfo;
for (Object object : getKnownTypeInRadius(Player.class, 2000))
{
if (object instanceof Player)
{
sendInfo(((Player) object).getActingPlayer());
}
}
}
if anyone can help i will apreciate it
Edited by Vision9 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.