- weytar
BANIDO - Mensagens : 96
Data de inscrição : 28/05/2016
Bug de player connection 1.327
Sex Ago 12, 2016 4:40 am
Estoy en mis amigos juego vino de nuevo y dice que ya cuentas conectadas
Re: Bug de player connection 1.327
Sex Ago 12, 2016 2:12 pm
Sabe que tá errado né... kk
E pra inicio de conversa, não sabe nem se o cara usa essa source, então acorda, nem tudo é CTRL + C e CTRL + V não.
E pra inicio de conversa, não sabe nem se o cara usa essa source, então acorda, nem tudo é CTRL + C e CTRL + V não.
- weytar
BANIDO - Mensagens : 96
Data de inscrição : 28/05/2016
Re: Bug de player connection 1.327
Sex Ago 12, 2016 4:02 pm
Shall true
- Quake Developer
MEMBRO - Mensagens : 2
Data de inscrição : 09/08/2016
Localização : :/
Re: Bug de player connection 1.327
Sáb Ago 13, 2016 11:42 am
Tão Simples:
- Código:
def connectionLost(this, remove=True):
this.isClosed = True
if this.awakeTimer:
try:
this.awakeTimer.cancel()
except:
this.awakeTimer=None
if this.playMusicTimer:
try:
this.playMusicTimer.cancel()
except:
this.playMusicTimer=None
if this.resSkillsTimer:
try:
this.resSkillsTimer.cancel()
except:
this.resSkillsTimer=None
if this.skipMusicTimer:
try:
this.skipMusicTimer.cancel()
except:
this.skipMusicTimer=None
if this.consumablesTimer:
try:
this.consumablesTimer.cancel()
except:
this.consumablesTimer=None
if this.server.connectedCounts.has_key(this.ipAddress):
count = this.server.connectedCounts[this.ipAddress] - 1
if count <= 0:
del this.server.connectedCounts[this.ipAddress]
else:
this.server.connectedCounts[this.ipAddress] = count
if not this.Username == "":
if not this.isGuest:
this.updateDatabase()
if this.isTrade:
this.cancelTrade(this.tradeName)
if this.server.players.has_key(this.Username) and remove:
del this.server.players[this.Username]
if this.ModoPwet.checkReport(this.server.reports["names"], this.Username):
if not this.server.reports[this.Username]["status"] == "banned":
this.server.reports[this.Username]["status"] = "disconnected"
this.ModoPwet.updateModoPwet()
if this.server.chatMessages.has_key(this.Username):
del this.server.chatMessages[this.Username]
for client in this.server.players.values():
if this.Username in client.friendsList and client.Username in this.friendsList:
client.tribulle.sendFriendDisconnected(this.Username)
if not this.tribeName == "":
this.tribulle.sendTribeMemberDisconnected()
if this.privLevel >= 4:
this.sendStaffLogin(True)
try:
if this.server.clientAvatarKeys.has_key(this.Username):
del this.server.avatarKeys[this.server.clientAvatarKeys[this.Username]]
del this.server.clientAvatarKeys[this.Username]
except:
pass
if this.room != None:
this.room.removeClient(this)
Permissões neste sub-fórum
Não podes responder a tópicos
|
|