Jump to content

criss22

Members
  • Posts

    515
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by criss22

  1. Hello all. I have some `problems` with Community Board bypass html's. How i can open S80 Grade to make a list with S80 Items? I try with this bypass <center><button value="S80 Grade" action="bypass -h npc_%objectId%_Chat 1" width=135 height=32 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></center></td> but didn't work. I think this is for NPC, not for Community Board. Thank's
  2. Hello all. Who can tell me how i can make enable that option from CB? Now it is DIsable as you can see in photo. Thank you !
  3. This is L2DOnateManagerInstance package l2r.gameserver.model.actor.instance; import java.util.StringTokenizer; import l2r.Config; import l2r.gameserver.ThreadPoolManager; import l2r.gameserver.data.sql.CharNameTable; import l2r.gameserver.data.sql.ClanTable; import l2r.gameserver.data.xml.impl.MultisellData; import l2r.gameserver.data.xml.impl.SkillData; import l2r.gameserver.data.xml.impl.TransformData; import l2r.gameserver.enums.InstanceType; import l2r.gameserver.idfactory.IdFactory; import l2r.gameserver.model.actor.FakePc; import l2r.gameserver.model.actor.L2Npc; import l2r.gameserver.model.actor.templates.L2NpcTemplate; import l2r.gameserver.network.SystemMessageId; import l2r.gameserver.network.serverpackets.ActionFailed; import l2r.gameserver.network.serverpackets.NpcHtmlMessage; import l2r.gameserver.network.serverpackets.PartySmallWindowAll; import l2r.gameserver.network.serverpackets.PartySmallWindowDeleteAll; import l2r.gameserver.util.Util; import gr.sr.aioItem.runnable.TransformFinalizer; import gr.sr.configsEngine.configs.impl.DonateManagerConfigs; import gr.sr.donateEngine.DonateHandler; import gr.sr.imageGeneratorEngine.CaptchaImageGenerator; import gr.sr.main.Conditions; import gr.sr.securityEngine.SecurityActions; import gr.sr.securityEngine.SecurityType; public class L2DonateManagerInstance extends L2Npc { public L2DonateManagerInstance(L2NpcTemplate template) { super(template); setInstanceType(InstanceType.L2DonateManagerInstance); FakePc fpc = getFakePc(); if (fpc != null) { setTitle(fpc.title); } } // Variable Section // Global Variable Item ID To Check or Destroy private static int itemIdToGet; private static int price; /** * Method to send the html to char * @param player * @param html */ public void sendPacket(L2PcInstance player, String html) { NpcHtmlMessage msg = new NpcHtmlMessage(getObjectId()); msg.setFile(player.getHtmlPrefix(), "/data/html/sunrise/DonateManager/" + html); msg.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(msg); } @Override public void showChatWindow(L2PcInstance player) { player.sendPacket(ActionFailed.STATIC_PACKET); NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile(player.getHtmlPrefix(), "data/html/sunrise/DonateManager/main.htm"); html.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(html); } @Override public void onBypassFeedback(final L2PcInstance player, String command) { final String[] subCommand = command.split("_"); // No null pointers if (player == null) { return; } // Restrictions Section if (!Conditions.checkPlayerBasicConditions(player)) { return; } // Page navigation, html command how to starts if (command.startsWith("Chat")) { if (subCommand[1].isEmpty() || (subCommand[1] == null)) { return; } NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile(player.getHtmlPrefix(), "data/html/sunrise/DonateManager/" + subCommand[1]); html.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(html); } // Add all clan skills else if (command.startsWith("givefullclan")) { itemIdToGet = DonateManagerConfigs.GET_FULL_CLAN_COIN; price = DonateManagerConfigs.GET_FULL_CLAN_PRICE; if ((player.getClan() == null) || (!player.isClanLeader())) { player.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT); return; } if (!Conditions.checkPlayerItemCount(player, itemIdToGet, price)) { return; } player.destroyItemByItemId("Clan donate", itemIdToGet, price, player, true); player.getClan().changeLevel(11); player.sendMessage("Clan level set to 11."); player.getClan().addReputationScore(DonateManagerConfigs.REPUTATION_POINTS_TO_ADD, true); player.getClan().addNewSkill(SkillData.getInstance().getInfo(391, 1)); for (int mainSkill : DonateManagerConfigs.CLAN_MAIN_SKILLS) { player.getClan().addNewSkill(SkillData.getInstance().getInfo(mainSkill, 3)); } for (int squadSkill : DonateManagerConfigs.CLAN_SQUAD_SKILLS) { player.getClan().addNewSkill(SkillData.getInstance().getInfo(squadSkill, 3), 0); } player.sendMessage("You have successfully perform this action."); } // Change player name else if (command.startsWith("changename")) { try { itemIdToGet = DonateManagerConfigs.CHANGE_NAME_COIN; price = DonateManagerConfigs.CHANGE_NAME_PRICE; String val = command.substring(11); // TODO: Need More checks? if (!Util.isAlphaNumeric(val)) { player.sendMessage("Invalid character name."); return; } if (!Conditions.checkPlayerItemCount(player, itemIdToGet, price)) { return; } if (CharNameTable.getInstance().getIdByName(val) > 0) { player.sendMessage("Warning, name " + val + " already exists."); return; } player.destroyItemByItemId("Name Change", itemIdToGet, price, player, true); player.setName(val); player.getAppearance().setVisibleName(val); player.store(); player.sendMessage("Your name has been changed to " + val); player.broadcastUserInfo(); if (player.isInParty()) { // Delete party window for other party members player.getParty().broadcastToPartyMembers(player, new PartySmallWindowDeleteAll()); for (L2PcInstance member : player.getParty().getMembers()) { // And re-add if (member != player) { member.sendPacket(new PartySmallWindowAll(member, player.getParty())); } } } if (player.getClan() != null) { player.getClan().broadcastClanStatus(); } } catch (StringIndexOutOfBoundsException e) { // Case of empty character name player.sendMessage("Player name box cannot be empty."); } } // Change clan name else if (command.startsWith("changeclanname")) { try { itemIdToGet = DonateManagerConfigs.CHANGE_CNAME_COIN; price = DonateManagerConfigs.CHANGE_CNAME_PRICE; String val = command.substring(15); // TODO: Need More checks? if ((player.getClan() == null) || (!player.isClanLeader())) { player.sendPacket(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT); return; } if (!Util.isAlphaNumeric(val)) { player.sendPacket(SystemMessageId.CLAN_NAME_INCORRECT); return; } if (!Conditions.checkPlayerItemCount(player, itemIdToGet, price)) { return; } if (ClanTable.getInstance().getClanByName(val) != null) { player.sendMessage("Warning, clan name " + val + " already exists."); return; } player.destroyItemByItemId("Clan Name Change", itemIdToGet, price, player, true); player.getClan().setName(val); player.getClan().updateClanNameInDB(); player.sendMessage("Your clan name has been changed to " + val); player.broadcastUserInfo(); if (player.isInParty()) { // Delete party window for other party members player.getParty().broadcastToPartyMembers(player, new PartySmallWindowDeleteAll()); for (L2PcInstance member : player.getParty().getMembers()) { // And re-add if (member != player) { member.sendPacket(new PartySmallWindowAll(member, player.getParty())); } } } if (player.getClan() != null) { player.getClan().broadcastClanStatus(); } } catch (StringIndexOutOfBoundsException e) { // Case of empty character name player.sendMessage("Clan name box cannot be empty."); } } // Change gender options else if (command.startsWith("changeGender")) { if (command.startsWith("changeGenderDonate")) { itemIdToGet = DonateManagerConfigs.CHANGE_GENDER_DONATE_COIN; price = DonateManagerConfigs.CHANGE_GENDER_DONATE_PRICE; } if (!Conditions.checkPlayerItemCount(player, itemIdToGet, price)) { return; } player.destroyItemByItemId("changeGender", itemIdToGet, price, player, true); player.getAppearance().setSex(player.getAppearance().getSex() ? false : true); player.sendMessage("Your gender has been changed."); player.broadcastUserInfo(); // Transform-untransorm player quickly to force the client to reload the character textures TransformData.getInstance().transformPlayer(105, player); player.setSkillCast(ThreadPoolManager.getInstance().scheduleGeneral(new TransformFinalizer(player), 200)); } // GM Shop else if (command.startsWith("showMultiSellWindow")) { try { int multi = Integer.valueOf(subCommand[1]); if (DonateManagerConfigs.MULTISELL_LIST.contains(multi)) { player.setIsUsingAioMultisell(true); MultisellData.getInstance().separateAndSend(multi, player, null, false); } else { SecurityActions.startSecurity(player, SecurityType.DONATE_MANAGER); } } catch (Exception e) { SecurityActions.startSecurity(player, SecurityType.DONATE_MANAGER); } } // Donate generate captcha code else if (command.startsWith("donateFormMain")) { NpcHtmlMessage playerReply = new NpcHtmlMessage(); // Random image file name int imgId = IdFactory.getInstance().getNextId(); // Conversion from .png to .dds, and crest packed send CaptchaImageGenerator.getInstance().captchaLogo(player, imgId); playerReply.setHtml("<html><body><title>Donate Manager</title><center><br><img src=\"l2ui.SquareGray\" width=270 height=1><br1><table width=\"262\" cellpadding=\"5\" bgcolor=\"151515\"><tr><td valign=\"top\"><center><font color=\"EBDF6C\">L2 Sunrise</font> donate manager<br>Support our server by donating and receive special coins! Exchange here your donated coins for staff or services.</center></td></tr></table><br1><img src=\"l2ui.SquareGray\" width=270 height=1><br></center><br><center><img src=\"L2UI.SquareGray\" width=270 height=1><br><center><font color=\"EBDF6C\">Enter the 5-digits numbers to continue.</font></center><br><img src=\"Crest.crest_" + Config.SERVER_ID + "_" + imgId + "\" width=256 height=64>" + "<br><font color=\"888888\">(There are only numbers.)</font>" + "<br><edit var=\"captcha\" width=110><br><button value=\"Confirm\" action=\"bypass -h npc_%objectId%_confirmDonateCode $captcha\" width=80 height=26 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center><br><img src=\"l2ui.SquareGray\" width=270 height=1></body></html>"); playerReply.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(playerReply); player.setDonateCode(CaptchaImageGenerator.getInstance().getFinalString()); CaptchaImageGenerator.getInstance().getFinalString().replace(0, 5, ""); return; } // Donate captcha code else if (command.startsWith("confirmDonateCode")) { String value = command.substring(17); StringTokenizer st = new StringTokenizer(value, " "); try { String newpass = null, repeatnewpass = null; if (st.hasMoreTokens()) { newpass = st.nextToken(); } repeatnewpass = player.getDonateCode(); if (!((newpass == null) || (repeatnewpass == null))) { if (newpass.equals(repeatnewpass)) // Right:) { sendPacket(player, "donateform.htm"); return; } } if ((newpass == null) || !newpass.equals(repeatnewpass)) { player.sendMessage("Incorrect captcha code try again."); } } catch (Exception e) { player.sendMessage("A problem occured while adding captcha!"); _log.warn(String.valueOf(e)); } } // Donate form else if (command.startsWith("sendDonateForm")) { DonateHandler.sendDonateForm(player, command); } } } and isn't here Paypal mail or something like that. I find Engine.jar. But i can't open that classes from that .jar file. What plugin in eclipse i need to open that?
  4. Hi everyone, how i change that send donate manager to send in my paypal account, and not in L2jSunrise project donate moneys? Now, if player donate there, money will send to L2jSunrise and not in y paypal. http://
  5. This problem cannot be solved
  6. SSID: vio Protocol: 802.11n Security type: WPA2-Personal Network band: 2.4 GHz Network channel: 6 IPv6 address: 2a02:2f09:3202:3300:98da:c98e:11f5:b776 IPv6 DNS servers: fe80::1%16 IPv4 address: 192.168.100.3 IPv4 DNS servers: 192.168.100.1 Manufacturer: Qualcomm Atheros Communications Inc. Description: Qualcomm Atheros QCA61x4A Wireless Network Adapter Driver version: 12.0.0.703 Physical address (MAC): 98-22-EF-57-EB-B5 My router config.
  7. http:// idk if i need to restart my router if this configs it is ok
  8. I have 2 days of google. And fail all
  9. Hi everyone, i have a problem with ports on my router. I have a wireless router Huawey HG8245H and i want open ports 9014, 7777 and 2106, and i don't know how. I try to add manually but don't work. I call to network provider and they say all ports i have unlocked and opened. I disable firewall but don't work.
  10. How i can set ipconfig to start server with my ip? I make it like this <?xml version="1.0" encoding="UTF-8"?> <!-- Note: If file is named "ipconfig.xml" this data will be used as network configuration, otherwise server will configure it automatically! --> <!-- Externalhost here (Internet IP) or Localhost IP for local test --> <gameserver address="my ip" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/ipconfig.xsd"> <!-- Localhost here --> <define subnet="127.0.0.0/8" address="127.0.0.1" /> <!-- Internalhosts here (LANs IPs) --> <define subnet="10.0.0.0/8" address="10.0.0.0" /> <define subnet="172.16.0.0/19" address="172.16.0.0" /> <define subnet="192.168.0.0/16" address="192.168.0.0" /> </gameserver> Loginserver # Bind ip of the LoginServer, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: * (0.0.0.0) LoginserverHostname = * # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 gameserver # Where's the Login server this gameserver should connect to # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests # Default: 9014 LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases. # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: * (0.0.0.0) GameserverHostname = * # Default: 7777 GameserverPort = 7777 and i can't login in game
  11. Replace your start lines <?xml version='1.0' encoding='utf-8'?> <!-- Created with Lineage II - Multisell Manager --> <!-- © 2011 by NeverMore --> <list maintainEnchantment="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/multisell.xsd"> with <?xml version="1.0" encoding="UTF-8"?> <!-- Confirmed CT2.5 and Updated to H5 --> <list applyTaxes="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd"> <npcs> <npc>YOUR NPC ID</npc> <!-- GM SHOP --> </npcs>
  12. Maybe it is from HTML bypass, or 90028 isn't correct edited. What project u use?
  13. Anyone can help me about this? i install java path, i install latest jdk, i make exp 1x like official. And exp still doesn't increase
  14. I don;t have any no exp command. Simply, doesn't work. P.S I update Java with 8u191 and still doesn't work.
  15. I do exp rates with 10x..and mobs have default exp rates. i think it is from 1x
  16. Hello everyone. I have a problem in Exp. FIrst error it is in command. When i type //set_level 2 correct is level 2 and 0.00 Exp. But in my server is Level 2 and 50% Exp. The second problem is for mobs. When player farm, players don't give EXP. Just SP and Drop. From where it is error? Platform: High FIve Revision: Last Can be from L2Attackable.java , CharacterCreate.Java , Config.Java or L2PcInstance.java? I can post here all 4 codes. https://gist.github.com/Criss222/2dd73d4c2386ddb31e17f8497d2a73cc
  17. Hi all, i want to change one zone to have restrict till 100 rebirths , If someone wants to sell this code or whatever it is, leave msg with skype, i PM later
  18. I want to pay, PM me with price/skype/then paypall or what u have
  19. HI there, i can restrict an custom zone till 50 rebirths? i search in old google, but i don;t find something. I think it is java code, but i don't know that code
  20. I search all pack of my project, and i don't find Items. I find Weapon/Skills/Armor in gameserver/data/stat. But i don't find materials. i use L2jFrozen project. Thank you
  21. And why i see `Active Skill` at Passive skill?
  22. i try let's test:n/1n/2/n3 and let's test :/n1/n2/n3 nothing happend it is still 1,2,3 not 1 2 3
  23. Hello all, a simple 2 questions, how i can arrange skill description on interlude from: 1 2 3 to 1 2 3 and why i see active skill at passive skill? i must add a line with passive? Thank you http://
×
×
  • Create New...