Jump to content

Question

Recommended Posts

  • 0
Posted

http://prntscr.com/3gfgyp this suddently appeared when i press "To Village" and To Village button doesn't work. I need fast help to fix it anyone can help me? 

what new you change or what new you add in your source? you do something wrong in code add or something you change

  • 0
Posted

I dont see anything with error in source. I bought this pack ready to use so i dont know from where should this bug appear... When someone Day and press To Village this error appear and he cant go to village...  www.l2outlaw.net/website check server features maybe it can help you understand from where the bug comes.

  • 0
Posted

I dont see anything with error in source. I bought this pack ready to use so i dont know from where should this bug appear... When someone Day and press To Village this error appear and he cant go to village...  www.l2outlaw.net/website check server features maybe it can help you understand from where the bug comes.

check if have multifunction zone in this pack or other custom zone

  • 0
Posted

It is,as i see. How can i remove this? What should i exactly remove?

1st check if this error you got when you are in pvp zones or in all zones..example go oute of giran die and see if you got this error...2nd check this is the code from multifunction zone: http://pastebin.com/7kf9eYTD

  • 0
Posted (edited)

This error appears in all zones,and No i dont have multifactional zone,i had removed it.

check in code this place: 

 

 

--- head-src/com/l2jfrozen/gameserver/network/serverpackets/Die.java    (revision 948)
+++ head-src/com/l2jfrozen/gameserver/network/serverpackets/Die.java    (working copy)
@@ -31,6 +31,7 @@
import com.l2jfrozen.gameserver.model.entity.event.TvT;
import com.l2jfrozen.gameserver.model.entity.siege.Castle;
import com.l2jfrozen.gameserver.model.entity.siege.Fort;
+import com.l2jfrozen.gameserver.model.zone.type.L2MultiFunctionZone;
 
/**
 * sample 0b 952a1048 objectId 00000000 00000000 00000000 00000000 00000000 00000000 format dddddd rev 377 format
@@ -64,7 +65,8 @@
                                                        || (DM.is_started() && player._inEventDM)
                                                        || (CTF.is_started() && player._inEventCTF)
                                                        || player.isInFunEvent()
-                                                       || player.isPendingRevive());
+                                                       || player.isPendingRevive()
+                                                       || (player.isInsideZone(L2Character.ZONE_MULTIFUNCTION) && L2MultiFunctionZone.revive));
                }
                _charObjId = cha.getObjectId();
                _fake = !cha.isDead();
 
something from here is wrong.
if your error continue search for 1 clean Die.java file in google and search for the differences with yours Die.java file
Edited by nikosdevil20
  • 0
Posted
/*

 * 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 2, 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, write to the Free Software

 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

 * 02111-1307, USA.

 *


 */

package com.l2jfrozen.gameserver.network.serverpackets;

 

import com.l2jfrozen.gameserver.datatables.AccessLevel;

import com.l2jfrozen.gameserver.datatables.sql.AccessLevels;

import com.l2jfrozen.gameserver.managers.CastleManager;

import com.l2jfrozen.gameserver.managers.FortManager;

import com.l2jfrozen.gameserver.model.L2Attackable;

import com.l2jfrozen.gameserver.model.L2Character;

import com.l2jfrozen.gameserver.model.L2SiegeClan;

import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;

import com.l2jfrozen.gameserver.model.entity.event.CTF;

import com.l2jfrozen.gameserver.model.entity.event.DM;

import com.l2jfrozen.gameserver.model.entity.event.TvT;

import com.l2jfrozen.gameserver.model.entity.siege.Castle;

import com.l2jfrozen.gameserver.model.entity.siege.Fort;

 

/**

 * sample 0b 952a1048 objectId 00000000 00000000 00000000 00000000 00000000 00000000 format dddddd rev 377 format

 * ddddddd rev 417

 * 

 * @version $Revision: 1.3.3 $ $Date: 2009/04/29 00:46:18 $

 */

public class Die extends L2GameServerPacket

