![]() |
![]() |
![]() |
#1 |
ImpossibLe is nothing
![]() ![]()
Üyelik tarihi: 24 Ocak 2015
Bulunduğu yer: 08,5 Mesajlar: 84 WEB Sitesi: www.Soylenti.Net IRC Sunucusu: IRC.Soylenti.Net İlgi Alanı: Unreal Alınan Beğeni: 71 |
![]()
[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Unreal3.2.x versionları için yapılmış olan bildirimlerinin, Unreal4 için düzenlenmiş hâlidir.
Düzenlemeleri gösterecek olursak.. Kod:
CMD_FUNC(m_oper); Kod:
#define KANAL "#opers" aChannel *chptr; Kod:
sendto_snomask_global(SNO_OPER, "%s (%s@%s) [%s] is now an operator", sptr->name, sptr->user->username, sptr->local->sockhost, parv[1]); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s :%s (%s@%s) [%s] is now an operator", chptr->name, sptr->user->username, sptr->local->sockhost, parv[1]); Kod:
(SNO_OPER, "Failed OPER attempt by %s (%s@%s) [unknown oper]", sptr->name, sptr->user->username, sptr->local->sockhost); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s :Failed OPER attempt by %s (%s@%s) [unknown oper]", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost); Kod:
(SNO_OPER, "Failed OPER attempt by %s (%s@%s) using UID %s [host doesnt match]", sptr->name, sptr->user->username, sptr->local->sockhost, name); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s : Failed OPER attempt by %s (%s@%s) using UID %s [host doesnt match] ", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost, name); Kod:
sendto_snomask_global (SNO_OPER, "Failed OPER attempt by %s (%s@%s) using UID %s [FAILEDAUTH]", sptr->name, sptr->user->username, sptr->local->sockhost, name); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s :Failed OPER attempt by %s (%s@%s) using UID %s [FAILEDAUTH]", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost, name); Kod:
(SNO_OPER, "Failed OPER attempt by %s (%s@%s) [lacking modes '%s' in oper::require-modes]", sptr->name, sptr->user->username, sptr->local->sockhost, get_modestr(operblock->require_modes & ~sptr->umodes)); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s : Failed OPER attempt by %s (%s@%s) [lacking modes '%s' in oper::require-modes] ", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost, get_modestr(operblock->require_modes & ~sptr->umodes)); Kod:
(SNO_OPER, "Failed OPER attempt by %s (%s@%s) [oper::operclass does not exist: '%s']", sptr->name, sptr->user->username, sptr->local->sockhost, operblock->operclass); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s : Failed OPER attempt by %s (%s@%s) [oper::operclass does not exist: '%s']", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost, operblock->operclass); Kod:
(SNO_OPER, "Failed OPER attempt by %s (%s@%s) using UID %s [maxlogins reached]", sptr->name, sptr->user->username, sptr->local->sockhost, name); Kod:
if ((chptr = find_channel(KANAL, NULL))) sendto_channel_butserv(chptr, &me, ":Monitor PRIVMSG %s : Failed OPER attempt by %s (%s@%s) using UID %s [maxlogins reached]", chptr->chname, sptr->name, sptr->user->username, sptr->local->sockhost, name); Extra olarak; Kod:
if (do_cmd(cptr, sptr, "JOIN", 3, chans) == FLUSH_BUFFER) return FLUSH_BUFFER; Kod:
#define OKU "../conf/oper.motd" FILE *dosya; char buf[BUFSIZE]; dosya = fopen(OKU, "r"); if (dosya != NULL) { while (fgets(buf, sizeof(buf), dosya)) { buf[strlen(buf)-1] = 0; sendto_one(sptr, ":OPERMOTD PRIVMSG %s :%s", sptr->name, buf); } } unrealircd/conf/ klasörünün içeriğine oper.motd şeklinde belge oluşturarak, operlere bildirim mesajı yollayabilirsiniz. unrealircd-4.0.x ana dizininde make ve make install komutunu uyguladıktan sonra, sunucumuza ./unrealircd rehash yapıyoruz. Kod:
<Monitor> KelebekvSohbet33338 (LaZ@xx) [dEathLeSs] is now an operator Kod:
<Monitor> Failed OPER attempt by KelebekvSohbet33336 (LaZ@xx) using UID dEathLeSs [FAILEDAUTH] Kod:
<Monitor> Failed OPER attempt by KelebekvSohbet33316 (LaZ@xx) [unknown oper] Kod:
<Monitor> Failed OPER attempt by KelebekvSohbet33362 (LaZ@xx) using UID dEathLeSs [maxlogins reached] ![]() Hey baby ! Don't touch me ... [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Konu dEathLeSs tarafından (25 Ağustos 2017 Saat 23:09 ) değiştirilmiştir. Sebep: Kod güncellemesi.. |
![]() |
Alıntı
|
![]() |
#2 |
タネル
![]()
Üyelik tarihi: 23 Ocak 2003
Bulunduğu yer: istanbul Mesajlar: 540 WEB Sitesi: * IRC Sunucusu: * İlgi Alanı: Unreal Alınan Beğeni: 361 |
![]()
Eline sağlık canım.)
Bu arada o aChannel *shptr; her kodun içerisinde kullanmana gerek yok, global olarak tanımlama yaparsan o değişkeni kodun her bölgesinde kullanmış olursun. Bu da aklının bir köşesinde bulunsun.) ![]() |
![]() |
Alıntı
|
![]() |
#3 |
ImpossibLe is nothing
![]() ![]()
Üyelik tarihi: 24 Ocak 2015
Bulunduğu yer: 08,5 Mesajlar: 84 WEB Sitesi: www.Soylenti.Net IRC Sunucusu: IRC.Soylenti.Net İlgi Alanı: Unreal Alınan Beğeni: 71 |
![]()
Güncellenmiştir.
![]() Hey baby ! Don't touch me ... [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] |
![]() |
Alıntı
|
![]() |
#4 |
ImpossibLe is nothing
![]() ![]()
Üyelik tarihi: 24 Ocak 2015
Bulunduğu yer: 08,5 Mesajlar: 84 WEB Sitesi: www.Soylenti.Net IRC Sunucusu: IRC.Soylenti.Net İlgi Alanı: Unreal Alınan Beğeni: 71 |
![]()
Tekrar güncelleme yapılmıştır..
![]() Hey baby ! Don't touch me ... [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] |
![]() |
Alıntı
|
Etiketler |
bildirimi, bildirimleri, giris, giriş, oper |
Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
Seçenekler | |
Stil | |
|
|
![]() |
||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
Ajax'a giriş! | diAbLErO | Ajax | 0 | 22 Şubat 2019 18:02 |
Oper giriş bildirimleri.. | Entrance | Unreal - Parça Kodlar | 2 | 12 Nisan 2016 20:36 |
Oper nickinize ve nick şifrenize göre oper girmek. | Entrance | Unreal - Parça Kodlar | 1 | 25 Eylül 2015 16:21 |
Android 101: Bildirimleri Kapatma | Nyks | Android - IOS Uygulama Geliştirme | 0 | 28 Ağustos 2015 17:42 |
CR Root Admin Oper Karşılama ve Oper Açtı Uyarısı | Goemon | ConferenceRoom | 0 | 13 Şubat 2015 21:04 |