Jump to content

bauwbas

Members
  • Posts

    339
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by bauwbas

  1. Yes i tested on scoria3.0, latest teon version, one friend tested on brasil and l2jserver.
  2. Yes, your pack developers can help you.. First try to submit this bug to those who created this pack
  3. Other anti heavy shares are for all light/robe classes, this one only for archers and daggers class. Plus everyone forgot to add subclass restriction. Go to: gameserver/clientpackets/ and open UseItem.java Import these two imports: import net.sf.l2j.gameserver.model.base.ClassId; import net.sf.l2j.gameserver.templates.L2ArmorType; and after these lines: case L2Item.SLOT_CHEST: case L2Item.SLOT_BACK: case L2Item.SLOT_GLOVES: case L2Item.SLOT_FEET: case L2Item.SLOT_HEAD: case L2Item.SLOT_FULL_ARMOR: case L2Item.SLOT_LEGS: { add if ((item.getItem().getItemType() == L2ArmorType.HEAVY) && (activeChar.getClassId().getId() == 8) || (activeChar.getClassId().getId() == 23) || (activeChar.getClassId().getId() == 35) || (activeChar.getClassId().getId() == 93) || (activeChar.getClassId().getId() == 101) || (activeChar.getClassId().getId() == 108) || (activeChar.getClassId().getId() == 9) || (activeChar.getClassId().getId() == 24) || (activeChar.getClassId().getId() == 37) || (activeChar.getClassId().getId() == 92) || (activeChar.getClassId().getId() == 102) || (activeChar.getClassId().getId() == 109)) { activeChar.sendPacket(new SystemMessage(SystemMessageId.CANNOT_EQUIP_ITEM_DUE_TO_BAD_CONDITION)); return; } with this code all human, elfs and dark elfs archers/daggers cannot equip heavy sets... To fix sub-class (Then player take for eg Dark Avanger class, set heavy set, and then change his class to dagger/archer he will be still with heavy set, so this fix will prevent this. ) Go to gameserver/model/actor/instance/ open L2PcInstance.java Find this line public boolean setActiveClass(int classIndex) { and after add L2ItemInstance chest = getInventory().getPaperdollItem(Inventory.PAPERDOLL_CHEST); if (chest != null) { L2ItemInstance[] unequipped = getInventory().unEquipItemInBodySlotAndRecord(chest.getItem().getBodyPart()); InventoryUpdate iu = new InventoryUpdate(); for (L2ItemInstance element : unequipped) iu.addModifiedItem(element); sendPacket(iu); lhand = null; iu = null; unequipped = null; } So then player change sub-class it will remove heavy chest from player. Don't judge me to hard, cuz I'm just started to create my fix'es/mods/events and etc, and I don't have big experiences, like Matim, xAddytzu, B1ggBoss and others.
  4. I have question, it is possible to make (if possible so how) that polymorphed character see his morph, cuz now then player is morphed he see him self as player, not as morph. Gracia type clients have transformation, so its not big deal to create transformation, but IL don't have transformations. From morphed players eyes From other player eyes to morphed player
  5. You can't... I know there is indonesia server with english interface, but i can't find this server :D
  6. go to gameserver\model\zone\type open l2bosszone.java and replace all code with this one: /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.model.zone.type; import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.zone.L2ZoneType; /** * @author DaRkRaGe */ public class L2BossZone extends L2ZoneType { private String _zoneName; public L2BossZone(int id) { super(id); } @Override /* * Boss zones have special behaviors for player characters. Players are automatically teleported out when the attempt to enter these zones, except if the time at which they enter the zone is prior to the entry expiration time set for that player. Entry expiration times are set by any one of the following: 1) A player logs out while in a zone (Expiration gets set to logoutTime + _timeInvade) 2) * An external source (such as a quest or AI of NPC) set up the player for entry. There exists one more case in which the player will be allowed to enter. That is if the server recently rebooted (boot-up time more recent than currentTime - _timeInvade) AND the player was in the zone prior to reboot. */ protected void onEnter(L2Character character) { if (character instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance) character; player.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, true); } } @Override protected void onExit(L2Character character) { if (character instanceof L2PcInstance) { L2PcInstance player = (L2PcInstance) character; player.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, false); } } @Override public void onDieInside(L2Character character) { } @Override public void onReviveInside(L2Character character) { } } and disable all boss from scripts.cfg.. Then you enter to bosszone, player wont be teleported to nearest town... Or you can (i thing it could help), go to data/zones/zones.xml and delete raidboss zones
  7. Tested on L2jBrasil, working to, but need to change from TvT, to TvTEvent.. I don't looked at this one http://www.maxcheaters.com/forum/index.php?topic=21832.0 cuz its for epilogue, epilogue have much more than IL. for eg. Olympiad with gate, with Stadium Manager (Buffer)
  8. one packs have xml(look ant data directory), others pack have in data/stats/ weapon(for weapons), armor(for armors)/ etc(for etc), open this directories, open xml files by id's and you will find weight, price, grade, type ant etc.
  9. Import again forums.sql (real one), i think you deleted it or deleted what is inside of this table. I had same problem.
  10. Long time ago I decided to create retail olympiad for interlude, but I was lack of knowledge, I don't have enough time, but there it is. With this patch you will get: - You will see your opponent CP/HP. - After fight end you don't need wait 5 min, it will teleport you after you win or loose. - Oust all players from Olympiad zone if they are not in competition. - Restore skills Cooltime (I don't know this is retail or not, you can add this or not your choice) - Make distance from opponents (Your choice to add or not) For skills cooltime: Go to gameserver\model\actor\instance open L2PcInstance.java find: private void storeEffect() { add below: if (isInOlympiadMode()) { return; } For distance: Go to gameserver/model/olympiad open olympiad.java find: _playerOne.teleToLocation(_stadiumPort[0], _stadiumPort[1], _stadiumPort[2], true); _playerTwo.teleToLocation(_stadiumPort[0], _stadiumPort[1], _stadiumPort[2], true); replace with: _playerOne.teleToLocation(_stadiumPort[0]+1000, _stadiumPort[1], _stadiumPort[2], true); _playerTwo.teleToLocation(_stadiumPort[0]-1000, _stadiumPort[1], _stadiumPort[2], true); Diff file of Retail Oly stored in 4share.com http://www.4shared.com/file/Vl0a2tI2/Full_oly_core.html Thats all, I tested on L2jTeon and its working perfectly. I add 50 post hide and i think it is fair.
  11. P.s.s.s. in characters.sql add new field with name: pc_point type: int Lenght: 15 Decimal: 0 Allow null: don't check ---------- Default: 0
  12. You forgot to give OnSr from L2PcInstance.
  13. useless, why? FService.java is same as Config.java, in Fservice.java (usualy russian packs) is links to config files, for e.g. fortress_config = config/mods/fortress.properties :))
  14. lol no... 0-human 1-elf 2-d elf 3-orc 4-dworf 5-kamael then sex going in sex table, 0-male, 1-female, if you want get human mage, but not not a human fighter change class id... All classes id you can find in char_templates.sql, for e.g. take id = 12 (sorcer) and you have a human mage.
  15. Little fix: Make title_color and name_color type not int, but varchar to properly read color code :) Great script, working on latest l2jserver
  16. http://www.l2jserver.com/wiki/index.php/Skills I don't know it really work, but you can test to add stat in your mask xml.. stat='rExp' <add order='0x40' stat='rExp' val=500000000000000000000000 /> Test by your self.
  17. Working for interlude same code, no need to change code :) Only imports, screen from Interlude: Give me a few min I post you a working NPC where you can trade item :)
  18. Working, no errors in gs, but I can''t walk and in inventory don't show item.
  19. and what point of ALT+T, i think its must start if (activeChar.FirstTimeInLineage2) cuz all info you can see everytime :D But it will be better if it was on Community Board and more, more info:)
  20. For example I have this line: addItem("Loot", 8184, 1, this, true); But this line add item to player inventory, what need to change, that this item equip automatically on player? I searched using Cursed Weapons but didin't find anything.
  21. No, he mean Olympiad.java you need to have source code of your server pack.
  22. BTW, olympiad point counting by items (oly tokens and nobless item), epilogue have function that you can use //itemcreate and add item to other player, so maybe h4sin talking about this one function?
×
×
  • Create New...