{

private static final String _S__0B_DIE = " 06 Die";

private int _charObjId;

private boolean _fake;

private boolean _sweepable;

private boolean _canTeleport;

private AccessLevel _access = AccessLevels.getInstance()._userAccessLevel;

private com.l2jfrozen.gameserver.model.L2Clan _clan;

L2Character _activeChar;

 

/**

* @param cha 

*/

public Die(L2Character cha)

{

_activeChar = cha;

if(cha instanceof L2PcInstance)

{

L2PcInstance player = (L2PcInstance) cha;

_access = player.getAccessLevel();

_clan = player.getClan();

_canTeleport = !((TvT.is_started() && player._inEventTvT)

|| (DM.is_started() && player._inEventDM)

|| (CTF.is_started() && player._inEventCTF)

|| player.isInFunEvent()

|| player.isPendingRevive());

}

_charObjId = cha.getObjectId();

_fake = !cha.isDead();

if(cha instanceof L2Attackable)

{

_sweepable = ((L2Attackable) cha).isSweepActive();

}

 

}

 

@Override

protected final void writeImpl()

{

if(_fake)

return;

 

writeC(0x06);

 

writeD(_charObjId);

// NOTE:

// 6d 00 00 00 00 - to nearest village

// 6d 01 00 00 00 - to hide away

// 6d 02 00 00 00 - to castle

// 6d 03 00 00 00 - to siege HQ

// sweepable

// 6d 04 00 00 00 - FIXED

 

writeD(_canTeleport ? 0x01 : 0);   // 6d 00 00 00 00 - to nearest village

 

if(_canTeleport && _clan != null)

{

L2SiegeClan siegeClan = null;

Boolean isInDefense = false;

Castle castle = CastleManager.getInstance().getCastle(_activeChar);

Fort fort = FortManager.getInstance().getFort(_activeChar);

 

if(castle != null && castle.getSiege().getIsInProgress())

{

//siege in progress

siegeClan = castle.getSiege().getAttackerClan(_clan);

if(siegeClan == null && castle.getSiege().checkIsDefender(_clan))

{

isInDefense = true;

}

}

else if(fort != null && fort.getSiege().getIsInProgress())

{

//siege in progress

siegeClan = fort.getSiege().getAttackerClan(_clan);

if(siegeClan == null && fort.getSiege().checkIsDefender(_clan))

{

isInDefense = true;

}

}

 

writeD(_clan.getHasHideout() > 0 ? 0x01 : 0x00); // 6d 01 00 00 00 - to hide away

writeD(_clan.getHasCastle() > 0 || _clan.getHasFort() > 0 || isInDefense ? 0x01 : 0x00); // 6d 02 00 00 00 - to castle

writeD(siegeClan != null && !isInDefense && siegeClan.getFlag().size() > 0 ? 0x01 : 0x00); // 6d 03 00 00 00 - to siege HQ

}

else

{

writeD(0x00); // 6d 01 00 00 00 - to hide away

writeD(0x00); // 6d 02 00 00 00 - to castle

writeD(0x00); // 6d 03 00 00 00 - to siege HQ

}

 

writeD(_sweepable ? 0x01 : 0x00); // sweepable  (blue glow)

writeD(_access.allowFixedRes() ? 0x01 : 0x00); // 6d 04 00 00 00 - to FIXED

}

 

/* (non-Javadoc)

* @see com.l2jfrozen.gameserver.serverpackets.ServerBasePacket#getType()

*/

@Override

public String getType()

{

return _S__0B_DIE;

}

}

 

 

Here is the code

  • 0
Posted

It's a NPE error, something in your source contains null value , maybe the location? Why don't you get support from the pack's owner ?

  • 0
Posted (edited)

I have removed them but.. look the picture http://prntscr.com/3gft5p

go data/zones/peace_zones and search for multifunction zone and remove it. and as i see you have clanwarzone in your pack. i dont know what is this sh1t clanwarzone but if you have remove it and this from source remove it and from data/zones/find the file of clanwarzone

Edited by nikosdevil20
  • 0
Posted

go data/zones/peace_zones and search for multifunction zone and remove it. and as i see you have clanwarzone in your pack. i dont know what is this sh1t clanwarzone but if you have remove it and this from source remove it and from data/zones/find the file of clanwarzone

data/zones/peace_zones cant find it,login at skype.

  • 0
Posted

data/zones/peace_zones cant find it,login at skype.

go data/zones and go in search bar write multi kai meta pata periexomena arxeiou kai opoio arxeio s vgalei anoixeto kai kane search gia multi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Dear players, Open beta test for C3 begins today at 19:00 server time (GMT +2). 💰 All participants who find bugs during OBT will be rewarded with Coin of Luck (CoL): - 1 CoL for each staticmesh issue found — e.g., walking through textures, etc., - 2 CoL or more for server-side issues, depending on their severity., We strongly recommend reviewing the quest list - when switching to Chronicle 3, the total number of quests should match the number shown in the upper right corner of the window and correspond to the quest count from Chronicle 2. To log into the game, use the same data you use to access the Airin server. 📌 Download client: Google Drive
    • 🔥 Sale Alert! 🔥 Twitter Accounts with 50 Followers — now on SALE! Looking to launch a project or warm up your account base fast? We’ve got starter Twitter accounts with ~50 followers at a sweet price. 💰 Limited-time offer – while stock lasts! ✅ Organic-Looking ✅ Clean & Safe ✅ Perfect for boosting credibility 📦 Instant delivery
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • 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