Jump to content

Recommended Posts

Hello..

Today i add new char select interface and i got 1 error :(

Someone know how to fix this?

Spoiler

0103 17:42:06497 :: Traceback (most recent call last):

0103 17:42:06497 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate

0103 17:42:06497 ::   File "networkModule.py", line 150, in __ChangePhaseWindow

0103 17:42:06497 ::   File "introSelect.py", line 204, in Open

0103 17:42:06497 ::   File "introSelect.py", line 795, in SelectSlot

0103 17:42:06497 :: AttributeError
0103 17:42:06497 :: : 
0103 17:42:06497 :: 'module' object has no attribute 'ACCOUNT_CHARACTER_SLOT_ACCE'
0103 17:42:06497 :: 

 

Link to comment
https://metin2.dev/topic/9997-helppython-3/
Share on other sites

  • Premium

In your introSelect.py, in the SelectSlot function, you used an attribute (ACCOUNT_CHARACTER_SLOT_ACCE) that is not exist in the selected module (like something.ACCOUNT_CHARACTER_SLOT_ACCE).

  • Love 1

The one and only UI programming guideline

Link to comment
https://metin2.dev/topic/9997-helppython-3/#findComment-59495
Share on other sites

5 minutes ago, masodikbela said:

Thx.. But now i got new error:

Spoiler

0103 18:56:33900 :: Traceback (most recent call last):

0103 18:56:33900 ::   File "introSelect.py", line 523, in <lambda>

0103 18:56:33900 ::   File "introSelect.py", line 987, in OverInButton

0103 18:56:33900 :: ValueError
0103 18:56:33900 :: : 
0103 18:56:33900 :: incomplete format
0103 18:56:33900 :: 

 

Link to comment
https://metin2.dev/topic/9997-helppython-3/#findComment-59505
Share on other sites

I fix it..

I will change this:

Spoiler

        elif stat >= 5 and stat <= 9:
            playTime = net.GetAccountCharacterSlotDataInteger(stat-5, net.ACCOUNT_CHARACTER_SLOT_PLAYTIME)
            guildName = net.GetAccountCharacterSlotDataString(stat-4, net.ACCOUNT_CHARACTER_SLOT_GUILD_NAME)

to this:

Spoiler

        elif stat >= 5 and stat <= 8:
            playTime = net.GetAccountCharacterSlotDataInteger(stat-5, net.ACCOUNT_CHARACTER_SLOT_PLAYTIME)
            guildName = net.GetAccountCharacterSlotDataString(stat-4, net.ACCOUNT_CHARACTER_SLOT_GUILD_NAME)

But for now i got other problem with guild..

I got guild but don´t show me it :(

Spoiler

guild.png

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/9997-helppython-3/#findComment-59515
Share on other sites

  • Premium

Sorry, but I can help only with syserr problems. Repairing systems and codes a bit more difficulty, and takes more time. But repairing syserr problems takes only 5-10 minutes for me, so I do this one with pleasure ;)

The one and only UI programming guideline

Link to comment
https://metin2.dev/topic/9997-helppython-3/#findComment-59526
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.