Premium phayara 424 Posted November 28, 2015 Premium Share Posted November 28, 2015 Hello, i added costume weapon.. compile without problems.. but ingame problems.. syserr: client/channel/db clear. btw. sorry for my bad english thanks for help... Link to comment Share on other sites More sharing options...
Premium LeJ0ker 9 Posted November 29, 2015 Premium Share Posted November 29, 2015 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 Share on other sites More sharing options...
ds_aim 241 Posted November 29, 2015 Share Posted November 29, 2015 3 minutes ago, LeJ0ker said: same problem Just empty , player , player_index , item... al these tables and will work. It's an asertion problem. 1 Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted November 29, 2015 Author Premium Share Posted November 29, 2015 Ok, thanks.. now costume weapon no show "time".. Link to comment Share on other sites More sharing options...
ds_aim 241 Posted November 29, 2015 Share Posted November 29, 2015 5 minutes ago, Smack'Yin said: Ok, thanks.. now costume weapon no show "time".. You need to update GetRealTime function from uitooltip.py to regornize weapon_costume. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted November 29, 2015 Author Premium Share Posted November 29, 2015 @ds_aim .. thanks for help, you are best. Link to comment Share on other sites More sharing options...
ds_aim 241 Posted November 29, 2015 Share Posted November 29, 2015 1 hour ago, Smack'Yin said: @ds_aim .. thanks for help, you are best. Ohhh dear, please stopp. Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted November 29, 2015 Author Premium Share Posted November 29, 2015 (edited) 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 August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
AlexxD 123 Posted November 29, 2015 Share Posted November 29, 2015 (edited) 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 August 24, 2022 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 Share on other sites More sharing options...
Premium Necro 78 Posted November 29, 2015 Premium Share Posted November 29, 2015 (edited) 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 August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
AlexxD 123 Posted November 29, 2015 Share Posted November 29, 2015 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 1 "Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch" Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted November 29, 2015 Author Premium Share Posted November 29, 2015 ok solved, but time not show.. Link to comment Share on other sites More sharing options...
B0ne 15 Posted April 7, 2016 Share Posted April 7, 2016 i can't see the costume weapon. its into the slot but ... xD Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now