Jump to content

0flee

Members
  • Posts

    486
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 0flee

  1. I do something, but with this method, i still can get party. private boolean _partyRefuse = false; // party refusal public boolean getPartyRefuse() { return _partyRefuse; } public void setPartyRefuse(boolean value) { _partyRefuse = value; }
  2. Hello cheaters. I want to know where i find methods to make functions available from photo available? https://ibb.co/svkj2vp If i should create them, i want to know how i can do this. I don;t have any ideea how i can create those methods. Thank you !
  3. I don;t know how to do that voice with .premiumBuy1Day
  4. Hi, as title say, i want to make this premium visible on CB. It's good on .premium too, but i want something different. If player buy for exemple, 1 day of premium, i want to display with ON, i want to add 3 methods. 1 day, 2 days and 3 days. Again, if player buy 1 day, and this is ON, 2 and 3 days, to be OFF. I have something configured, but isn't good. I want to fix it. int premiumDays = 0; returnHtml = returnHtml.replace("%if_player_buy_1_day%", Integer.toString(premiumDays, 1)); // if player buy 1 day, display ON. 2 & 3 days, off returnHtml = returnHtml.replace("%if_player_buy_2_days%", Integer.toString(premiumDays, 2)); // to display off returnHtml = returnHtml.replace("%if_player_buy_3_days%", Integer.toString(premiumDays, 3)); // to display off Exemple it is here. https://ibb.co/P9rtxQp Thank's for reading ! for L2j-Mobius ( High Five )
  5. :))) My java suffer now. I try to do something and i don't know
  6. Hello, i trying to make top pvp/pk's for server. And i try to do this on community board. I don;t know if i start good. But i hope so. I want to display in C.B. list of players for pk's for exemple. I post here pic to see what is wrong and what i can do more. I want to do with pages. to 20. 30/page Thank you ! For L2jMobius Hi5. Thank you again! https://ibb.co/XzqRv9R
  7. I find problem. When player create a new character on same account with premium character, the premium is removed. Can someone help?
  8. Hello, where i find this table? https://ibb.co/jkQvwvq in core or in html folder? I want that table and i didn't find. Too hidden xD Thank you all!
  9. I use java 8 Bes answer by @Kara https://ibb.co/vZkzqr4 Fixed. Can close topic. And not last, thank you!
  10. Hello, how i can fix this method for raidbosses to be visible on alt+b? In game it display just first raidboss status. https://ibb.co/5K3bRhy Code it's here else if (command.equals("_bbsraidstatus")) { //@formatter:off int[] BOSSES = { 29001, // Queen Ant 29006, // Core 29014, // Orfen 29068, // Antharas 29020, // Baium //29022, // Zaken 29028, // Valakas 29118 // Beleth }; //@formatter:on SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); final StringBuilder replyMSG = new StringBuilder("<html><body><center>"); replyMSG.append("<img src=\"L2UI_CH3.herotower_deco\" width=258 height=32><br>"); replyMSG.append("<font color=\"LEVEL\">Grand Boss Status & Respawn Time:</font><br><br><br>"); for (int boss : BOSSES) { String name = NpcData.getInstance().getTemplate(boss).getName(); StatSet stats = GrandBossManager.getInstance().getStatSet(boss); long delay = 0; if (stats == null) { replyMSG.append("Stats for GrandBoss " + boss + " not found!<br>"); continue; } delay = stats.getLong("respawn_time"); long currentTime = System.currentTimeMillis(); if (delay <= currentTime) { replyMSG.append("" + name + " is <font color=\"00FF00\">Alive</font><br>"); } else { replyMSG.append("(" + name + ") is <font color=\"FF0000\">Dead</font> <font color=\"FF9900\">( " + sdf.format(new Date(delay)) + " )</font><br>"); } replyMSG.append("<img src=\"L2UI_CH3.herotower_deco\" width=256 height=32>"); replyMSG.append("</center></body></html>"); } CommunityBoardHandler.separateAndSend(replyMSG.toString(), player); return true; } I need help. Greetings!
  11. Looking for someone who can import drop spoil bonus methods from GoD to High Five ( Both Mobius ). Pm. Greetings
  12. Best answer. Fixed, can close topic. Thank you !
  13. How i can find the value of .size()
  14. Hello folks, Today i decide to do something interesting. I want to add on community board when player have subclass, to display there. and the code it is like that. returnHtml = returnHtml.replace("%subclass%", ClassListData.getInstance().getClass(player.getSubClasses().get(1).getClassId()).getClientCode()); All good untill now, but when player doesn`t have subclass, he can't open cb and i get error on gameserver: https://ibb.co/FKz1Hkx Can someone tell me how and where i can add !=null ? Pack: L2jMobius Greetings !!
  15. I jus want to see some methods. I don't need to remake project Just to see just methods, how it's created. But thank you for all answers. Can close topic.
  16. Right, and how i can decompile?
  17. I can't find that methods because it is hardcoded on engine.jar
  18. Pack it is l2jsunrise. And yes, i want to make in this mode. And i want to make it on Java. I wanted for communiti board.
  19. Hello, i am looking for those configs from image bellow, https://ibb.co/0nZTRts if @`NeverMore can help me with this configs, i would appreciate his effort. Or someone please.
  20. I want to remove re-enter for "x" instance. And i want to create item. ANd that item if player have on inventory, to block specific instance. Pm me for price Tank you !
  21. How i can change the enchant delay? Than you!
  22. Well, works, but for admin no. Normal players get drops....
  23. Why when i start Squash Event this work just on announcement? And drop no? Maybe @`NeverMore help me here? I set id of item and i don;t get drops. Original XML <?xml version="1.0" encoding="UTF-8"?> <Event ID="Squash Event" Active="4 Dec 2009-30 Dec 2014" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/faenor.xsd"> <Droplist> <AllDrop Items="6391" Count="1,4" Chance="20%" /> <!-- Nectar --> <AllDrop Items="10640" Count="1,2" Chance="3%" /> <!-- Cloned Squash Seed --> <AllDrop Items="10641" Count="1,1" Chance="1%" /> <!-- Cloned Large Squash Seed --> </Droplist> <EventEnd> <Take From="AllPlayers"> <Item ItemID="6391,10640,10641"></Item> </Take> </EventEnd> <Message Type="OnJoin" Msg="Squash Event started!" /> </Event> Edited by me XML <?xml version="1.0" encoding="UTF-8"?> <Event ID="Squash Event" Active="4 Dec 2009-30 Dec 2024" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/faenor.xsd"> <Droplist> <AllDrop Items="8765" Count="1,2" Chance="100%" /> <!-- Red Gem --> </Droplist> <EventEnd> <Take From="AllPlayers"> <Item ItemID="8765"></Item> </Take> </EventEnd> <Message Type="OnJoin" Msg="Race for enchant has been started !!" /> </Event> Tell me someone what i do wrong here? I want to drop just 1 type of item.
  24. Join L2-Dety!! BETA Launch on 01-01-2021 20:00 GTM +2 ⏱The clock is ticking! Don't wait ! -AUTO-CREATE ACCOUNT! -Boost Runes Drop-Sp-Xp - Custom Items - Custom Buffs - 1 h buffs - Retail Olympiad - Community Buffer - New players starts with level 40 - Alot of farm zones - Custom Community Board Status Info - Character Control Panel ( Community Board) - Master Buffs - Custom Potions - Custom Edits - Max Enchant +600 - Custom Enchant System - NOBLESSE MANAGER IN GIRAN - SERVICE MANAGER * AND MUCH MORE. ENJOY L2DETY'S SERVER AND YOU WILL BE THE BEST! - WEBSITE http://L2DETY.COM - DISCORD HTTP://DISCORD.GG/KMXQFJJ
  25. Thank you ! Can close topic. Happy New Year
×
×
  • Create New...