Jump to content

TexasJunior

Members
  • Posts

    467
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by TexasJunior

  1. φροντίστε να μην κάνετε το bug στο npc στην giran επειδή ο admin/dev έχουν κωδικό εδώ και καλύτερα να μην σας έβλεπαν χαχα :)
  2. mmm auto to 3erw pou me eipes.. . to thema ine oti tha eprepe auto na iparxi.. :D 251.--- /trunk/Eclipse/java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java (revision 421) 252.+++ /trunk/Eclipse/java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java (revision 423) 253.@@ -18,4 +18,6 @@ 254. import java.util.concurrent.ScheduledFuture; 255. 256.+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; 257.+ 258. import net.sf.l2j.gameserver.ThreadPoolManager; 259. import net.sf.l2j.gameserver.datatables.NpcBufferSkillIdsTable; 260.@@ -191,4 +193,9 @@ 261. if (command.startsWith("npc_buffer_heal")) 262. { 263.+ if (!playerInstance.getFloodProtectors().getBuffer().tryPerformAction("npc_buffer_heal")) 264.+ { 265.+ playerInstance.sendPacket(ActionFailed.STATIC_PACKET); 266.+ return; 267.+ } 268. if (playerInstance.getCurrentHp() == 0 || playerInstance.getPvpFlag() > 0) 269. { 270.@@ -204,4 +211,9 @@ 271. if (command.startsWith("npc_buffer_cancel")) 272. { 273.+ if (!playerInstance.getFloodProtectors().getBuffer().tryPerformAction("npc_buffer_cancel")) 274.+ { 275.+ playerInstance.sendPacket(ActionFailed.STATIC_PACKET); 276.+ return; 277.+ } 278. if (playerInstance.getCurrentHp() == 0 || playerInstance.getPvpFlag() > 0) 279. { 280.@@ -215,4 +227,9 @@ 281. if (command.startsWith("npc_buffer_buff")) 282. { 283.+ if (!playerInstance.getFloodProtectors().getBuffer().tryPerformAction("npc_buffer_buff")) 284.+ { 285.+ playerInstance.sendPacket(ActionFailed.STATIC_PACKET); 286.+ return; 287.+ } 288. String[] params = command.split(" "); 289. int skillId = Integer.parseInt(params[1]); ego dn eksigisa kala soz :D
  3. pO kathos pernousa flood protect ola kala ola mia xara ftanw sxedon sto telos kai den vrisko auto /trunk/Eclipse/java/net/sf/l2j/gameserver/model/actor/instance/L2NpcBufferInstance.java L2Npcbufferinstance.java ---- > den uparxei!!! twra ti kanw ??? :D
  4. O χαρακτήρας μου πουλήθηκε !
  5. phx announce fixes thank you rain :) kai dleogr thank you too gia alo help meso pm :D
  6. mmm kati tha kanw kai tha sas pw
  7. kai egw ti kanw tora? :D
  8. l2j :P .. dn 3erw an iparxi ego mexri tr archid etrexa all alaksa se java prin 2 meres
  9. olo to egrapsa .. dn dokimasa na to kanw compile oses fores m bgazi warning ine sigoura oti dn ginete compile :P
  10. Exw trelathei sta 10 pou pernaw to ena mou bgazei error :D Edo kolisa pali http://www.maxcheaters.com/forum/index.php?topic=34850.0 kitakste pos to perasa... kai oti m bgazi error http://img686.imageshack.us/i/74241435.jpg/
  11. xexe ama sou pw doulepse?? :P..1000.thank youuuu :))))
  12. autn tn stigmh den exo kapoia foto gia to error alla kalutera na ginotan na fix to /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance; /** * * @author HanWik */ public class HeroItem implements IItemHandler { private static final int[] ITEM_IDS = { YOUR ITEM ID - replace here }; public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; int itemId = item.getItemId(); if (itemId == YOUR ITEM ID - replace here) // Item to become hero { activeChar.setHero(true); activeChar.broadcastUserInfo(); } } /** * @see net.sf.l2j.gameserver.handler.IItemHandler#getItemIds() */ public int[] getItemIds() { return ITEM_IDS; } } wste na ginete discard to item otan to vazis :P pou me work 100%
  13. yy...to thema einai se auto to code me kapio tropo na bi kati tetoio.. activeChar.broadcastUserInfo(); playable.destroyItem("Destroy", item.getObjectId(), 1, null, false); peripou... episis vrika kai auto package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.Config; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; public class HeroItem implements IItemHandler { private static final int ITEM_IDS[] = { 9172 }; public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if(!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; if(activeChar.isHero()) { NpcHtmlMessage HtmlMessage = new NpcHtmlMessage(1); HtmlMessage.setHtml("<html><body>Sorry, You are already Hero!</html></body>"); activeChar.sendPacket(HtmlMessage); } else { activeChar.broadcastPacket(new MagicSkillUse(activeChar, activeChar, 2025, 1, 1, 1)); activeChar.setHero(true); NpcHtmlMessage HtmlMessage = new NpcHtmlMessage(1); HtmlMessage.setHtml("<html><body>Congratulation now you are Hero, The Status will Removed in Restart.!</html></body>"); activeChar.sendPacket(HtmlMessage); activeChar.broadcastUserInfo(); playable.destroyItem("Destroy", item.getObjectId(), 1, null, false); } } } public int[] getItemIds() { return ITEM_IDS; } alla auto m bgazi error ::(
  14. to provlima mou einai pws .. an gini hero me to item pou tou edosa...to item den feugi alla menei ekei.. :( exo auton ton kwdika /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance; /** * * @author HanWik */ public class HeroItem implements IItemHandler { private static final int[] ITEM_IDS = { YOUR ITEM ID - replace here }; public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if (!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; int itemId = item.getItemId(); if (itemId == YOUR ITEM ID - replace here) // Item to become hero { activeChar.setHero(true); activeChar.broadcastUserInfo(); } } /** * @see net.sf.l2j.gameserver.handler.IItemHandler#getItemIds() */ public int[] getItemIds() { return ITEM_IDS; } }
  15. l2j eqaul xrisimopoio ego kai eimai arketa euxaristimenos an k l2j k l2jfree tha protimousa k go alla dn iparxi nomizo alo to svn tous gt kai ego pou prospathisa mou ta ebgaze akura ..
  16. HellO I Sell Full Donate Char Here >--> www.l2leviticus.com <---< The Char Is: Soultaker Lvl10 Have Dark Crystal Set +20, Major Arcana Set +20 Raid Boss Jewels +20 Tattoo Of Absolute +20 1,000 Gold Bar Monster Only Warlord Zombie Shield (Reflect Shield) Arcana Mace Acumen +20 And The Best ! Have 3 Passive Skills - 5 Active Skills Passive P.Def lvl10 - M.Def lvl10 - Empower lvl10 Active P.def lvl10 - M.def Lvl10 - Empower Lvl10 - Agillity Lvl10 Prominence lvl10 (The Best Aug Skill At Server (2/3 M.CRIT)and big power) :D Char Price 35Euro Payment Methods: Only Paysafe
  17. First post hidden , because me ekanan polla pm gia na to kanw hide :s
  18. magkia sou tote , emeis oi ftwxoi to kanoume aliws ;)
  19. esi den xriazete na to kaneis an exis toses , apla tou les autounou pou stis edose na s dosi actives ;P
  20. οχι δεν γινονται
  21. Δουλεύει 100% , σιγά το ρεύμα που κάει ο υπολογιστής :P Aν θες δεν τον αφήνεις 5μέρες και 2ώρες αν μαζέψεις αρκετά vote stone κάνεις δουλειά
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock