Jump to content

Problem skill color


Recommended Posts

hello, I have a problem and I can't solve it.

 

i try to add skill color and i get this in sysser when i click to change skill color

 

uiSkillColor.py(line:79) __LoadWindow
uiSkillColor.py(line:93) __BindObject
ui.py(line:2853) GetChild

SkillColorWindow.__LoadWindow.__BindObject - <type 'exceptions.KeyError'>:'ThinBoard'

1028 17:19:21539 :: ============================================================================================================
1028 17:19:21539 :: Abort!!!!
https://pastebin.com/9RGuRjGc this is ui.py

 

Link to comment
Share on other sites

  • Silver

Make sure in your .py file is "thinboard" not ThinBoard

Look here 

elif Type == "thinboard":

parent.Children[Index] = ThinBoard()

parent.Children[Index].SetParent(parent)

self.LoadElementThinBoard(parent.Children[Index], ElementValue, parent)

 

Link to comment
Share on other sites

  • 2 months later...

ss

On 30.10.2022 at 13:49, Vaynz said:

Ei bine, thinboard_circle din ui.py lipsește

Există tutorial. Deschideți ui.py și urmați pașii, după ce adăugați în folderul ui/pattern thinboard_circle. Mult noroc !

 

Conținut ascuns

  • Dă reacție la această postare pentru a vedea conținutul ascuns.

 

ty

thanks

tx

tx

Link to comment
Share on other sites

On 10/30/2022 at 12:49 PM, Vaynz said:

Well thinboard_circle from ui.py is missing

There is tutorial. Open ui.py and followe the steps, after add in ui/pattern folder thinboard_circle. Good luck !

This is the hidden content, please

 

spacer.png

 

Dude please help, ui.py line 3025 is *elif Type == "thinboard_circle":

Tried so many ways didnt found a solution, and i am stuck on this...

Link to comment
Share on other sites

On 1/25/2023 at 12:22 AM, Sidelekbrytro said:

 

spacer.png

 

Dude please help, ui.py line 3025 is *elif Type == "thinboard_circle":

Tried so many ways didnt found a solution, and i am stuck on this...

Indentation (spaces and tabs) have meaning in Python. The error tells you the indentation at line 3025 is not correct. Maybe you have missing/extra spaces or mixed tabs with spaces (as that also caused issues, I think)

Link to comment
Share on other sites

47 minutes ago, semoka10 said:

Indentation (spaces and tabs) have meaning in Python. The error tells you the indentation at line 3025 is not correct. Maybe you have missing/extra spaces or mixed tabs with spaces (as that also caused issues, I think)

That was the problem, fixed if after googling.

I have another problem now:

0126 13:05:18366 :: 
uiSystem.py(line:214) __LoadDialog
ui.py(line:2901) LoadScriptFile
ui.py(line:3098) LoadChildren
ui.py(line:3027) LoadChildren
ui.py(line:1949) __init__

MoveChannelDialog.__LoadDialog - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/pattern/thinboardcircle/ThinBoard_Corner_RightBottom_Circle.tga)

0126 13:05:18366 :: ============================================================================================================
0126 13:05:18366 :: Abort!!!!

 

I packed the "ymir work" into PACK folder and i think everything is oke, do you know maybe what could be the problem

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.