Jump to content

Problem implement special inventory


Go to solution Solved by kamil2321,

Recommended Posts

Hello community! I tried to implement the special inventory system, and now I have a problem on the client side

 

Sysser

1113 22:39:29616 :: Failed to load script file : UIScript/ExtendedInventoryWindow.py
1113 22:39:29618 :: 
ui.py(line:2767) LoadScriptFile
system.py(line:192) execfile
system.py(line:163) Run
UIScript/ExtendedInventoryWindow.py(line:116) <module>

LoadScriptFile!!!!!!!!!!!!!! - <type 'exceptions.AttributeError'>:'module' object has no attribute 'INVENTORY_PAGE_BUTTON_TOOLTIP_3'

1113 22:39:29618 :: ============================================================================================================
1113 22:39:29618 :: Abort!!!!


1113 22:39:29619 :: 
uiInventory.py(line:134) __LoadWindow
ui.py(line:2784) LoadScriptFile
exception.py(line:36) Abort

ExtendedInventoryWindow.LoadWindow.LoadObject - <type 'exceptions.SystemExit'>:

1113 22:39:29619 :: ============================================================================================================
1113 22:39:29619 :: Abort!!!!

 

Link to comment
Share on other sites

you not have INVENTORY_PAGE_BUTTON_TOOLTIP_3 in locale_interface.txt

 

INVENTORY_PAGE_BUTTON_TOOLTIP_1 1. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_2 2. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_3 3. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_4 4. Inventory

Edited by Vasto187
Link to comment
Share on other sites

6 hours ago, Vasto187 said:

you not have INVENTORY_PAGE_BUTTON_TOOLTIP_3 in locale_interface.txt

 

INVENTORY_PAGE_BUTTON_TOOLTIP_1 1. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_2 2. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_3 3. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_4 4. Inventory

I added as you told me but it doesn't work, I get the same error

Link to comment
Share on other sites

On 11/14/2023 at 6:05 AM, Vasto187 said:

you not have INVENTORY_PAGE_BUTTON_TOOLTIP_3 in locale_interface.txt

 

INVENTORY_PAGE_BUTTON_TOOLTIP_1 1. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_2 2. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_3 3. Inventory

INVENTORY_PAGE_BUTTON_TOOLTIP_4 4. Inventory

Nice, you think well, but you forgot the most important rule, which are TABs, and you need to mention it. 🙂 

On 11/14/2023 at 2:20 PM, Vasto187 said:

Show UIScript/ExtendedInventoryWindow.py and uiinventory.py

Why? we need only original file locale_interface.txt and maybe later file ExtendedInventoryWindow.py  (eg. packed in .rar, .zip or file in attachment)

On 11/14/2023 at 12:41 PM, Tr3l said:

I added as you told me but it doesn't work, I get the same error

Because you dont have TAB in locale_interface.txt and 99% you missing that in:

INVENTORY_PAGE_BUTTON_TOOLTIP_1	1. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_2	2. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_3	3. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_4	4. Inventory

explanation:
INVENTORY_PAGE_BUTTON_TOOLTIP_1[TAB]1.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_2[TAB]2.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_3[TAB]3.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_4[TAB]4.[SPACE]Inventory


please send in attachment or packed in zip, rar, 7z whatever and i send back and probably works then fine 

Edited by kamil2321
  • Love 1
Link to comment
Share on other sites

22 minutes ago, kamil2321 said:

Nice, you think well, but you forgot the most important rule, which are TABs, and you need to mention it. 🙂 

Why? we need only original file locale_interface.txt and maybe later file ExtendedInventoryWindow.py  (eg. packed in .rar, .zip or file in attachment)

Because you dont have TAB in locale_interface.txt and 99% you missing that in:

INVENTORY_PAGE_BUTTON_TOOLTIP_1	1. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_2	2. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_3	3. Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_4	4. Inventory

explanation:
INVENTORY_PAGE_BUTTON_TOOLTIP_1[TAB]1.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_2[TAB]2.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_3[TAB]3.[SPACE]Inventory
INVENTORY_PAGE_BUTTON_TOOLTIP_4[TAB]4.[SPACE]Inventory


please send in attachment or packed in zip, rar, 7z whatever and i send back and probably works then fine 

Spoiler

This is the hidden content, please

🙂  ok, thank you 

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Solution
27 minutes ago, Tr3l said:
  Reveal hidden contents

This is the hidden content, please

🙂  ok, thank you 

Thank you too, and now i see when problem.
Solution:
in ExtendedInventoryWindow.py line:
 

missing:
,

explanation:
in:
					"image" : "d:/ymir work/ui/public/Slot_Base.sub"
change:

					"image" : "d:/ymir work/ui/public/Slot_Base.sub",
and maybe in:
"text_horizontal_align":"center"
change:
"text_horizontal_align":"center",

and i think it's all.

Download if you want:

Spoiler

This is the hidden content, please

Scan:

Spoiler

This is the hidden content, please


in files in notepad++ i change formatting to ANSI(option convert to ANSI- not code to ANSI)
I think now works fine, and locale_interface you have fine, and i change formatting to ANSI

  • Love 1
  • Love 1
Link to comment
Share on other sites

6 minutes ago, kamil2321 said:

Thank you too, and now i see when problem.
Solution:
in ExtendedInventoryWindow.py line:
 

missing:
,

explanation:
in:
					"image" : "d:/ymir work/ui/public/Slot_Base.sub"
change:

					"image" : "d:/ymir work/ui/public/Slot_Base.sub",
and maybe in:
"text_horizontal_align":"center"
change:
"text_horizontal_align":"center",

and i think it's all.

Download if you want:

  Hide contents

This is the hidden content, please

Scan:

  Hide contents

This is the hidden content, please


in files in notepad++ i change formatting to ANSI(option convert to ANSI- not code to ANSI)
I think now works fine, and locale_interface you have fine, and i change formatting to ANSI

Same error , it did not work 😞 

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.