Jump to content

Fix Stealth invisible show effects when u move camera


Recommended Posts

  • Developer

M2 Download Center

This is the hidden content, please
( Internal )

There is a bug about the stealth of the assassin with buffs actived.

If the players near the assassin that is using the stealth move the camera zoom , the effects become visible again.

 

This is the hidden content, please
the fix of this problem

source : myself

 

Sameone could need to add

#include "../UserInterface/Locale_inc.h"

at the beginning of the file source/EterBase/StdAfx.h

to include the defines in Locale_inc.h


------- EDIT ------
Due to some change on client-source someone may require a small fix to be added to this system:
 

// SEARCH
void CEffectInstance::__Initialize() 
{

// ADD
#ifdef __ENABLE_STEALTH_FIX__
	ReleaseAlwaysHidden();
#endif

 

Edited by Ikarus_
  • Metin2 Dev 307
  • kekw 4
  • Eyes 2
  • Dislove 1
  • Not Good 1
  • Cry 1
  • Smile Tear 1
  • Think 3
  • Confused 3
  • Scream 1
  • Good 72
  • muscle 1
  • Love 14
  • Love 130

My youtube channel  on which you can see my works here

if you use this you will have many visual bugs
bug /inv
the effects are not displayed
https://metin2.download/picture/CnVSpHIo316ixhb7w3MZdIQIAKoK562m/.gif
https://metin2.download/picture/3bwnR3oA8e506l76it68TtYMs9Jy6PSO/.gif
https://metin2.download/picture/QTRjG7wZ5C8L3KGKRLl78sCBUwWmPJ5h/.gif

and the gm effect is not displayed

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 6
  • Think 1
  • Good 4
  • Love 3
  • Love 5
  • Developer

i don't have any of these bugs (i m using martysama v4.9-extended).

if you can post this method : void CInstanceBase::__SetAffect(UINT eAffect, bool isVisible)

i will help you to fix your problems

Edited by Ikarus_
  • Love 1

My youtube channel  on which you can see my works here

35 minutes ago, Ikarus_ said:

i don't have any of these bugs (i m using martysama v4.9-extended).

if you can post this method : void CInstanceBase::__SetAffect(UINT eAffect, bool isVisible)

i will help you to fix your problems

I fixed the problems, it was about 1 fix i had in my source .
https://metin2.download/picture/SXBHowMoPIMiDjBHBAvekaAyBgaC9MNK/.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Dislove 1
  • Good 2
  • Love 2
  • Honorable Member

Is this a fix for this problem?

JJfLGFC.gif

 

Edited by Metin2 Dev
Core X - External 2 Internal

GhwYizE.gif

7 minutes ago, Tatsumaru said:

Is this a fix for this problem?

JJfLGFC.gif

 

Yes it'f fix for this

 

This bug happend only if you are GM anyway, just use 2 characters that are not gm..

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
  • Developer

  

1 hour ago, Tatsumaru said:

Is this a fix for this problem?

JJfLGFC.gif

 

Yes exactly it

No the bug happen always, gm or not

was missing the file GrpObjectInstance.h in the repository, i've added it right now

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

My youtube channel  on which you can see my works here

  • Active Member
15 hours ago, gokhandemir said:

Hi, devil tower floor 5 fps problem fix?

If you're writing about fps drops at Seals's floor you can check if stones from previous floor was purged correctly.

  • 6 months later...
  • 6 months later...
  • 1 month later...
  • Developer
On 5/20/2021 at 7:40 AM, Suzar said:

I do not recommend it, it causes a lot of inconvenience.

For example?

I used it for a long time and i can affirm that is stable, so if you got problems about this fix probably you got some change that is conflicting with it.
If you need you can post your problems and we could search for a solution.

Edited by Ikarus_

My youtube channel  on which you can see my works here

  • 4 months later...

Hi, i have problem with ninja stealth skill i try use this fix but nothing.

Ninja skill - video

 

FIXED.

Thank you very much.

Edited by Metin2 Dev
Core X - External 2 Internal
  • 4 weeks later...
On 11/15/2021 at 5:56 PM, Tester said:

Hi, i have problem with ninja stealth skill i try use this fix but nothing.

Ninja skill - video

 

FIXED.

Thank you very much.

how did you solve it?

Edited by Metin2 Dev
Core X - External 2 Internal
  • 7 months later...
  • 6 months later...

BOOL CInstanceBase::IsInvisibility()
{
    if (IsAffect(AFFECT_INVISIBILITY) || IsAffect(AFFECT_EUNHYEONG) || IsAffect(AFFECT_HOSIN))
        return true;

    return false;
}

 

I found a solution like this, but it works ?

  • 5 months later...
On 7/7/2021 at 6:24 PM, SussyFlore96 said:

Ninja character is hidden when is in the invisibility, but when he run you can see the dust ?

InstanceBase.cpp, search for if (__IsInDustRange()) and replace with if (__IsInDustRange() && !IsAffect(AFFECT_EUNHYEONG))

  • 5 months later...
  • 2 months later...

I posted it a while ago and it was causing bugs quite frequently (the visuals of the skills didn't come out, the complete "damage" didn't come out), after this last update to the post, I applied the correction and it improved significantly, I fixed the ninja problem and the effects are hidden.

However, the problems as before continue to occur (the visuals of the skills do not appear, the complete "damage" does not appear), he noticed that the problems only occurred when there are 20/40 players on a map, especially during a war/event . In tests with few players there is no problem. If there is any kind of solution, I would appreciate it. Mainly using effects on weapons/armor, this ninja bug fix is essential.

Edit: After applying correction, kingdom "flag" also disappears, I believe it should be maintained.

.png

Edited by Klaus
  • 6 months later...

I added Mali61's __BL_GRAPHIC_ON_OFF__ system. Then I noticed that when the player entered the game, there was a problem with the weapon effects or armor effects or when you exit and re-enter the game, the effects disappeared. Actually, this problem was not caused by the __BL_GRAPHIC_ON_OFF__ system. But I thought it was caused by Mali61's system. The problem is in your system. When I disabled the macro from locale_inc.h, the problem was solved.

Effects are loaded when you first enter the game (GM has no such problem), and when isVisible ends, the effects appear on a normal player. When I change my character and enter the game again, the effects do not appear, or on another account (the game is open in another window), the effects do not appear. There are major effect problems.
 

Macro disabled:

https://youtu.be/NfzvlV5u23g

 

Macro Enabled:

https://youtu.be/zNPB5lwhFTA

 

or it conflicts with Mali's system.

Edited by BadRomani
  • 2 weeks later...
  • 2 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.