IRCForumu.NET - Türkiye'nin IRC ve mIRC Kullanıcılarının Buluştuğu Forum ircforumu


sohbet cicisohbet fixradyo" ircforumu
hayalsohbet sihirlisohbet seninmekan


Like Tree1Beğeni(ler)
  • 1 Post By KeyifBizde
Yeni Konu aç Cevapla
 
LinkBack Seçenekler Stil
Alt 01 Temmuz 2016, 18:17   #1
Çevrimiçi
Gelme, burası çok derin.
 
immortaL - ait Kullanıcı Resmi (Avatar)
 
Üyelik Tarihi: 07 Mayıs 2016
Üye No: 38
Şehir: Bolu
WebSite: IRCForumu.Net
IRC:
İlgi Alanım: vBulletin
Mesaj Sayısı: 1,182
Aldığı Beğeni: 408
Beğendikleri: 586
@immortaL
IRC Giris Bilgi Modulu.


PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
static int m_giris(aClient *, aChannel *);
int ibo 0;
ModuleHeader MOD_HEADER(m_giris)
= {
         
"m_giris",
 
"Kullanici Baglanti bilgileri. (toXic)",
"Kullanici Baglanti bilgileri. v2 (toXic)",
 
"3.2-b8-1",
NULL
};
DLLFUNC int MOD_INIT(m_m_giris)(ModuleInfo *modinfo)
{
   
HookAddEx(modinfo->handleHOOKTYPE_LOCAL_CONNECTm_giris);
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_LOAD(m_m_giris)(int module_load)
{
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_UNLOAD(m_m_giris)(int module_unload)
{
   return 
MOD_SUCCESS;
}
static 
int m_giris(aClient *sptraChannel *chptr) {
sendto_one(sptr":INFO PRIVMSG %s Merhaba \2%s\2",  sptr->namesptr->name);
ibo++;
sendto_one(sptr":INFO PRIVMSG %s Sunucuya giren \2%d\2 . Kisisiniz."sptr->nameibo);
sendto_one(sptr":INFO PRIVMSG %s  Baglanti bilgileriniz Assagidaki gibidir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s  Nickiniz \2%s\2"sptr->namesptr->name);
sendto_one(sptr":INFO PRIVMSG %s IP Adresiniz, \2%s\2"sptr->namesptr->user->realhost);
sendto_one(sptr":INFO PRIVMSG %s IDENTINIZ \2 %s\2"sptr->namesptr->user->username);
sendto_one(sptr":INFO PRIVMSG %s Baglanti bilgilerinz, Tarih ve saat ile birlikte LOG Alinmistir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2EXTRA"sptr->name);
#define bildiri "Kanallara Girmek icin, Size Kanal Listesi Verilecektir."
#define bildiri2 "Girmek istediginiz Kanalin ustune cift tiklayarak girebilir, veya /join #toXic olarak girebilirsiniz."
#define bildiri3 "Girebileceginiz Kanallar Assagidaki Gibidir."
sendto_one(sptr":INFO  PRIVMSG %s %s",  sptr->namebildiri);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri2);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri3);
char *kanal[7] = { "#yarisma""#Sohbet""#Oyun",
                    
"#Muhabbet""#Radyo""#yurtdisi""#istanbul" };
int tox;
for(
tox=0tox<7tox++)
sendto_one(sptr":INFO PRIVMSG %s Kanal Listemiz; %d. \2 %s",  sptr->nametox+1kanal[tox]);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s SUNUCU MOTD Bilgileri."sptr->name);
#define OKU "ircd.motd"
int i;
FILE *dosya;
char buf[BUFSIZE];
dosya fopen(OKU"r");
if (
dosya != NULL) {
while (
fgets(bufsizeof(buf), dosya)) {
buf[strlen(buf)-1] = 0;
sendto_one(sptr":INFO PRIVMSG %s :%s",  sptr->namebuf);
}
return 
0;
}


PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
static int m_giris(aClient *, aChannel *);
int ibo 0;
ModuleHeader MOD_HEADER(m_giris)
= {
         
"m_giris",
 
"Kullanici Baglanti bilgileri. (toXic)",
"Kullanici Baglanti bilgileri. v2 (toXic)",
 
"3.2-b8-1",
NULL
};
DLLFUNC int MOD_INIT(m_m_giris)(ModuleInfo *modinfo)
{
   
HookAddEx(modinfo->handleHOOKTYPE_LOCAL_CONNECTm_giris);
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_LOAD(m_m_giris)(int module_load)
{
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_UNLOAD(m_m_giris)(int module_unload)
{
   return 
MOD_SUCCESS;
}
static 
int m_giris(aClient *sptraChannel *chptr) {
sendto_one(sptr":INFO PRIVMSG %s Merhaba \2%s\2",  sptr->namesptr->name);
ibo++;
sendto_one(sptr":INFO PRIVMSG %s Sunucuya giren \2%d\2 . Kisisiniz."sptr->nameibo);
sendto_one(sptr":INFO PRIVMSG %s  Baglanti bilgileriniz Assagidaki gibidir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s  Nickiniz \2%s\2"sptr->namesptr->name);
sendto_one(sptr":INFO PRIVMSG %s IP Adresiniz, \2%s\2"sptr->namesptr->user->realhost);
sendto_one(sptr":INFO PRIVMSG %s IDENTINIZ \2 %s\2"sptr->namesptr->user->username);
sendto_one(sptr":INFO PRIVMSG %s Baglanti bilgilerinz, Tarih ve saat ile birlikte LOG Alinmistir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2EXTRA"sptr->name);
#define bildiri "Kanallara Girmek icin, Size Kanal Listesi Verilecektir."
#define bildiri2 "Girmek istediginiz Kanalin ustune cift tiklayarak girebilir, veya /join #toXic olarak girebilirsiniz."
#define bildiri3 "Girebileceginiz Kanallar Assagidaki Gibidir."
sendto_one(sptr":INFO  PRIVMSG %s %s",  sptr->namebildiri);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri2);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri3);
char *kanal[7] = { "#yarisma""#Sohbet""#Oyun",
                    
"#Muhabbet""#Radyo""#yurtdisi""#istanbul" };
int tox;
for(
tox=0tox<7tox++)
sendto_one(sptr":INFO PRIVMSG %s Kanal Listemiz; %d. \2 %s",  sptr->nametox+1kanal[tox]);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s SUNUCU MOTD Bilgileri."sptr->name);
#define OKU "ircd.motd"
int i;
FILE *dosya;
char buf[BUFSIZE];
dosya fopen(OKU"r");
if (
dosya != NULL) {
while (
fgets(bufsizeof(buf), dosya)) {
buf[strlen(buf)-1] = 0;
sendto_one(sptr":INFO PRIVMSG %s :%s",  sptr->namebuf);
}
return 
0;
}


  Alıntı ile Cevapla

IRCForumu.Net - Reklam Alanı

Alt 22 Şubat 2025, 23:33   #2
Çevrimdışı
 
KeyifBizde - ait Kullanıcı Resmi (Avatar)
 
Üyelik Tarihi: 28 Temmuz 2022
Üye No: 9929
Şehir: İstanbul
WebSite: www.KeyifBizde.Com
IRC:
İlgi Alanım: C++
Mesaj Sayısı: 1
Aldığı Beğeni: 1
Beğendikleri: 0
@KeyifBizde
Cevap: IRC Giris Bilgi Modulu.


immortaL Nickli Üyeden Alıntı Mesajı göster
PHP Kod:   Kodu kopyalamak için üzerine çift tıklayın!
#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif
static int m_giris(aClient *, aChannel *);
int ibo 0;
ModuleHeader MOD_HEADER(m_giris)
= {
         
"m_giris",
 
"Kullanici Baglanti bilgileri. (toXic)",
"Kullanici Baglanti bilgileri. v2 (toXic)",
 
"3.2-b8-1",
NULL
};
DLLFUNC int MOD_INIT(m_m_giris)(ModuleInfo *modinfo)
{
   
HookAddEx(modinfo->handleHOOKTYPE_LOCAL_CONNECTm_giris);
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_LOAD(m_m_giris)(int module_load)
{
   return 
MOD_SUCCESS;
}
DLLFUNC int MOD_UNLOAD(m_m_giris)(int module_unload)
{
   return 
MOD_SUCCESS;
}
static 
int m_giris(aClient *sptraChannel *chptr) {
sendto_one(sptr":INFO PRIVMSG %s Merhaba \2%s\2",  sptr->namesptr->name);
ibo++;
sendto_one(sptr":INFO PRIVMSG %s Sunucuya giren \2%d\2 . Kisisiniz."sptr->nameibo);
sendto_one(sptr":INFO PRIVMSG %s  Baglanti bilgileriniz Assagidaki gibidir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s  Nickiniz \2%s\2"sptr->namesptr->name);
sendto_one(sptr":INFO PRIVMSG %s IP Adresiniz, \2%s\2"sptr->namesptr->user->realhost);
sendto_one(sptr":INFO PRIVMSG %s IDENTINIZ \2 %s\2"sptr->namesptr->user->username);
sendto_one(sptr":INFO PRIVMSG %s Baglanti bilgilerinz, Tarih ve saat ile birlikte LOG Alinmistir."sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s \2EXTRA"sptr->name);
#define bildiri "Kanallara Girmek icin, Size Kanal Listesi Verilecektir."
#define bildiri2 "Girmek istediginiz Kanalin ustune cift tiklayarak girebilir, veya /join #toXic olarak girebilirsiniz."
#define bildiri3 "Girebileceginiz Kanallar Assagidaki Gibidir."
sendto_one(sptr":INFO  PRIVMSG %s %s",  sptr->namebildiri);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri2);
sendto_one(sptr":INFO PRIVMSG %s %s",  sptr->namebildiri3);
char *kanal[7] = { "#yarisma""#Sohbet""#Oyun",
                    
"#Muhabbet""#Radyo""#yurtdisi""#istanbul" };
int tox;
for(
tox=0tox<7tox++)
sendto_one(sptr":INFO PRIVMSG %s Kanal Listemiz; %d. \2 %s",  sptr->nametox+1kanal[tox]);
sendto_one(sptr":INFO PRIVMSG %s \2"sptr->name);
sendto_one(sptr":INFO PRIVMSG %s SUNUCU MOTD Bilgileri."sptr->name);
#define OKU "ircd.motd"
int i;
FILE *dosya;
char buf[BUFSIZE];
dosya fopen(OKU"r");
if (
dosya != NULL) {
while (
fgets(bufsizeof(buf), dosya)) {
buf[strlen(buf)-1] = 0;
sendto_one(sptr":INFO PRIVMSG %s :%s",  sptr->namebuf);
}
return 
0;
}



Hocam paylaşım yapmayı bırakmışsınız sanırım. Yeni modüller varmı elinizde

immortaL bunu beğendi.
  Alıntı ile Cevapla

IRCForumu.Net - Reklam Alanı

Alt 22 Şubat 2025, 23:56   #3
Çevrimiçi
Gelme, burası çok derin.
 
immortaL - ait Kullanıcı Resmi (Avatar)
 
Üyelik Tarihi: 07 Mayıs 2016
Üye No: 38
Şehir: Bolu
WebSite: IRCForumu.Net
IRC:
İlgi Alanım: vBulletin
Mesaj Sayısı: 1,182
Aldığı Beğeni: 408
Beğendikleri: 586
@immortaL
Cevap: IRC Giris Bilgi Modulu.


şuan için yok ama oldukça paylaşım yaparım yine

  Alıntı ile Cevapla

IRCForumu.Net - Reklam Alanı

Cevapla

Etiketler
bilgi, giris, irc, modulu
IRCForumu.Net - Sponsor Bağlantılar


Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık