Tekil Mesaj gösterimi
Alt 20 Temmuz 2015, 17:07   #1
Çevrimdışı
¿
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
+G modunda ki kanalda yazilan argo cumle'yi komple engelleme.




Gecen gun mynet.bz sunucusuna girdigimde komik bir dialog ile karsilastim.

<serkan21> selam milet eskişehirli < Bu cumle uygunsuz bulundugu icin engellendi > kimler var
<sibel01111> 10 tl < Bu cumle uygunsuz bulundugu icin engellendi > şow yapıyorum 3g watsap tango mobil konusrak vb yapıyorum..Bunlara Baslamadn Once İlk 3 Tl alıyorum Geri Kalanıda Sow bittikden sonra Buna uyacaklar mesaj atsın


Bunu ilk orjinal mynet'te gormustum ve destek verdigim bi cok sunucuda kullanmistim.
Mynet.BZ sunucusu olayi yanlis anlamis.
Bu cumle uygunsuz bulundugu icin engellenmistir diyor ama sadece kelime'yi engellemis ve cumle oldugu gibi duruyor.
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.

Neyse sizlerinde kullanicagini dusundugum icin paylasmak istedim.

Unreal3.2/src/m_message.c dosyasini acin:

Bul:
Kod:   Kodu kopyalamak için üzerine çift tıklayın!
#define TOK_NOTICE "B" /* 66 */


Altina Ekle:
Kod:   Kodu kopyalamak için üzerine çift tıklayın!
#define MESAJ "<bu cumle uygunsuz bulundugu icin engellendi>"


Bul:

Kod:   Kodu kopyalamak için üzerine çift tıklayın!
return (cleaned) ? cleanstr : str;


Degistir:
Kod:   Kodu kopyalamak için üzerine çift tıklayın!
return (cleaned) ? MESAJ : str;


SSH ile:

cd Unreal*
make
./unreal rehash

unrealircd.conf dosyasina bu satirlari ekleyin:

