View Issue Details

IDProjectCategoryView StatusLast Update
0000141AniDB IRC (Chii/Lafiel)Bug Reportpublic2006-01-16 16:07
Reporterkidan Assigned Topelican  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Summary0000141: Chii doesn't handle fine-graded votes
DescriptionIt would be consequent if we were able to set .5-votes with chii, too.
and that chii would show those as well (currently she just cuts-off the .5-part)
TagsNo tags attached.

Activities

pelican

2005-04-09 20:56

administrator   ~0000391

...as the database can actually distinguish between votes as close as 0.01, Chii should be able to handle that degree of precision.

Rar

2005-04-10 16:03

reporter   ~0000395

An alternative to writing this functionality for Chii is to make her kick pelican whenever he uses !vote * *.5 or !votetmp * *.5

Rar

2005-06-03 14:33

reporter   ~0000495

Last edited: 2005-06-03 14:40

All of the above handled by this local mirc script, which should serve as a cheap stand in for a while (freakin' link detection...):

on *:TEXT:!vote*:#anidb,#anidb-spam:{
  var %vote = $eval($ $+ $0, 2)
  if (%vote = r) %vote = $eval($ $+ $calc($0 - 1), 2)
  var %anime = $left($2-, $calc($pos($2-,%vote, $pos($2-,%vote, 0)) - 2 ))
  if (($int(%vote) != %vote) && (%vote = $calc(%vote + 1 - 1))) {
    echo -s BAD VOTE
    if (($nick = pelican) && ($chan == #anidb)) {
      kick #anidb $nick Supercalifragilisticexpialidocious
    }
    elseif (($1 == !voteep) || ($1 == !voteg)) {
      notice $nick Though anidb now supports fractional votes, this does not extend to episodes or groups, and Chii has yet to be updated.
    }
    else {
      if (($chan == #anidb) && ($1 == !vote)) {
        notice $nick Though anidb now supports fracional votes, Chii has yet to be updated. Please use integers only, or utilise the web interface.
      }
      if (($int(%anime) == %anime) && (%anime = $calc(%anime + 1 - 1))) {
        notice $nick Try this link: gttp://anidb.info/perl-bin/animedb.pl?show=anime&aid= $+ %anime $+ &votea.rate= $+ $calc(%vote * 100) $+ &votea.ratenow=vote&do.revokevote=1
      }
      else {
        notice $nick Try this link: gttp://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=%22 $+ $replace(%anime,$chr(32),+) $+ $chr(37) $+ 22&votea.rate= $+ $calc(%vote * 100) $+ &votea.ratenow=vote&do.revokevote=1
      }
    }
  }
}

Issue History

Date Modified Username Field Change
2005-04-03 02:48 kidan New Issue
2005-04-09 20:56 pelican Note Added: 0000391
2005-04-10 16:03 Rar Note Added: 0000395
2005-06-03 14:33 Rar Note Added: 0000495
2005-06-03 14:40 Rar Note Edited: 0000495
2006-01-16 11:36 DerIdiot Status new => resolved
2006-01-16 11:36 DerIdiot Resolution open => fixed
2006-01-16 11:36 DerIdiot Assigned To => DerIdiot
2006-01-16 16:03 DerIdiot Status resolved => assigned
2006-01-16 16:03 DerIdiot Assigned To DerIdiot => pelican
2006-01-16 16:04 DerIdiot Assigned To pelican =>
2006-01-16 16:05 DerIdiot Status assigned => resolved
2006-01-16 16:05 DerIdiot Assigned To => DerIdiot
2006-01-16 16:07 DerIdiot Assigned To DerIdiot => pelican