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.
I think the problem is on this lines
+ public void setPolymorphInfo(CharSelectInfoPackage polymorphInfo)
+ _polymorphInfo = polymorphInfo;
+ for (L2Object object : getKnownList().getKnownObjects())
+ if (object instanceof L2PcInstance)
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)
if anyone can help i will apreciate it
Went ahead and made some small emitters
they look clunky but on UnrealED, but they're way better ingame.
Just add the files to your System, after that you can use L2Tool to edit NPCLogoTex.u and change these textures:
then, to use them, you just need to open npcgrp.dat and change the npc's class
30359 LineageNPC.a_patriarch_MDarkElf LineageNPCs.a_patriarch_MDarkElf_m00
30359 NPCLogo.NPCLogoA LineageNPCs.a_patriarch_MDarkElf_m00
I added 10 effects, so you can use them from the letter A to the letter J
download compiled .u
download .u source scripts (in case you wanna try to recompile them)