Ir para baixo
avatar
Jacozzinh
MEMBRO

MEMBRO
Mensagens : 1
Data de inscrição : 31/12/2017

Recusado Staff não consegue entrar no jogo - Mice 1.76

Seg Jan 01, 2018 2:41 pm
Olá gente, estou com um problema ruim demais. Se a pessoa for moderador mapcrew ou admin, quando faz login imédiatamente aparece "Conecxão Interrompida".
esses são os códigos que aparecem no python:
Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 84, in callWi
thLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 69, in callWi
thContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in c
allWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in ca
llWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 1
50, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 199, in doR
ead
    rval = self.protocol.dataReceived(data)
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\tfm.py", l
ine 32, in dataReceived
    self.stringReceived(self.recvd[4:])
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 432, in stringReceived
    self.found_terminator(MDT, data, Size)
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 484, in found_terminator
    self.parseData(data, MDT, Size)
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 575, in parseData
    self.parseDataUTF(data[2:struct.unpack('!h', data[:2])[0]+2])
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 2468, in parseDataUTF
    self.login(username, passwordHash, startRoom)
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 7616, in login
    self.checkAndRebuildTitleList("bootcamp")
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 7934, in checkAndRebuildTitleList
    x=int(self.bootcampcount)
exceptions.ValueError: invalid literal for int() with base 10: 'None'
2018-01-01 13:33:36.679000 Conexao perdida com ['25.63.213.98'] - Jack
Unhandled Error
Traceback (most recent call last):
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 12756, in <module>
    reactor.run()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1169, in r
un
    self.mainLoop()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1181, in m
ainLoop
    self.doIteration(t)
  File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 1
44, in doSelect
    _logrun(selectable, _drdw, selectable, method, dict)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 84, in callWi
thLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\log.py", line 69, in callWi
thContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in c
allWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in ca
llWithContext
    return func(*args,**kw)
  File "C:\Python27\lib\site-packages\twisted\internet\selectreactor.py", line 1
55, in _doReadOrWrite
    self._disconnectSelectable(selectable, why, method=="doRead")
  File "C:\Python27\lib\site-packages\twisted\internet\posixbase.py", line 266,
in _disconnectSelectable
    selectable.connectionLost(failure.Failure(why))
  File "C:\Python27\lib\site-packages\twisted\internet\tcp.py", line 277, in con
nectionLost
    protocol.connectionLost(reason)
  File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 5913, in connectionLost
    self.room.sendModChatOthers(self, "\x1A\x05", ["-", self.username+" has left
."])
exceptions.AttributeError: 'NoneType' object has no attribute 'sendModChatOthers

Alguém pode me ajudar?
Daniel Yohan
Daniel Yohan
MEMBRO

MEMBRO
Mensagens : 85
Data de inscrição : 03/03/2015
Idade : 26

Recusado Re: Staff não consegue entrar no jogo - Mice 1.76

Seg Jan 01, 2018 3:21 pm
Tópico movido para área correta.
Poeki
Poeki
MEMBRO

MEMBRO
Mensagens : 53
Data de inscrição : 16/09/2015
Idade : 25

Recusado Re: Staff não consegue entrar no jogo - Mice 1.76

Ter Jan 02, 2018 11:35 pm
Se vc mudar o 'self.room.sendModChatOthers(self, "\x1A\x05", ["-", self.username+" has left
."])' vc vai conseguir ver melhor onde ta o erro, mude para:

Código:

if self.room:
     self.room.sendModChatOthers(self, "\x1A\x05", ["-", self.username+" has left
."])

E eu não sei mas se vc vai enviar uma mensagem para todos os moderadores dizendo 'fulano has left' acho que não deveria estar na class room e sim na client

Seu erro é esse aqui:
File "C:\Users\Jac¾\Desktop\Pack 1.79 100%\Serve 1.79 100% By Kubro\1.79 100%.
py", line 7934, in checkAndRebuildTitleList
    x=int(self.bootcampcount)
exceptions.ValueError: invalid literal for int() with base 10: 'None'

(self.bootcampcount = None) vê como essa variavel está chegando até na checkAndRebuildTitleList e arruma

Deve ser isso, espero ter ajudado
Conteúdo patrocinado

Recusado Re: Staff não consegue entrar no jogo - Mice 1.76

Ir para o topo
Permissões neste sub-fórum
Não podes responder a tópicos