Gens Rank Problem

Results 1 to 3 of 3
  1. #1
    Grand Master Maddox is online now
    Grand MasterRank
    Feb 2014 Join Date
    938Posts

    smile Gens Rank Problem

    Hello im using Mu Core 1.0.8 Custom Rankings (8 ranks + config + styles)

    but i have problem in Gens Rank anyone can help?
    im using zTeam File :)



    thanks

    4FUNer


  2. #2
    Grand Master 2009x2014 is offline
    Grand MasterRank
    Dec 2009 Join Date
    2,765Posts

    Re: Gens Rank Problem

    Yea there is 1 typo in query, since its very old & made for TT.

    Find
    Code:
    $topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." Name, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly'].",AccountID from ".$corecr['GensTable']." where CtlCode ".$corecr['ShowGM']." order by ".$corecr['TopGensOrderBy']." desc");
    and replace with
    Code:
    $topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." memb_char, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly']." from ".$corecr['GensTable']." order by ".$corecr['TopGensOrderBy']." desc");

  3. #3
    Grand Master Maddox is online now
    Grand MasterRank
    Feb 2014 Join Date
    938Posts

    Re: Gens Rank Problem

    Quote Originally Posted by 4FUNer View Post
    Yea there is 1 typo in query, since its very old & made for TT.

    Find
    Code:
    $topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." Name, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly'].",AccountID from ".$corecr['GensTable']." where CtlCode ".$corecr['ShowGM']." order by ".$corecr['TopGensOrderBy']." desc");
    and replace with
    Code:
    $topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." memb_char, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly']." from ".$corecr['GensTable']." order by ".$corecr['TopGensOrderBy']." desc");

    wow nice it works, Thanks a lot for helping as always, God Bless :)



Advertisement