Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Panel Gracza V1.0


Mickej

Rekomendowane odpowiedzi

Opublikowano

No masz tam w game.py te funkcję self co nie?

Dodajesz przy funkcji każdej #self takie coś, przed self to #.

Opublikowano

przed te self dodać #?

http://wklej.to/SV323

Jak tutaj np masz: self.panelpw.SetEvent(self.Calendar) dodajesz przed self # czyli: #self.panelpw.SetEvent(self.Calendar)

I robisz tak w każdej funkcji tam i w 3 linijce i dodajesz przed self [#] tylko. :)

Opublikowano

Mam problem, ponieważ wyświetla mi się tylko samo okienko bez ikonek.

 

syserr

 

1213 22:38:25307 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\item\weapon\00190.gr2 

1213 22:38:25307 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\item\weapon\00190.gr2 
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=265, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage2.mse, isCache=1) - Error
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage3.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=266, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage3.mse, isCache=1) - Error
1213 22:39:29148 :: CGuildMarkImage: mark/120_0.tga width must be 512
1213 22:39:29152 :: CGuildMarkImage: mark/120_1.tga width must be 512
1213 22:39:42972 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:56235 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/enter_the_east.mp3
1213 22:39:56236 :: Failed to load race data : qentinios/rain/rain_by_qentinios.msm
 
1213 22:39:58930 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:01026 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:01268 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:02677 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:03717 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:04656 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:05203 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:07048 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:40:07483 :: Traceback (most recent call last):
 
1213 22:40:07483 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:07483 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07484 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07484 :: AttributeError
1213 22:40:07484 :: : 
1213 22:40:07484 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07484 :: 
 
1213 22:40:07486 :: Traceback (most recent call last):
 
1213 22:40:07486 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:07487 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07487 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07487 :: AttributeError
1213 22:40:07487 :: : 
1213 22:40:07487 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07487 :: 
 
1213 22:40:08651 :: Traceback (most recent call last):
 
1213 22:40:08651 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08651 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08651 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08652 :: AttributeError
1213 22:40:08652 :: : 
1213 22:40:08652 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08652 :: 
 
1213 22:40:08653 :: Traceback (most recent call last):
 
1213 22:40:08654 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08654 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08654 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08654 :: AttributeError
1213 22:40:08654 :: : 
1213 22:40:08654 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08654 :: 
 
1213 22:40:09019 :: Traceback (most recent call last):
 
1213 22:40:09019 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09020 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09020 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09020 :: AttributeError
1213 22:40:09020 :: : 
1213 22:40:09020 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09020 :: 
 
1213 22:40:09022 :: Traceback (most recent call last):
 
1213 22:40:09022 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09022 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09022 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09022 :: AttributeError
1213 22:40:09022 :: : 
1213 22:40:09022 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09022 :: 
 
1213 22:40:16565 :: granny_shared_vbs:
1213 22:40:16565 :: 0: 40
1213 22:40:16565 :: 1: 20
1213 22:40:16565 :: 2: 20
1213 22:40:16566 :: 3: 40
1213 22:40:16566 :: 4: 5
1213 22:40:16566 :: 5: 20
1213 22:40:16566 :: 6: 5
1213 22:40:16567 :: 7: 4
1213 22:40:16567 :: 8: 4

Specjalista
Opublikowano

 

Mam problem, ponieważ wyświetla mi się tylko samo okienko bez ikonek.

 

syserr

 

1213 22:38:25307 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\item\weapon\00190.gr2 

1213 22:38:25307 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\item\weapon\00190.gr2 
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage1.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=264, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage1.mse, isCache=1) - Error
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage2.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=265, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage2.mse, isCache=1) - Error
1213 22:38:26886 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/hit/percent_damage3.mse) Error
1213 22:38:26886 :: CInstanceBase::RegisterEffect(eEftType=266, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/hit/percent_damage3.mse, isCache=1) - Error
1213 22:39:29148 :: CGuildMarkImage: mark/120_0.tga width must be 512
1213 22:39:29152 :: CGuildMarkImage: mark/120_1.tga width must be 512
1213 22:39:42972 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:56235 :: CSoundManager::PlayMusic - Failed to load stream sound : BGM/enter_the_east.mp3
1213 22:39:56236 :: Failed to load race data : qentinios/rain/rain_by_qentinios.msm
 
1213 22:39:58930 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:01026 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:01268 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:02677 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:03717 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:04656 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:05203 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:39:07048 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
1213 22:40:07483 :: Traceback (most recent call last):
 
1213 22:40:07483 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:07483 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07484 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07484 :: AttributeError
1213 22:40:07484 :: : 
1213 22:40:07484 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07484 :: 
 
1213 22:40:07486 :: Traceback (most recent call last):
 
1213 22:40:07486 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:07487 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07487 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07487 :: AttributeError
1213 22:40:07487 :: : 
1213 22:40:07487 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07487 :: 
 
1213 22:40:08651 :: Traceback (most recent call last):
 
1213 22:40:08651 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08651 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08651 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08652 :: AttributeError
1213 22:40:08652 :: : 
1213 22:40:08652 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08652 :: 
 
1213 22:40:08653 :: Traceback (most recent call last):
 
