Jump to content

Recommended Posts

  • Premium

same problem

~~ 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
https://metin2.dev/topic/9503-problem-costume-weapon/#findComment-57189
Share on other sites

  • Premium

1129 16:03:35230 :: AttributeError
1129 16:03:35230 :: : 
1129 16:03:35230 :: 'module' object has no attribute 'COSTUME_TYPE_WEAPON'
1129 16:03:35230 ::

https://metin2.download/picture/85l6wc6PHVCp8TE7OKrtSyuYcahZudmS/.png

I added uitooltip.py with:

isCostumeWeapon = 0  

isCostumeWeapon = item.COSTUME_TYPE_WEAPON == itemSubType  

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/9503-problem-costume-weapon/#findComment-57231
Share on other sites

On 11/29/2015 at 4:11 PM, Smack'Yin said:

1129 16:03:35230 :: AttributeError
1129 16:03:35230 :: : 
1129 16:03:35230 :: 'module' object has no attribute 'COSTUME_TYPE_WEAPON'
1129 16:03:35230 ::

 https://metin2.download/picture/85l6wc6PHVCp8TE7OKrtSyuYcahZudmS/.png

I added uitooltip.py with:

isCostumeWeapon = 0  

isCostumeWeapon = item.COSTUME_TYPE_WEAPON == itemSubType  

Search:
PyModule_AddIntConstant(poModule, "COSTUME_TYPE_HAIR", CItemData::COSTUME_HAIR);

in PythonItemModule.cpp from UserInterface and add after it:
PyModule_AddIntConstant(poModule, "COSTUME_TYPE_WEAPON", CItemData::COSTUME_WEAPON);

Edited by Metin2 Dev
Core X - External 2 Internal

"Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch"

Link to comment
https://metin2.dev/topic/9503-problem-costume-weapon/#findComment-57235
Share on other sites

  • Premium
On 11/29/2015 at 5:27 PM, AlexxD said:

Search:
PyModule_AddIntConstant(poModule, "COSTUME_TYPE_HAIR", CItemData::COSTUME_HAIR);

in PythonItemModule.cpp from UserInterface and add after it:
PyModule_AddIntConstant(poModule, "COSTUME_TYPE_WEAPON", CItemData::COSTUME_WEAPON);

I am not sure but most of people have a new released COSTUME_WEAPON from elite and that is not have declared COSTUME_WEAPON so probably won´t work

On 11/29/2015 at 4:11 PM, Smack'Yin said:

1129 16:03:35230 :: AttributeError
1129 16:03:35230 :: : 
1129 16:03:35230 :: 'module' object has no attribute 'COSTUME_TYPE_WEAPON'
1129 16:03:35230 ::

https://metin2.download/picture/85l6wc6PHVCp8TE7OKrtSyuYcahZudmS/.png

I added uitooltip.py with:

isCostumeWeapon = 0  

isCostumeWeapon = item.COSTUME_TYPE_WEAPON == itemSubType  

Try to like this

isCostumeWeapon = item.COSTUME_TYPE_WEAPON_SWORD == itemSubType or item.COSTUME_TYPE_WEAPON_DAGGER == itemSubType or item.COSTUME_TYPE_WEAPON_BOW == itemSubType or item.COSTUME_TYPE_WEAPON_TWOHAND == itemSubType or item.COSTUME_TYPE_WEAPON_BELL == itemSubType or item.COSTUME_TYPE_WEAPON_FAN == itemSubType

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/9503-problem-costume-weapon/#findComment-57238
Share on other sites

16 minutes ago, Necro said:

I am not sure but most of people have a new released COSTUME_WEAPON from elite and that is not have declared COSTUME_WEAPON so probably won´t work

Try to like this

isCostumeWeapon = item.COSTUME_TYPE_WEAPON_SWORD == itemSubType or item.COSTUME_TYPE_WEAPON_DAGGER == itemSubType or item.COSTUME_TYPE_WEAPON_BOW == itemSubType or item.COSTUME_TYPE_WEAPON_TWOHAND == itemSubType or item.COSTUME_TYPE_WEAPON_BELL == itemSubType or item.COSTUME_TYPE_WEAPON_FAN == itemSubType

 

Yeah, and if you have wolfman too, add this:
isCostumeWeapon = item.COSTUME_TYPE_WEAPON_SWORD == itemSubType or item.COSTUME_TYPE_WEAPON_DAGGER == itemSubType or item.COSTUME_TYPE_WEAPON_BOW == itemSubType or item.COSTUME_TYPE_WEAPON_TWOHAND == itemSubType or item.COSTUME_TYPE_WEAPON_BELL == itemSubType or item.COSTUME_TYPE_WEAPON_FAN == itemSubType or item.COSTUME_TYPE_WEAPON_CLAW == itemSubType

  • Love 1

"Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch"

Link to comment
https://metin2.dev/topic/9503-problem-costume-weapon/#findComment-57241
Share on other sites

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