Merhaba arkadaşlar,
Şimdi benim yapmak istediğim bi IRC serverı açıcam ve isteklerimi kendim yapmak içinde unreal'da neyin ne işe yaradıgını bilmem gerekli. Örnek vermek gerekirse Founder,SOP ve aopların solundaki işaretleri değiştirmek gibi. Programcı oldugum için kodlar zaten yabancı gelmedi ancak hangi dosyada ne vardır bunları öğrenebileceğim bir site söyleyebilirseniz çok sevinirim.
Unreal editlemek
4
●2.083
- 17-09-2008, 12:43:25include/common.h
#define CHPFIX "(qaohv)~&@%+" aşağıdaki ile değiştir #define CHPFIX "(qaohv).&@%+"
src/api-isupport.c
#ifdef PREFIX_AQ IsupportAdd(NULL, "STATUSMSG", "~&@%+"); aşağıdaki ile değiştir #ifdef PREFIX_AQ IsupportAdd(NULL, "STATUSMSG", "<A href="mailto:.&@%+");[/code">.&@%+");
src/channel.c
#ifdef PREFIX_AQ if (cm->flags & CHFL_CHANOWNER) buf[idx++] = '~'; else if (cm->flags & CHFL_CHANPROT) buf[idx++] = '&'; else #endif aşağıdaki ile değiştir #ifdef PREFIX_AQ if (cm->flags & CHFL_CHANOWNER) buf[idx++] = '.'; else if (cm->flags & CHFL_CHANPROT) buf[idx++] = '&'; else #endifsrc/webtv.c
#else if (access & CHFL_CHANOWNER) *(buf + len++) = '~'; else if (access & CHFL_CHANPROT) *(buf + len++) = '&'; #endif aşağıdaki ile değiştir #else if (access & CHFL_CHANOWNER) *(buf + len++) = '.'; else if (access & CHFL_CHANPROT) *(buf + len++) = '&'; #endifsrc/modules/m_message.c
#ifdef PREFIX_AQ case '&': prefix |= PREFIX_ADMIN | PREFIX_OWNER; break; case '~': prefix |= PREFIX_OWNER; break; #else aşağıdaki ile değiştir #ifdef PREFIX_AQ case '&': prefix |= PREFIX_ADMIN | PREFIX_OWNER; break; case '.': prefix |= PREFIX_OWNER; break; #else#ifdef PREFIX_AQ else if (prefix & PREFIX_ADMIN) pfixchan[0] = '&'; else if (prefix & PREFIX_OWNER) pfixchan[0] = '~'; #endif aşağıdaki ile değiştir #ifdef PREFIX_AQ else if (prefix & PREFIX_ADMIN) pfixchan[0] = '&'; else if (prefix & PREFIX_OWNER) pfixchan[0] = 'src/modules/m_who.c
#ifdef PREFIX_AQ if (cm->flags & CHFL_CHANOWNER) status[i++] = '~'; else if (cm->flags & CHFL_CHANPROT) status[i++] = '&'; else #endif aşağıdaki ile değiştir #ifdef PREFIX_AQ if (cm->flags & CHFL_CHANOWNER) status[i++] = '.'; else if (cm->flags & CHFL_CHANPROT) status[i++] = '&'; else #endifsrc/modules/m_whois.c
#ifdef PREFIX_AQ if (access & CHFL_CHANOWNER) *(buf + len++) = '~'; else if (access & CHFL_CHANPROT) *(buf + len++) = '&'; else #endif aşağıdaki ile değiştir #ifdef PREFIX_AQ if (access & CHFL_CHANOWNER) *(buf + len++) = '.'; else if (access & CHFL_CHANPROT) *(buf + len++) = '&'; else #endifİşaretleri kendinize göre düzenleye bilirsiniz burda founder işareti . olarak yapılmıştır.
Bunları yaptıktan sonra;
cd
cd Unreal3.2
make
make install
./unreal restart
İnşallah yardımcı olur.. - 08-10-2008, 15:39:54Üyeliği durduruldu