1213 22:40:08654 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08654 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08654 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08654 :: AttributeError
1213 22:40:08654 :: : 
1213 22:40:08654 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08654 :: 
 
1213 22:40:09019 :: Traceback (most recent call last):
 
1213 22:40:09019 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09020 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09020 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09020 :: AttributeError
1213 22:40:09020 :: : 
1213 22:40:09020 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09020 :: 
 
1213 22:40:09022 :: Traceback (most recent call last):
 
1213 22:40:09022 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09022 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09022 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09022 :: AttributeError
1213 22:40:09022 :: : 
1213 22:40:09022 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09022 :: 
 
1213 22:40:16565 :: granny_shared_vbs:
1213 22:40:16565 :: 0: 40
1213 22:40:16565 :: 1: 20
1213 22:40:16565 :: 2: 20
1213 22:40:16566 :: 3: 40
1213 22:40:16566 :: 4: 5
1213 22:40:16566 :: 5: 20
1213 22:40:16566 :: 6: 5
1213 22:40:16567 :: 7: 4
1213 22:40:16567 :: 8: 4

 

Daj game.py na wklej.to

Pomogłeś,pomogę kiedy tylko brachu mogę!

 

graphic.png

 

Opublikowano

"1213 22:40:07483 ::   File "game.py", line 1177, in OnKeyDown

 
1213 22:40:07483 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07484 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07484 :: AttributeError
1213 22:40:07484 :: : 
1213 22:40:07484 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07484 :: 
 
1213 22:40:07486 :: Traceback (most recent call last):
 
1213 22:40:07486 ::   FILE671731418561626287749.png "game.py", line 1177, in OnKeyDown
 
1213 22:40:07487 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07487 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07487 :: AttributeError
1213 22:40:07487 :: : 
1213 22:40:07487 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07487 :: 
 
1213 22:40:08651 :: Traceback (most recent call last):
 
1213 22:40:08651 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08651 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08651 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08652 :: AttributeError
1213 22:40:08652 :: : 
1213 22:40:08652 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08652 :: 
 
1213 22:40:08653 :: Traceback (most recent call last):
 
1213 22:40:08654 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08654 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08654 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08654 :: AttributeError
1213 22:40:08654 :: : 
1213 22:40:08654 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08654 :: 
 
1213 22:40:09019 :: Traceback (most recent call last):
 
1213 22:40:09019 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09020 ::   FILE671731418561626287749.png "game.py", line 330, in <lambda>
 
1213 22:40:09020 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09020 :: AttributeError
1213 22:40:09020 :: : 
1213 22:40:09020 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09020 :: 
 
1213 22:40:09022 :: Traceback (most recent call last):
 
1213 22:40:09022 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09022 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09022 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09022 :: AttributeError
1213 22:40:09022 :: : 
1213 22:40:09022 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09022 :: 
 
 
Nie masz przypisanych, żadnych akcji ;p.

"

 

Angielski tutaj jest podstawą:

 object has no attribute, co oznacza, że objekt nie ma przypisania/

  • 1 miesiąc temu...
  • 2 tygodnie później...
Opublikowano

"1213 22:40:07483 ::   File "game.py", line 1177, in OnKeyDown

 
1213 22:40:07483 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07484 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07484 :: AttributeError
1213 22:40:07484 :: : 
1213 22:40:07484 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07484 :: 
 
1213 22:40:07486 :: Traceback (most recent call last):
 
1213 22:40:07486 ::   FILE671731418561626287749.png "game.py", line 1177, in OnKeyDown
 
1213 22:40:07487 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:07487 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:07487 :: AttributeError
1213 22:40:07487 :: : 
1213 22:40:07487 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:07487 :: 
 
1213 22:40:08651 :: Traceback (most recent call last):
 
1213 22:40:08651 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08651 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08651 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08652 :: AttributeError
1213 22:40:08652 :: : 
1213 22:40:08652 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08652 :: 
 
1213 22:40:08653 :: Traceback (most recent call last):
 
1213 22:40:08654 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:08654 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:08654 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:08654 :: AttributeError
1213 22:40:08654 :: : 
1213 22:40:08654 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:08654 :: 
 
1213 22:40:09019 :: Traceback (most recent call last):
 
1213 22:40:09019 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09020 ::   FILE671731418561626287749.png "game.py", line 330, in <lambda>
 
1213 22:40:09020 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09020 :: AttributeError
1213 22:40:09020 :: : 
1213 22:40:09020 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09020 :: 
 
1213 22:40:09022 :: Traceback (most recent call last):
 
1213 22:40:09022 ::   File "game.py", line 1177, in OnKeyDown
 
1213 22:40:09022 ::   File "game.py", line 330, in <lambda>
 
1213 22:40:09022 ::   File "game.py", line 2060, in __PanelGracza
 
1213 22:40:09022 :: AttributeError
1213 22:40:09022 :: : 
1213 22:40:09022 :: 'Interface' object has no attribute 'ToggleBonusWindow'
1213 22:40:09022 :: 
 
 
Nie masz przypisanych, żadnych akcji ;p.

"

 

Angielski tutaj jest podstawą:

 object has no attribute, co oznacza, że objekt nie ma przypisania/

 

jak mam to przypisać ?

  • 10 miesięcy temu...
  • 1 rok później...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...