If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4391
L2JDP Revision Number:7633
I have a problem... Can someone help me? Please? SVN is up to date... I downloaded last revision.
http://img836.imageshack.us/f/36780934.jpg/
http://img716.imageshack.us/f/28182696.jpg/
http://img694.imageshack.us/f/39698929.png/
http://img517.imageshack.us/f/58580883.jpg/
Error... Cant patch...
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 141
- Joined: Tue Aug 26, 2008 10:07 am
Re: Error... Cant patch...
the patch you are trying to apply is not for epilogue
-
- Posts: 28
- Joined: Sun Jul 11, 2010 4:44 am
Re: Error... Cant patch...
Well,i got this patch... Its for "no-store" zones... Can you help me,and reconfigure it for epilogue,please?
Here is the patch:
nostore-zone-db.patch
nostore-zone.patch
Can you fix this to be for the Epilogue?
Thanks!
Here is the patch:
nostore-zone-db.patch
Code: Select all
Index: sql/zone_vertices.sql===================================================================--- sql/zone_vertices.sql (revision 7633)+++ sql/zone_vertices.sql (working copy)@@ -2241,4 +2241,37 @@ (20100,3,44504,18780), (20100,4,43284,18952), (20100,5,42476,18164),-(20100,6,42480,16448);\ No newline at end of file+(20100,6,42480,16448);++-- No-Store zones+INSERT INTO `zone_vertices` (`id`,`order`,`x`,`y`) VALUES+(20200,0,81446,143530),+(20200,1,81635,147720),+(20201,0,83790,143495),+(20201,1,84000,147230),+(20202,0,77080,148525),+(20202,1,81780,148720),+(20203,0,81435,149530),+(20203,1,81640,152920),+(20204,0,80930,147680),+(20204,1,82940,147875),+(20205,0,80930,147680),+(20205,1,81115,149540),+(20206,0,80925,149340),+(20206,1,82940,149535),+(20207,0,82735,147000),+(20207,1,84320,149780),+(20208,0,81985,147450),+(20208,1,82205,147710),+(20209,0,81865,149530),+(20209,1,82030,149680),+(20210,0,81205,149520),+(20210,1,81510,149830),+(20211,0,81055,146820),+(20211,1,81455,147000),+(20212,0,81620,146465),+(20212,1,82035,146680),+(20213,0,80655,146350),+(20213,1,80855,146460),+(20214,0,79200,149455),+(20214,1,79300,149645);\ No newline at end of fileIndex: data/zones/zone.xml===================================================================--- data/zones/zone.xml (revision 7633)+++ data/zones/zone.xml (working copy)@@ -1281,4 +1281,21 @@ <!-- Swamp zones --> <zone id='20100' type='SwampZone' shape='NPoly' minZ='-4468' maxZ='-4118'/>++<!-- No Store zones -->+ <zone id="20200" type="NoStoreZone" shape="Cuboid" minZ="-3400" maxZ="-3550"/> <!-- Giran - northern coridor - west -->+ <zone id="20201" type="NoStoreZone" shape="Cuboid" minZ="-3350" maxZ="-3450"/> <!-- Giran - northern coridor - east -->+ <zone id="20202" type="NoStoreZone" shape="Cuboid" minZ="-3650" maxZ="-3400"/> <!-- Giran - western coridor (up to the Dusk Priestess) -->+ <zone id="20203" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3400"/> <!-- Giran - southern coridor -->+ <zone id="20204" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - northern path -->+ <zone id="20205" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - western path -->+ <zone id="20206" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - southern path -->+ <zone id="20207" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3350"/> <!-- Giran - large temple area (gatekeeper and Priest of Dawn area) -->+ <zone id="20208" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - olympiad manager -->+ <zone id="20209" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - manor manager -->+ <zone id="20210" type="NoStoreZone" shape="Cuboid" minZ="-3500" maxZ="-3400"/> <!-- Giran - auctioneer and gabrielle -->+ <zone id="20211" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3450"/> <!-- Giran - path to taurin -->+ <zone id="20212" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3450"/> <!-- Giran - path to warehouse -->+ <zone id="20213" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3450"/> <!-- Giran - Taurin -->+ <zone id="20214" type="NoStoreZone" shape="Cuboid" minZ="-3550" maxZ="-3450"/> <!-- Giran - Collob --> </list>
nostore-zone.patch
Code: Select all
Index: java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java===================================================================--- java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java (revision 4391)+++ java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListBuy.java (working copy)@@ -15,9 +15,11 @@ package net.sf.l2j.gameserver.network.clientpackets; import net.sf.l2j.Config;+import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.TradeList; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId;+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.PrivateStoreManageListBuy; import net.sf.l2j.gameserver.network.serverpackets.PrivateStoreMsgBuy; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;@@ -75,6 +77,13 @@ return; } + if (player.isInsideZone(L2Character.ZONE_NOSTORE)) {+ player.sendPacket(new PrivateStoreManageListBuy(player));+ player.sendPacket(new SystemMessage(SystemMessageId.NO_PRIVATE_STORE_HERE));+ player.sendPacket(ActionFailed.STATIC_PACKET);+ return;+ }+ TradeList tradeList = player.getBuyList(); tradeList.clear(); Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java===================================================================--- java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java (revision 4391)+++ java/net/sf/l2j/gameserver/network/clientpackets/RequestRecipeShopListSet.java (working copy)@@ -15,11 +15,15 @@ package net.sf.l2j.gameserver.network.clientpackets; import net.sf.l2j.Config;+import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.L2ManufactureItem; import net.sf.l2j.gameserver.model.L2ManufactureList; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId;+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;+import net.sf.l2j.gameserver.network.serverpackets.RecipeShopManageList; import net.sf.l2j.gameserver.network.serverpackets.RecipeShopMsg;+import net.sf.l2j.gameserver.network.serverpackets.RecipeShopSellList; import net.sf.l2j.gameserver.network.serverpackets.SystemMessage; /**@@ -63,6 +67,13 @@ return; } + if (player.isInsideZone(L2Character.ZONE_NOSTORE)) {+ //player.sendPacket(new RecipeShopManageList(player, player.isDwarven()));+ player.sendPacket(new SystemMessage(SystemMessageId.NO_PRIVATE_WORKSHOP_HERE));+ player.sendPacket(ActionFailed.STATIC_PACKET);+ return;+ }+ if (_count == 0) { player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);Index: java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java===================================================================--- java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java (revision 4391)+++ java/net/sf/l2j/gameserver/network/clientpackets/SetPrivateStoreListSell.java (working copy)@@ -15,9 +15,11 @@ package net.sf.l2j.gameserver.network.clientpackets; import net.sf.l2j.Config;+import net.sf.l2j.gameserver.model.L2Character; import net.sf.l2j.gameserver.model.TradeList; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.SystemMessageId;+import net.sf.l2j.gameserver.network.serverpackets.ActionFailed; import net.sf.l2j.gameserver.network.serverpackets.ExPrivateStoreSetWholeMsg; import net.sf.l2j.gameserver.network.serverpackets.PrivateStoreManageListSell; import net.sf.l2j.gameserver.network.serverpackets.PrivateStoreMsgSell;@@ -79,6 +81,13 @@ return; } + if (player.isInsideZone(L2Character.ZONE_NOSTORE)) {+ player.sendPacket(new PrivateStoreManageListSell(player, _packageSale));+ player.sendPacket(new SystemMessage(SystemMessageId.NO_PRIVATE_STORE_HERE));+ player.sendPacket(ActionFailed.STATIC_PACKET);+ return;+ }+ TradeList tradeList = player.getSellList(); tradeList.clear(); tradeList.setPackaged(_packageSale);Index: java/net/sf/l2j/gameserver/model/L2Character.java===================================================================--- java/net/sf/l2j/gameserver/model/L2Character.java (revision 4391)+++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)@@ -202,8 +202,9 @@ public static final byte ZONE_SWAMP = 11; public static final byte ZONE_NOSUMMONFRIEND = 12; public static final byte ZONE_FORT = 13;+ public static final byte ZONE_NOSTORE = 14; - private final byte[] _zones = new byte[14];+ private final byte[] _zones = new byte[15]; protected byte _zoneValidateCounter = 4; private boolean _isRaid = false;Index: java/net/sf/l2j/gameserver/model/zone/type/L2NoStoreZone.java===================================================================--- java/net/sf/l2j/gameserver/model/zone/type/L2NoStoreZone.java (revision 0)+++ java/net/sf/l2j/gameserver/model/zone/type/L2NoStoreZone.java (revision 0)@@ -0,0 +1,55 @@+/*+ * 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;++/**+ * Zone where store is not allowed.+ * + * @author fordfrog+ */+public class L2NoStoreZone extends L2ZoneType {++ public L2NoStoreZone(final int id) {+ super(id);+ }++ @Override+ protected void onEnter(final L2Character character) {+ if (character instanceof L2PcInstance) {+ character.setInsideZone(L2Character.ZONE_NOSTORE, true);+ //character.sendMessage("You have entered no-store zone");+ }+ }++ @Override+ protected void onExit(final L2Character character) {+ if (character instanceof L2PcInstance) {+ character.setInsideZone(L2Character.ZONE_NOSTORE, false);+ //character.sendMessage("You have left no-store zone");+ }+ }++ @Override+ public void onDieInside(final L2Character character) {+ }++ @Override+ public void onReviveInside(final L2Character character) {+ }+}Index: java/net/sf/l2j/gameserver/instancemanager/ZoneManager.java===================================================================--- java/net/sf/l2j/gameserver/instancemanager/ZoneManager.java (revision 4391)+++ java/net/sf/l2j/gameserver/instancemanager/ZoneManager.java (working copy)@@ -182,6 +182,8 @@ temp = new L2BossZone(zoneId); else if (zoneType.equals("WaterZone")) temp = new L2WaterZone(zoneId);+ else if (zoneType.equals("NoStoreZone"))+ temp = new L2NoStoreZone(zoneId); // Check for unknown type if (temp == null)
Can you fix this to be for the Epilogue?
Thanks!
-
- Posts: 28
- Joined: Sun Jul 11, 2010 4:44 am
Re: Error... Cant patch...
What with that? Explain please...
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Error... Cant patch...
did you even check if your core has already the no store zone implemented? check L2NoStoreZone and zone.xml .
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 141
- Joined: Tue Aug 26, 2008 10:07 am
Re: Error... Cant patch...
replace all
net.sf.l2j with com.l2jserver and
net/sf/l2j with com/l2jserver
but first do as janiii said
net.sf.l2j with com.l2jserver and
net/sf/l2j with com/l2jserver
but first do as janiii said
janiii wrote:did you even check if your core has already the no store zone implemented? check L2NoStoreZone and zone.xml
-
- Posts: 28
- Joined: Sun Jul 11, 2010 4:44 am
Re: Error... Cant patch...
Oh god...It has... Didint see that... But i want it to be in Giran around the statue... You know in the square around the statue?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Error... Cant patch...
search on forum. locked.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!