Hello maxcheaters..! so i have an idea about 2 fixes for my server but i need your usefull help to do it right..!
so the first code is about Olympiad... i was thinking how to avoid the prefrenzy, angelic icon and other things like that...!
so i was thinking... if i can put a code that when you are in Oly before start the match, the hp will cannot drop down...! i mean... as much as hp you receive (from buffs or armors, weapons etc.)
the HP cannot drop down! just to staying full! can we do that?!
the second code is something about the drain from mobs while in flag...!
i've tried this code on L2PcInstance.java:
public void doAttack(L2Character target)
{
super.doAttack(target);
+ if ((getPlayer().getPvpFlag() > 0) && target.isMonster())
+ {
+ getPlayer().stopSkillEffects(false, 310);
+ return;
+ }
// cancel the recent fake-death protection instantly if the player attacks or casts spells
getPlayer().setRecentFakeDeath(false);
}
It's working as i want, but... with the command:
getPlayer().stopSkillEffects(false, 310);
the skill is getting removed! what method i have to put for the skill to just don't work while player if flaged but doesn't getting removed?! can we fix that too?!
(if the "false" in stopSkillEffects means that the buff will not removed and if "true" will removed... i checked it and doesn't work.!)
Daily reward system operational.
28 rewards.
Option to buy days (Donate).
Automatically resets on the first day of each month.
External configuration file.
You can submit daily rewards by account or IP.
Minimum claim level.
Claiming on the 28th locks the reward until the next month.
Contact Discord: lykoz#0331
Well, you can use them as they are supposed to be used, to begin with.
Of course your tasks will be delayed, and this behavior is not strange at all, you don't have control over when the JVM will move them to a carrier thread.
You still need an executor for delayed task, and regarding instant task, they are simply executed using regular virtual thread.
Delayed tasks handling was anyway reverted back due to VT's pinning / strange behavior.
If you got something better to propose, you can also contribute rather than "??".
Hello everyone, I'm selling my Salvation license from L2JEternity. It's a lifetime license that I bought from LordWinter about 2 years ago. He's been updating the project diligently since then. I used it to open just one project and then never used it again. Since it's been idle, I'd like to sell it.
At the time, I paid 600 euros for this license. I'm selling it for 350 euros.
Payments only in cryptocurrencies to avoid chargebacks from the jokers.
Thank you and if you need any recommendations from important people on the forum, I have them.
https://prnt.sc/SloDzTxN3fs6
Question
xXObanXx
Hello maxcheaters..!
so i have an idea about 2 fixes for my server but i need your usefull help to do it right..!
so the first code is about Olympiad... i was thinking how to avoid the prefrenzy, angelic icon and other things like that...!
so i was thinking... if i can put a code that when you are in Oly before start the match, the hp will cannot drop down...! i mean... as much as hp you receive (from buffs or armors, weapons etc.)
the HP cannot drop down! just to staying full! can we do that?!
the second code is something about the drain from mobs while in flag...!
i've tried this code on L2PcInstance.java:
It's working as i want, but...
with the command:
the skill is getting removed!
what method i have to put for the skill to just don't work while player if flaged but doesn't getting removed?! can we fix that too?!
(if the "false" in stopSkillEffects means that the buff will not removed and if "true" will removed... i checked it and doesn't work.!)
23 answers to this question
Recommended Posts