Jump to content

Recommended Posts

  • 8 months later...
  • Inactive Member

Hello,
I have problem with add 6&7 attr, my SF dont have in cube.cpp

 

if ( ch->GetExchange() || ch->GetMyShop() || ch->GetShopOwner() || ch->IsOpenSafebox() || ch->IsCubeOpen() )

There is only:

 

    if (ch->IsCubeOpen())
    {
        ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("이미 제조창이 열려있습니다."));
        return;
    }

 

But in char.cpp is

    if (except && !(WND_EXCHANGE & flags) || !except && (WND_EXCHANGE & flags))
        if (GetExchange())
            return true;

    if (except && !(WND_MYSHOP & flags) || !except && (WND_MYSHOP & flags))
        if (GetMyShop())
            return true;

    if (except && !(WND_SHOPOWNER & flags) || !except && (WND_SHOPOWNER & flags))
        if (GetShopOwner())
            return true;

    if (except && !(WND_SAFEBOX & flags) || !except && (WND_SAFEBOX & flags))
        if (IsOpenSafebox())
            return true;

    if (except && !(WND_REFINE & flags) || !except && (WND_REFINE & flags))
        if (IsUnderRefine())
            return true;

    if (except && !(WND_CUBE & flags) || !except && (WND_CUBE & flags))
        if (IsCubeOpen())
            return true;

its not for it?

Please can u help me with it? 

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-153527
Share on other sites

  • Inactive Member
SYSERR: Traceback (most recent call last):

SYSERR:   File "introLogo.py", line 59, in OnUpdate

SYSERR:   File "networkModule.py", line 183, in SetLoginPhase

SYSERR:   File "system.py", line 160, in __hybrid_import

SYSERR:   File "system.py", line 122, in _process_result

SYSERR:   File "introLogin.py", line 15, in <module>

SYSERR:   File "system.py", line 160, in __hybrid_import

SYSERR:   File "system.py", line 122, in _process_result

SYSERR:   File "uiCommon.py", line 12, in <module>

SYSERR:   File "system.py", line 160, in __hybrid_import

SYSERR:   File "system.py", line 122, in _process_result

SYSERR:   File "uiToolTip.py", line 26, in <module>

SYSERR:   File "system.py", line 160, in __hybrid_import

SYSERR:   File "system.py", line 122, in _process_result

SYSERR:   File "uiDragonSoul.py", line 20, in <module>

SYSERR:   File "system.py", line 160, in __hybrid_import

SYSERR:   File "system.py", line 122, in _process_result

SYSERR:   File "uiInventory.py", line 31, in <module>

SYSERR:   File "system.py", line 167, in __hybrid_import

SYSERR: ImportError
SYSERR: :
SYSERR: No module named uiAttr67Add
SYSERR:

Not working..

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-153557
Share on other sites

  • 2 weeks later...

i got a problem, the add bonus window doesen't open, its invisible i guess because when ai click on the npc again it tells me that "you have to close other windows"

Spoiler

1222 15:35:20361 :: Traceback (most recent call last):

1222 15:35:20361 ::   File "game.py", line 2142, in OpenAttr67AddDlg

1222 15:35:20361 ::   File "interfaceModule.py", line 658, in OpenAttr67AddDlg

1222 15:35:20361 ::   File "uiAttr67Add.py", line 438, in Show

1222 15:35:20361 ::   File "uiAttr67Add.py", line 305, in __ClearData

1222 15:35:20361 ::   File "uiAttr67Add.py", line 296, in __CalculateTotalSuccessPer

1222 15:35:20361 :: ValueError
1222 15:35:20361 :: : 
1222 15:35:20361 :: incomplete format
1222 15:35:20361 :: 

 

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-153853
Share on other sites

  • 3 weeks later...
  • 5 weeks later...
  • 2 weeks later...
On 12/22/2022 at 1:39 PM, metrix2020 said:

i got a problem, the add bonus window doesen't open, its invisible i guess because when ai click on the npc again it tells me that "you have to close other windows"

  Hide contents

1222 15:35:20361 :: Traceback (most recent call last):

1222 15:35:20361 ::   File "game.py", line 2142, in OpenAttr67AddDlg

1222 15:35:20361 ::   File "interfaceModule.py", line 658, in OpenAttr67AddDlg

1222 15:35:20361 ::   File "uiAttr67Add.py", line 438, in Show

1222 15:35:20361 ::   File "uiAttr67Add.py", line 305, in __ClearData

1222 15:35:20361 ::   File "uiAttr67Add.py", line 296, in __CalculateTotalSuccessPer

1222 15:35:20361 :: ValueError
1222 15:35:20361 :: : 
1222 15:35:20361 :: incomplete format
1222 15:35:20361 :: 

 

Same problem with me. if i change quest for attr6&7.quest and do ./qc "name", create object NPC "20095". When i try open with quest, i get same error and i cant move any item and do anything in game. Need close window again

2 minutes ago, ricardo1813 said:

