Sadece normal konuşma için geçerlidir.
Root uichat.py aratılır;
Kod:
def __SendChatPacket(self, text, type):
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Kod:
def __SendChatPacket(self, text, type):
import AntiSpam
Spam = AntiSpam.VectorsAntiSpam()
Spam.SendChatPacket(text, type)
Antispam.py root içine atılır;
Kod:
import app
import chat
import net
import localeInfo as locale
class VectorsAntiSpam:
Sure = {"VECTORS":0}
def SendChatPacket(self, text, type):
if text == "(xVectors_Basari)":
#chat.AppendChat("Vectors")
return
if text == "(xVectors_Basarisiz)":
#chat.AppendChat("Vectors")
return
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
else:
if app.GetGlobalTimeStamp()>=self.Sure["VECTORS"]:
net.SendChatPacket(text, type)
#Kac saniyede bir yazilsin
self.Sure["VECTORS"] = app.GetGlobalTimeStamp()+1
else:
chat.AppendChat(chat.CHAT_TYPE_INFO,"Anti Spam Aktif Edildi.")
# def __SendChatPacket(self, text, type):
# import AntiSpam
# Spam = AntiSpam.VectorsAntiSpam()
# Spam.SendChatPacket(text, type)
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Download butonuna tıklarsanız antispam.py olarak inecektir.![]()
Sadece normal konuşma için geçerlidir.
Root uichat.py aratılır;
Kod:def __SendChatPacket(self, text, type):Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Kod:def __SendChatPacket(self, text, type): import AntiSpam Spam = AntiSpam.VectorsAntiSpam() Spam.SendChatPacket(text, type)
Antispam.py root içine atılır;
Kod:import app import chat import net import localeInfo as locale class VectorsAntiSpam: Sure = {"VECTORS":0} def SendChatPacket(self, text, type): if text == "(xVectors_Basari)": #chat.AppendChat("Vectors") return if text == "(xVectors_Basarisiz)": #chat.AppendChat("Vectors") return if net.IsChatInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING) else: if app.GetGlobalTimeStamp()>=self.Sure["VECTORS"]: net.SendChatPacket(text, type) #Kac saniyede bir yazilsin self.Sure["VECTORS"] = app.GetGlobalTimeStamp()+1 else: chat.AppendChat(chat.CHAT_TYPE_INFO,"Anti Spam Aktif Edildi.") # def __SendChatPacket(self, text, type): # import AntiSpam # Spam = AntiSpam.VectorsAntiSpam() # Spam.SendChatPacket(text, type)
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.Download butonuna tıklarsanız antispam.py olarak inecektir.
ard arda yazi yazma engeli icin dgl mi
Evetard arda yazi yazma engeli icin dgl mi
Çok teşşekürler phytonun anasını ağlatıyosun
Birde şu ping ölçeri bizimlede paylaşsan çok iyi olr 
Birde şu ping ölçeri bizimlede paylaşsan çok iyi olr 
import re, os
kalite = ""
pingg = None
pingg = int(re.findall("[0-9][0-9]", str(os.popen("%WINDIR%/system32/ping -n 1 google.com").readlines()[-1]))[0])
while kalite != kalite:
if pingg > 30: kalite = "Mukemmel"
if pingg > 70: kalite = "Orta"
if pingg > 110: kalite = "Kotu"
else: kalite = "Berbat"
if kalite == "": kalite = "None"
while pingg - pingg > 10 or pingg - pingg < 10:
pingg = pingg
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 17
- Görüntüleme
- 1K
- Cevaplar
- 13
- Görüntüleme
- 1K
- Cevaplar
- 6
- Görüntüleme
- 1K
- Cevaplar
- 14
- Görüntüleme
- 670
- Cevaplar
- 8
- Görüntüleme
- 415