Jump to content

Official Graphic On Off [REVERSED]


Recommended Posts

  • Premium

Thanks for the release, appreciate a lot!

Everything is working like a charm, execpt the Pet Show/Hide.

Any ideas on it? Unfortunately no syserr entry..

https://metin2.download/picture/p1o80Gi6QMHR8dIjQh4Um7kGOlC33Ydm/.gif

Best Regards

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
Share on other sites

  • Honorable Member
2 minutes ago, ‚Point‘ said:

Thanks for the release, appreciate a lot!

Everything is working like a charm, execpt the Pet Show/Hide.

Any ideas on it?

https://metin2.download/picture/p1o80Gi6QMHR8dIjQh4Um7kGOlC33Ydm/.gif

Best Regards

.png

There is a special type for pets in the official proto, but we don't have them.

You can use this with a control function like IsPet or sth like that

Edited by Metin2 Dev
Core X - External 2 Internal

 

Link to comment
Share on other sites

  • Premium
1 hour ago, Mali said:

.png

There is a special type for pets in the official proto, but we don't have them.

You can use this with a control function like IsPet or sth like that

Thanks for your reply. To be honest i don't really know how to do this.
Could you give me an example please i you have time?
 

Best Regards

Link to comment
Share on other sites

  • Honorable Member
9 hours ago, ‚Point‘ said:

Thanks for your reply. To be honest i don't really know how to do this.
Could you give me an example please i you have time?
 

Best Regards

ActorInstance.h:

Spoiler
//Find
		bool IsPoly();

///Add
		bool IsPet() const;

 

ActorInstance.cpp:

Spoiler
//Find
bool CActorInstance::IsPoly()
{
	...
}

///Add
bool CActorInstance::IsPet() const
{
	//for 2014 default proto
	
	if (TYPE_NPC != m_eActorType)
		return false;

	switch (m_eRace)
	{
	case 34005:
	case 34006:
		return true;
	default:
		return false;
	}
}

//Find
	/*if (GetActorType() == EType::TYPE_PET || GetActorType() == EType::TYPE_PET_PAY)
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();*/

///Change
	if (IsPet())
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();

 

you add the vnum of the pets to the function

  • Love 1

 

Link to comment
Share on other sites

  • Premium
1 hour ago, Mali said:

ActorInstance.h:

  Hide contents
//Find
		bool IsPoly();

///Add
		bool IsPet() const;

 

ActorInstance.cpp:

  Hide contents
//Find
bool CActorInstance::IsPoly()
{
	...
}

///Add
bool CActorInstance::IsPet() const
{
	//for 2014 default proto
	
	if (TYPE_NPC != m_eActorType)
		return false;

	switch (m_eRace)
	{
	case 34005:
	case 34006:
		return true;
	default:
		return false;
	}
}

//Find
	/*if (GetActorType() == EType::TYPE_PET || GetActorType() == EType::TYPE_PET_PAY)
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();*/

///Change
	if (IsPet())
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();

 

you add the vnum of the pets to the function

Works perfect! Thanks a lot

Best Regards

  • Metin2 Dev 1
Link to comment
Share on other sites

Hello, Mali!

Sorry for off-topic, but I couldn't reach you anywhere 🙂

Why did you removed your repositories on GitHub? Is everything OK?

I'm curious because I had some links to your repos, for me to further implement on my project.

 

Again sorry for off-topic! If you want to contact me and talk, my Discord is: Toni#2548

Link to comment
Share on other sites

  • Honorable Member
13 minutes ago, duwen123 said:

Hello, Mali!

Hi

13 minutes ago, duwen123 said:

Why did you removed your repositories on GitHub? Is everything OK?

Yes, everything is OK. Thanks for asking.

I made such a decision, I had some reasons.

13 minutes ago, duwen123 said:

I'm curious because I had some links to your repos, for me to further implement on my project.

All my projects are in this forum and forum has my repos's backups:

Spoiler

 

 

My topics

 

 

Link to comment
Share on other sites

  • 1 month later...

Hello, thanks for sharing the system. I have finished installing the system, only the "Hide effect" function does not work for me, someone could help me.
Here is a video of the problem🥲😅

https://metin2.download/picture/5Q5432m23u8iMIqVo2PPG7jhg1A54SFc/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

The system has some crashes at least in my case.

 

How to reproduce it:

If you /rewarp in Red Forest or Grotto of Exile while there is at least one player there, commonly you will get a crash like this:

