IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   Unreal IRCd (https://www.ircforumlari.net/unreal-ircd/)
-   -   Sajoin Sorunu (https://www.ircforumlari.net/unreal-ircd/174441-sajoin-sorunu.html)

feaRneveR 24 Ocak 2009 20:32

Sajoin Sorunu
 
Arkadaslar Unrealircd'de sadece NetAdminler Sajoin çekebiliyorlar. ben bunu server ve services adminlerin de yapabilmesini istiyorum. ne yapmam lazım ?

OkyAnuS 24 Ocak 2009 20:35

Cevap: Sajoin Sorunu
 
Admin Listesine Eklediysen,Sajoin Komutunu Kullanmalari Gerekir.
/os admin nick seklinde ekle bakalim olacakmi

feaRneveR 24 Ocak 2009 21:18

Cevap: Sajoin Sorunu
 
yok dostum bu servisler ile alakalı değilki. servis admin listesine ekledigin zaman servisler üzerinde hakimiyet sağlanır. ama sajoin bir unrealircd komutudur.

WhiteKnight 24 Ocak 2009 21:50

Cevap: Sajoin Sorunu
 
Kod:


Unreal*/src/modules/m_sajoin.c

Dosyasındaki

Kod:


if (!IsSAdmin(sptr) && !IsULine(sptr))

Satırını

Kod:


if (!IsSAdmin(sptr) && !IsAdmin(sptr) && !IsULine(sptr))

Olarak değiştir. Sonra "make" ve "./unreal rehash" çekince olması lazım.

WhiteKnight 24 Ocak 2009 21:53

Cevap: Sajoin Sorunu
 
Kod:


if (!IsSAdmin(sptr) && !IsULine(sptr))

Bu satır yoksa aşağıdaki gibi arat.

Kod:


if (!IsNetAdmin(sptr) && !IsULine(sptr))


ArresT 25 Ocak 2009 00:30

Cevap: Sajoin Sorunu
 
whiteknight, kavradın if işini :) devam devam.. :)

feaRneveR 25 Ocak 2009 14:13

Cevap: Sajoin Sorunu
 
white dostum saol her sorunuma çözüm buluyorsun :) bu arada adwords gene olmadı :)

TaaRuZ 26 Ocak 2009 16:39

Cevap: Sajoin Sorunu
 
beyler denileni harfiyan yaptım yinede olmuyor.
şu make olayını biraz daha açarmısınız hangi dizinde make yazacaz. ve bu m_sajoin.c ile beraber yanında olan m_sajoin.o m_sajoin.so uzantılı dosyalarda makeyle düzeliyormu.

Alıntı:

