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

Root problem


Corvn

Rekomendowane odpowiedzi

Opublikowano

witam mam problem z root . dzis wgrywałem coś do klienta i niestety syserr szaleje 

Taby prawdopodobnie sa dobrze :P 

0505 09:09:37060 ::   File "game.py", line 939, in OnRecvWhisperError

0505 09:09:37060 :: AttributeError
0505 09:09:37060 :: : 
0505 09:09:37060 :: 'module' object has no attribute 'WHISPER_TYPE_INFO'
0505 09:09:37060 :: 

0505 09:09:37060 :: Traceback (most recent call last):

0505 09:09:37061 ::   File "game.py", line 949, in OnRecvWhisperError

0505 09:09:37061 :: AttributeError
0505 09:09:37061 :: : 
0505 09:09:37061 :: 'module' object has no attribute 'WHISPER_TYPE_INFO'
0505 09:09:37061 :: 

0505 09:09:37061 :: Traceback (most recent call last):

0505 09:09:37061 ::   File "game.py", line 959, in OnRecvWhisperError

0505 09:09:37061 :: AttributeError
0505 09:09:37062 :: : 
0505 09:09:37062 :: 'module' object has no attribute 'WHISPER_TYPE_INFO'
0505 09:09:37062 :: 

56928084622805469272.png

Opublikowano

Sprawdź te taby i wszystko.

Coś źle musiałeś dodać.

Zobacz linijki które dodawałeś w game.py bo są

z nimi jakieś błędy i funkcją WHISPER_TYPE_INFO

Opublikowano

 

witam mam problem z root . dzis wgrywałem coś do klienta i niestety syserr szaleje 

Taby prawdopodobnie sa dobrze :P

0505 09:09:37060 ::   File "game.py", line 939, in OnRecvWhisperError


0505 09:09:37061 ::   File "game.py", line 949, in OnRecvWhisperError



0505 09:09:37061 ::   File "game.py", line 959, in OnRecvWhisperError

Chyba te 3 taby so zle. Nie powinny byc tako moim zdaniem, moze sie myle ale warto sprobowac. Moze zadziala a moze nie kto wie zawsze warto sprobowac.

Opublikowano


sam zobacz ...

 

if locale.WHISPER_ERROR.has_key(mode):

if (name == (Gamemaster1) != -1) and pname != Gamemaster1 and constInfo.GM1Online == 0:

constInfo.GM1Online = 0

#chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Das Teammitglied " + name + " jest niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster1) != -1) and pname != Gamemaster1 and constInfo.GM1Online == 1:

constInfo.GM1Online = 0

chat.AppendChat(chat.CHAT_TYPE_NOTICE, " " + name + " jest już niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster2) != -1) and pname != Gamemaster2 and constInfo.GM2Online == 0:

constInfo.GM2Online = 0

#chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Das Teammitglied " + name + " jest niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster2) != -1) and pname != Gamemaster2 and constInfo.GM2Online == 1:

constInfo.GM2Online = 0

chat.AppendChat(chat.CHAT_TYPE_NOTICE, "" + name + " jest już niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster3) != -1) and pname != Gamemaster3 and constInfo.GM3Online == 0:

constInfo.GM3Online = 0

#chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Das Teammitglied " + name + " jest niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster3) != -1) and pname != Gamemaster3 and constInfo.GM3Online == 1:

constInfo.GM3Online = 0

chat.AppendChat(chat.CHAT_TYPE_NOTICE, "" + name + " jest już niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster4) != -1) and pname != Gamemaster4 and constInfo.GM4Online == 0:

constInfo.GM4Online = 0

#chat.AppendChat(chat.CHAT_TYPE_NOTICE, "Das Teammitglied " + name + " jest niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

elif (name == (Gamemaster4) != -1) and pname != Gamemaster4 and constInfo.GM4Online == 1:

constInfo.GM4Online = 0

chat.AppendChat(chat.CHAT_TYPE_NOTICE, "" + name + " jest już niedostępny")

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "" + name + " jest niedostępny.")

return

else:

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, locale.WHISPER_ERROR[mode](name))

elif mode == 4:

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, str)

else:

chat.AppendWhisper(chat.WHISPER_TYPE_INFO, name, "Whisper Unknown Error(mode=%d, name=%s)" % (mode, name))

 

self.interface.RecvWhisper(name)

 

56928084622805469272.png

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...