[5.25] Nickserv auth fails again

Hotfixes for outdated Gamers.IRC versions.
Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
Tuxman
Administrator
Posts: 1831
Joined: 24.10.2003 00:13
Status: That guy
Contact:

[5.25] Nickserv auth fails again

Unread post by Tuxman » 31.01.2009 20:11

Bug:
The freenode network staff changed their Auth procedure again, resulting in Gamers.IRC's automatic auth process not working anymore.

Solution:
Open the mIRC script editor (Alt+R) with gamersirc.grc, scroll to line 5669:

Code: Select all

if ($readini(bin\ini\lagbar.ini,set,on)) { .timerlb_start 1 25 lb_start }
Add before:

Code: Select all

  ; nickserv:
  if (($me == $readini(bin\ini\settings.ini, auth, auth_nsnick)) && ($readini(bin\ini\settings.ini, auth, auth_nsident)) && ($istok($readini(bin\ini\settings.ini, auth, auth_nsidnw),$network,1))) {
    .msg nickserv identify $crypt_pw($readini(bin\ini\settings.ini, auth, auth_nspass))
  }
  if ($readini(bin\ini\settings.ini, auth, auth_nsGHOST)) {
    if (($me != $mnick) && ($istok($readini(bin\ini\settings.ini, auth, auth_nsidnw),$network,1))) {
      if (($mnick == $readini(bin\ini\settings.ini, auth, auth_nsnick)) && ($readini(bin\ini\settings.ini, auth, auth_nsident))) {
        .timer 1 30 $eval($iif($me != $mnick, .msg nickserv GHOST $mnick $crypt_pw($readini(bin\ini\settings.ini, auth, auth_nspass)), noop),0)
        .timer 1 35 .msg nickserv identify $crypt_pw($readini(bin\ini\settings.ini, auth, auth_nspass))
        kte_echo -s $init_lang(Nickserv,3)
      }
    }
  }
  ; nickserv ende
Then search for this code part (a few lines below):

Code: Select all

  ; nickserv:
  if ($readini(bin\ini\settings.ini, auth, auth_nsGHOST)) {
    if (($me != $mnick) && ($istok($readini(bin\ini\settings.ini, auth, auth_nsidnw),$network,1))) {
      if (($mnick == $readini(bin\ini\settings.ini, auth, auth_nsnick)) && ($readini(bin\ini\settings.ini, auth, auth_nsident))) {
        .timer 1 30 if ($me != $mnick) { .msg nickserv GHOST $mnick $crypt_pw($readini(bin\ini\settings.ini, auth, auth_nspass)) }
        kte_echo -s $init_lang(Nickserv,3)
      }
    }
  }
Delete that completely.
In the final step, search for this code (around line 6200):

Code: Select all

    ; qadmin ende
  }
  ; nickserv:
  elseif (($nick == Nickserv) && (($1-4 == This nickname is owned) || ($1-4 == This nickname is registered.))) {
    if (($me == $readini(bin\ini\settings.ini, auth, auth_nsnick)) && ($readini(bin\ini\settings.ini, auth, auth_nsident)) && ($istok($readini(bin\ini\settings.ini, auth, auth_nsidnw),$network,1))) {
      .msg nickserv identify $crypt_pw($readini(bin\ini\settings.ini, auth, auth_nspass))
    }
  }
  elseif (($nick == Nickserv) && ($2-4 == has been killed) && ($mnick isin $1)) {
Replace that by:

Code: Select all

  }
  ; qadmin ende
  ; nickserv:
  if (($nick == Nickserv) && ($2-4 == has been killed) && ($mnick isin $1)) {
Status:
Fixed in the next Gamers.IRC version.
^\__/
..O.o

This is Einkaufswagen. Copy Einkaufswagen into your signature to help him on his way to world domination.

Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable