Jump to content

ahmedmohamed

Banned
  • Posts

    27
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ahmedmohamed

  1. 0319 14:46:28625 :: 
    uiTeleportPanel.py(line:271) __LoadWindow
    ui.py(line:4301) GetChild

    uiTeleportPanel.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'ScrollBarPlace'

    0319 14:46:28625 :: ============================================================================================================
    0319 14:46:28626 :: Abort!!!!


    https://metin2.download/picture/JQb35jBLokA82vyPet2gh924F4JZhsja/.png

    https://metin2.download/picture/U69udh1UzmiSb0v1r9xNIB2e93eUjmN1/.png

  2. 0318 00:46:13652 :: Traceback (most recent call last): 0318 00:46:13652 :: File "game.py", line 1644, in OnUpdate 0318 00:46:13652 :: File "interfaceModule.py", line 2114, in BUILD_OnUpdate 0318 00:46:13652 :: AttributeError 0318 00:46:13652 :: : 0318 00:46:13652 :: 'Interface' object has no attribute 'yConstPosTaskbar' 0318 00:46:13652 ::

  3. 0317 20:54:16652 :: Traceback (most recent call last):

    0317 20:54:16652 ::   File "networkModule.py", line 239, in SetGamePhase

    0317 20:54:16652 ::   File "game.py", line 132, in __init__

    0317 20:54:16652 ::   File "uiitemshop.py", line 949, in __init__

    0317 20:54:16652 ::   File "uiitemshop.py", line 964, in OpenMainCategoryPage

    0317 20:54:16652 ::   File "uiitemshop.py", line 643, in __init__

    0317 20:54:16653 ::   File "uiitemshop_comp.py", line 373, in NewButton

    0317 20:54:16653 ::   File "uiitemshop_comp.py", line 44, in SetNormalImage

    0317 20:54:16653 ::   File "uiitemshop_comp.py", line 82, in LoadImage

    0317 20:54:16653 ::   File "uiitemshop_comp.py", line 85, in SetDiffuseColor

    0317 20:54:16653 :: AttributeError
    0317 20:54:16653 :: : 
    0317 20:54:16653 :: type object 'ExpandedImageBox' has no attribute 'SetDiffuseColor'
    0317 20:54:16653 :: 
     

  4. #ifdef ENABLE_EMOJI_IN_TEXT
    	if (m_emojiVector.size() != 0)
    	{
    		for (std::vector<SEmoji>::iterator itor = m_emojiVector.begin(); itor != m_emojiVector.end(); ++itor)
    		{
    			SEmoji & rEmo = *itor;
    			if (rEmo.pInstance)
    			{
    			if( GetDefaultCodePage() == CP_ARABIC )
    				rEmo.pInstance->SetPosition(fStanX + rEmo.x, (fStanY + 7.0) - (rEmo.pInstance->GetHeight() / 2));
    				//rEmo += pInstance->pLanguage.GetWidth() + -25
    			else
    				rEmo.pInstance->SetPosition(fStanX + rEmo.x, (fStanY + 7.0) - (rEmo.pInstance->GetHeight() / 2));
    				rEmo.pInstance->Render();
    			}
    		}
    	}
    #endif

    https://metin2.download/picture/GkKEZd3w47AX0WKDNMB77QnD2n665N33/.png

     

    When writing in English, the flag is on the left side
    When writing in Arabic, the flag is on the right side
    I want to install the flag immediately after the name in the empty space

  5. Thank you to the people who help us. Thank you
    I have a question about the source
    What is the command of the Arabic language, an example in Python?
    if localeInfo.IsARABIC():
    self.chatLine.SetSize(self.GetWidth() - 93, 18)
    else:
    self.chatLine.SetSize(self.GetWidth() - 93, 13)
    I have this line in the source

    rEmo.pInstance->SetPosition(fStanX + rEmo.x, (fStanY + 7.0) - (rEmo.pInstance->GetHeight() / 2));


    What is the correct way to set the Arabic language condition?

  6.   

    16 minutes ago, xTryhard said:

    create this file as sub file :

     

    title subImage
    version 1.0
    image "tabchararab.tga"
    left 0
    top 0
    right 253
    bottom 37

    now go to python and select it with the if statement
     

     

    fix 

    can you help me fix flag?

    not work arab 

    but en work good

     

  7. this file 
    .sub

    https://paste2.org/yBpGcnF9

    this file .py

    https://paste2.org/0AjFtPv1

    7 minutes ago, xTryhard said:

    create 2 sub files:
    a default one and the new one and use this:
    if localeInfo.IsARABIC():
        image "tabchararab.tga"
    else:
        image "tabchar.tga"

    inside python and not inside the sub file

     

    7 minutes ago, xTryhard said:

    create 2 sub files:
    a default one and the new one and use this:
    if localeInfo.IsARABIC():
        image "tabchararab.tga"
    else:
        image "tabchar.tga"

    inside python and not inside the sub file

    im fix this 

    but flag no can you help me fix flag ?

  8. 1 minute ago, xTryhard said:

    make sure your file name use small characters if you name it Image.TGA it will not work because python and C++ is case sensitive

     this work
    title subImage
    version 1.0
    image "tabchar.tga"
    left 0
    top 0
    right 253
    bottom 37

     

     

    but this no

     

    title subImage
    version 1.0
    if localeInfo.IsARABIC():
        image "tabchararab.tga"
    else:
        image "tabchar.tga"
    left 0
    top 0
    right 253
    bottom 37

  9. title subImage
    version 1.0
    if localeInfo.IsARABIC():
        image "tabchararab.tga"
    else:
        image "tabchar.tga"
    left 0
    top 0
    right 253
    bottom 37
     

    why this code not work

    https://metin2.download/picture/LzFG8VPNzgeU7xf11B1YuE2rKW15uQU9/.png

    0308 16:37:14916 :: ui:4288: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
    
    0308 16:37:14916 :: 
    uiCharacter.py(line:811) __LoadWindow
    uiCharacter.py(line:302) __LoadScript
    ui.py(line:4281) LoadScriptFile
    ui.py(line:4497) LoadChildren
    ui.py(line:4497) LoadChildren
    ui.py(line:4497) LoadChildren
    ui.py(line:4288) LoadChildren
    
    CharacterWindow.__LoadWindow - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/game/windows/char_tab_01.sub)
    
    0308 16:37:14916 :: ============================================================================================================
    0308 16:37:14916 :: Abort!!!!
    
    

     

     

    bug flag

     

    flag work en  but ae now work

    https://metin2.download/picture/wqVQrT4IbYKGERh5TirBw2qwAPbLKYgs/.png

     

     

  10. 0307 20:08:45174 :: Traceback (most recent call last):

    0307 20:08:45174 ::   File "ui.py", line 1466, in CallEvent

    0307 20:08:45174 ::   File "ui.py", line 88, in __call__

    0307 20:08:45174 ::   File "ui.py", line 70, in __call__

    0307 20:08:45174 ::   File "uiMessenger.py", line 625, in OnPressGuildButton

    0307 20:08:45174 ::   File "ui.py", line 88, in __call__

    0307 20:08:45174 ::   File "ui.py", line 70, in __call__

    0307 20:08:45174 ::   File "interfaceModule.py", line 1330, in ToggleGuildWindow

    0307 20:08:45175 ::   File "uiGuild.py", line 1354, in Open

    0307 20:08:45175 ::   File "uiGuild.py", line 806, in Show

    0307 20:08:45175 ::   File "uiGuild.py", line 1672, in RefreshGuildSkillPage

    0307 20:08:45175 :: AttributeError
    0307 20:08:45175 :: : 
    0307 20:08:45175 :: 'PageWindow' object has no attribute 'gpValue'
    0307 20:08:45175 :: 

     

     

  11. 2 hours ago, Vaynz said:

    You dont give a lot of information but how i can see, if your locale info is set on arabic the position (x -> left right) is set to 190 and if you have another locale info like set on EN / IT / FR is set to 0 (x -> left right)

    Give more infos please. What you need

    not work came this bug

    0304 13:31:00653 :: UISCRIPT_LOAD_ERROR: invalid syntax (UIscript/LoginWindow.py, line 916) [filename UIscript/LoginWindow.py] 0304 13:31:00653 :: introLogin.py(line:451) LoadScript ui.py(line:4237) LoadScriptFile LoginWindow.LoadScript.LoadObject - <type 'exceptions.KeyError'>:'window' 0304 13:31:00653 :: ============================================================================================================ 0304 13:31:00653 :: Abort!!!!

×
×
  • 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.