[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gamers.IRC board • [5.30] Sound Request
Page 1 of 1

[5.30] Sound Request

Posted: 26.10.2009 12:54
by chris1
Bug: Sound Request
Sound was not played

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

Code: Select all

        ignore on
        ignore -u $+ $readini(bin/ini/protections.ini,flood,ctcp_ignoretime) $nick
      }
    }
  }
Add after that:

Code: Select all

  elseif ($1 == SOUND) {
    if ($gettok($readini(mirc.ini,options,n3),19,44)) {
      if ($findfile($sound($2),$2,1)) { splay $v1 }
      elseif ($gettok($readini(mirc.ini,options,n3),21,44)) { kte_echo $chan Sound Request: $init_lang(other,7) $2 }
    }
  }
So the whole part should look as follows:

Code: Select all

...
        ignore on
        ignore -u $+ $readini(bin/ini/protections.ini,flood,ctcp_ignoretime) $nick
      }
    }
  }
  elseif ($1 == SOUND) {
    if ($gettok($readini(mirc.ini,options,n3),19,44)) {
      if ($findfile($sound($2),$2,1)) { splay $v1 }
      elseif ($gettok($readini(mirc.ini,options,n3),21,44)) { kte_echo $chan Sound Request: $init_lang(other,7) $2 }
    }
  }
}
on ^*:action:*:#:{
...
Status:
Fixed in the next Gamers.IRC version. (5.31)

Patched files:
You can find all Gamers.IRC files with integrated hotfixes here.