Krazzy11 0 Posted May 5, 2022 Share Posted May 5, 2022 Hi guys, so my problem is when I try to put the skills on the taskbar I don't have the blurish animation and in syserr I get this: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SKILL_BOOK_INVENTORY' I have multi inventory with stones, upgrades, skill books Thanks. Link to comment Share on other sites More sharing options...
AGUZZTYN 1 Posted May 6, 2022 Share Posted May 6, 2022 You have to define SLOT_TYPE_SKILL_BOOK_INVENTORY in PythonApplicationModule Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 6, 2022 Author Share Posted May 6, 2022 3 hours ago, AGUZZTYN said: You have to define SLOT_TYPE_SKILL_BOOK_INVENTORY in PythonApplicationModule So I am in PythonApplciationModule.cpp from client source and I still not finding where is the problem, I compared 2 files from my client and another that I am sure 100% that animation working, and I am trying to find where in the file SLOT_TYPE_SKILL_BOOK_INVENTORY is defined and I don't find it Link to comment Share on other sites More sharing options...
Contributor MrQuin 6401 Posted May 6, 2022 Contributor Share Posted May 6, 2022 define it @ UserInterface/PythonPlayerModule.cpp: Add at the end of the file and before } : PyModule_AddIntConstant(poModule, "SLOT_TYPE_SKILL_BOOK_INVENTORY", SLOT_TYPE_SKILL_BOOK_INVENTORY); //Add more inventory types too My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 7, 2022 Author Share Posted May 7, 2022 17 hours ago, MrQuin said: define it @ UserInterface/PythonPlayerModule.cpp: Add at the end of the file and before } : PyModule_AddIntConstant(poModule, "SLOT_TYPE_SKILL_BOOK_INVENTORY", SLOT_TYPE_SKILL_BOOK_INVENTORY); //Add more inventory types too I did this and know i got in vs studio undeclared identifier. Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 7, 2022 Author Share Posted May 7, 2022 19 hours ago, MrQuin said: define it @ UserInterface/PythonPlayerModule.cpp: Add at the end of the file and before } : PyModule_AddIntConstant(poModule, "SLOT_TYPE_SKILL_BOOK_INVENTORY", SLOT_TYPE_SKILL_BOOK_INVENTORY); //Add more inventory types too So, i define in GameType.h where are all the SLOT_TYPE and I compiled it without any issue, but still not working and I get disconnected after a little bit of time. 39 minutes ago, Krazzy11 said: So, i define in GameType.h where are all the SLOT_TYPE and I compiled it without any issue, but still not working and I get disconnected after a little bit of time. UPDATE: I insert all of the SPECIAL_INVENTORY, but now I got the animation and the new problem is I can't put the skill on the taskbar, I tried every slot. Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 8, 2022 Author Share Posted May 8, 2022 Anyone? Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 9, 2022 Author Share Posted May 9, 2022 Help Link to comment Share on other sites More sharing options...
[TiTAN] 32 Posted May 9, 2022 Share Posted May 9, 2022 remove the if app. from mousemodule Link to comment Share on other sites More sharing options...
Krazzy11 0 Posted May 9, 2022 Author Share Posted May 9, 2022 (edited) There are only self. in mousemodule. UPDATE: So i find the problem for drag and drop animation on the taskbar, but now the problem is when i take the skill/item from the taskbar, the animation is yang/empty bottle is like random items. Any ideas? Like this. https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal 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