Jump to content
  • 0

Problem with wolfman weapon


LeJ0ker

Question

  • Premium

Hey Guys i have some Problems with my wolfman

He only wear one weapon https://metin2.download/picture/TM3161Nyb6eWw1zAzK0MS6RB6dlxVb8W/.png

 

my Actorinstanceattach:

 


 

bool CActorInstance::__IsLeftHandWeapon(DWORD type)
{
    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
        return true;
    else if (CItemData::WEAPON_BOW == type)
        return true;
    else if (CItemData::WEAPON_CLAW == type)
        return true;
    else
        return false;
}

bool CActorInstance::__IsRightHandWeapon(DWORD type)
{
    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
        return true;
    else if (CItemData::WEAPON_BOW == type)
        return false;
    else if (CItemData::WEAPON_CLAW == type)
        return true;
    else 
        return true;
}

Edited by Metin2 Dev
Core X - External 2 Internal

~~ Mein System ~~

Prozessor: Intel® Core™ i7-4790K
Mailboard: Gigabyte GA-Z97X-Gaming 3
Arbeitsspeicher: G.Skill 8GB KIT PC3-17000 DDR3-2133 CL10 Sniper
Festplatte/n: 512GB SSD / 1TB HDD
Grafikkarten: 2x Gigabyte Radeon HD 6970 OC

Kühlung: EKWB Wasserkühlung

 

 

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

 

bool CActorInstance::__IsRightHandWeapon(DWORD type)

	{

	    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))

	        return true;

	    else if (CItemData::WEAPON_BOW == type)

	        return false;

	    else if (CItemData::WEAPON_CLAW == type)

	        return true;

	    else 

	        return false;

	} 
 Show the rest of the code for attach.
Link to comment
Share on other sites

  • 0
  • Premium
5 minutes ago, M.Sorin said:

 

bool CActorInstance::__IsRightHandWeapon(DWORD type)

	{

	    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))

	        return true;

	    else if (CItemData::WEAPON_BOW == type)

	        return false;

	    else if (CItemData::WEAPON_CLAW == type)

	        return true;

	    else 

	        return false;

	} 

 

Now: https://metin2.download/picture/417vX7a6G3lqbTmfv6mk3zy2waMoQ7i1/.png

fixxed :) https://metin2.download/picture/gP06d9ZHymXXf29MtVV1TmyPoNwhwQJE/.jpg

Edited by Metin2 Dev
Core X - External 2 Internal

~~ Mein System ~~

Prozessor: Intel® Core™ i7-4790K
Mailboard: Gigabyte GA-Z97X-Gaming 3
Arbeitsspeicher: G.Skill 8GB KIT PC3-17000 DDR3-2133 CL10 Sniper
Festplatte/n: 512GB SSD / 1TB HDD
Grafikkarten: 2x Gigabyte Radeon HD 6970 OC

Kühlung: EKWB Wasserkühlung

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 34

      Upgraded Reference (TMP4 Base) By Ulthar

    2. 0

      Make guild

    3. 0

      Official Environment Effect Options [REVERSED]

    4. 0

      Eldria2 ~ PvP\PvM UltraFun ~ International ~ MAX LVL 200 ~ New Systems |26.03.2023|

    5. 1182

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    6. 0

      [In Development] DDoS Protection to Websites

    7. 0

      PRIVATE SERVER QUESTION

    8. 15

      Remote Shop System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.