Jump to content

Recommended Posts

  • Former Staff

Hey i found a Dif by Inverss that should fix the invisibility bug on 34083 game.
Even though there is the fact its not made by me i want to release it here because its so important and belongs to the MUST HAVE stuff.
 

Dif

Spoiler

 

Here is it:


00025B1E: D7 CB
data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==

It changes an affect casted on the character on appearing (login, revive)

 

 

C++

Spoiler

Well, this is just a workaround, if you want to fix it correctly just open char.cpp, search for void CHARACTER::OnMove(bool bIsAttack)

and delete or comment these two strings:
 


if (IsAffectFlag(AFF_REVIVE_INVISIBLE))
RemoveAffect(AFFECT_REVIVE_INVISIBLE);

 

 

  • Love 2
Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/
Share on other sites

  • Honorable Member

source c++ fix?

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/#findComment-3558
Share on other sites

Well, this is just a workaround, if you want to fix it correctly just open char.cpp, search for void CHARACTER::OnMove(bool bIsAttack)

 

7xjN5.png

 and delete or comment these two strings:
if (IsAffectFlag(AFF_REVIVE_INVISIBLE))

RemoveAffect(AFFECT_REVIVE_INVISIBLE);
 
7xjRL.png
 
Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 6
Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/#findComment-3749
Share on other sites

 

Well, this is just a workaround, if you want to fix it correctly just open char.cpp, search for void CHARACTER::OnMove(bool bIsAttack)

 

7xjN5.png

 and delete or comment these two strings:

if (IsAffectFlag(AFF_REVIVE_INVISIBLE))

RemoveAffect(AFFECT_REVIVE_INVISIBLE);

 

7xjRL.png

 

 

 

I tried it with IDA:

7xoDY.png

 

Diff:

This difference file is created by The Interactive Disassembler

game_r34083_32_striped
00027479: E8 90
0002747A: 82 90
0002747B: 60 90
0002747C: 01 90
0002747D: 00 90
00027480: 75 90
00027481: 20 90

Till now I wasn't invisible.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/#findComment-3773
Share on other sites

  • 1 month later...

And what about char_skill.cpp ?

if ((0 != pkSk->dwAffectFlag || pkSk->dwVnum == SKILL_MUYEONG) && (pkSk->dwFlag & SKILL_FLAG_TOGGLE) && RemoveAffect(pkSk->dwVnum))
	{
		return true;
	}

	 if (IsAffectFlag(AFF_REVIVE_INVISIBLE))
		RemoveAffect(AFFECT_REVIVE_INVISIBLE); 
Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/#findComment-9193
Share on other sites

 

And what about char_skill.cpp ?

if ((0 != pkSk->dwAffectFlag || pkSk->dwVnum == SKILL_MUYEONG) && (pkSk->dwFlag & SKILL_FLAG_TOGGLE) && RemoveAffect(pkSk->dwVnum))
	{
		return true;
	}

	 if (IsAffectFlag(AFF_REVIVE_INVISIBLE))
		RemoveAffect(AFFECT_REVIVE_INVISIBLE); 

 

Already you are deleted in char.cpp invisibility bug fixed and this line not work if you want, you can remove it.

 

Best Regards

Aveline

Plain logic saves lives.

Link to comment
https://metin2.dev/topic/427-invisible-bug-fix-34k/#findComment-9209
Share on other sites

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.