Kod:   Kodu kopyalamak için üzerine çift tıklayın!
badword channel { word "sikerim"; replace "<engellendi>"; }; badword channel { word "sikeyim"; replace "<engellendi>"; }; badword channel { word "sikeyim"; replace "<engellendi>"; }; badword channel { word "ananı"; replace "<engellendi>"; }; badword channel { word "bacını"; replace "<engellendi>"; }; badword channel { word "amına"; replace "<engellendi>"; }; badword channel { word "amını"; replace "<engellendi>"; }; badword channel { word "0r0spu"; replace "<engellendi>"; }; badword channel { word "or0spu"; replace "<engellendi>"; }; badword channel { word "ananızı"; replace "<engellendi>"; }; badword channel { word "ananı"; replace "<engellendi>"; }; badword channel { word "anan"; replace "<engellendi>"; }; badword channel { word "lan"; replace "<engellendi>"; }; badword channel { word "len"; replace "<engellendi>"; }; badword channel { word "sie"; replace "<engellendi>"; }; badword channel { word "amcıq"; replace "<engellendi>"; }; badword channel { word "ibne"; replace "<engellendi>"; }; badword channel { word "ipne"; replace "<engellendi>"; }; badword channel { word "ibine"; replace "<engellendi>"; }; badword channel { word "göt"; replace "<engellendi>"; }; badword channel { word "qöt"; replace "<engellendi>"; }; badword channel { word "lahn"; replace "<engellendi>"; }; badword channel { word "jigolo"; replace "<engellendi>"; }; badword channel { word "sik"; replace "<engellendi>"; }; badword channel { word "siki"; replace "<engellendi>"; }; badword channel { word "sikti"; replace "<engellendi>"; }; badword channel { word "sikm"; replace "<engellendi>"; }; badword channel { word "siker"; replace "<engellendi>"; }; badword channel { word "sokucu"; replace "<engellendi>"; }; badword channel { word "qavat"; replace "<engellendi>"; }; badword channel { word "pezevenk"; replace "<engellendi>"; }; badword channel { word "pezevenq"; replace "<engellendi>"; }; badword channel { word "yarak"; replace "<engellendi>"; }; badword channel { word "penis"; replace "<engellendi>"; }; badword channel { word "pennis"; replace "<engellendi>"; }; badword channel { word "sokar"; replace "<engellendi>"; }; badword channel { word "sokar?m"; replace "<engellendi>"; }; badword channel { word "homo"; replace "<engellendi>"; }; badword channel { word "qey"; replace "<engellendi>"; }; badword channel { word "gey"; replace "<engellendi>"; }; badword channel { word "qay"; replace "<engellendi>"; }; badword channel { word "gay"; replace "<engellendi>"; }; badword channel { word "ebeni"; replace "<engellendi>"; }; badword channel { word "ebene"; replace "<engellendi>"; }; badword channel { word "am"; replace "<engellendi>"; }; badword channel { word "amına"; replace "<engellendi>"; }; badword channel { word "amını"; replace "<engellendi>"; }; badword channel { word "seks"; replace "<engellendi>"; }; badword channel { word "seviş"; replace "<engellendi>"; }; badword channel { word "sevis"; replace "<engellendi>"; }; badword channel { word "seviselim*"; replace "<engellendi>"; }; badword channel { word "sevişelim*"; replace "<engellendi>"; }; badword channel { word "lesbiyen"; replace "<engellendi>"; }; badword channel { word "lezbiyen"; replace "<engellendi>"; }; badword channel { word "santim"; replace "<engellendi>"; }; badword channel { word "bitc"; replace "<engellendi>"; }; badword channel { word "s2ci"; replace "<engellendi>"; }; badword channel { word "amq"; replace "<engellendi>"; }; badword channel { word "amg"; replace "<engellendi>"; }; badword channel { word "fahise"; replace "<engellendi>"; }; badword channel { word "fahişe"; replace "<engellendi>"; }; badword channel { word "pic"; replace "<engellendi>"; }; badword channel { word "sıç"; replace "<engellendi>"; }; badword channel { word "sıc"; replace "<engellendi>"; }; badword channel { word "ezik"; replace "<engellendi>"; }; badword channel { word "eziq"; replace "<engellendi>"; }; badword channel { word "uza"; replace "<engellendi>"; }; badword channel { word "ulan"; replace "<engellendi>"; }; badword channel { word "ulen"; replace "<engellendi>"; }; badword channel { word "öküz"; replace "<engellendi>"; }; badword channel { word "züe"; replace "<engellendi>"; }; badword channel { word "zie"; replace "<engellendi>"; }; badword channel { word "top"; replace "<engellendi>"; }; badword channel { word "dop"; replace "<engellendi>"; }; badword channel { word "dopoş"; replace "<engellendi>"; }; badword channel { word "topoş"; replace "<engellendi>"; }; badword channel { word "totoş"; replace "<engellendi>"; }; badword channel { word "dopos"; replace "<engellendi>"; }; badword channel { word "topos"; replace "<engellendi>"; }; badword channel { word "totos"; replace "<engellendi>"; }; badword channel { word "pussy"; replace "<engellendi>"; }; badword channel { word "fuck"; replace "<engellendi>"; }; badword channel { word "whore"; replace "<engellendi>"; }; badword channel { word "slut"; replace "<engellendi>"; }; badword channel { word "shit"; replace "<engellendi>"; }; badword channel { word "asshole"; replace "<engellendi>"; }; badword channel { word "bitch"; replace "<engellendi>"; }; badword channel { word "cunt"; replace "<engellendi>"; }; badword channel { word "vagina"; replace "<engellendi>"; }; badword channel { word "penis"; replace "<engellendi>"; }; badword channel { word "jackass"; replace "<engellendi>"; }; badword channel { word "*fucker*"; replace "<engellendi>"; }; badword channel { word "faggot"; replace "<engellendi>"; }; badword channel { word "fag"; replace "<engellendi>"; }; badword channel { word "horny"; replace "<engellendi>"; }; badword channel { word "gay"; replace "<engellendi>"; }; badword channel { word "dickhead"; replace "<engellendi>"; }; badword channel { word "sonuvabitch"; replace "<engellendi>"; }; badword channel { word "*fuck*"; replace "<engellendi>"; }; badword channel { word "tits"; replace "<engellendi>"; }; badword channel { word "Ebenin"; replace "<engellendi>"; }; badword channel { word "ebenı"; replace "<engellendi>"; }; badword channel { word "amına"; replace "<engellendi>"; }; badword channel { word "çüküm"; replace "<engellendi>"; }; badword channel { word "çuküm"; replace "<engellendi>"; }; badword channel { word "çükum"; replace "<engellendi>"; }; badword channel { word "çukum"; replace "<engellendi>"; }; badword channel { word "cüküm"; replace "<engellendi>"; }; badword channel { word "cuküm"; replace "<engellendi>"; }; badword channel { word "cükum"; replace "<engellendi>"; }; badword channel { word "cukum"; replace "<engellendi>"; }; badword channel { word "sigecem"; replace "<engellendi>"; }; badword channel { word "ah nen?n"; replace "<engellendi>"; }; badword channel { word "ah mc?na"; replace "<engellendi>"; }; badword channel { word "sQ km"; replace "<engellendi>"; }; badword channel { word "khpe"; replace "<engellendi>"; };

Yasaklamak istediginiz kelimeleri kafaniza gore cogaltabilirsiniz.
Conf dosyasina bunlari ekledikten sonra sunucuda /rehash cekin.
Kullanimi: herhangi bir kanali +G moduna aldiginizda yada kullaniciya +G modesi verilmis ise bu belirlemis oldugumuz kelimelerden cumlenin icinde var ise cumleyi kanal'a veya kisinin ozeline yansitmayacaktir.
Mesela: badword channel { word "khpe"; replace "<engellendi>"; }; belirtmisiz cumle icinde khpe kelimesi gecerse yansitmayacak ve su sekilde gorunecek.

Orjinal cumle:
<rumuz> naber lan khpe

Filtrelenmis cumle:
<rumuz> <bu cumle uygunsuz bulundugu icin engellendi>

Iyi forumlar...

 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları sohbet odaları Benimmekan Mobil Sohbet