m_sajoin.c:29:21: channel.h: No such file or directory
m_sajoin.c:39:15: h.h: No such file or directory
m_sajoin.c:47: error: syntax error before "int"
m_sajoin.c:47: error: syntax error before '*' token
m_sajoin.c:52: error: syntax error before "MOD_HEADER"
m_sajoin.c:53: warning: parameter names (without types) in function declaration
m_sajoin.c:53: error: function `MOD_HEADER' is initialized like a variable
m_sajoin.c:54: error: invalid initializer
m_sajoin.c:54: error: (near initialization for `MOD_HEADER')
m_sajoin.c:55: warning: excess elements in scalar initializer
m_sajoin.c:55: warning: (near initialization for `MOD_HEADER')
m_sajoin.c:56: warning: excess elements in scalar initializer
m_sajoin.c:56: warning: (near initialization for `MOD_HEADER')
m_sajoin.c:57: warning: excess elements in scalar initializer
m_sajoin.c:57: warning: (near initialization for `MOD_HEADER')
m_sajoin.c:59: warning: excess elements in scalar initializer
m_sajoin.c:59: warning: (near initialization for `MOD_HEADER')
m_sajoin.c:59: warning: data definition has no type or storage class
m_sajoin.c:61: error: syntax error before "int"
m_sajoin.c:61: error: syntax error before '*' token
m_sajoin.c:62: error: `MOD_INIT' declared as function returning a function
m_sajoin.c: In function `MOD_INIT':
m_sajoin.c:63: error: `MAXPARA' undeclared (first use in this function)
m_sajoin.c:63: error: (Each undeclared identifier is reported only once
m_sajoin.c:63: error: for each function it appears in.)
m_sajoin.c:64: error: `modinfo' undeclared (first use in this function)
m_sajoin.c:65: error: `MOD_SUCCESS' undeclared (first use in this function)
m_sajoin.c: At top level:
m_sajoin.c:68: error: syntax error before "int"
m_sajoin.c:69: error: `MOD_LOAD' declared as function returning a function
m_sajoin.c: In function `MOD_LOAD':
m_sajoin.c:70: error: `MOD_SUCCESS' undeclared (first use in this function)
m_sajoin.c: At top level:
m_sajoin.c:73: error: syntax error before "int"
m_sajoin.c:74: error: `MOD_UNLOAD' declared as function returning a function
m_sajoin.c: In function `MOD_UNLOAD':
m_sajoin.c:78: error: request for member `name' in something not a structure or union
m_sajoin.c:80: error: `MOD_SUCCESS' undeclared (first use in this function)
m_sajoin.c: At top level:
m_sajoin.c:91: error: syntax error before "CMD_FUNC"
m_sajoin.c: In function `CMD_FUNC':
m_sajoin.c:93: error: `aClient' undeclared (first use in this function)
m_sajoin.c:93: error: `acptr' undeclared (first use in this function)
m_sajoin.c:94: error: `BUFSIZE' undeclared (first use in this function)
m_sajoin.c:96: error: `sptr' undeclared (first use in this function)
m_sajoin.c:98: error: `ERR_NOPRIVILEGES' undeclared (first use in this function)
m_sajoin.c:98: error: `me' undeclared (first use in this function)
m_sajoin.c:98: error: `parv' undeclared (first use in this function)
m_sajoin.c:102: error: `parc' undeclared (first use in this function)
m_sajoin.c:104: error: `ERR_NEEDMOREPARAMS' undeclared (first use in this function)
m_sajoin.c:110: error: `ERR_NOSUCHNICK' undeclared (first use in this function)
m_sajoin.c:121: warning: assignment makes pointer from integer without a cast
m_sajoin.c:122: warning: assignment makes pointer from integer without a cast
m_sajoin.c:124: error: `aChannel' undeclared (first use in this function)
m_sajoin.c:124: error: `chptr' undeclared (first use in this function)
m_sajoin.c:125: error: `Membership' undeclared (first use in this function)
m_sajoin.c:125: error: `lp' undeclared (first use in this function)
m_sajoin.c:127: error: `CHANNELLEN' undeclared (first use in this function)
m_sajoin.c:137: error: `cptr' undeclared (first use in this function)
m_sajoin.c:141: error: `ERR_NOSUCHCHANNEL' undeclared (first use in this function)
m_sajoin.c:149: error: `ERR_USERONCHANNEL' undeclared (first use in this function)
m_sajoin.c:163: warning: assignment makes pointer from integer without a cast
m_sajoin.c:163: warning: assignment makes pointer from integer without a cast
m_sajoin.c:178: error: `HOOKTYPE_LOCAL_PART' undeclared (first use in this function)
m_sajoin.c:183: error: `MSG_JOIN' undeclared (first use in this function)
m_sajoin.c:183: error: `TOK_JOIN' undeclared (first use in this function)
m_sajoin.c:188: error: `CHFL_DEOPPED' undeclared (first use in this function)
m_sajoin.c:188: error: `CHFL_CHANOP' undeclared (first use in this function)
m_sajoin.c:189: error: `CREATE' undeclared (first use in this function)
m_sajoin.c:205: error: `LOG_SACMDS' undeclared (first use in this function)
make: *** [custommodule] Error 1

bu şekilde bir hata satırları cıkıyor

make custommodule MODULEFILE=m_sajoin

şeklinde makeleyince.

yardımcı olurmusunuz

feaRneveR 26 Ocak 2009 16:46

Cevap: Sajoin Sorunu
 
dostum
make custommodule MODULEFILE=m_sajoin
yapmayacaksın

sadece
Unreal3.2 dizinine
make

çekeceksin. bitti :)

TaaRuZ 26 Ocak 2009 18:31

Cevap: Sajoin Sorunu
 
Alıntı:

feaRneveR Nickli Üyeden Alıntı (Mesaj 626826)
dostum
make custommodule MODULEFILE=m_sajoin
yapmayacaksın

sadece
Unreal3.2 dizinine
make

çekeceksin. bitti :)

arkadaşım dediginide yaptım Unreal3.2 dizinindede sadece "make" yazdım. onda problem olmadı. ama yinede sadece services ve net adminlerden başka adminler sajoin yapamıyor. nasıl olacak tam baştan sona kadar en incesine kadar anlatabilirmisin. konu basit ama atladıgım bir noktamı var anlamadımki. Normalde modul kurmayı biliyorum. ilkkez bu şekilde sorunla karşılaştım.

Kod:

DLLFUNC CMD_FUNC(m_sajoin)
{
        aClient *acptr;
        char jbuf[BUFSIZE];

        if (!IsSAdmin(sptr) && !IsAdmin(sptr) && !IsULine(sptr))
        {
        sendto_one(sptr, err_str(ERR_NOPRIVILEGES), me.name, parv[0]);
        return 0;
        }

        if (parc < 3)
        {
        sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name, parv[0], "SAJOIN");
        return 0;
        }

        if (!(acptr = find_person(parv[1], NULL)))
        {


WhiteKnight 26 Ocak 2009 19:29

Cevap: Sajoin Sorunu
 
Ircop'larında kullanmasını istiyorsan

Kod:


if (!IsSAdmin(sptr) && !IsAdmin(sptr) && !IsULine(sptr))

Satırını

Kod:


if (!IsSAdmin(sptr) && !IsOper(sptr) && !IsULine(sptr))

Olarak değiştir.


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 01:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk