Jump to content

HaiosMotan

Member
  • Posts

    73
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by HaiosMotan

  1. damn,can't wait for friend request between ch/cores
  2. 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)
  3. 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
  4. 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
  5. ??? antiflag 0 flag 4 and if the case of the item has RemoveItem() you need to change with the SetCount(pkItem->GetCount() - 1);
  6. 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)
  7. 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
  8. nope,the system works as it should,the problem is the chat window
  9. 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.
  10. 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
  11. 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)
  12. do you have #ifndef ENABLE_SHOW_LIDER_AND_GENERAL_GUILD #define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD #define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD_VALUE1 "[Lider] " #define ENABLE_SHOW_LIDER_AND_GENERAL_GUILD_VALUE2 "[General] " #endif if yes,there are different versions of it,one of them causes your problem, if no..well good luck
  13. marty with the help of other people did it (if i am not wrong) so..
  14. ??? the only limitation is "ShapeDataCount" in .msm from root which can be changed with how much you want.
×
×
  • 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.