Jump to content

Fanky

Legendary Member
  • Posts

    7,281
  • Credits

  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by Fanky

  1. lolololo. back to your cave dude,pls.
  2. lolololo. back to your cave dude,pls.
  3. Ας δοκιμάσει αυτό για να μου πει αν δουλεύει,να πω την αλήθεια αν δεν δουλεύει αυτό δεν ξέρω τι μπορεί να φταίει,τα κοίταξα όλα.
  4. Ας δοκιμάσει αυτό για να μου πει αν δουλεύει,να πω την αλήθεια αν δεν δουλεύει αυτό δεν ξέρω τι μπορεί να φταίει,τα κοίταξα όλα.
  5. No. Also,wizzy is rly old and trusted member which has been retired from here 2~ years ago. he isn't like that.
  6. No. Also,wizzy is rly old and trusted member which has been retired from here 2~ years ago. he isn't like that.
  7. ye,i need it. many times I've manage to carry many shits,but at least I have one guy which got some skillz. when i'm alone,i cant carry a shit. my last three match were all defeats because we're playing 3vs5. jezus.
  8. ye,i need it. many times I've manage to carry many shits,but at least I have one guy which got some skillz. when i'm alone,i cant carry a shit. my last three match were all defeats because we're playing 3vs5. jezus.
  9. ... κάνεις 2 ίδιες μεθόδους με διαφορετικό όνομα που σου επιστρέφουν το ίδιο πράγμα; ο λόγος; τέλος πάντων,στο έκανα. gs ### Eclipse Workspace Patch 1.0 #P L2_GameServer_It Index: java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java =================================================================== --- java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java (revision 0) @@ -0,0 +1,62 @@ +/* + * 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.Config; +import net.sf.l2j.gameserver.cache.HtmCache; +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.serverpackets.NpcHtmlMessage; + +/** + * @author + * + */ +public class PopUpItem implements IItemHandler +{ + + private static final int ITEM_IDS[] = + { + Config.POP_UP_ITEM_ID + }; + @Override + public int[] getItemIds() + { + + return ITEM_IDS; + } + + + @Override + public void useItem(L2PlayableInstance playable, L2ItemInstance item) + { + if (!(playable instanceof L2PcInstance)) + { + return; + } + + L2PcInstance activeChar = (L2PcInstance)playable; + + String htmFile = "data/html/PopUpItem.htm"; + String htmContent = HtmCache.getInstance().getHtm(htmFile); + + NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); + infoHtml.setHtml(htmContent); + activeChar.sendPacket(infoHtml); + } + +} Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 5585) +++ java/net/sf/l2j/Config.java (working copy) @@ -882,6 +882,12 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + public static int POP_UP_ITEM_ID; + // Packet information /** Count the amount of packets per minute ? */ @@ -1859,7 +1865,9 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); - + POP_UP_ITEM_ID = Integer.parseInt(L2JModSettings.getProperty("PopUpItemId","6673")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { TVT_EVENT_ENABLED = false; Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 5585) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,5 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +PopUpItemId = 6673 \ No newline at end of file dp ### Eclipse Workspace Patch 1.0 #P IT_Datapack Index: datapack_development/data/html/PopUpItem.htm =================================================================== --- datapack_development/data/html/PopUpItem.htm (revision 0) +++ datapack_development/data/html/PopUpItem.htm (revision 0) @@ -0,0 +1,4 @@ +<html><body>Welcome<br> +Hi<br> +<br> +</body></html> \ No newline at end of file
  10. ... κάνεις 2 ίδιες μεθόδους με διαφορετικό όνομα που σου επιστρέφουν το ίδιο πράγμα; ο λόγος; τέλος πάντων,στο έκανα. gs ### Eclipse Workspace Patch 1.0 #P L2_GameServer_It Index: java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java =================================================================== --- java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java (revision 0) +++ java/net/sf/l2j/gameserver/handler/itemhandlers/PopUpItem.java (revision 0) @@ -0,0 +1,62 @@ +/* + * 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.Config; +import net.sf.l2j.gameserver.cache.HtmCache; +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.serverpackets.NpcHtmlMessage; + +/** + * @author + * + */ +public class PopUpItem implements IItemHandler +{ + + private static final int ITEM_IDS[] = + { + Config.POP_UP_ITEM_ID + }; + @Override + public int[] getItemIds() + { + + return ITEM_IDS; + } + + + @Override + public void useItem(L2PlayableInstance playable, L2ItemInstance item) + { + if (!(playable instanceof L2PcInstance)) + { + return; + } + + L2PcInstance activeChar = (L2PcInstance)playable; + + String htmFile = "data/html/PopUpItem.htm"; + String htmContent = HtmCache.getInstance().getHtm(htmFile); + + NpcHtmlMessage infoHtml = new NpcHtmlMessage(1); + infoHtml.setHtml(htmContent); + activeChar.sendPacket(infoHtml); + } + +} Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 5585) +++ java/net/sf/l2j/Config.java (working copy) @@ -882,6 +882,12 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + public static int POP_UP_ITEM_ID; + // Packet information /** Count the amount of packets per minute ? */ @@ -1859,7 +1865,9 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); - + POP_UP_ITEM_ID = Integer.parseInt(L2JModSettings.getProperty("PopUpItemId","6673")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { TVT_EVENT_ENABLED = false; Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 5585) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,5 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +PopUpItemId = 6673 \ No newline at end of file dp ### Eclipse Workspace Patch 1.0 #P IT_Datapack Index: datapack_development/data/html/PopUpItem.htm =================================================================== --- datapack_development/data/html/PopUpItem.htm (revision 0) +++ datapack_development/data/html/PopUpItem.htm (revision 0) @@ -0,0 +1,4 @@ +<html><body>Welcome<br> +Hi<br> +<br> +</body></html> \ No newline at end of file
  11. cuz of me.
  12. cuz of me.
  13. there are many good tuts with videos in this forum(and not only) try to search on your own,lulz.
  14. there are many good tuts with videos in this forum(and not only) try to search on your own,lulz.
  15. where's the config on your code; lol. you just add them in config.java/properties. where's in your code? btw,what's that?if you keep l2pcinstance code u should delete all the enterworld code,lol. and just add one line in enterworld activeChar.charAnnouncements();
  16. where's the config on your code; lol. you just add them in config.java/properties. where's in your code? btw,what's that?if you keep l2pcinstance code u should delete all the enterworld code,lol. and just add one line in enterworld activeChar.charAnnouncements();
  17. nu have. I was about to buy olaf,but i spend all of my ips to buy runes and orianna >.>
  18. nu have. I was about to buy olaf,but i spend all of my ips to buy runes and orianna >.>
  19. i'm still 20 on west,most of them aren't smurfin' so they are not experienced to farm(not that i'm,but for sure better than them) with orianna,I always have like 135~ cs @14:00 ~
  20. i'm still 20 on west,most of them aren't smurfin' so they are not experienced to farm(not that i'm,but for sure better than them) with orianna,I always have like 135~ cs @14:00 ~
  21. ο ζακε είναι οκ,μην λέτε μαλακίες είναι απο τους λίγους που βοηθάει. βαγγος,αν όντως στο είπε αυτό κάποιος σταφφερ σε πμ 'σκάσε 50 φορες το ίδιο share' είναι όντως μεγάλη μαλακία.
  22. ο ζακε είναι οκ,μην λέτε μαλακίες είναι απο τους λίγους που βοηθάει. βαγγος,αν όντως στο είπε αυτό κάποιος σταφφερ σε πμ 'σκάσε 50 φορες το ίδιο share' είναι όντως μεγάλη μαλακία.
  23. http://maxcheaters.com/forum/index.php?topic=249678.0 solved
×
×
  • Create New...