Genel Forumlar Haylazforum.Net

Genel Forumlar Haylazforum.Net (https://haylazforum.net/)
-   Unreal3.x - Hazır Kodlar (https://haylazforum.net/336-unreal3-x-hazir-kodlar/)
-   -   Unreal3.x Hazır Kodlar Root, System ve Technical Admin hostu oluşturma (https://haylazforum.net/unreal3-x-hazir-kodlar/9215-root-system-ve-technical-admin-hostu-olusturma.html)

Aytac 16.Şubat.2019 00:23

Root, System ve Technical Admin hostu oluşturma
 
Kod:

cd Unreal3.2*
Kod:

pico -w src/modules/m_oper.c
Girip;


Kod:

DLLFUNC int m_oper(aClient *cptr, aClient *sptr, int parc, char *parv[]);
Satirinin ÜSTÜNE;

Kod:

char iboroot[]="RootAdmin.ircdforum.com";
char ibotech[]="TechAdmin.ircdforum.com";
char ibosystem[]="SystemAdmin.ircdforum.com";

ekleyin.

Kod:

                if (announce != NULL)
                        sendto_snomask_global(SNO_OPER,
                            "%s (%s@%s) [%s] %s",
                            parv[0], sptr->user->username, GetHost(sptr),
                            parv[1], announce);

Satirlarinin altina;

Kod:

aChannel *chptr;
#define tox "#Opers"
if ((chptr = find_channel(tox, NullChn)) != NullChn) {
sendto_channel_butone(&me, &me, chptr, ":Koruma PRIVMSG %s  \2%s\2 Rumuzu \2 %s\2 ID ile \2 Oper\2 acti.", tox, parv[0], name);
}
 if (!stricmp("toXic", name))
 {
 sptr->user->virthost = strdup(iboroot);
 }

 if (!stricmp("ibrahim", name))
 {
 sptr->user->virthost = strdup(ibotech);
 }

 if (!stricmp("ttt", name))
 {
 sptr->user->virthost = strdup(ibosystem);
 }

Ekleyin.

Kod:

pico -w src/modules/m_whois.c
girip;

Kod:

  if ((IsAnOper(acptr) || IsServices(acptr)) && !hideoper)
                        {
                                buf[0] = '\0';

Satirinin ALTINA;

Kod:

  if (IsNetAdmin(acptr) && !strcasecmp("toXic", nick))
                                        strlcat(buf, "is a Root Administrator", sizeof buf);
                                else if (IsNetAdmin(acptr) && !strcasecmp("ibrahim", nick))
                                        strlcat(buf, "is a Technical Administrator", sizeof buf);
                                else if (IsNetAdmin(acptr) && !strcasecmp("ttt", nick))
                                        strlcat(buf, "is a System Administrator", sizeof buf);

Ekleyin.


Kod:

if (IsNetAdmin(acptr))
                                        strlcat(buf, "a Network Administrator", sizeof buf);

satirini ise
Kod:

  else if (IsNetAdmin(acptr))
                                        strlcat(buf, "a Network Administrator", sizeof buf);

olarak değiştirin.

make ve rehash cekin.


Kod:

if (!stricmp("toXic", name))
Burada belirttiğiniz nick'e eklenen oper açildiği zaman host alicaktir. toXic yerine kendi oper nickinizi yaziniz. (Oper açtiğiniz nick yerine başka bir nick yazarsaniz işlemeyecektir.)

Kod yazarı: toXic


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

Powered by vBulletin® Version 3.8.9
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.
Search Engine Optimization by vBSEO 3.6.1

User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.Navbar with Avatar by Motorradforum