Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Chance, 1 000 000 - 100 % About the stats. Take in consideration the other stats like STR, DEX, CON and such. Also, skills - passive mostly or under 'NPC Might/Shield', some mobs as you know has clan, self buffs :P Yea, some crazy numbers, don't rly pay attention, off like ;)
  2. What the .. :D Rammus style, my old lovely champion :D Thanks Tessa
  3. I can't see the image. Sadly.. :(
  4. It's not a must, it's about the coding style :)
  5. lol .. Now I really facepalm'ed.
  6. Ohh well, yea it's a boolean, but w/o should work as well :D
  7. Close, but not close enough.. BAsically, remove the check with else, keep only adding skills code.
  8. Lack of knowledge is not an excuse for not understanding the english basics.. Tessa told you to check setHero() method and you posted your Hero.java :poker face: Debug the use of the method, it could be setHero(), isHero(), L2VillageMasterInstance.java file which is responsible for the "change subclass" and see what's there regarding changing subclass. You search "here" - nothing, so you search "there". Show some effort, by "I dont know" you won't learn ANYTHING :)
  9. It's hell long time ago I used voiced command(s), but I guess.. return true; on every "command" is not required.. :P
  10. If there is no xml, then it's stats/items w.e lol.. You should know it, find it.
  11. Use search option on Eclipse..
  12. That's plain wrong and few more. Enable errors on Eclipse and you will see it :) @SuppressWarnings("javadoc") ------------------ if(command.equalsIgnoreCase("daggeritems")) { } if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.getInventory().reduceAdena("Adena", Config.FIGHTER_ITEMS_PRICE, activeChar, null); activeChar.getInventory().addItem("Angel Slayer", 6367, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Light", 6379, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Boots", 6380, 1, activeChar, activeChar); activeChar.getInventory().addItem("Dragonic Gloves", 6381, 1, activeChar, activeChar ); activeChar.getInventory().addItem("Dragonic Helmet", 6382, 1, activeChar, activeChar); activeChar.getInventory().addItem("TEO Necklace", 920, 1, activeChar, activeChar ); activeChar.getInventory().addItem("TEO Earring", 858, 2, activeChar, activeChar); activeChar.getInventory().addItem("TEO Ring", 889, 2, activeChar, activeChar ); activeChar.sendMessage("Now You Have Dagger Items On Your Invetory. Take a Look!."); } ----- } return false; Basically, I should junk the topic, cuz of the code, but.. Out of respect for you, I won't. Check Tessa version, it's good. Only checks should be if / else if.
  13. Yes, it's wrong .. :happyforever: Also, this check is kinda.. poor to don't be rude if (!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_GK && activeChar.getKarma() > 0) Delete the config check
  14. if(activeChar.getInventory().getInventoryItemCount(57, 0) >= Config.FIGHTER_ITEMS_PRICE) { activeChar.sendMessage("You do not have enough Adena"); return false; } Tessa... Seriously '>=' ? :happyforever: Also, those checks should be if, else if. There is no need to check them all ++ you will get few messages.
  15. You dont have to. It's defined via items (xml) handler.
  16. Changeset 339 Java 8, Libraries / Projects, Misc Java 8 - Update your JDK to JDK 8 ! aCis officialy uses Java 8 for now. Java 7 isn't supported anymore. - Drop Base64, use native Java one. Libraries / Projects - The MMOCore project is dropped, and directly integrated to "acis_gameserver" project under "net.sf.l2j.commons.mmocore". The JAR is NOT needed anymore. - Java-engine library is updated to latest L2J version, 1.8. - ECJ library is updated to latest L2J version, 4.4. Misc - Formatting rules applied on Hasha commits. - Fix previous commit regarding missing itemsonground stuff (db installer). - Fix ShortCutInit packet, to handle reuse delays on player relog. As this packet is now correct, drop a packet update on ItemSkills. Ty RooT. - Fix a potential exploit regarding ItemSkills consumed items (skill was launched before item consumption). Ty RooT. - Fix a NPE on Q374. Ty RooT. - Fix few typos on HTMs. - Add the possibility for a GM to shift-click on a player to see directly the panel. Ty RooT. - Replace numerous keySet() / get() for a best counter, Entry.Map (20% to 50% faster). - Fix Village Map Bulletin positions. Ty RooT. - Added prices for A grade top tier weapons. Ty raphael.fersan.
  17. { activeChar.sendMessage("You do not have enough Adena"); To be removed. Also, in all commands you miss the close bracket of if }
  18. You miss brackets in some places and 1st msg about adena umm.. Ofc it is working, cuz you do meet the requirements, so the check msg was not activated.
  19. It will - give you items and throw the "error" hah :D Also, this activeChar.getInventory().updateDatabase(); activeChar.sendPacket(new ItemList(activeChar, true)); I don't think so it's really needed - don't say me that frozen is so lame..
  20. Yup.. I did the post right after you, so.. :)
  21. There is so called NoStore zone, you have to create it.
  22. There is missing one line, clan.broadcastClanStatus(); package net.sf.l2j.gameserver.handler.itemhandlers;
  23. You put 3 times the same check, it's useless - basically, all of them are kinda useless. Put the checks before all that, before if(command.equalsIgnoreCase ...
  24. It's system problem.
  25. What's the point of those files? Add your code after activeChar.sendPacket(new ChooseInventoryItem(item.getItemId())); @ EnchantItem, so you will see the msg after pressing the scroll. It's 0.8 cuz on aCis the value is double ;)
×
×
  • Create New...