xkillmt2 Posted March 3, 2018 at 05:59 PM Share Posted March 3, 2018 at 05:59 PM Senha: xkillmt2 Download - Details_UI (BR) 11 Link to comment
webnull Posted March 3, 2018 at 06:05 PM Share Posted March 3, 2018 at 06:05 PM Boa partilha Link to comment
LuizFernando Posted March 3, 2018 at 07:19 PM Share Posted March 3, 2018 at 07:19 PM Muito bom, obrigado pela partilha! Link to comment
AprendizM2 Posted March 3, 2018 at 08:44 PM Share Posted March 3, 2018 at 08:44 PM merece um +1 Link to comment
Marcos Daniel Posted March 4, 2018 at 12:01 PM Share Posted March 4, 2018 at 12:01 PM +1 ::) Link to comment
P3NG3R Posted March 7, 2018 at 10:44 AM Share Posted March 7, 2018 at 10:44 AM Missing parts for overin-tooltips: char __thiscall CButton::SetUp(int this) { int v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)(this + 184)); *(_DWORD *)(v1 + 172) = 0; // m_isPressed v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*(_DWORD **)(v1 + 96), (int)"OnMouseOverOut", v2); } // void CButton::SetUp() { SetCurrentVisual(&m_upVisual); m_isPressed = FALSE; PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); } char __thiscall CButton::Over(char *this) { char *v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)this + 57); v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*((_DWORD **)v1 + 24), (int)"OnMouseOverIn", v2); } // void CButton::Over() { SetCurrentVisual(&m_overVisual); PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); } Link to comment
WLN Posted March 10, 2018 at 01:29 PM Share Posted March 10, 2018 at 01:29 PM Em 07/03/2018 em 07:44, P3NG3R disse: Missing parts for overin-tooltips: char __thiscall CButton::SetUp(int this) { int v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)(this + 184)); *(_DWORD *)(v1 + 172) = 0; // m_isPressed v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*(_DWORD **)(v1 + 96), (int)"OnMouseOverOut", v2); } // void CButton::SetUp() { SetCurrentVisual(&m_upVisual); m_isPressed = FALSE; PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); } char __thiscall CButton::Over(char *this) { char *v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)this + 57); v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*((_DWORD **)v1 + 24), (int)"OnMouseOverIn", v2); } // void CButton::Over() { SetCurrentVisual(&m_overVisual); PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); } why archive? está faltando também o d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_RightBottom_Circle.tga caso alguem possa upar, agradeço Link to comment
xkillmt2 Posted March 10, 2018 at 07:09 PM Author Share Posted March 10, 2018 at 07:09 PM 5 horas atrás, wery disse: why archive? está faltando também o d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_RightBottom_Circle.tga caso alguem possa upar, agradeço Arquivo existente no metin2_patch_new_select_ui.epk/eix Link to comment
Marcos Posted March 12, 2018 at 09:30 PM Share Posted March 12, 2018 at 09:30 PM Em 07/03/2018 em 07:44, P3NG3R disse: Missing parts for overin-tooltips: char __thiscall CButton::SetUp(int this) { int v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)(this + 184)); *(_DWORD *)(v1 + 172) = 0; // m_isPressed v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*(_DWORD **)(v1 + 96), (int)"OnMouseOverOut", v2); } // void CButton::SetUp() { SetCurrentVisual(&m_upVisual); m_isPressed = FALSE; PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); } char __thiscall CButton::Over(char *this) { char *v1; // esi _DWORD *v2; // eax v1 = this; CButton::SetCurrentVisual((signed int *)this, (float *)this + 57); v2 = (_DWORD *)BuildEmptyTuple(); return PyCallClassMemberFunc(*((_DWORD **)v1 + 24), (int)"OnMouseOverIn", v2); } // void CButton::Over() { SetCurrentVisual(&m_overVisual); PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); } Boa Noite... Pessoal me desculpem a minha ignorância, mais aonde eu adiciono esses scripts? Link to comment
xkillmt2 Posted March 12, 2018 at 10:08 PM Author Share Posted March 12, 2018 at 10:08 PM 31 minutos atrás, Marcos disse: Boa Noite... Pessoal me desculpem a minha ignorância, mais aonde eu adiciono esses scripts? EterPythonLib->PythonWindow.cpp Find: void CButton::SetUp() Replace: void CButton::SetUp() { SetCurrentVisual(&m_upVisual); m_isPressed = FALSE; PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); } Find: void CButton::Over() Replace: void CButton::Over() { SetCurrentVisual(&m_overVisual); PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); } Link to comment
Marcos Posted March 12, 2018 at 10:17 PM Share Posted March 12, 2018 at 10:17 PM (edited) 18 horas atrás, xkillmt2 disse: EterPythonLib->PythonWindow.cpp Find: void CButton::SetUp() Replace: void CButton::SetUp() { SetCurrentVisual(&m_upVisual); m_isPressed = FALSE; PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); } Find: void CButton::Over() Replace: void CButton::Over() { SetCurrentVisual(&m_overVisual); PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); } Obrigado @xkillmt2 Edited March 13, 2018 at 04:51 PM by Marcos Link to comment
Sonitexx Posted April 15, 2018 at 10:10 AM Share Posted April 15, 2018 at 10:10 AM (edited) Here is another function that was not in the tutorial: Search in uiToolTip.py def AppendDescription(self, desc, limit, color = FONT_COLOR): if localeInfo.IsEUROPE(): self.__AppendDescription_WesternLanguage(desc, color) else: self.__AppendDescription_EasternLanguage(desc, limit, color) Paste below: def SetThinBoardSize(self, width, height = 12) : self.toolTipWidth = width self.toolTipHeight = height Thanks for the tutorial! Edited April 15, 2018 at 12:58 PM by Sonitexx Link to comment
GXR Posted June 16, 2018 at 02:27 AM Share Posted June 16, 2018 at 02:27 AM Thank you @xkillmt2 Link to comment
mehmettro2 Posted November 9, 2018 at 04:01 PM Share Posted November 9, 2018 at 04:01 PM thanks Link to comment
Sinval Posted November 19, 2018 at 06:59 PM Share Posted November 19, 2018 at 06:59 PM (edited) Resistência contra Classes não está funcionando corretamente, alguma sugestão do que está causando ? https://prnt.sc/lkdeb4 self.InfoList.append( [ localeInfo.DETAILS_CATE_3, "", self.CATEGORY_STARTLINE ] ) self.InfoList.append( [ localeInfo.DETAILS_36, localeInfo.DETAILS_TOOLTIP_36, item.GetApplyPoint( item.APPLY_ATTBONUS_WARRIOR ) ] ) self.InfoList.append( [ localeInfo.DETAILS_37, localeInfo.DETAILS_TOOLTIP_37, item.GetApplyPoint( item.APPLY_ATTBONUS_ASSASSIN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_38, localeInfo.DETAILS_TOOLTIP_38, item.GetApplyPoint( item.APPLY_ATTBONUS_SURA ) ] ) self.InfoList.append( [ localeInfo.DETAILS_39, localeInfo.DETAILS_TOOLTIP_39, item.GetApplyPoint( item.APPLY_ATTBONUS_SHAMAN ) ] ) #self.InfoList.append( [ localeInfo.DETAILS_40, localeInfo.DETAILS_TOOLTIP_40, item.GetApplyPoint( item.APPLY_ATTBONUS_WOLFMAN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_41, localeInfo.DETAILS_TOOLTIP_41, item.GetApplyPoint( item.APPLY_RESIST_WARRIOR ) ] ) self.InfoList.append( [ localeInfo.DETAILS_42, localeInfo.DETAILS_TOOLTIP_42, item.GetApplyPoint( item.APPLY_RESIST_ASSASSIN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_43, localeInfo.DETAILS_TOOLTIP_43, item.GetApplyPoint( item.APPLY_RESIST_SURA ) ] ) self.InfoList.append( [ localeInfo.DETAILS_44, localeInfo.DETAILS_TOOLTIP_44, item.GetApplyPoint( item.APPLY_RESIST_SHAMAN ) ] ) #self.InfoList.append( [ localeInfo.DETAILS_45, localeInfo.DETAILS_TOOLTIP_45, item.GetApplyPoint( item.APPLY_RESIST_WOLFMAN ) ] ) self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] ) Edited November 19, 2018 at 07:07 PM by Sinval Link to comment
oserra Posted November 19, 2018 at 07:47 PM Share Posted November 19, 2018 at 07:47 PM 44 minutos atrás, Sinval disse: Resistência contra Classes não está funcionando corretamente, alguma sugestão do que está causando ? https://prnt.sc/lkdeb4 self.InfoList.append( [ localeInfo.DETAILS_CATE_3, "", self.CATEGORY_STARTLINE ] ) self.InfoList.append( [ localeInfo.DETAILS_36, localeInfo.DETAILS_TOOLTIP_36, item.GetApplyPoint( item.APPLY_ATTBONUS_WARRIOR ) ] ) self.InfoList.append( [ localeInfo.DETAILS_37, localeInfo.DETAILS_TOOLTIP_37, item.GetApplyPoint( item.APPLY_ATTBONUS_ASSASSIN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_38, localeInfo.DETAILS_TOOLTIP_38, item.GetApplyPoint( item.APPLY_ATTBONUS_SURA ) ] ) self.InfoList.append( [ localeInfo.DETAILS_39, localeInfo.DETAILS_TOOLTIP_39, item.GetApplyPoint( item.APPLY_ATTBONUS_SHAMAN ) ] ) #self.InfoList.append( [ localeInfo.DETAILS_40, localeInfo.DETAILS_TOOLTIP_40, item.GetApplyPoint( item.APPLY_ATTBONUS_WOLFMAN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_41, localeInfo.DETAILS_TOOLTIP_41, item.GetApplyPoint( item.APPLY_RESIST_WARRIOR ) ] ) self.InfoList.append( [ localeInfo.DETAILS_42, localeInfo.DETAILS_TOOLTIP_42, item.GetApplyPoint( item.APPLY_RESIST_ASSASSIN ) ] ) self.InfoList.append( [ localeInfo.DETAILS_43, localeInfo.DETAILS_TOOLTIP_43, item.GetApplyPoint( item.APPLY_RESIST_SURA ) ] ) self.InfoList.append( [ localeInfo.DETAILS_44, localeInfo.DETAILS_TOOLTIP_44, item.GetApplyPoint( item.APPLY_RESIST_SHAMAN ) ] ) #self.InfoList.append( [ localeInfo.DETAILS_45, localeInfo.DETAILS_TOOLTIP_45, item.GetApplyPoint( item.APPLY_RESIST_WOLFMAN ) ] ) self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] ) Pelo print não se percebe o problema, consegues explicar melhor? Link to comment
Marcos Posted November 19, 2018 at 08:34 PM Share Posted November 19, 2018 at 08:34 PM Eu também percebi este erro. É como se o os bônus estivessem trocados: Ex. você equipa uma armadura com HP máximo 2000, ao invés de aparecer na coluna Máximo HP, aparece na coluna Bônus contra Animais. Link to comment
Sinval Posted November 20, 2018 at 03:19 PM Share Posted November 20, 2018 at 03:19 PM 19 horas atrás, oserra disse: Pelo print não se percebe o problema, consegues explicar melhor? No print acontece o seguinte: - Valor de resistência shaman vai pra resistência shura - Valor de resistência shura vai pra resistência ninja - Valor de resistência ninja vai pra resistência guerreiro É como se os bônus estivessem trocados, mas no código está buscando o bônus correto, por isso não consigo compreender aonde está a falha. 18 horas atrás, Marcos disse: Eu também percebi este erro. É como se o os bônus estivessem trocados: Ex. você equipa uma armadura com HP máximo 2000, ao invés de aparecer na coluna Máximo HP, aparece na coluna Bônus contra Animais. Exatamente, alguns eu corrigi que estavam buscando o bônus trocado, mas no caso da resistência classe eu não entendi :/ Link to comment
xXGaardenXx Posted December 4, 2018 at 08:01 PM Share Posted December 4, 2018 at 08:01 PM merece um +1 Link to comment
Zed™ Posted November 29, 2019 at 11:46 PM Share Posted November 29, 2019 at 11:46 PM Thankss Link to comment
ahmedhaies Posted April 23, 2021 at 04:36 PM Share Posted April 23, 2021 at 04:36 PM wwwww Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now