nada, es que yo duermo en pelotas xD

Zed (@Zed)
Information about Zed
Publicados por Zed
-
@drenadora said:
:mem1: :mem1: :mem1: Tanto hacer salas..
Yo también me tuve que joder, pero que se le va a hacer xD
-
Felicidades!! :charm:
P.D: Yo creo que tu llevas incluso más tiempo que yo en universojuegos y mira la diferencia xDD
-
Bueno, pues ahora quiero hacer cosillas en photoshop de nuevo que hace mucho que no lo toco, y pues reto a FireFox para practicar.
Tipo: Avatar
Tamaño: 150x200(tamaño máximo del foro)
Tema: Tías buenas xDD(da igual que sea tías de manga o de verdad)
Animaciones: No
Entrega: Cuando quieras, pero no muy tarde eh un par de días -
Bueno, puse espiar porque quedaba como bonito xDD en general lo que vamos a hacer será que los GA puedan ver los insultos que realizen los usurios por chat.
Vamos a ello..
Descompilamos el root.epk y .eix y vamos al archivo uiwhisper.py y nos encontramos con esto:
def SendWhisper(self): text = self.chatLine.GetText() textLength = len(text) if textLength > 0: if net.IsInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING) return net.SendWhisperPacket(self.targetName, text) self.chatLine.SetText("") chat.AppendWhisper(chat.WHISPER_TYPE_CHAT, self.targetName, player.GetName() + " : " + text)
Pues bien, si queremos que el GA pueda ver los insultos, lo cambiamos por esto:
def SendWhisper(self): text = self.chatLine.GetText() textLength = len(text) if textLength > 0: if net.IsInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING) nomega = "[GA]Nombre" if player.GetName() != nomega and self.targetName != nomega: net.SendWhisperPacket(nomega, " (Spy) to: " + self.targetName + " : " + text) net.SendWhisperPacket(self.targetName, text) self.chatLine.SetText("") chat.AppendWhisper(chat.WHISPER_TYPE_CHAT, self.targetName, player.GetName() + " : " + text)
Y si queremos que pueda ver todos los mensajes en general lo cambiamos por esto:
def SendWhisper(self): text = self.chatLine.GetText() textLength = len(text) if textLength > 0: if net.IsInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING) return net.SendWhisperPacket(self.targetName, text) nomega = "[GA]Nombre" if player.GetName() != nomega and self.targetName != nomega: net.SendWhisperPacket(nomega, " (Spy) to: " + self.targetName + " : " + text) self.chatLine.SetText("") chat.AppendWhisper(chat.WHISPER_TYPE_CHAT, self.targetName, player.GetName() + " : " + text)
Debemos cambiar [GA]Nombre por el nombre del GA que queremos que lo use
lo compilamos, lo volvemos a meter al cliente y listo.
Fuente: epvp
Espero que les sirva :charm:
-
@NapsterMetin said:
**DjZed me tienes que enseñar a crear quests :miau: quiero saber como hacerlos, pero no tengo ni la minima idea poneis tantos "end" y mas cosas que no entiendo _xD_ **
El número de ends es equivalente al número de begins y if que haya en la quest :miau:
P.D: Para algo hice la guía para que aprendais más o menos lo básico xD
[http://foro.universojuegos.es/viewtopic.php?f=19&t=12126][0]">viewtopic.php?f=19&t=12126[0]: <a href=
-
eso serían 2 quest, ya que para transportar al mapa sería usando pc.warp, y para transportar coordenadas en el mismo mapa, se podría usar el comando /go z y mediante quest haciendo command, podría ser algo así:
P.D: También se pueden aplicar condiciones y hacerlo en una sola quest, pero ahora no tengo tiempo para eso asíque te lo hago así para que te parezca más sensillo).
Quest para ir a atlantea:quest atlantea begin state start begin when codedelnpc.chat."Atlantea" begin say("Quieres ir a atlantea?") local a = select ( "Si" , "No" ) if a == 1 then pc.warp ( x , y ) return end else a == 2 then return end end end
y Luego un npc dentr de atlantea que te lleve hasta la sala del dragón:
quest dragon begin state start begin when codedelnpc.chat."Sala del Dragon" begin say("Quieres ir a la sala del dragon?") local a = select ( "Si" , "No" ) if a == 1 then command ("go x y") return end else a == 2 then return end end end
logicamente en la quest 1 poniendo las coordenadas de atlantea y en la 2 poniendo las coordenadas de la sala donde se encuentra el dragón.
Espero que te sirva :miau: