Jump to content

Question

Posted

What i have to do to change this? when i press fake death its goes down but i cant stand until i write /stand , can i somehow make it so to second press on fake death force to stand? i hope i was clear 😕

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

You can check if the skill ID is FakeDeath and if the effect is in use: in this case you exit the effect.

 

L2PcInstance.java #useMagic, find the toogle skill check inside the method and add the following code.

 

if (skill.getId() == 60)
                    effect.exit(true);

 

 

Edited by laRoja
  • Upvote 1
  • 0
Posted (edited)

i found it by search in here.you could as well... from "Zake",
but thats how official skill works. you dont have to edit that :/

L2Character.java
===============================================================

 

search~>  public final void stopFakeDeath(L2Effect effect) 
and replace the whole method with:


+public final void stopFakeDeath(L2Effect effect)
+{
+    if (effect == null)
+        stopEffects(L2EffectType.FAKE_DEATH);
+    else
+        removeEffect(effect);
+
+    // if this is a player instance, start the grace period for this character (grace from mobs only)!
+    if (this instanceof L2PcInstance)
+    {
+        ((L2PcInstance) this).setIsFakeDeath(false);
+        ((L2PcInstance) this).setRecentFakeDeath(true);
+    }
+
+    ChangeWaitType revive = new ChangeWaitType(this,ChangeWaitType.WT_STOP_FAKEDEATH);
+    broadcastPacket(revive);
+    //TODO: Temp hack: players see FD on ppl that are moving: Teleport to someone who uses FD - if he gets up he will fall down again for that client -
+    // even tho he is actually standing... Probably bad info in CharInfo packet?
+    broadcastPacket(new Revive(this));
+ }


L2PcInstance.java
=============================================
Search the method~>  doDie 

+synchronized (this)
+    {
+        if (isFakeDeath())
+            stopFakeDeath(null);
+    }

Edited by Irrelevant
  • 0
Posted (edited)

http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver/head-src/com/l2jfrozen/gameserver/skills/effects/EffectFakeDeath.java

 

@Override
    public void onStart()
    {
        if (getEffected().isFakeDeath())
        {
            getEffected().stopFakeDeath(this);
            return;
        }
        
        getEffected().startFakeDeath();
    }

 

edit onStart method like this

Edited by Zake
  • 0
Posted (edited)
15 hours ago, dramaa93 said:

What i have to do to change this? when i press fake death its goes down but i cant stand until i write /stand , can i somehow make it so to second press on fake death force to stand? i hope i was clear 😕

in file RequestMagicSkillUse.java add this lines

 

            if(activeChar.getPet() != null && skill.getId() == 7021)
                activeChar.getPet().useMagic(skill, _ctrlPressed, _shiftPressed);

 

//ADD THIS LINES -->

            if (skill.getId() == 60 && activeChar.isFakeDeath())
            {
                activeChar.stopFakeDeath(null);
                return;
            }

// <-- ADD THIS LINES

            activeChar.useMagic(skill, _ctrlPressed, _shiftPressed);

 

i hope to help

Have Fun !!!!

Edited by BillyMan
  • 0
Posted
3 hours ago, Zake said:

http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver/head-src/com/l2jfrozen/gameserver/skills/effects/EffectFakeDeath.java

 

@Override
    public void onStart()
    {
        if (getEffected().isFakeDeath())
        {
            getEffected().stopFakeDeath(this);
            return;
        }
        
        getEffected().startFakeDeath();
    }

 

edit onStart method like this

i just tested that & isn't working :/

Guest
This topic is now closed to further replies.


  • Posts

    • What a deductive skills. What is it, 2012? And would You ask for unban with false accusations? I don't have to prove YOU anything. Have fun.
    • Released new security update for Faceit anti-cheat and Gamers Club. Cheat is available again! We also added a few more slots for 1 month subscription and 6 months.
    • This post originally appeared on zupyak.   If you're diving into MLB The Show 25, you know how essential stubs are for building a powerhouse team. Whether you're aiming to snag elite players, upgrade your roster, or stock up on packs, stubs are the key to success. The good news? You don't need to spend real money to earn them. With a little strategy and effort, you can rake in stubs and dominate the diamond.  Here are the top five strategies to maximize your MLB The Show stub earnings and create the ultimate team without breaking the bank.    1. Earning Stubs with Diamond Quest Diamond Quest is a goldmine for stubs. By completing challenges in this mode, you can earn Diamond cards, which often have high sell values. Once you've earned these cards, sell them in the in-game Marketplace for a quick influx of stubs. Additionally, the packs you earn from Diamond Quest can be opened for more cards to sell or use in collections.   2. Completing Conquest Maps Conquest Maps are another excellent way to rack up stubs. Focus on capturing territories and completing map-specific goals. Many maps offer hidden rewards, including packs and stubs, which can significantly boost your earnings. You don't always need to conquer Strongholds—simply taking over territories can yield great rewards.   3. Flipping Cards in the Marketplace The Marketplace is your playground for flipping cards. Look for cards with a significant gap between their "Buy Now" and "Sell Now" prices. Place a Buy Order slightly above the current "Sell Now" price, then list the card for a "Sell Order" just below the "Buy Now" price. After the 10% Marketplace tax, you'll still make a profit. This strategy works best with high-value cards but requires patience and consistency.     4. Leveraging Player Exchanges Player Exchanges are an underrated method for earning stubs. Purchase cheap Silver cards near their quick-sell value, then exchange them for Gold players. These Gold players can either be used in your lineup or sold for a profit. This method is especially effective early in the game when Gold cards hold higher value.   5. Selling Things You Don't Need Don't let unused items clutter your inventory. Regularly check for duplicate cards, equipment, or other items you don't need. Sell these through the Marketplace to free up space and earn extra stubs. Even Bronze and Silver cards can add up over time, so don't overlook them. With these strategies, you'll be well on your way to building a dream team without spending real money. Let me know if you'd like to dive deeper into any of these methods!   Final Thoughts Building your dream team in MLB The Show 25 doesn't have to cost real money. With these five strategies—earning rewards through Diamond Quest, conquering Conquest Maps, flipping cards in the Marketplace, leveraging Player Exchanges, and selling unused items—you'll be well on your way to amassing stubs and creating a roster that rivals even the best in the game. Remember, consistency is key! Whether you're grinding through challenges or flipping cards daily, every little bit adds up over time. Stick with these methods, and soon enough, you'll have the stubs you need to dominate the diamond. Let us know which strategy works best for you—or if you've discovered any additional tips that deserve a spot on this list! Happy grinding!   
    • I don't see that ur account got unbanned https://maxcheaters.com/profile/80641-∽ave∽/  
    • Looking for gracia final/gracia epilogue server files including source.
  • Topics

×
×
  • Create New...