Jump to content

Recommended Posts

  • 1 month later...

I have that error when i entered into client..


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

Edited by Metin2 Dev
Core X - External 2 Internal
  • 3 months later...
  • 2 months later...
  • Active Member
On 7/29/2019 at 10:25 AM, V0lvox said:

M2 Download Center

This is the hidden content, please
( Internal )

Hi,

 

here I publish my edit of the public Render Target System.

I hate it, when people earn money with public systems.

 

Preview:

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

 

DL:

This is the hidden content, please

 

Original Thread

https://metin2.dev/board/index.php?/topic/20550-rlsrendertarget/&tab=comments#comment-111384



I don't have renderTargetChangeEffect()

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

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 3
  • Love 1
  • 1 month later...
  • 1 month later...
  • 2 months later...

https://metin2.download/picture/3x27lIAmkET36yu063HKjHP30y8LnkVo/.gif

Hi there.
Has anyone ever encountered this error?
The model disappears when the camera is moved.
----------------------------------------
For me the error was a high FOG_ LEVEL

Edited by metser
Core X - External 2 Internal
  • Eyes 1
  • 6 months later...
  • Active Member

hi all.

Can you help me? 

That’s my problem with background:

https://metin2.download/picture/7ud1r5I98NdFDSr0IV7W12f83Tr4ic6N/.jpg

Edited by Metin2 Dev International
Core X - External 2 Internal

Buy a new system? 
My systems:  https://payhip.com/Pisti95

  • 2 months later...

thanks for sharing ❤️

Picture

Is it normal for only pets and mounts to appear? Weapons and armor are not visible. uitooltipfix 1 has been done, 2 and 3 have not been done. can you help me

Edited by Metin2 Dev International
Core X - External 2 Internal
  • 4 months later...

you don't know where the error is? the armor doesn't show up on me from the sash

        elif test == 2:
            renderTarget.SetArmor(RENDER_TARGET_INDEX, Vnum)    
            if (player.GetItemIndex(item.COSTUME_SLOT_SASH) > 0):
                renderTarget.SetAcce(RENDER_TARGET_INDEX, Vnum)

 

 

  • 3 months later...
  • Active+ Member
On 7/27/2022 at 3:29 AM, Kapa3a said:

Hello !  Can you help me with this problem?

https://metin2.download/video/m7nT3OrFukZGKE7nmHSgskQWKNyHR2Nj/.mp4

its about the switchbot. 

UPPP

I'm also looking for a solution. I've tried to set the preview = 0 thinkin that at least the RT will be switched off when the switchbot is ongoing, but obviously not. 

If anyone know at least where to look, please share ur opinions 🙂 

  • 3 weeks later...

How to fix the problem with Mounts and Pets not displaying the time? @ Volvox

		elif itemVnum in self.MountVnum:
			self.__ModelPreview(itemVnum, 5, self.MountVnum[itemVnum])
			
			self.__AppendAffectInformation()
			self.__AppendAttributeInformation(attrSlot)

		elif itemVnum in self.PetVnum:
			self.__ModelPreview(itemVnum, 5, self.PetVnum[itemVnum])
			
			self.__AppendAffectInformation()

 

Edited by Vegaz
  • 3 months later...
On 3/30/2023 at 9:29 PM, metser said:

https://metin2.download/picture/3x27lIAmkET36yu063HKjHP30y8LnkVo/.gif

Hi there.
Has anyone ever encountered this error?
The model disappears when the camera is moved.
----------------------------------------
For me the error was a high FOG_ LEVEL

fix: constinfo.py

FOG_LEVEL0 = 4800.0
FOG_LEVEL1 = 9600.0
FOG_LEVEL2 = 12800.0

 

Edited by TrC
Core X - External 2 Internal
  • 2 months later...
  • 2 months later...

On GameLib/ActorInstanceAttach.cpp is said:
 

//1.1 Search:
bool  CActorInstance::IntersectDefendingSphere()

//1.2 Add ABOVE:
void CActorInstance::RenderAllAttachingEffect()
{
	for (const auto& it : m_AttachingEffectList)
		CEffectManager::Instance().RenderOne(it.dwEffectIndex);
}

 

but i don't have that bool inside that file, i have it inside ActorInstance.cpp so i did :
 

void CActorInstance::RenderAllAttachingEffect()
{
	for (const auto& it : m_AttachingEffectList)
		CEffectManager::Instance().RenderOne(it.dwEffectIndex);
}

bool CActorInstance::IntersectDefendingSphere()
{
	for (TCollisionPointInstanceList::iterator it = m_DefendingPointInstanceList.begin(); it != m_DefendingPointInstanceList.end(); ++it)
	{
		CDynamicSphereInstanceVector & rSphereInstanceVector = (*it).SphereInstanceVector;

		CDynamicSphereInstanceVector::iterator it2 = rSphereInstanceVector.begin();
		for (; it2 != rSphereInstanceVector.end(); ++it2)
		{
			CDynamicSphereInstance & rInstance = *it2;
			D3DXVECTOR3 v3SpherePosition = rInstance.v3Position;
			float fRadius = rInstance.fRadius;

			D3DXVECTOR3 v3Orig;
			D3DXVECTOR3 v3Dir;
			float fRange;
			ms_Ray.GetStartPoint(&v3Orig);
			ms_Ray.GetDirection(&v3Dir, &fRange);

			D3DXVECTOR3 v3Distance = v3Orig - v3SpherePosition;
			float b = D3DXVec3Dot(&v3Dir, &v3Distance);
			float c = D3DXVec3Dot(&v3Distance, &v3Distance) - fRadius*fRadius;

			if (b*b - c >= 0)
				return true;
		}
	}
	return false;
}


BUT INSIDE ACTORINSTANCE.CPP

 

is that ok ?

  • 4 weeks later...
  • 3 months later...

https://metin2.download/video/VOGKwR61XwkHC6jFf5tqC732318EYM2P/.mp4 

The options are not showing only the sword costume part, how can I solve it?

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Active Member
4 hours ago, orhanhard said:

https://metin2.download/video/VOGKwR61XwkHC6jFf5tqC732318EYM2P/.mp4 

The options are not showing only the sword costume part, how can I solve it?

 

You need to add Costume Weapon in uitooltip.py for RENDER_TARGET definition.

I will attach my solution.

EDIT: (uitooltip.py)

 

				elif itemSubType == 3: #costume_weapon
					if item.GetValue(3) == 0: #sword
						if player.GetRace() != 7 and player.GetRace() != 3:
							self.__ModelPreview(itemVnum, 3, player.GetRace())
					if item.GetValue(3) == 1 or item.GetValue(3) == 2: #dagger 1  -  bow 2
						if player.GetRace() == 5 or player.GetRace() == 1:
							self.__ModelPreview(itemVnum, 3, player.GetRace())
					if item.GetValue(3) == 3: #two-handed
						if player.GetRace() == 0 or player.GetRace() == 4:
							self.__ModelPreview(itemVnum, 3, player.GetRace())
					if item.GetValue(3) == 4 or item.GetValue(3) == 5: #bell 4  -  fan 5
						if player.GetRace() == 7 or player.GetRace() == 3:
							self.__ModelPreview(itemVnum, 3, player.GetRace())

 

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

Buy a new system? 
My systems:  https://payhip.com/Pisti95

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.