Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
Yanlıs anlasılmasın , kodu ben yazdım demedim zaten. kodun yazarınıda bilmiyorum ben sadece net üzerinde paylasımını gördüm ama kodun yazarını bilmiyorum ben ekledim kimse ugrasmasın diye , ekledim paylastım o kadar. doğrudur sen yazdım diyosan yazmıssındır ben kodları modül'e yerlestirdim hazır olarak paylastım o kadar. Emeğe saygı her zaman sonsuzdur. Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
Iyi forumlar.
Konu SaLTaNaT tarafından (04 Şubat 2010 Saat 18:02 ) değiştirilmiştir.
Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
Alıntı:
-o m_quit.so m_quit.c
m_quit.c: In function âm_quitâ:
m_quit.c:120: error: too few arguments to function âdospamfilterâ
m_quit.c:172:2: warning: no newline at end of file
make[2]: *** [custommodule] Error 1
make[2]: Leaving directory `/home/xxx/Unreal3.2/src/modules'
make[1]: *** [custommodule] Error 2
make[1]: Leaving directory `/home/xxx/Unreal3.2/src'
make: *** [custommodule] Error 2
Böyle Bir Hata Verior
Sorunu Hallettim
Kod: Kodu kopyalamak için üzerine çift tıklayın!
#endif
n = dospamfilter(sptr, ocomment, SPAMF_QUIT, NULL, 0, NULL);
if (n == FLUSH_BUFFER)
return n;
if (n < 0)
ocomment = parv[0];
if (!IsAnOper(sptr) && ANTI_SPAM_QUIT_MSG_TIME)
if (sptr->firsttime+ANTI_SPAM_QUIT_MSG_TIME > TStime())
ocomment = parv[0];
Orjinal Kodu iLe Deiştirdim oLdu...
Konu ecoll tarafından (22 Ocak 2011 Saat 23:50 ) değiştirilmiştir.
Sebep: Sorun Çözüldü...
Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
Modulu kurdu cok güzel çalışıyor, fakat çoklu çıkış mesajı ekleyince şöyle bir hata alıyorum düzeltemedim..
m_quit.c: In function âm_quitâ:
m_quit.c:114: error: expected expression before â}â token
m_quit.c:117: error: âcmesajlistesiâ undeclared (first use in this function)
m_quit.c:117: error: (Each undeclared identifier is reported only once
m_quit.c:117: error: for each function it appears in.)
m_quit.c:132: error: âsâ undeclared (first use in this function)
m_quit.c:135: error: âblockedâ undeclared (first use in this function)
m_quit.c:139: error: ânâ undeclared (first use in this function)
m_quit.c:174: error: âtmphookâ undeclared (first use in this function)
m_quit.c: At top level:
m_quit.c:187: error: expected identifier or â(â before âelseâ
m_quit.c:191: error: expected identifier or â(â before â}â token
m_quit.c:191:2: warning: no newline at end of file
make[2]: *** [m_quit.o] Error 1
make[2]: Leaving directory `/home/askk/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/askk/Unreal3.2/src'
make: *** [build] Error 2
Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
Kod: Kodu kopyalamak için üzerine çift tıklayın!
m_quit.c:116: warning: cast from pointer to integer of different size
m_quit.c:120: warning: passing argument 2 of âdospamfilterâ makes pointer from integer without a cast
m_quit.c:130: warning: passing argument 1 of â__rawmemchrâ makes pointer from integer without a cast
m_quit.c:130: warning: passing argument 1 of â__builtin_strchrâ makes pointer from integer without a cast
m_quit.c:148: warning: passing argument 1 of âStripColorsâ makes pointer from integer without a cast
m_quit.c:148: warning: assignment makes integer from pointer without a cast
m_quit.c:149: error: invalid type argument of âunary *â
m_quit.c:157: warning: assignment makes integer from pointer without a cast
m_quit.c:164: error: invalid operands to binary -
m_quit.c:164: warning: passing argument 1 of â__builtin_strncpyâ makes pointer from integer without a cast
m_quit.c:164: warning: passing argument 2 of â__builtin_strncpyâ makes pointer from integer without a cast
m_quit.c:170: warning: passing argument 4 of âexit_clientâ makes pointer from integer without a cast
m_quit.c:172:2: warning: no newline at end of file
make[2]: *** [m_quit.o] Error 1
make[2]: Leaving directory `/home/melek/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/melek/Unreal3.2/src'
make: *** [build] Error 2
melek@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...].gen.tr [~/Unreal3.2]# make
Building src
make[1]: Entering directory `/home/melek/Unreal3.2/src'
cd modules; make 'CFLAGS=-I../include -I/home/melek/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl -ldl -L/home/melek/Unreal3.2/extras/regexp/lib -ltre ' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/home/melek/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/melek/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' all
make[2]: Entering directory `/home/melek/Unreal3.2/src/modules'
gcc -I../include -I/home/melek/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic -fPIC -DPIC -shared -c m_quit.c
m_quit.c:25:20: error: stdinc.h: No such file or directory
m_quit.c:26:22: error: handlers.h: No such file or directory
m_quit.c:27:20: error: client.h: No such file or directory
m_quit.c:28:18: error: ircd.h: No such file or directory
m_quit.c:29:24: error: irc_string.h: No such file or directory
m_quit.c:30:20: error: s_serv.h: No such file or directory
m_quit.c:31:18: error: send.h: No such file or directory
m_quit.c:33:19: error: parse.h: No such file or directory
In file included from m_quit.c:34:
../include/modules.h:111: error: expected â)â before â*â token
../include/modules.h:112: error: expected â;â before âcharâ
../include/modules.h:119: error: expected â)â before â*â token
../include/modules.h:120: error: expected â;â before âcharâ
../include/modules.h:267: error: expected â)â before â*â token
../include/modules.h:276: error: expected â;â before âcharâ
../include/modules.h:291: error: expected â)â before â*â token
../include/modules.h:292: error: expected â;â before âcharâ
../include/modules.h:299: error: expected specifier-qualifier-list before âaCommandâ
../include/modules.h:326: error: expected specifier-qualifier-list before âCmdoverrideâ
../include/modules.h:447: error: expected specifier-qualifier-list before âtime_tâ
../include/modules.h:464: error: expected specifier-qualifier-list before âtime_tâ
../include/modules.h:481: error: expected â)â before â*â token
../include/modules.h:580: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
../include/modules.h:581: error: expected â)â before â*â token
../include/modules.h:582: error: expected â)â before â*â token
m_quit.c:35:20: error: s_conf.h: No such file or directory
m_quit.c:37: warning: âstruct Clientâ declared inside parameter list
m_quit.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
m_quit.c:38: warning: âstruct Clientâ declared inside parameter list
m_quit.c:40: error: variable âquit_msgtabâ has initializer but incomplete type
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: error: âMFLG_SLOWâ undeclared here (not in a function)
m_quit.c:41: error: âMFLG_UNREGâ undeclared here (not in a function)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:42: error: extra brace group at end of initializer
m_quit.c:42: error: (near initialization for âquit_msgtabâ)
m_quit.c:42: error: âm_ignoreâ undeclared here (not in a function)
m_quit.c:42: warning: excess elements in struct initializer
m_quit.c:42: warning: (near initialization for âquit_msgtabâ)
m_quit.c:68: warning: âstruct Clientâ declared inside parameter list
m_quit.c:69: error: conflicting types for âm_quitâ
m_quit.c:37: error: previous declaration of âm_quitâ was here
m_quit.c: In function âm_quitâ:
m_quit.c:70: error: dereferencing pointer to incomplete type
m_quit.c:71: error: âKICKLENâ undeclared (first use in this function)
m_quit.c:71: error: (Each undeclared identifier is reported only once
m_quit.c:71: error: for each function it appears in.)
m_quit.c:74: warning: assignment makes pointer from integer without a cast
m_quit.c:77: error: dereferencing pointer to incomplete type
m_quit.c:77: error: âConfigFileEntryâ undeclared (first use in this function)
m_quit.c:78: error: âCurrentTimeâ undeclared (first use in this function)
m_quit.c: At top level:
m_quit.c:93: warning: âstruct Clientâ declared inside parameter list
m_quit.c:94: error: conflicting types for âms_quitâ
m_quit.c:38: error: previous declaration of âms_quitâ was here
m_quit.c: In function âms_quitâ:
m_quit.c:95: error: dereferencing pointer to incomplete type
m_quit.c:97: warning: incompatible implicit declaration of built-in function âstrlenâ
m_quit.c:97: error: âsize_tâ undeclared (first use in this function)
m_quit.c:97: error: expected â)â before âKICKLENâ
m_quit.c:98: error: âKICKLENâ undeclared (first use in this function)
m_quit.c:101:2: warning: no newline at end of file
make[2]: *** [m_quit.o] Error 1
make[2]: Leaving directory `/home/melek/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/melek/Unreal3.2/src'
make: *** [build] Error 2
melek@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...].gen.tr [~/Unreal3.2]# make
Building src
make[1]: Entering directory `/home/melek/Unreal3.2/src'
cd modules; make 'CFLAGS=-I../include -I/home/melek/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl -ldl -L/home/melek/Unreal3.2/extras/regexp/lib -ltre ' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/home/melek/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/melek/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' all
make[2]: Entering directory `/home/melek/Unreal3.2/src/modules'
gcc -I../include -I/home/melek/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic -fPIC -DPIC -shared -c m_quit.c
m_quit.c:25:20: error: stdinc.h: No such file or directory
m_quit.c:26:22: error: handlers.h: No such file or directory
m_quit.c:27:20: error: client.h: No such file or directory
m_quit.c:28:18: error: ircd.h: No such file or directory
m_quit.c:29:24: error: irc_string.h: No such file or directory
m_quit.c:30:20: error: s_serv.h: No such file or directory
m_quit.c:31:18: error: send.h: No such file or directory
m_quit.c:33:19: error: parse.h: No such file or directory
In file included from m_quit.c:34:
../include/modules.h:111: error: expected â)â before â*â token
../include/modules.h:112: error: expected â;â before âcharâ
../include/modules.h:119: error: expected â)â before â*â token
../include/modules.h:120: error: expected â;â before âcharâ
../include/modules.h:267: error: expected â)â before â*â token
../include/modules.h:276: error: expected â;â before âcharâ
../include/modules.h:291: error: expected â)â before â*â token
../include/modules.h:292: error: expected â;â before âcharâ
../include/modules.h:299: error: expected specifier-qualifier-list before âaCommandâ
../include/modules.h:326: error: expected specifier-qualifier-list before âCmdoverrideâ
../include/modules.h:447: error: expected specifier-qualifier-list before âtime_tâ
../include/modules.h:464: error: expected specifier-qualifier-list before âtime_tâ
../include/modules.h:481: error: expected â)â before â*â token
../include/modules.h:580: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
../include/modules.h:581: error: expected â)â before â*â token
../include/modules.h:582: error: expected â)â before â*â token
m_quit.c:35:20: error: s_conf.h: No such file or directory
m_quit.c:37: warning: âstruct Clientâ declared inside parameter list
m_quit.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
m_quit.c:38: warning: âstruct Clientâ declared inside parameter list
m_quit.c:40: error: variable âquit_msgtabâ has initializer but incomplete type
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: error: âMFLG_SLOWâ undeclared here (not in a function)
m_quit.c:41: error: âMFLG_UNREGâ undeclared here (not in a function)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:41: warning: excess elements in struct initializer
m_quit.c:41: warning: (near initialization for âquit_msgtabâ)
m_quit.c:42: error: extra brace group at end of initializer
m_quit.c:42: error: (near initialization for âquit_msgtabâ)
m_quit.c:42: error: âm_ignoreâ undeclared here (not in a function)
m_quit.c:42: warning: excess elements in struct initializer
m_quit.c:42: warning: (near initialization for âquit_msgtabâ)
m_quit.c:68: warning: âstruct Clientâ declared inside parameter list
m_quit.c:69: error: conflicting types for âm_quitâ
m_quit.c:37: error: previous declaration of âm_quitâ was here
m_quit.c: In function âm_quitâ:
m_quit.c:70: error: dereferencing pointer to incomplete type
m_quit.c:71: error: âKICKLENâ undeclared (first use in this function)
m_quit.c:71: error: (Each undeclared identifier is reported only once
m_quit.c:71: error: for each function it appears in.)
m_quit.c:74: warning: assignment makes pointer from integer without a cast
m_quit.c:77: error: dereferencing pointer to incomplete type
m_quit.c:77: error: âConfigFileEntryâ undeclared (first use in this function)
m_quit.c:78: error: âCurrentTimeâ undeclared (first use in this function)
m_quit.c: At top level:
m_quit.c:93: warning: âstruct Clientâ declared inside parameter list
m_quit.c:94: error: conflicting types for âms_quitâ
m_quit.c:38: error: previous declaration of âms_quitâ was here
m_quit.c: In function âms_quitâ:
m_quit.c:95: error: dereferencing pointer to incomplete type
m_quit.c:97: warning: incompatible implicit declaration of built-in function âstrlenâ
m_quit.c:97: error: âsize_tâ undeclared (first use in this function)
m_quit.c:97: error: expected â)â before âKICKLENâ
m_quit.c:98: error: âKICKLENâ undeclared (first use in this function)
m_quit.c:101:2: warning: no newline at end of file
make[2]: *** [m_quit.o] Error 1
make[2]: Leaving directory `/home/melek/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/melek/Unreal3.2/src'
make: *** [build] Error 2
yardım edermisiniz eski m_q. ekledim olmadı yine aynı hatayı aldım
Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] Kodlar çakışıyordur.
@[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] orjinal quit.c at öyle bir derlemeyi deneyin. .h hatalari veriyor cünkü.
Cevap: Unreal3.2* m_quit.c cıkıs mesajı toplam bağlantı süresi.
evet diger hesaptan quit.c aldım şimdi düzeldi yanlız başka hatalar almaya bşalıyorum
bir nicke whois çekmeyi yassaklamıştım aldıgım Sonuç;
Flag a: user is away
Flag c <channel>: user is on <channel>,
no wildcards accepted
Flag g <gcos/realname>: user has string <gcos> in his/her GCOS,
wildcards accepted
Flag h <host>: user has string <host> in his/her hostname,
wildcards accepted
Flag i <ip>: user has string <ip> in his/her IP address,
wildcards accepted
Flag m <usermodes>: user has <usermodes> set
Flag n <nick>: user has string <nick> in his/her nickname,
wildcards accepted
Flag s <server>: user is on server <server>,
wildcards not accepted
Flag u <user>: user has string <user> in his/her username,
wildcards accepted
Behavior flags:
Flag M: check for user in channels I am a member of
Flag R: show users' real hostnames
Flag I: show users' IP addresses
-ŞşŞŞ- End of /WHO list.
evet diger hesaptan quit.c aldım şimdi düzeldi yanlız başka hatalar almaya bşalıyorum
bir nicke whois çekmeyi yassaklamıştım aldıgım Sonuç;
Flag a: user is away
Flag c <channel>: user is on <channel>,
no wildcards accepted
Flag g <gcos/realname>: user has string <gcos> in his/her GCOS,
wildcards accepted
Flag h <host>: user has string <host> in his/her hostname,
wildcards accepted
Flag i <ip>: user has string <ip> in his/her IP address,
wildcards accepted
Flag m <usermodes>: user has <usermodes> set
Flag n <nick>: user has string <nick> in his/her nickname,
wildcards accepted
Flag s <server>: user is on server <server>,
wildcards not accepted
Flag u <user>: user has string <user> in his/her username,
wildcards accepted
Behavior flags:
Flag M: check for user in channels I am a member of
Flag R: show users' real hostnames
Flag I: show users' IP addresses
-ŞşŞŞ- End of /WHO list.
Bunu nerede aliyorsun? Sanirim statuste. Orayada Orjinal whois.c atin derleyin ardindan dikkatli birşekilde tekrar ekleyin whois yasaklama kodlarini.