Jump to content

Ship Defense game source problem.


Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

I got that error, someone know about it?

1030 22:49:17489 :: File "game.py", line 1516, in SetHPAllianceTargetBoard 1030 22:49:17489 :: AttributeError 1030 22:49:17489 :: : 1030 22:49:17489 ::

'Interface' object has no attribute 'IsHideUiMode' 1030 22:49:17489 ::

[10:50 PM]

1030 22:50:31734 :: File "game.py", line 1945, in OnKeyUp 1030 22:50:31734 :: TypeError 1030 22:50:31734 :: : 1030 22:50:31734 ::

'NoneType' object has no attribute 'getitem'

Link to comment
Share on other sites

On 11/2/2022 at 12:38 AM, djstarxd said:

I got that error, someone know about it?

1030 22:49:17489 :: File "game.py", line 1516, in SetHPAllianceTargetBoard 1030 22:49:17489 :: AttributeError 1030 22:49:17489 :: : 1030 22:49:17489 ::

'Interface' object has no attribute 'IsHideUiMode' 1030 22:49:17489 ::

[10:50 PM]

1030 22:50:31734 :: File "game.py", line 1945, in OnKeyUp 1030 22:50:31734 :: TypeError 1030 22:50:31734 :: : 1030 22:50:31734 ::

'NoneType' object has no attribute 'getitem'

Show us whole game.py file.

Link to comment
Share on other sites


1103 17:06:52609 ::   File "game.py", line 1525, in SetHPAllianceTargetBoard

1103 17:06:52609 ::   File "uiTarget.py", line 1169, in SetHP

1103 17:06:52609 ::   File "ui.py", line 2330, in SetToolTipText

1103 17:06:52610 ::   File "ui.py", line 2333, in SetFormToolTipText

1103 17:06:52610 :: AttributeError
1103 17:06:52610 :: : 
1103 17:06:52610 :: 'Gauge' object has no attribute 'ToolTipText'
1103 17:06:52610 :: 
1103 17:06:09566 :: Traceback (most recent call last):

1103 17:06:09566 ::   File "game.py", line 1943, in OnKeyUp

1103 17:06:09566 :: TypeError
1103 17:06:09566 :: : 
1103 17:06:09566 :: 'NoneType' object has no attribute '__getitem__'
1103 17:06:09566 :: 

1103 17:06:05132 ::   File "game.py", line 1525, in SetHPAllianceTargetBoard

1103 17:06:05132 ::   File "uiTarget.py", line 1169, in SetHP

1103 17:06:05132 ::   File "ui.py", line 2330, in SetToolTipText

1103 17:06:05132 ::   File "ui.py", line 2333, in SetFormToolTipText

 

ui.py: https://pastebin.com/sDXmj8E1

uitarget.py: https://pastebin.com/tTncRYez

 

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.