-
Posts
73 -
Joined
-
Last visited
-
Feedback
0%
About HaiosMotan
Informations
-
Gender
Male
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
HaiosMotan's Achievements
-
HaiosMotan started following Works of Mali and Weapon's specular
-
the fix
-
damn,can't wait for friend request between ch/cores
-
HaiosMotan started following HP not same for all characters
-
HP not same for all characters
HaiosMotan replied to ReFresh's topic in Community Support - Questions & Answers
-
HaiosMotan started following Chatting Window Renewal (Mini Version) , Block item swap when shopping or when exchanging , Client Crash and 1 other
-
there is one check here bool CPythonNetworkStream::SendItemUsePacket(TItemPos pos) { if (!__CanActMainInstance()) return true; if (__IsEquipItemInSlot(pos)) { if (CPythonExchange::Instance().isTrading()) { PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_AppendNotifyMessage", Py_BuildValue("(s)", "CANNOT_EQUIP_EXCHANGE")); return true; } if (CPythonShop::Instance().IsOpen()) { PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "BINARY_AppendNotifyMessage", Py_BuildValue("(s)", "CANNOT_EQUIP_SHOP")); return true; } if (__IsPlayerAttacking()) return true; } but as you can see it's only for when you right click on an equiped item,you can delete that check " if (__IsEquipItemInSlot(pos)) " and it will be for all. (i think)
-
uiinventory.py def UseItemSlot(self, slotIndex): find at the bottom self.__UseItem(slotIndex) mouseModule.mouseController.DeattachObject() self.OverOutItem() add above if exchange.isTrading(): chat.AppendChat(1, "[Exchange]You can't do this while exchanging.") return if shop.IsOpen(): chat.AppendChat(1, "[Shop]You can't do this while shoping.") return be sure you have import exchgange import shop
-
[Hidden Content]
- 1 reply
-
- 32
-
uiInventory.py def __CanUseSrcItemToDstItem(self, srcItemVNum, srcSlotPos, dstSlotPos): def __CanUseSrcItemToDstItem(self, srcItemVNum, srcSlotPos, dstSlotPos): search USE_CHANGE_ATTRIBUTE change for both elif "USE_CHANGE_ATTRIBUTE" == useType: if self.__CanChangeItemAttrList(dstSlotPos) or srcItemVNum == player.GetItemIndex(dstSlotPos): return True elif "USE_ADD_ATTRIBUTE" == useType: if self.__CanAddItemAttr(dstSlotPos) or srcItemVNum == player.GetItemIndex(dstSlotPos): return True
-
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
char.cpp case POINT_EXP: if (test_server) ChatPacket(CHAT_TYPE_INFO, "You have gained %d exp.", amount); comment if(test_server) and change CHAT_TYPE_INFO to CHAT_TYPE_EXP_INFO (from SCOOB) -
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
first thing you need to change self.wndChatSettingOption = ChatSettingWindow(self) to self.wndChatSettingOption = ChatSettingWindow() but after you done this all,the system doesn't work as intended,because you just deleted the RefreshChatWindow() so,if you un-check an option and save,the chat will not refresh => the messages you want to dissapear,don't dissapear -
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
nope,the system works as it should,the problem is the chat window -
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
Here is the video Here is my uiChat.py [Hidden Content] just compared like 5 times with the uichat.py you posted above. (also re-checked the client source part) and here is the error the people get 0922 10:53:17367 :: Traceback (most recent call last): 0922 10:53:17367 :: File "uiChat.py", line 1205, in OnRender 0922 10:53:17368 :: File "uiChat.py", line 1150, in Refresh 0922 10:53:17368 :: File "uiChat.py", line 1174, in RefreshBoardViewState 0922 10:53:17368 :: AttributeError 0922 10:53:17368 :: : 0922 10:53:17368 :: 'int' object has no attribute 'GetGlobalPosition' 0922 10:53:17368 :: as i understand, when you warp Destroy will set self.btnChatSizing = 0 and will remain like that,it will not set self.btnChatSizing = btnChatSizing again commenting #define ENABLE_CHATTING_WINDOW_RENEWAL in local_inc.h (disabling the sistem) solves the problem,the error doesn't appear anymore. -
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
i already have it there.. -
official Chatting Window Renewal (Mini Version)
HaiosMotan replied to Owsap's topic in Features & Metin2 Systems
0921 21:06:29194 :: Traceback (most recent call last): 0921 21:06:29194 :: File "uiChat.py", line 1213, in OnRender 0921 21:06:29194 :: File "uiChat.py", line 1158, in Refresh 0921 21:06:29194 :: File "uiChat.py", line 1182, in RefreshBoardViewState 0921 21:06:29200 :: AttributeError 0921 21:06:29200 :: : 0921 21:06:29200 :: 'int' object has no attribute 'GetGlobalPosition' 0921 21:06:29200 :: yeah..same -
isn't there any way of using HWND taskBar = FindWindow(L"Shell_traywnd", NULL); to find the exact height of the taskbar? some use big taskbar(default) others use "Use small taskbar buttons". tried 2 ways from the comments and both leave gaps between m2 client and taskbar(ofcourse,i can increase the number of pixels for me,but it could make it worse for others)