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.!)
Dear partners! At the moment we are in great need of the following positions:
➡ WhatsApp OLD Accounts
➡ Twitter accounts with followers and posts (old accounts)
Contact us via the details below. We will be glad to cooperate!
Active links to our projects:
Digital goods store (Website): Go to
Store Telegram bot: Go to – convenient access to the store via the Telegram messenger.
Virtual numbers service: Go to
Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram.
SMM Panel: Go to – promotion of your social media accounts.
Contacts and support:
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Dear partners! At the moment we are in great need of the following positions:
➡ WhatsApp OLD Accounts
➡ Twitter accounts with followers and posts (old accounts)
Contact us via the details below. We will be glad to cooperate!
Active links to our projects:
Digital goods store (Website): Go to
Store Telegram bot: Go to – convenient access to the store via the Telegram messenger.
Virtual numbers service: Go to
Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram.
SMM Panel: Go to – promotion of your social media accounts.
Contacts and support:
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Dear partners! At the moment we are in great need of the following positions:
➡ WhatsApp OLD Accounts
➡ Twitter accounts with followers and posts (old accounts)
Contact us via the details below. We will be glad to cooperate!
Active links to our projects:
Digital goods store (Website): Go to
Store Telegram bot: Go to – convenient access to the store via the Telegram messenger.
Virtual numbers service: Go to
Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram.
SMM Panel: Go to – promotion of your social media accounts.
Contacts and support:
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Dear partners! At the moment we are in great need of the following positions:
➡ WhatsApp OLD Accounts
➡ Twitter accounts with followers and posts (old accounts)
Contact us via the details below. We will be glad to cooperate!
Active links to our projects:
Digital goods store (Website): Go to
Store Telegram bot: Go to – convenient access to the store via the Telegram messenger.
Virtual numbers service: Go to
Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram.
SMM Panel: Go to – promotion of your social media accounts.
Contacts and support:
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
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:
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:
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