Ir para baixo
avatar
Alexverg
MEMBRO

MEMBRO
Mensagens : 19
Data de inscrição : 10/03/2017
Idade : 25

C: <3 me ajudam? Plis. Empty C: <3 me ajudam? Plis.

Ter Jun 13, 2017 1:33 am
Código:
  File "D:\Datos\Contacts\Downloads\Compressed\source 169\Server.py", line 400, in parseString
    this.parsePackets.parsePacket(packetID, C, CC, packet)
  File "D:\Datos\Contacts\Downloads\Compressed\source 169\modules\ParsePackets.py", line 817, in parsePacket
    this.client.loginPlayer(playerName, password, "\x03[Tutorial] %s" %(playerName))
  File "D:\Datos\Contacts\Downloads\Compressed\source 169\Server.py", line 474, in loginPlayer
    this.playerSkills[int(values[0])] = int(values[1])
IndexError: list index out of range


Icono que me podía dar Una idea de Por Qué el error "Fuera la lista de rango de índice"
Sukelaci
Sukelaci
BANIDO

BANIDO
Mensagens : 74
Data de inscrição : 01/08/2016
Idade : 24
Localização : Türkiye
http://www.lidemice.com

C: <3 me ajudam? Plis. Empty Re: C: <3 me ajudam? Plis.

Ter Jun 13, 2017 4:24 am
Incoming information is incorrect
avatar
Alexverg
MEMBRO

MEMBRO
Mensagens : 19
Data de inscrição : 10/03/2017
Idade : 25

C: <3 me ajudam? Plis. Empty Re: C: <3 me ajudam? Plis.

Ter Jun 13, 2017 11:35 am
e como eu corrigir???
Kira
Kira
ADMINISTRADOR

ADMINISTRADOR
Mensagens : 311
Data de inscrição : 14/01/2015
Idade : 25

C: <3 me ajudam? Plis. Empty Re: C: <3 me ajudam? Plis.

Ter Jun 13, 2017 12:32 pm
Código:
this.playerSkills[int(values[0])] = int(values[1])

ou é no indice 0 ou no indice 1
tem uma pratica boa chamada debugar vc pode usar


Código:
print values[0]
print values[1]

e te mostrara oq está errado, des de q começaram com forum de tfm até hj 2017 as pessoas pensam q os cara é vidente para adivinhar oq q ta errado na source q vc pega da internet


avatar
Alexverg
MEMBRO

MEMBRO
Mensagens : 19
Data de inscrição : 10/03/2017
Idade : 25

C: <3 me ajudam? Plis. Empty Re: C: <3 me ajudam? Plis.

Ter Jun 13, 2017 4:14 pm
kkkkkkkkkkkkkkkkkkkkkkkk bom obrigado vou tentar isso...
Conteúdo patrocinado

C: <3 me ajudam? Plis. Empty Re: C: <3 me ajudam? Plis.

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