Hoje irei postar uma coisa muito útil para seu Transformice Private.
1° Abra sua source
2° Dê ctrl+f e pesquise por "#Chat Message" sem áspas
3° Após achar, remova tudo que tem nele e ponha o seguinte código:
Pronto, teste com um fake se quiser!
1° Abra sua source
2° Dê ctrl+f e pesquise por "#Chat Message" sem áspas
3° Após achar, remova tudo que tem nele e ponha o seguinte código:
- Código:
[font=Arial Black][color=#336699]
#Chat Message
utflength=struct.unpack('!h', data[:2])[0]
utfstring=data[2:utflength+2]
message = utfstring
message = message.replace("<","<").replace("&#","&#")
if self.privilegeLevel!=10 and self.privilegeLevel!=6 and self.privilegeLevel!=5:
dv = False
if message == self.lastmessage:
message=""
self.sendModMessageChannel("Servidor", str(self.username)+" sent
multiple of the same chat message.")
#Verificar divulgação...
elif re.search("transforbr.net", message.lower()):
dv = True
elif re.search("transformj.org", message.lower()):
dv = True
elif re.search("transfor-next.com", message.lower()):
dv = True
elif re.search("room32.dyndns.org", message.lower()):
dv = True
elif re.search("transfor-next.com", message.lower()):
dv = True
elif re.search("transformice-hole.com.br", message.lower()):
dv = True
elif re.search("transformine.com", message.lower()):
dv = True
elif re.search("mitomice.com", message.lower()):
dv = True
elif re.search("onmachine.com.br", message.lower()):
dv = True
elif re.search("thtmice.xpg.com.br", message.lower()):
dv = True
elif re.search("transforac.org", message.lower()):
dv = True
elif re.search("mitomice.com", message.lower()):
dv = True
elif re.search("micemania.com.br", message.lower()):
dv = True
elif re.search("xtransformice.com", message.lower()):
dv = True
elif re.search("crazzymice.com", message.lower()):
dv = True
if dv:
if
self.server.banPlayer(self.username, "24", "Link Detected on message:
["+message.lower()+"]", "Servidor"):
self.server.sendModChat(self, "\x06\x14",
["O Servidor baniu "+self.username+" por 24 horas. Rasão: Link
Detected: ["+message.lower()+"]"], False)
else:
pass
message=""
if message!="":
pass
print
"["+str(datetime.today())+"] "+"(%s) %s: %r" % (self.room.name,
self.username, message)
self.lastmessage=message.strip()
playerCode=struct.pack("%sL" % "!", int(self.playerCode))
username=struct.pack('!h', len(self.username))+self.username
if not self.mumute:
if not self.privilegeLevel==0:
if self.modmute:
timee=int(self.timestampCalc(self.server.getModMuteInfo(self.username)[1])[2])
if timee<=0:
self.modmute=False
self.server.removeModMute(self.username)
self.room.sendAllChat(playerCode, username, message)
else:
self.sendModMute(self.username, timee,
self.server.getModMuteInfo(self.username)[2])
else:
self.room.sendAllChat(playerCode, username, message)
else:
self.room.sendAllChatF(playerCode, username, message, self)
[/color][/font]
Pronto, teste com um fake se quiser!