Jump to content

Ta®oS™

Members
  • Posts

    190
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Ta®oS™

  1. otan mpenw sto valakas zone mou deinw 2 skill. to danger area kai to flame

    molis feuvgw apo to valakas zone to danger area feuvgei alla to flame menei gia panta

    pws mporw na to diorthoso auto ? exo l2jfrozen 1004

     

     

    how i can delete the flame skill on valakas zone ?

  2. i have add this code

    ### Eclipse Workspace Patch 1.0
    #P aCis_gameserver
    Index: java/net/sf/l2j/gameserver/model/actor/L2Character.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/actor/L2Character.java    (revision 16)
    +++ java/net/sf/l2j/gameserver/model/actor/L2Character.java    (working copy)
    @@ -136,6 +136,17 @@
    */
    public abstract class L2Character extends L2Object
    {
    +    private boolean _isBuffProtected = false; //Protect From Debuffs
    +    public final void setIsBuffProtected(boolean value)
    +     {
    +     _isBuffProtected = value;
    +     }
    +     
    +     public boolean isBuffProtected()
    +     {
    +     return _isBuffProtected; 
    +     }
    +
        public static final Logger _log = Logger.getLogger(L2Character.class.getName());
        
        private Set<L2Character> _attackByList;
    Index: java/net/sf/l2j/gameserver/handler/skillhandlers/Continuous.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/handler/skillhandlers/Continuous.java    (revision 16)
    +++ java/net/sf/l2j/gameserver/handler/skillhandlers/Continuous.java    (working copy)
    @@ -89,6 +89,15 @@
                        if (target.getFirstEffect(L2EffectType.BLOCK_BUFF) != null)
                            continue;
                        
    +                    // Anti-Buff Protection prevents you from getting buffs by other players 
    +                    if (activeChar instanceof L2PcInstance && target != activeChar && target.isBuffProtected() && !skill.isHeroSkill()
    +                    && (skill.getSkillType() == L2SkillType.BUFF                        
    +                    || skill.getSkillType() == L2SkillType.HEAL_PERCENT
    +                    || skill.getSkillType() == L2SkillType.MANAHEAL_PERCENT
    +                    || skill.getSkillType() == L2SkillType.COMBATPOINTHEAL
    +                    || skill.getSkillType() == L2SkillType.REFLECT))
    +                    continue;
    +                                        
                        // Player holding a cursed weapon can't be buffed and can't buff
                        if (!(activeChar instanceof L2ClanHallManagerInstance) && target != activeChar)
                        {
    Index: java/net/sf/l2j/gameserver/skills/effects/EffectDeflectBuff.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/skills/effects/EffectDeflectBuff.java    (revision 0)
    +++ java/net/sf/l2j/gameserver/skills/effects/EffectDeflectBuff.java    (revision 0)
    @@ -0,0 +1,82 @@
    +package net.sf.l2j.gameserver.skills.effects;
    +
    +import net.sf.l2j.gameserver.model.L2Effect;
    +import net.sf.l2j.gameserver.templates.skills.L2EffectType;
    +import net.sf.l2j.gameserver.templates.skills.L2SkillType;
    +import net.sf.l2j.gameserver.network.SystemMessageId;
    +import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
    +import net.sf.l2j.gameserver.skills.Env;
    +
    +/**
    +* @author Java
    +*/
    +public final class EffectDeflectBuff extends L2Effect
    +{
    + /**
    + * @param env
    + * @param template
    + */
    + public EffectDeflectBuff(Env env, EffectTemplate template)
    + {
    + super(env, template);
    + }
    +
    + /*
    + * (non-Javadoc)
    + *
    + * @see net.sf.l2j.gameserver.model.L2Effect#getEffectType()
    + */
    + @Override
    + public L2EffectType getEffectType()
    + {
    +     return L2EffectType.PREVENT_BUFF;
    + }
    + 
    + /*
    + * (non-Javadoc)
    + *
    + * @see net.sf.l2j.gameserver.model.L2Effect#onActionTime()
    + */
    + @Override
    + public boolean onActionTime()
    + {
    + // Only cont skills shouldn't end
    + if(getSkill().getSkillType() != L2SkillType.CONT)
    + return false;
    +
    + double manaDam = calc();
    +
    + if(manaDam > getEffected().getCurrentMp())
    + {
    +     SystemMessage sm = new SystemMessage(SystemMessageId.SKILL_REMOVED_DUE_LACK_MP);
    + getEffected().sendPacket(sm);
    + return false;
    + }
    +
    + getEffected().reduceCurrentMp(manaDam);
    + return true;
    + }
    + 
    + /*
    + * (non-Javadoc)
    + *
    + * @see net.sf.l2j.gameserver.model.L2Effect#onStart()
    + */
    + @Override
    + public boolean onStart()
    + {
    +     getEffected().setIsBuffProtected(true);
    +     return true;
    + }
    +
    + /*
    + * (non-Javadoc)
    + *
    + * @see net.sf.l2j.gameserver.model.L2Effect#onExit()
    + */
    + @Override
    + public void onExit()
    + {
    +     getEffected().setIsBuffProtected(false);
    + }
    +}
    \ No newline at end of file
    Index: java/net/sf/l2j/gameserver/network/serverpackets/SystemMessage.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/network/serverpackets/SystemMessage.java    (revision 16)
    +++ java/net/sf/l2j/gameserver/network/serverpackets/SystemMessage.java    (working copy)
    @@ -110,7 +110,7 @@
        private SMParam[] _params;
        private int _paramIndex;
        
    -    private SystemMessage(final SystemMessageId smId)
    +    public SystemMessage(final SystemMessageId smId)
        {
            final int paramCount = smId.getParamCount();
            _smId = smId;
    Index: java/net/sf/l2j/gameserver/templates/skills/L2EffectType.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/templates/skills/L2EffectType.java    (revision 16)
    +++ java/net/sf/l2j/gameserver/templates/skills/L2EffectType.java    (working copy)
    @@ -80,5 +80,6 @@
        WARP,
        
        SIGNET_GROUND,
    -    SIGNET_EFFECT
    +    SIGNET_EFFECT,
    +    PREVENT_BUFF
    }
    \ No newline at end of file
    #P aCis_datapack
    Index: data/xml/skills/0100-0199.xml
    ===================================================================
    --- data/xml/skills/0100-0199.xml    (revision 11)
    +++ data/xml/skills/0100-0199.xml    (working copy)
    @@ -949,10 +949,14 @@
                <add order="0x40" stat="cAtkAdd" val="#crit"/>
            </for>
        </skill>
    -    <skill id="194" levels="1" name="Lucky">
    +    <skill id="194" levels="1" name="Anti-Buff">
    +     <!-- Blocks unwanted buffs. -->
            <set name="target" val="TARGET_SELF"/>
    -        <set name="skillType" val="LUCK"/>
    -        <set name="operateType" val="OP_PASSIVE"/>
    +        <set name="skillType" val="CONT"/>
    +        <set name="operateType" val="OP_TOGGLE"/>
    +        <for>
    +            <effect count="0x7fffffff" name="DeflectBuff" time="3" val="0"/>
    +        </for>
        </skill>
        <skill id="195" levels="2" name="Boost Breath">
            <table name="#breath"> 180 300 </table>

    i have delete the skill LUCKY with the same ID i have set AutoLearnSkills=True and i have this error

     

    storeSkill() couldn't store new skill. It's null type.
     

    and one problem dont working the oly rank's i use acis 300revision

  3. whats is this error ?

     

    --------------------------------------------------------------------=[ Zones ]
    Loading zones...
    com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@af57ffa -- Ac
    quisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a
     needed new resource, we failed to succeed more than the maximum number of allow
    ed acquisition attempts (0). Last acquisition attempt exception:
    Communications link failure
    
    The last packet successfully received from the server was 10.075 milliseconds ag
    o.  The last packet sent successfully to the server was 10.075 milliseconds ago.
    
    Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePo
    ol@1ac2122c is interrupting all Threads waiting on a resource to check out. Will
     try again in response to new client requests.
    ZoneManager: loaded 23 zones classes and 1016 zones.

    i use acis

  4. i search this file ChaTtell on l2jfrozen and i cant find.

     

    i need to adapt this small code

     

     

    Index: java/net/sf/l2j/gameserver/handler/chathandlers/ChatTell.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/handler/chathandlers/ChatTell.java    (revision 5)
    +++ java/net/sf/l2j/gameserver/handler/chathandlers/ChatTell.java    (working copy)
    @@ -18,6 +18,7 @@
     import net.sf.l2j.gameserver.model.BlockList;
     import net.sf.l2j.gameserver.model.L2World;
     import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
    +import net.sf.l2j.gameserver.model.entity.Trivia;
     import net.sf.l2j.gameserver.network.SystemMessageId;
     import net.sf.l2j.gameserver.network.serverpackets.CreatureSay;
     
    @@ -39,10 +40,30 @@
         @Override
         public void handleChat(int type, L2PcInstance activeChar, String target, String text)
         {
    +            
             // Return if no target is set.
             if (target == null)
                 return;
             
    +        if(target.equalsIgnoreCase("trivia"))
    +        {
    +            if(Trivia.isInactive())
    +            {
    +                activeChar.sendMessage("Trivia event is not currently running.");
    +                return;
    +            }
    +            else if(!Trivia.isAnswering() || Trivia.isCorrect() || Trivia.isRewarding())
    +            {
    +                activeChar.sendMessage("You cannot answer now.");
    +                return;
    +            }
    +            else
    +            {
    +                Trivia.handleAnswer(text,activeChar);
    +                return;
    +            }
    +        }
    +        
             final L2PcInstance receiver = L2World.getInstance().getPlayer(target);
             if (receiver != null)
             {
  5. i have find this.  to spend ? worth ?

    http://img9.imageshack.us/img9/3153/lolfbs.png

    Index: /Gs folder/java/config/server.properties
    ===================================================================
    --- /Gs folder/java/config/server.properties (revision 10)
    +++ /Gs folder/java/config/server.properties (revision 443)
    @@ -72,4 +72,8 @@
     CharMaxNumber = 7
     
    +# Packet Handler Debug
    +# DO NOT CHANGE IT
    +PacketHandlerDebug = False
    +
     # Define how many players are allowed to play simultaneously on your server.
     MaximumOnlineUsers = 500
    Index: /Gs folder/java/net/sf/l2j/Config.java
    ===================================================================
    --- /Gs folder/java/net/sf/l2j/Config.java (revision 422)
    +++ /Gs folder/java/net/sf/l2j/Config.java (revision 443)
    @@ -1528,4 +1528,5 @@
         /** External Hostname */
         public static String EXTERNAL_HOSTNAME;
    +    public static boolean PACKET_HANDLER_DEBUG;
         public static int PATH_NODE_RADIUS;
         public static int NEW_NODE_ID;
    @@ -1594,4 +1595,5 @@
                     EXTERNAL_HOSTNAME = serverSettings.getProperty("ExternalHostname", "*");
                     INTERNAL_HOSTNAME = serverSettings.getProperty("InternalHostname", "*");
    +                PACKET_HANDLER_DEBUG = Boolean.parseBoolean(serverSettings.getProperty("PacketHandlerDebug", "False"));
                     GAME_SERVER_LOGIN_PORT = Integer.parseInt(serverSettings.getProperty("LoginPort", "9014"));
                     GAME_SERVER_LOGIN_HOST = serverSettings.getProperty("LoginHost", "127.0.0.1");
    [code][code]ex: /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java
    ===================================================================
    --- /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java (revision 3)
    +++ /Gs folder/java/net/sf/l2j/gameserver/network/clientpackets/ProtocolVersion.java (revision 443)
    @@ -42,7 +42,9 @@
             // this packet is never encrypted
             if (_version == -2)
    -        {
    +        {        
                 if (Config.DEBUG)
                     _log.info("Ping received");
    +            if (!Config.PACKET_HANDLER_DEBUG)
    +                return;
                 // this is just a ping attempt from the new C2 client
                 getClient().closeNow();
    @@ -50,4 +52,6 @@
             else if ((_version < Config.MIN_PROTOCOL_REVISION) || (_version > Config.MAX_PROTOCOL_REVISION))
             {
    +            if (!Config.PACKET_HANDLER_DEBUG)
    +                return;         
                 _log.info("Client: " + getClient().toString() + " -> Protocol Revision: " + _version + " is invalid. Minimum is " + Config.MIN_PROTOCOL_REVISION + " and Maximum is " + Config.MAX_PROTOCOL_REVISION + " are supported. Closing connection.");
                 _log.warning("Wrong Protocol Version " + _version);
    @@ -60,4 +64,6 @@
                     _log.fine("Client Protocol Revision is ok: " + _version);
                 }
    +            if (!Config.PACKET_HANDLER_DEBUG)
    +                return;
                 KeyPacket pk = new KeyPacket(getClient().enableCrypt());
                 getClient().sendPacket(pk);
  6. whats is this ?

     

     

    Unknown Packet: e on State: CONNECTED Client: [IP: 94.69.250.39]
    0000: 98 00 00 00 09 07 54 56 03 09 0b 01 07 02 54 54    ......TV......TT
    0010: 56 07 00 02 55 56 00 51 00 53 57 04 07 55 08 54    V...UV.Q.SW..U.T
    0020: 01 07 01 53 00 56 55 56 01 06 05 04 51 03 08 51    ...S.VUV....Q..Q
    0030: 08 51 56 04 54 06 55 08 02 09 51 56 01 53 06 55    .QV.T.U...QV.S.U
    0040: 04 53 00 56 56 53 01 09 02 09 01 51 54 51 09 55    .S.VVS.....QTQ.U
    0050: 56 09 03 04 07 05 55 04 06 55 04 06 09 04 51 01    V.....U..U....Q.
    0060: 08 08 06 05 52 06 04 01 07 54 03 06 52 55 06 55    ....R....T..RU.U
    0070: 55 51 01 02 04 54 03 55 54 01 57 51 55 05 52 05    UQ...T.UT.WQU.R.
    0080: 54 07 51 51 55 07 02 53 53 00 52 05 52 07 01 54    T.QQU..SS.R.R..T
    0090: 00 03 05 05 08 06 05 05 06 03 00 0d 08 01 07 09    ................
    00a0: 03 51 03 07 53 09 51 06 07 54 0a 50 56 02 52 04    .Q..S.Q..T.PV.R.
    00b0: 05 55 51 02 53 00 08 54 04 52 56 06 02 09 00 08    .UQ.S..T.RV.....
    00c0: 03 53 56 01 05 00 55 06 08 56 04 0d 06 07 52 06    .SV...U..V....R.
    00d0: 07 04 0a 06 01 04 54 04 00 05 02 04 54 00 09 52    ......T.....T..R
    00e0: 53 05 04 01 04 05 05 01 52 51 52 0d 06 51 08 09    S.......RQR..Q..
    00f0: 54 53 00 0d 01 02 03 54 53 01 05 03 08 56 54 07    TS.....TS....VT.
    0100: 02 54 0b 06 a6 23 f4 fe                            .T...#..
    
    
    Unknown Packet: e on State: CONNECTED Client: [IP: 79.186.198.105]
    0000: 11 01 00 00 09 07 54 56 03 09 0b 01 07 02 54 54    ......TV......TT
    0010: 56 07 00 02 55 56 00 51 00 53 57 04 07 55 08 54    V...UV.Q.SW..U.T
    0020: 01 07 01 53 00 56 55 56 01 06 05 04 51 03 08 51    ...S.VUV....Q..Q
    0030: 08 51 56 04 54 06 55 08 02 09 51 56 01 53 06 55    .QV.T.U...QV.S.U
    0040: 04 53 00 56 56 53 01 09 02 09 01 51 54 51 09 55    .S.VVS.....QTQ.U
    0050: 56 09 03 04 07 05 55 04 06 55 04 06 09 04 51 01    V.....U..U....Q.
    0060: 08 08 06 05 52 06 04 01 07 54 03 06 52 55 06 55    ....R....T..RU.U
    0070: 55 51 01 02 04 54 03 55 54 01 57 51 55 05 52 05    UQ...T.UT.WQU.R.
    0080: 54 07 51 51 55 07 02 53 53 00 52 05 52 07 01 54    T.QQU..SS.R.R..T
    0090: 00 03 05 05 08 06 05 05 06 03 00 0d 08 01 07 09    ................
    00a0: 03 51 03 07 53 09 51 06 07 54 0a 50 56 02 52 04    .Q..S.Q..T.PV.R.
    00b0: 05 55 51 02 53 00 08 54 04 52 56 06 02 09 00 08    .UQ.S..T.RV.....
    00c0: 03 53 56 01 05 00 55 06 08 56 04 0d 06 07 52 06    .SV...U..V....R.
    00d0: 07 04 0a 06 01 04 54 04 00 05 02 04 54 00 09 52    ......T.....T..R
    00e0: 53 05 04 01 04 05 05 01 52 51 52 0d 06 51 08 09    S.......RQR..Q..
    00f0: 54 53 00 0d 01 02 03 54 53 01 05 03 08 56 54 07    TS.....TS....VT.
    0100: 02 54 0b 06 a6 23 f4 fe                            .T...#..

     

    its phx ? and how to fix ?

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