Same problem with me. if i change quest for attr6&7.quest and do ./qc "name", create object NPC "20095". When i try open with quest, i get same error and i cant move any item and do anything in game. Need close window again. If i just dont change atrr6&7.lua for quest, npc just no have any quest for open

 

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-155264
Share on other sites

  • 3 months later...
  • Active+ Member

Working amazing! The only thing I notice is that when you change 6&7 attr using the change item, client freezes for a brief moment. Otherwise system is perfect. You're a madman to share these amazing systems publicly. Love you Mali!

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-157872
Share on other sites

  • 5 months later...
  • Premium
    def OverInMaterialSlot(self, slot_index):
        if not self.tooltipitem:
            return

        if self.MaterialSlotIndex == -1:
            return

        if self.SupportSlotIndex == -1:
            return

        self.tooltipitem.AddItemData(self.MaterialSlotIndex, 0, 0)
Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-161221
Share on other sites

  • 4 weeks later...
  • Active+ Member

Anyone else has this issue with this system? Im getting it after rewarp/relog. It's caused by RefreshLockedSlot but Im not sure how to fix it

1220 09:59:50193 :: Traceback (most recent call last):

1220 09:59:50193 ::   File "networkModule.py", line 285, in SetGamePhase

1220 09:59:50193 ::   File "game.py", line 105, in __init__

1220 09:59:50193 ::   File "interfaceModule.py", line 452, in MakeInterface

1220 09:59:50194 ::   File "interfaceModule.py", line 245, in __MakeWindows

1220 09:59:50194 ::   File "uiInventory.py", line 368, in __init__

1220 09:59:50194 ::   File "uiInventory.py", line 581, in __LoadWindow

1220 09:59:50194 ::   File "uiInventory.py", line 679, in SetInventoryPage

1220 09:59:50195 ::   File "uiInventory.py", line 1022, in RefreshBagSlotWindow

1220 09:59:50195 ::   File "uiInventory.py", line 1022, in <lambda>

1220 09:59:50195 ::   File "uiAttr67Add.py", line 474, in RefreshLockedSlot

1220 09:59:50195 :: AttributeError
1220 09:59:50195 :: : 
1220 09:59:50196 :: 'int' object has no attribute 'SetCanMouseEventSlot'
1220 09:59:50196 :: 

1220 09:59:50196 :: Traceback (most recent call last):

1220 09:59:50196 ::   File "game.py", line 773, in RefreshStatus

1220 09:59:50198 ::   File "game.py", line 767, in CheckGameButton

1220 09:59:50198 ::   File "interfaceModule.py", line 1450, in CheckGameButton

 

  • Good 1
Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-161800
Share on other sites

  • 3 months later...

If you are using the WJ_ENABLE_TRADABLE_ICON, the below may help you, with your problem.

 

@b6d4a82c15

1. Open uiAttr67Add.py and add the below function:

(I added the def Destroy(self): , under the def __del__(self): ( I think the placement, it doesn't  matter)

Spoiler

    @ui.WindowDestroy

    def Destroy(self):

        self.ClearDictionary()

        self.inven = None

        self.interface = None

2. Open interfacemodule.py and find:

Spoiler

        if app.BL_67_ATTR:

            if self.wndAttr67Add:

                del self.wndAttr67Add

2.1 Modify it, like below:

Spoiler

        if app.BL_67_ATTR:

            self.wndAttr67Add.Destroy()

            if self.wndAttr67Add:

                del self.wndAttr67Add

 

I'm not sure if the solution is complete.

But the above code, solved my problem. (Crash while warp / teleport)

Edited by nora
Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-164455
Share on other sites

  • 4 months later...

Change your character and re-enter the game.

Syserr.txt

 

0901 11:48:25282 ::   File "uiAttr67Add.py", line 474, in RefreshLockedSlot

0901 11:48:25283 :: ReferenceError
0901 11:48:25283 :: : 
0901 11:48:25283 :: weakly-referenced object no longer exists
0901 11:48:25283 :: 

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-166804
Share on other sites

  • 1 year later...
  • Premium
On 9/1/2024 at 10:50 AM, BadRomani said:

0901 11:48:25282 ::   File "uiAttr67Add.py", line 474, in RefreshLockedSlot

0901 11:48:25283 :: ReferenceError
0901 11:48:25283 :: : 
0901 11:48:25283 :: weakly-referenced object no longer exists
0901 11:48:25283 :: 

In uiattr67add.py

Instead of using this:
 

        def BindInterface(self, interface):
            from _weakref import proxy
            self.interface = proxy(interface)

        def SetInven(self, inven):
            from _weakref import proxy
            self.inven = proxy(inven)


Use this:

        def BindInterface(self, interface):
            self.interface = interface

        def SetInven(self, inven):
            self.inven = inven

 

Ulthar

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-172414
Share on other sites

  • 4 months later...

hey guys, how are u?

Thanks Mali, it works perfectly.

However, to make it like the official version, I'm missing the part where the NPC collects the item and delivers it 24 hours later, whether successfully or unsuccessfully. Do you know how I could add that part?

Link to comment
https://metin2.dev/topic/27833-official-6-7-attr/page/2/#findComment-174473
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.