Screenshot-2.png

 

I used Windows Local Debugger to see if i could track something and it got me to:

image.png

 

Still have no ideea if this is just me or not, any help would be appreciated.

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Honorable Member
On 1/12/2023 at 7:18 PM, Thrall said:

The system has some crashes at least in my case.

 

How to reproduce it:

If you /rewarp in Red Forest or Grotto of Exile while there is at least one player there, commonly you will get a crash like this:

Screenshot-2.png

 

I used Windows Local Debugger to see if i could track something and it got me to:

image.png

 

Still have no ideea if this is just me or not, any help would be appreciated.

 

I added it to my list, I'll look

#Fixed

Edited by Mali
Core X - External 2 Internal
  • Love 1

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
On 11/24/2022 at 10:36 AM, Mali said:

ActorInstance.h:

  Reveal hidden contents
//Find
		bool IsPoly();

///Add
		bool IsPet() const;

 

ActorInstance.cpp:

  Hide contents
//Find
bool CActorInstance::IsPoly()
{
	...
}

///Add
bool CActorInstance::IsPet() const
{
	//for 2014 default proto
	
	if (TYPE_NPC != m_eActorType)
		return false;

	switch (m_eRace)
	{
	case 34005:
	case 34006:
		return true;
	default:
		return false;
	}
}

//Find
	/*if (GetActorType() == EType::TYPE_PET || GetActorType() == EType::TYPE_PET_PAY)
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();*/

///Change
	if (IsPet())
		m_bRenderActor = CPythonGraphicOnOff::Instance().CanRenderPet();

 

you add the vnum of the pets to the function

Sistemi sorunsuz bir şekilde kurdum ve gerçekten çok güzel elinize sağlık.

Hocam petleri gizlemeyi başaramadım, yardımcı olabilir misiniz? 

Petleri mob olarak çağırınca gizlenebiliyor örnek /m 53250 ama pet çağırmak için envanterinde ki ikonu pet mührünü kullanınca pet gizleme çalışmıyor. 
bu arada pet listesine oyunumda ki tüm petleri ekledim.

Yardımlarınız için şimdiden teşekkür ederim...

 

I installed the system without any problems and it's really nice. Sir, I failed to hide the pets, can you help me? It can be hidden when summoning pets as mobs, for example /m 53250, but when you use the pet seal icon in your inventory to summon pets, pet hiding does not work. By the way, I added all the pets in my game to the pet list. Thank you in advance for your help...

 

resim "image"

 

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
Share on other sites

  • 1 month later...

Does anyone experienced, that on second open window is necessary to "re-apply" effects, to get them working?
Gone through code several times and except this, everything is working just fine. 🤔 

2040fb973361c33527ee079e6e40b4eb.png

 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Good 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 2 months later...
On 4/15/2023 at 4:14 PM, CantSt0p said:

Does anyone experienced, that on second open window is necessary to "re-apply" effects, to get them working?
Gone through code several times and except this, everything is working just fine. 🤔 

2040fb973361c33527ee079e6e40b4eb.png

 

#SOLVED

There is a collision with:

 

Just take care of that 😊

 

Link to comment
Share on other sites

  • 3 weeks later...

 

tr :

Merhaba  bir sorunum var 

 bu sistemi eklemeye çalışıyorum ama client srcyi build ederken hatalar alıyorum bunlarla karşılaşan oldumu ve nasıl çözdünüz

hata resimim : 

https://metin2.download/picture/t8V539Jg63dhgj3pk3Lnq0YtpWDgSiw7/.png

eu:

 

hello i have a problem

   Do not try to add this system, but while building the client src, you have encountered errors on the computer and how not to break it

my error image:

https://metin2.download/picture/t8V539Jg63dhgj3pk3Lnq0YtpWDgSiw7/.png

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
Share on other sites

  • 3 months later...
  • Premium

Did someone had this issue before?
https://metin2.download/video/3A0SEeLJxS99I95YJw3sus281eNTDIPM/.mp4

Solved, thx to: my_alt_account

...
	m_pkEftData = NULL;

#ifdef __ENABLE_STEALTH_FIX__
	ReleaseAlwaysHidden();
#endif

	D3DXMatrixIdentity(&m_matGlobal);
}

CEffectInstance::CEffectInstance()
{
...

 

Edited by DemOnJR
Core X - External 2 Internal

plague.png.1f5de75b42146262dcd655a5a8078

Link to comment
Share on other sites

Announcements



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