Jump to content

TGSLineage2

Members
  • Posts

    94
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by TGSLineage2

  1. I don't quite understand what you want, but there you are creating a table with 1 row and 10 columns
  2. Any Exception in your console?
  3. That is a permissions issue, maybe you are working on linux, go to on the folder where that file, open the console and try this: sudo chmod 775 loggerOut.log
  4. line.split(">")[2].split("<")[0].replace(",","");
  5. Your server must be in a different state than approved, topzone has restrictions regarding the use of its api
  6. For total votes count should be https://api.l2topzone.com/v1/server_here-type-your-api-key/getServerData and something like that is his answer {"ok": true,"result": {"totalVotes": "0","serverRank": null}} I think you are using a very old code and that link no longer exists on that site
  7. https://l2topzone.com/totalvotes.php?id=6150 this url is no longer working.
  8. Have you made any changes to requestByPassToServer case "npc_"?
  9. When you say all the npc do you mean all the npc with the same id or all the npc of the server?
  10. It could be that you have more than one java version installed and it is currently running with a different version than the one you need.
  11. assuming the method you are using is void type, you should ask at the beginning. if (player.getLevel() <= 80) { player.sendMessage("You don't have the level necessary to perform this action") return; }
  12. Try this player.removeExpAndSp(ExperienceData.getInstance().getExpForLevel(55), 0); player.broadcastUserInfo(); Do you want it reduced to 55 or 30 levels?
  13. Boolean method that asks if the item exists and you have enough to destroy, if so destroy the item and then execute what is inside the condition.
  14. Well it seems that if it is better coded.
  15. if (activeChar.getInventory().getAdena() >= 1000000) { activeChar.getInventory().destroyItemByItemId("Delevel manager", 57, 1000000, activeChar, activeChar); activeChar.getInventory().addItem ("Delevel manager", itemApigaId, itemApigaAmount, activeChar, activeChar); activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.EARNED_S2_S1_S).addItemName(itemApigaId).addInt(itemApigaAmount)); activeChar.sendPacket(new ItemList(activeChar, true)); } else { activeChar.sendMessage("You don't have enought Adena"); } Just as this does not give me errors in the acis, I would only have to replace itemApigaId by the identification of that item and itemApigaAmount by the quantity.
  16. I have a question, did it work or did it not work?
  17. Replace activeChar by player and try the code I gave you
  18. I guess it would be something like that: if(activeChar.getInventory().getAdena() >= 1000000){ activeChar.getInventory().destroyItemByItemId("Delevel manager", 57, 1000000, activeChar, activeChar); activeChar.getInventory().addItem("Delevel manager", itemApigaId, itemApigaAmount, activeChar, activeChar); activeChar.sendPacket(SystemMessage.getSystemMessage(SystemMessageId.EARNED_S2_S1_S).addItemName(itemApigaId).addInt(itemApigaAmount)); activeChar.sendPacket(new ItemList(activeChar, true)); }else{ activeChar.sendMessage("You dont have enough Adena"); } That you must put in the method where you make the delevel and include the code of the delevel inside the condition adena> 1kk
  19. By a specific race or by an effect for any race it affects
  20. It is rare that you do not find that id in the sysstring-e file, because it seems to me that from 2265 to 2267 they are links to the site, however if it is not there you can put it and write the redirect link for example https: // lineage2. com
  21. Does your captcha work with random characters or with images with characters?
  22. Do you want do it as command or npc? You want the level to go down by 1 or more than 1 or the player to specify how much he wants to go down
  23. Current time, it is the time of the server at the time you made the call to that dialog, it does not have to do with the time of the siege, those hours coincide when the time of your server is the same as the siege You see, there is no problem with the times in the npc dialog, it shows you the current time of the client and the time of the siege with the time of the person who is making the request, but in the administration panel the time of the Siege according to the time of the host, but when it comes to a remote host those times differ due to the difference in the time zone There seems to be a time difference between your client pc and your server pc of 9 hours.
  24. ops, it's the H5 version.
×
×
  • 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