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.!)
Discord :
utchiha_market
Telegram :
https://t.me/utchiha_market
Auto Buy Store :
https://utchihamkt.mysellauth.com/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Discord :
utchiha_market
Telegram :
https://t.me/utchiha_market
Auto Buy Store :
https://utchihamkt.mysellauth.com/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Discord :
utchiha_market
Telegram :
https://t.me/utchiha_market
Auto Buy Store :
https://utchihamkt.mysellauth.com/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
An special community GmShop
placed in community service,
you can find many options as Top gear's & special items and many more options!
all boards are with different Server Coins , in order to possess an special items you
must have the necessary Coins as Pvp Coins & TvT Coins & Tournament Coins & party Coins & Vote coins.
Server is based on pvp mode with high quality and based game as Raid boss drops & Farm & pvp & Spoil and many more, reason? Is that we made a server that offers you a quality game and none bored.
kind regards L2Fol.
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