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.
I present to your attention two options for the Hellbound location map
details in the archive
if you have larger effect files, you do not need to replace them
download
updates can be made behind the scenes, so if you catch a crit, post on the forum or download the archive, it may have already been fixed
additionally you can download
all la2 music from the latest version of the game 2025 download
the entire La2 ambisound from the latest version of the game 2025 download
I do what I like because I don't need to push myself to do things for L2 as a means of income. You, on the other hand, are here trying to scam people for $20k files...
But, since you're so talented and competent, I suppose you must be thriving on the fruits of your talents as an L2Off dev, no?
Oh wait
Guess not
If you have error
[ERR] 1067 - Invalid default value for 'createDate'
`createDate` date DEFAULT NULL '00-00-0000',
need use
`createDate` date DEFAULT NULL,
What game client do you need here?
I can't even log in!
# Auto account creation
# ----------------------------
# Auto account creation
# Default: True
AutoCreateAccounts = True
What did I do wrong?
ServerAddr=127.0.0.1
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.