MegaCheat
Members-
Posts
59 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by MegaCheat
-
Solved GForce Program Problem
-
WHY CAN'T I CHOOSE ANYTHING BUT THE LAST ONE? https://radikal.host/i/gggg.cNJfz4
-
Request Rin4a Buffer NPC v1.1 [Freya]
MegaCheat posted a question in Request Server Development Help [Greek]
Sas Parakalw paidia mipws exei kapoios auti tin buffer gia freya L2jserver -
Help Who Know Java Code Please
MegaCheat posted a question in Request Server Development Help [Greek]
Auto to Item anoigei me diplo click Einai to tutorial Guide https://www.mediafire.com/view/ujdw12tvui8arfy/ffgg.png/file Pws Mporw na to anoiksw oxi me diplo Click Alla me Voice Command??? Diladi na patisw .book kai na anoiksi Auto to tutorial Guide --- dist/game/data/scripts/handlers/itemhandlers/AIOItem.java (revision 0) +++ dist/game/data/scripts/handlers/itemhandlers/AIOItem.java (revision 0) @@ -0,0 +1,58 @@ package handlers.itemhandlers; import java.util.logging.Logger; import com.l2jserver.gameserver.cache.HtmCache; import com.l2jserver.gameserver.datatables.AIOItemTable; import com.l2jserver.gameserver.handler.IItemHandler; import com.l2jserver.gameserver.model.L2ItemInstance; import com.l2jserver.gameserver.model.actor.L2Playable; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; /** * @author BiggBoss */ public class AIOItem implements IItemHandler { private static final Logger _log = Logger.getLogger(AIOItem.class.getName()); @Override public void useItem(L2Playable playable, L2ItemInstance item, boolean forceUse) { /* * Null pointer check */ if(playable == null) { return; } /* * Only players can use it */ if(playable instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance)playable; /* * Minumun requirements to use it */ if(!AIOItemTable.getInstance().checkPlayerConditions(player)) { return; } String html = HtmCache.getInstance().getHtm(null, "data/html/aioitem/main.htm"); if(html == null) { _log.severe("AIOItem: The main file [data/html/aioitem/main.htm] does not exist or is corrupted!"); return; } NpcHtmlMessage msg = new NpcHtmlMessage(5); msg.setHtml(html); player.sendPacket(msg); } } } -
Help P.Atk shown on enchanted weapon/armor
MegaCheat replied to Kyboi's topic in [Request] Client Dev Help
--weapongrp use FileEdit -
Help Who Know Java Code
MegaCheat replied to MegaCheat's question in Request Server Development Help [Greek]
Zake thank you very much !! -
vazw to code auto edw katw msg.replace("%crtdmg%", String.valueOf(player.getStat().calcStat(Stats.CRITICAL_DAMAGE, 1, null, null))); alla mou vgazei kapws etsi https://www.mediafire.com/view/p2eafywy4u4v6po/gg.png/file
-
Help Who Know Java Code Killing Spree
MegaCheat replied to MegaCheat's question in Request Server Development Help [L2J]
solved guys thanks very much all !!! baggos First!! -
Help Who Know Java Code Killing Spree
MegaCheat replied to MegaCheat's question in Request Server Development Help [L2J]
thanks guys very mutch the problem is chronical Hi5 -
Help Who Know Java Code Killing Spree
MegaCheat posted a question in Request Server Development Help [L2J]
Hallo Guys I want make killing spree this code ndex: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 4638) +++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -243,6 +243,7 @@ import com.l2jserver.gameserver.network.serverpackets.UserInfo; import com.l2jserver.gameserver.skills.AbnormalEffect; import com.l2jserver.gameserver.skills.Env; +import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage; import com.l2jserver.gameserver.skills.Formulas; import com.l2jserver.gameserver.skills.Stats; import com.l2jserver.gameserver.skills.l2skills.L2SkillSiegeFlag; @@ -5664,14 +5737,63 @@ * Increase the pvp kills count and send the info to the player * */ + private int impro = 0; public void increasePvpKills(L2Character target) { if (target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target)) { + impro++; + + switch(impro){ + + case 3: + ExShowScreenMessage case3 = new ExShowScreenMessage("You reached 3 killing spree!", 10000); + sendPacket(case3); + Announcements.getInstance().announceToAll("Player: " + getName() + " :Just got a Triple Kill!"); + break; + + case 5: + ExShowScreenMessage case5 = new ExShowScreenMessage("You reached 5 killing spree!", 10000); + sendPacket(case5); + Announcements.getInstance().announceToAll("Player: " + getName() + " :Just got an Ultra Kill!"); + break; + + case 10: + ExShowScreenMessage case10 = new ExShowScreenMessage("You reached 10 killing spree!", 10000); + sendPacket(case10); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 10 kill in a row!"); + break; + + case 15: + ExShowScreenMessage case15 = new ExShowScreenMessage("You reached 15 killing spree!", 10000); + sendPacket(case15); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 15 kill in a row!"); + break; + + case 20: + ExShowScreenMessage case20 = new ExShowScreenMessage("You reached 20 killing spree!", 10000); + sendPacket(case20); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 20 kill in a row!"); + break; + + case 25: + ExShowScreenMessage case25 = new ExShowScreenMessage("You reached 25 killing spree!", 10000); + sendPacket(case25); + Announcements.getInstance().announceToAll("Player: " + getName() + " :reached 25 kill in a row!"); + break; + default: + ; + } + + @@ -13495,6 +13639,8 @@ setCurrentFeed(0); stopFeed(); dismount(); + + impro = 0; sendPacket(SystemMessage.getSystemMessage(SystemMessageId.OUT_OF_FEED_MOUNT_CANCELED)); } But not when he dies but with time 1 min impro = 0; <<<< 1 min -
Help Who Know Java Code Please
MegaCheat replied to MegaCheat's question in Request Server Development Help [L2J]
yes dodie -
Hallo Max who can see if this code correct if (true) { if (getFame() > 10) { if (isOnEvent()) { setFame(getFame() - 1); return false; } } I want after 10 points not to lost the points on tvt
-
i solved it
-
please help me with xml file for freya version..??? plz guys i solved it
-
Share Skin Click L2jfrozen (Interlude)
MegaCheat replied to CriticalError's topic in Server Shares & Files [L2J]
can someone do which soon the config .. 15 config omg plz plz i solved it -
i want pass the code on the freya chronical and i can't get through at this point .. maybe can someone help???? thanks i solved it
-
Help How to remove stuff from item window
MegaCheat replied to Hustman's topic in [Request] Client Dev Help
GG -
Pws mporw na valw ena code ? pou otan exei o allos s grade armor h weapon na pernei blue eva px kai otan exei dynasty armor h weapon na pernei Gold Hi5 Server
-
anyone can do it for hi5 or freya i solved it
-
Share Skin Click L2jfrozen (Interlude)
MegaCheat replied to CriticalError's topic in Server Shares & Files [L2J]
does he want us to write something on the Item? Maybe Can make it for Hi5 Or Freya i solved it -
Pes Mas Xronikal Gia na kseroume ti les kai pou na psaksoume.
-
Help help me ta stats
MegaCheat replied to roukounas123's question in Request Server Development Help [Greek]
-
I don't know if that's what you mean
-
Discussion Unequip specific items in farm zones
MegaCheat replied to mariusakke's topic in Server Development Discussion [L2J]
just you can adapt a code again p.x Multifaction Zone, and second zone HightFaction Zone, And LowFaction Zone