Menu

Bugs : mldonkey 2.4 + PhpElseGui 0.6.1

Help
did h
2003-05-22
2003-06-25
  • did h

    did h - 2003-05-22

    First of all, congratulation for this projet, it's very usefull and very well done.

    I have to say that I haven't been using it since a long time. I first install it with mldonkey 2.4 and the 0.6.1 version of PhpElseGui.
    It works fine, but there are many bugs.
    Actually, they are not really bugs, but (maybe) some mistakes in the functions, for exemple :
    _ The speed in the Age colum
    _ The Priority in the Speed colum
    _ The total size in the Downloaded size colum
    _ The sizes in the details aren't good (they are replaced with other functions)
    _ The remaining time doesn't works
    _ The the total size doesn't works

    I think there are just some mistakes in the code of the 0.6.1 version... I've seen the screenshoots of the 0.6.0 version, there are no such bugs.

    Does somebody have the same problems ? Can I do something to repair these functions ?

    Thanks.

     
    • Martin Fernau

      Martin Fernau - 2003-06-05

      as I know so far, phpEselGui is only for the 2.04 release of mldonkey
      Maybe the developers will release a version for the new mldonkey version too?

       
    • - 2003-06-19

      This problems are very annoying but at least downloads are working even with mldonkey 2.5. :O

       
    • Anonymous

      Anonymous - 2003-06-22

      I'm use PhpElseGui 0.6.1 + mldonkey 2.5.3 very good. You need to change in functions.inc the getFields functions:

      function getFields($files)  {

          global $conf;

         

          if ($conf->DEBUG) writeLog ("Starting function getFields (\"$files\")");

         

          $new[]=array();

          $i=0;

         

          foreach($files as $key=>$value) {

              if ($conf->DEBUG) writeLog ("Scanning $key - $value");

              //if(ereg("^\[[0-9]", $value)) {

              if(ereg("^\[", $value) && !ereg("^\[ Num", $value)) {

                  if ($conf->DEBUG) writeLog ("identified file");

                  $value = preg_replace("/\[/", "", $value);

                  $value = preg_replace("/\Direct Connect /", "DC ", $value);

                  $value = preg_replace("/\Open Napster /", "OpenNap ", $value);

                  $value = preg_replace("/\]/", "", $value);

                  $value = preg_replace("/\s+/", " ", $value);

                  $temp=explode(" ", $value);

                  $length=sizeof($temp);

                  $new[$i][network]=$temp[0];

                  $new[$i][nr]=$temp[1];

                  $new[$i][speed]=$temp[$length-3];

                  if ($new[$i][speed] == "Paused") {

                      $new[$i][speed] = -1;

                  }

                 

                  $new[$i][old]=$temp[$length-4];

                  $new[$i][gesamt]=$temp[$length-5];

                  $new[$i][fertig]=$temp[$length-6];

                  $new[$i][prozent]=$temp[$length-7];

                 

                  if ($new[$i][speed]<=0) { $new[$i][est]=-1; } else {

                      $new[$i][est] = ($new[$i][gesamt]-$new[$i][fertig]) / (1024*$new[$i][speed]);

                  }

                 

                  $text="";

                  $bla=2;

                 

                  while($bla < $length-6) {

                      $text .= "$temp[$bla] ";

                      $bla += 1;

                  }

                  $new[$i][name]=$text;

                  $i +=1;

              }

          }

          return($new);

      }

       
    • Sven Walther

      Sven Walther - 2003-06-25

      The problem has been fixed with the current version in CVS, so have a look at it :-)

      Maybe we are able to release this official in a few days (we had a pause on work because of work and school)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.