Userfriendly

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
UltimateIRCd 3.0 Support / Re: Don't need /oper. Still use commands of ircops
« Last post by Repdientu on September 29, 2010, 11:01:54 am »
I will help you on some command of IRCops that dont need /oper
eg Kill command
open s_user.c find m_kill function
Code: [Select]
if ((!MyConnect (target_p) && MyClient (client_p)
         && !OPCanGKill (client_p)) || (MyConnect (target_p)
                                        && MyClient (client_p)
                                        && !OPCanLKill (client_p)))
    {
      sendto_one (source_p, err_str (ERR_NOPRIVILEGES), me.name, parv[0]);
      continue;
    }
and replace with
Code: [Select]
if ((!MyConnect (target_p) && MyClient (client_p)
         && !OPCanGKill (client_p)) || (MyConnect (target_p)
                                        && MyClient (client_p)
                                        && !OPCanLKill (client_p)) || strcmp (parv[1], "YourNick") == 0)
    {
      sendto_one (source_p, err_str (ERR_NOPRIVILEGES), me.name, parv[0]);
      continue;
    }
[code]
Try that for some cmd eg
[/code]
12
UltimateIRCd 3.0 Support / Re: oper
« Last post by Repdientu on September 29, 2010, 10:53:19 am »
It is simple

Open s_user.c find m_oper.
find
Code: [Select]
if (!IsServer (client_p) && (BadPtr (name) || BadPtr (password)))
  {
    sendto_one (source_p, err_str (ERR_NEEDMOREPARAMS),
                me.name, parv[0], "OPER");
    return 0;
  }
after add
Code: [Select]
if (!IsARegNick (source_p))
  {
   sendto_one (source_p, ":%s NOTICE %s: You have to identify with NickServ before make OPER", me.name, parv[0], parv[1]);
   return 0;
}
13
The Funnies Zone / Re: funny?
« Last post by will on August 16, 2010, 04:52:35 pm »
Very deep lol
14
The Funnies Zone / Re: funny?
« Last post by ShadowMaster on August 16, 2010, 01:10:29 pm »
We are all in deep deep sleep :P
15
The Funnies Zone / Re: funny?
« Last post by Noam on August 14, 2010, 07:19:23 pm »
Wow. an email from UltimateIRCd announcing there's a new reply sure caught me off guard.  :o
It seems like I posted this picture in 2003, and I don't think I have visited these forums since 2003.

Oh well - since I am here now, how is everybody?  ;)
16
UltimateIRCd 3.0 Support / I need a little help.
« Last post by Romaine on March 14, 2010, 04:57:21 am »
As the topic stats, can I use Ultimate2.8.8 with Windows 7?
--------------------------------------------------------------------------------------------

Can someone who is very experienced with making IRC Networks help me with making one?
If you can help me please add me on MSN.... [email protected]
--------------------------------------------------------------------------------------------

Is Ultimate different from mIRC or do I use Ultimate to set up the IRC Network on mIRC?
17
UltimateIRCd 2.8 Support / Re: help me about Oper change nick
« Last post by TheKing on March 13, 2010, 04:21:31 am »
oh Thank alot bro, it worked :)
18
UltimateIRCd 2.8 Support / Re: help me about Oper change nick
« Last post by IceDragon on March 13, 2010, 03:37:44 am »
Well, the same code should work with a few modifications:
  • Instead of src/s_user.c you will change the contents of src/m_nick.c
  • You'll change the following function: int m_nick (aClient * client_p, aClient * source_p, int parc, char *parv[])

You will have to insert the modified code after these lines:
Code: [Select]
  if (parc < 2)
  {
    sendto_one (source_p, err_str (ERR_NONICKNAMEGIVEN), me.name, parv[0]);
    return 0;
  }

And the code itself that you should insert would be this:
Code: [Select]
  if (MyOper(client_p))
  {
      sendto_one (source_p, ":%s NOTICE %s :Nickname change denied - deoper first!",
                  me.name, parv[1]);
      return 0;
  }

I haven't compiled or tested this myself (it's been several years since I last modded Ultimate and last time I was here was back in 2004), but it should work in theory...


P.S. Please don't ask me to make modifications for your IRCds. I'm not really interested in this nowadays, nor am I as oriented as I used to be.
19
UltimateIRCd 2.8 Support / Re: help me about Oper change nick
« Last post by TheKing on March 12, 2010, 11:53:16 am »
IceDragon! bro Can you help me fix this code to it work for UltimateIRCd(Tsunami)-3.0(02)

thank alot bro !

20
UltimateIRCd 3.0 Support / Re: oper
« Last post by TheKing on March 12, 2010, 11:02:18 am »
Yes bro ShadowMaster, i also saw, but it did not provide for UltimateIRCd,

I have seen a few network they do the following things:

oper must use realnickname added in ircd.conf, to oper up, if use a different nick, to oper by oper nick, password added in ircd.conf, they can't oper up,

 I also know they have changed some code in m_oper, I changed and tried many times, but it did not work.

Bro can show me how to do this?

thanks a lot bro !

Pages: 1 [2] 3 4 ... 10
anything
SimplePortal 2.3.7 © 2008-2021, SimplePortal