Jump to content

NetU

Members
  • Posts

    53
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

Everything posted by NetU

  1. Anyone knows if mangled symbols will not prevent l2j from running? for those who dont know mangled symbols are symbols that are encoded for java c++ and java programs. With this encryption you can prevent code theft.
  2. for lower levels it works ok?
  3. Εχω ενα account στον NA siel server με ενα assasinlvl40 and templar lvl 42 και κανω ανταλλαγη με ενα sorc sm i cleric
  4. I am trading an account in NA siel server with a lvl 40 assasin and lvl 42 templar for an account with a cleric or Sm or sorc. Reply here
  5. yes voiced commands are commands in chat.
  6. you have to create a .py file for that like a scheme buffer or so. The one you created is just a simple voiced command
  7. where did you put that code? you tried the .upgrade voiced command?
  8. First of all check your EnterWorld.java if (i.getEnchantLevel() > Config.MAX_ITEM_ENCHANT_KICK) { //Delete Item Over enchanted activeChar.getInventory().destroyItem(null, i, activeChar, null); //Message to Player activeChar.sendMessage("[server]: You have over enchanted items you will be kicked from server!"); activeChar.sendMessage("[server]: Respect our server rules."); //Message with screen sendPacket(new ExShowScreenMessage(" You have an over enchanted item, you will be kicked from server! ", 6000)); //Punishment e log in audit Util.handleIllegalPlayerAction(activeChar, "Player " + activeChar.getName() + " has Overenchanted item! Kicked! ", Config.DEFAULT_PUNISH); //Logger in console _log.info("#### ATTENTION ####"); _log.info(i+" item has been removed from "+activeChar); } and then your config.java find this: MAX_ITEM_ENCHANT_KICK = Integer.parseInt(ENCHANTSetting.getProperty("EnchantKick", "0")); GM_OVER_ENCHANT = Integer.parseInt(ENCHANTSetting.getProperty("GMOverEnchant", "0")); also please send me your enterworld.java and config.java so i can doublecheck
  9. # IMPORTANT: anti Over Enchant system # HOW WORKS: if you set it to 20, and player have an item > 20 # he will be kicked and the item will disappear! # Enchant a-beep-t at which a player gets punished (0 disabled) EnchantKick = 0 this may be bugged in core try set it to 20 and try again if it works send me the .java so i can do some work for you also this: # Limit enchant GM players (// setew and others) (0 disabled) GMOverEnchant = 0
  10. Custom Hero system made for clans. Something like Clan of Darkness for example. This would be made by a custom olympiad system for clans. Clan wars for example. "Clan of darkness" will get a special clan skill of your choice
  11. Hello. I opened this topic so all of us can share what is missing or not working in L2J. I will continuously update the main topic so we can all check. Fixes can be made by anyone as long as they are tested. Do not post what you dont like about h5 just what is missing that has to be done. I hope that this topic will help so we can fix some things in order to have more fun and more reliable servers. Waiting for your reply With Respect, NetU
  12. Admin Cpanel - Add skill (<skill id>,<enchant level>) Μπορεις να βρεις τα levels των skills απο το enchant_skill_trees.sql
  13. seems like the server is now closed at lease thats what the web is saying. Untill further notice please lock the topic
  14. yea i noticed that later. well if he does not have the sql is shouldnt be working at all
  15. you modified that or are there any other files that came with that too? it calls for a variable called "buffprice" but the variable is not defined in there. there should be some other files. and btw this is your second post on the same thing just use your first one
  16. excellent then. someone has to figure out the exact formula that will work
  17. activeChar.destroyItemByItemId("Old Tattoo", <old tattoo id>, 1, activeChar, false)
  18. Try this one: if (command.eqals("upgradetattoo")) { if (activeChar.getInventory().getInventoryItemCount(<old tatto id, 0) >= 1) { if (!activeChar.reduceAdena("UpgradedTattoo", 1, activeChar, false)) { return false; } activeChar.getInventory().addItem("<tattoo name>", <tattoo id>, 1, activeChar, null); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Your tattoo has been upgraded"); } else { activeChar.sendMessage("Please get a normal tattoo first"); } } or you can replace your banking.java with this one: import com.l2jserver.Config; import com.l2jserver.gameserver.handler.IVoicedCommandHandler; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; /** * This class trades Gold Bars for Adena and vice versa. * @author Ahmed */ public class Banking implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "bank", "withdraw", "deposit", "upgradetattoo" }; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params) { if (command.equals("bank")) { activeChar.sendMessage(".deposit (" + Config.BANKING_SYSTEM_ADENA + " Adena = " + Config.BANKING_SYSTEM_GOLDBARS + " Goldbar) / .withdraw (" + Config.BANKING_SYSTEM_GOLDBARS + " Goldbar = " + Config.BANKING_SYSTEM_ADENA + " Adena)"); } else if (command.equals("deposit")) { if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.BANKING_SYSTEM_ADENA) { if (!activeChar.reduceAdena("Goldbar", Config.BANKING_SYSTEM_ADENA, activeChar, false)) { return false; } activeChar.getInventory().addItem("Goldbar", 3470, Config.BANKING_SYSTEM_GOLDBARS, activeChar, null); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Thank you, you now have " + Config.BANKING_SYSTEM_GOLDBARS + " Goldbar(s), and " + Config.BANKING_SYSTEM_ADENA + " less adena."); } else { activeChar.sendMessage("You do not have enough Adena to convert to Goldbar(s), you need " + Config.BANKING_SYSTEM_ADENA + " Adena."); } } else if (command.eqals("upgradetattoo")) { if (activeChar.getInventory().getInventoryItemCount(<old tatto id, 0) >= 1) { if (!activeChar.reduceAdena("UpgradedTattoo", 1, activeChar, false)) { return false; } activeChar.getInventory().addItem("<tattoo name>", <tattoo id>, 1, activeChar, null); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Your tattoo has been upgraded"); } else { activeChar.sendMessage("Please get a normal tattoo first"); } } else if (command.equals("deposit")) { if (activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.BANKING_SYSTEM_ADENA) { if (!activeChar.reduceAdena("Goldbar", Config.BANKING_SYSTEM_ADENA, activeChar, false)) { return false; } activeChar.getInventory().addItem("Goldbar", 3470, Config.BANKING_SYSTEM_GOLDBARS, activeChar, null); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Thank you, you now have " + Config.BANKING_SYSTEM_GOLDBARS + " Goldbar(s), and " + Config.BANKING_SYSTEM_ADENA + " less adena."); } else { activeChar.sendMessage("You do not have enough Adena to convert to Goldbar(s), you need " + Config.BANKING_SYSTEM_ADENA + " Adena."); } } else if (command.equals("withdraw")) { if (activeChar.getInventory().getInventoryItemCount(3470, 0) >= Config.BANKING_SYSTEM_GOLDBARS) { if (!activeChar.destroyItemByItemId("Adena", 3470, Config.BANKING_SYSTEM_GOLDBARS, activeChar, false)) { return false; } activeChar.getInventory().addAdena("Adena", Config.BANKING_SYSTEM_ADENA, activeChar, null); activeChar.getInventory().updateDatabase(); activeChar.sendMessage("Thank you, you now have " + Config.BANKING_SYSTEM_ADENA + " Adena, and " + Config.BANKING_SYSTEM_GOLDBARS + " less Goldbar(s)."); } else { activeChar.sendMessage("You do not have any Goldbars to turn into " + Config.BANKING_SYSTEM_ADENA + " Adena."); } } return true; } @Override public String[] getVoicedCommandList() { return _voicedCommands; } }
  19. currently attribute system is the bigest problem. System it self is not causing unbalance. Setting a low attribute lvl cap will constantly reduce the unbalanced attributed skills. Although i dont know if there is already a formula that can be changed easily to change the skills atrtibute trigger rate and lower them.
  20. dont need to be like the .deposit command. Just create a simple multisell and for the consuming item id put the id of the old tattoo. Just simple as that: <?xml version="1.0" encoding="UTF-8" ?> <list> <item id="1"> <ingredient id="<old tattoo id here" count="1" /> <production id="<Upgraded Tattoo id here" count="1" /> </item> </list>
  21. What do you need in exchange?
  22. Applying for Hi5 developer. B.s.c Computer Science M.S IT
×
×
  • 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