Jump to content

Mark System Offline Shop Bug


Recommended Posts

On 12/23/2021 at 9:32 PM, Enju said:

Just create the function to return the page index.

Open the file uiInventory.py (root) and add the following function in the InventoryWindow class.

def GetInventoryPageIndex(self):
	return self.inventoryPageIndex

 

That already comes in the tutorial, and it is as if the call did not work 😕

Help?

EDIT:

On uinewshop.py search:

class ShopDialogCreate(ui.ScriptWindow):
    UI={}
    def __init__(self, interface):
        ui.ScriptWindow.__init__(self)
        self.tooltipItem = uiToolTip.ItemToolTip()
        self.tooltipItem.Hide()
        self.privateShopBuilder = uiPrivateShopBuilder.PrivateShopBuilder()
        self.privateShopBuilder.Hide()

Copy and paste:

        if app.WJ_ENABLE_TRADABLE_ICON:
            self.privateShopBuilder.BindInterface(interface)
            self.privateShopBuilder.SetInven(interface.wndInventory)
            interface.wndInventory.BindWindow(self.privateShopBuilder)

Edited by wubservice
Link to comment
Share on other sites

  • 1 year later...
On 12/23/2021 at 9:32 PM, Enju said:

Just create the function to return the page index.

Open the file uiInventory.py (root) and add the following function in the InventoryWindow class.

def GetInventoryPageIndex(self):
	return self.inventoryPageIndex

 

I got this function and again same problem, someone fixed?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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