Jump to content
metin2dev
  • 1
Lua_Horus2

open Mark System Offline Shop Bug

Question

Hello, today i try install in my server this system: 

 

Its all work nice, except when try open offline shop.

When i open offline shop(i use offline shop by great) its impossible drag itens and my syserr say:

0730 20:37:44608 :: Traceback (most recent call last):

0730 20:37:44608 ::   File "ui.py", line 1367, in CallEvent

0730 20:37:44609 ::   File "ui.py", line 87, in __call__

0730 20:37:44610 ::   File "ui.py", line 69, in __call__

0730 20:37:44610 ::   File "uiPrivateShopBuilder.py", line 444, in OnClose

0730 20:37:44610 ::   File "uiPrivateShopBuilder.py", line 251, in Close

0730 20:37:44611 :: AttributeError
0730 20:37:44611 :: : 
0730 20:37:44611 :: 'NoneType' object has no attribute 'GetInventoryPageIndex'
0730 20:37:44611 :: 

Thank's for ur attention. 

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
On 7/30/2018 at 10:44 PM, Lua_Horus2 said:

0730 20:37:44610 ::   File "uiPrivateShopBuilder.py", line 251, in Close

0730 20:37:44611 :: AttributeError
0730 20:37:44611 :: : 
0730 20:37:44611 :: 'NoneType' object has no attribute 'GetInventoryPageIndex'
0730 20:37:44611 :: 
  • if itemInvenPage == self.wndInventory.GetInventoryPageIndex():
  • if self.wndInventory and itemInvenPage == self.wndInventory.GetInventoryPageIndex():
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0
4 godziny temu, VegaS™ napisał:
  • if itemInvenPage == self.wndInventory.GetInventoryPageIndex():
  • if self.wndInventory and itemInvenPage == self.wndInventory.GetInventoryPageIndex():

It works but what with this error?

0822 00:01:29573 :: Traceback (most recent call last):

0822 00:01:29573 ::   File "ui.py", line 1098, in ui.Button.CallEvent

0822 00:01:29573 ::   File "ui.py", line 137, in ui.__mem_func__.__call__

0822 00:01:29573 ::   File "ui.py", line 119, in ui.__noarg_call__.__call__

0822 00:01:29573 ::   File "uiNewShop.py", line 133, in uiNewShop.ShopDialogCreate.CreateShop

0822 00:01:29573 ::   File "uiPrivateShopBuilder.py", line 243, in uiPrivateShopBuilder.PrivateShopBuilder.Open

0822 00:01:29573 :: AttributeError
0822 00:01:29573 :: : 
0822 00:01:29573 :: 'NoneType' object has no attribute 'SetOnTopWindow'
0822 00:01:29573 :: 

 

Share this post


Link to post
Share on other sites
  • 0
17 hours ago, avertuss said:

It works but what with this error?


0822 00:01:29573 ::   File "uiPrivateShopBuilder.py", line 243, in uiPrivateShopBuilder.PrivateShopBuilder.Open
0822 00:01:29573 :: AttributeError
0822 00:01:29573 :: : 
0822 00:01:29573 :: 'NoneType' object has no attribute 'SetOnTopWindow'
0822 00:01:29573 :: 

 

Quote
  1.         if app.WJ_ENABLE_TRADABLE_ICON:
  2.             self.lockedItems = {i:(-1,-1) for i in range(shop.SHOP_SLOT_COUNT)}
  3.             self.interface.SetOnTopWindow(player.ON_TOP_WND_PRIVATE_SHOP)
  4.             self.interface.RefreshMarkInventoryBag()
if app.WJ_ENABLE_TRADABLE_ICON:
	self.lockedItems = {i:(-1,-1) for i in range(shop.SHOP_SLOT_COUNT)}
	if self.interface:
		self.interface.SetOnTopWindow(player.ON_TOP_WND_PRIVATE_SHOP)
		self.interface.RefreshMarkInventoryBag()

 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0
6 godzin temu, VegaS™ napisał:

if app.WJ_ENABLE_TRADABLE_ICON:
	self.lockedItems = {i:(-1,-1) for i in range(shop.SHOP_SLOT_COUNT)}
	if self.interface:
		self.interface.SetOnTopWindow(player.ON_TOP_WND_PRIVATE_SHOP)
		self.interface.RefreshMarkInventoryBag()

 

Now syserr is clean but effect isn't working ;/ 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×