-
Posts
73 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by HaiosMotan
-
the fix
-
damn,can't wait for friend request between ch/cores
-
HP not same for all characters
HaiosMotan replied to ReFresh's topic in Community Support - Questions & Answers
-
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
-
- 33
-
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)
-
isn't this what marty said above?
-
Client shuts down after opening the next one
HaiosMotan replied to Suzar's topic in Community Support - Questions & Answers
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 -
svside.com
-
[I NEED] Metin2 World Editor source
HaiosMotan replied to Jettyx's topic in Community Support - Questions & Answers
marty with the help of other people did it (if i am not wrong) so.. -
Status Points fast distribute
HaiosMotan replied to Jordan's topic in Community Support - Questions & Answers
[Hidden Content]- 3 replies
-
- 154
-
Problem Costume Mount like Horse
HaiosMotan replied to Metin2 Dev's topic in Community Support - Questions & Answers
#include "arena.h" ? -
How to add more ID for costumes
HaiosMotan replied to xEd's topic in Community Support - Questions & Answers
??? the only limitation is "ShapeDataCount" in .msm from root which can be changed with how much you want. -
best server specs for metin2 ?
HaiosMotan replied to imWelly's topic in Community Support - Questions & Answers
?