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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before! Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.
    • I agree, l2damage crap to compare to l2java which was the father of pvp servers and till this days people playing there for good time.
    • 📝 Registration — Account Registration Creating a new player account. Usually includes: login password password confirmation email Result: a new record is created in the accounts table (loginserver). 🔑 Change Password — Password Change The player changes the password knowing the current one. Required: current password new password new password confirmation Result: the password field is updated in the accounts table. ♻️ Password Recovery — Password Reset If the player forgot the password. Implementation only via email: the player enters their login, email the system sends an email with a link or code the player opens the link / enters the code sets a new password Result: the password is updated in the accounts table.   All fields are validated (required, format, length, uniqueness, security checks).   Price: 80$   and i can rewrite script for PTS server.   Contacts:   Telegram Discord
    • So dont plat that waste time&money server.   GM promises pie in the sky, but does nothing. It's all about money, money, money. And wipe.   SCAM server!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..