Comando de crescer o rato
Seg Jun 19, 2017 10:20 am
Gente eu estava querendo aquele comando /size para crescer o rato e me passaram esse aqui
https://pastebin.com/mrzyNXan mas não esta funcionando tem alguma coisa errada ou eu fui trollado? ;-;
https://pastebin.com/mrzyNXan mas não esta funcionando tem alguma coisa errada ou eu fui trollado? ;-;
- Andriel9
MEMBRO - Mensagens : 239
Data de inscrição : 04/06/2017
Idade : 19
Re: Comando de crescer o rato
Seg Jun 19, 2017 10:52 am
Qual sua source?
Aqui está alguns comandos de size
Base Loukino
Base MiceWTF (1.382)
Base Welped
Espero ter ajudado
Aqui está alguns comandos de size
Base Loukino
- Código:
elif command == "size" or command == "tamanho":
if this.client.privLevel in [2, 3, 4, 5, 6, 7, 8, 9, 10]:
this.requireArgs(2)
playerName = this.client.TFMUtils.parsePlayerName(args[0])
if args[1].isdigit():
size = int(args[1])
if playerName == "*":
for player in this.client.room.clients.values():
this.client.room.sendAllBin(Identifiers.send.Mouse_Size, ByteArray().writeInt(this.client.playerCode).writeShort(size).writeBool(False).toByteArray())
else:
player = this.server.players.get(playerName)
if player != None:
this.client.room.sendAllBin(Identifiers.send.Mouse_Size, ByteArray().writeInt(this.client.playerCode).writeShort(size).writeBool(False).toByteArray())
this.server.sendModMessage(11, "<V>"+this.client.Username+"<BL> Usou o Comando /tamanho")
else:
this.client.sendMessage("<ROSE>• <N>Você não tem acesso suficiente para usar esse Comando.")
Base MiceWTF (1.382)
- Código:
elif _command in ["changesize", "size"]:
if self.client.privLevel >= 7 or (self.client.room.roomName == "*strm_" + self.client.username.lower()):
if self.client.room.isFuncorp:
playerName = self.client.TFMUtils.parsePlayerName(args[0])
self.client.playerSize = 1.0 if args[1] == "off" else (5.0 if float(args[1]) > 5.0 else float(args[1]))
if args[1] == "off":
self.client.sendMessage("All the players now have their regular size.")
self.client.room.sendAll([5, 31], ByteArray().writeInt(player.playerCode).writeUnsignedShort(float(1)).writeBool(False).toByteArray())
elif self.client.playerSize >= float(0.1) or self.client.playerSize <= float(5.0):
if playerName == "*":
for player in self.client.room.clients.values():
self.client.sendMessage("All the players now have the size " + str(self.client.playerSize) + ".")
self.client.room.sendAll([5, 31], ByteArray().writeInt(player.playerCode).writeUnsignedShort(int(self.client.playerSize * 100)).writeBool(False).toByteArray())
else:
player = self.server.players.get(playerName)
if player != None:
self.client.sendMessage("The following players now have the size " + str(self.client.playerSize) + ": <BV>" + str(player.username) + "</BV>")
self.client.room.sendAll([5, 31], ByteArray().writeInt(player.playerCode).writeUnsignedShort(int(self.client.playerSize * 100)).writeBool(False).toByteArray())
else:
self.client.sendMessage("Invalid size.")
else:
self.client.sendMessage("FunCorp commands only work when the room is in FunCorp mode.")
Base Welped
- Código:
elif command == "size":
if this.client.privLevel in [9, 10, 11]:
this.requireArgs(2)
playerName = this.client.TFMUtils.parsePlayerName(args[0])
if args[1].isdigit():
size = int(args[1])
if playerName == "*":
for player in this.client.room.clients.values():
this.client.room.sendAllBin(Identifiers.send.Mouse_Size, ByteArray().writeInt(this.client.playerCode).writeShort(size).writeBool(False).toByteArray())
else:
player = this.server.players.get(playerName)
if player != None:
this.client.room.sendAllBin(Identifiers.send.Mouse_Size, ByteArray().writeInt(this.client.playerCode).writeShort(size).writeBool(False).toByteArray())
this.server.sendModMessage(11, "<V>"+this.client.Username+"<BL> Uso o Comando SIZE")
else:
this.client.sendMessage("<ROSE>• <N>Você não tem acesso suficiente para usar esse Comando.")
Espero ter ajudado
Re: Comando de crescer o rato
Seg Jun 19, 2017 10:58 am
elif event.startswith('size '):
if event_raw.split(' ', 1)[1].isdigit():
size = int(event_raw.split(' ', 1)[1])
p = self.parseByte.ByteArray()
p.writeInt(self.playerCode)
p.writeShort(size)
p.writeBool(False)
self.room.sendAllBin('\x15\x15', p.toString())
if event_raw.split(' ', 1)[1].isdigit():
size = int(event_raw.split(' ', 1)[1])
p = self.parseByte.ByteArray()
p.writeInt(self.playerCode)
p.writeShort(size)
p.writeBool(False)
self.room.sendAllBin('\x15\x15', p.toString())
Permissões neste sub-fórum
Não podes responder a tópicos
|
|