-
Posts
1,644 -
Credits
0 -
Joined
-
Last visited
-
Days Won
8 -
Feedback
0%
Community Answers
-
xxdem's post in Mystery Box or smth like that was marked as the answer
This is from my private source, you may consider yourself lucky...
https://pastebin.com/WhaKF4gV
to call it use the IJackpot interface, for example
jackpotPick(allItems, L2DropItem::getChance);
-
xxdem's post in Pick Up Speed Items was marked as the answer
its the correct answer, you have to paralyze the character server side but without the frozen effect on the client side. In case speed is still an issue you should reduce the player's speed for that duration
-
xxdem's post in Change Skill Description When Smt was marked as the answer
Just add another level to hydro blast, lvl 29 lets say that has this unique description. Every skill level has individual description is skillname.dat
The server side is easier, you don't need the actual level server side, just send it through a packet to the player when he meets the conditions
-
xxdem's post in Items Time was marked as the answer
There you go, I had the mood to create a sudo code for you, anyone with some knowledge should be able to implement it.
MultiSell, Time=12
RequestMultisellChoose, Item.setDestroyTimeStamp(System.currentTimeMillis() + MultiSell.getTime() * 3600000)
ItemExpireManager.registerItem(Item);
ItemExpireManager.registerItem()
{
HashMap.put(Item, Item.getDestroyTimeStamp());
Database.store(Item.getObjectId, item.getDestroyTimeStamp());
}
ItemExpireManager.checkForExpired()
{
for each Item in HashMap
if (timeStamp < System.currentTimeMillis())
{ Item.destroy()
Database.remove(Item);
}
}
ItemExpireManager()
{
for each Item by objectId in Database
if (timeStamp < System.currentTimeMillis())
{ Item.destroy()
Database.remove(Item);
}
ThreadPoolManager start check routine every X seconds
}
-
xxdem's post in Official Skills Reuse Time To Adapt In L2J was marked as the answer
even if you get the "correct" values, your formulas are not the same with L2OFF formulas so you can't get even close