Kill/Death and Win/Lose Ratio on Ranking

Results 1 to 15 of 15
  1. #1
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Kill/Death and Win/Lose Ratio on Ranking

    In MPOG Website, the Kill/Death and Win/Lose Ratio don't works
    How can I put this on my rankings?

    Code:
    1     Player1     85     349.929.020     16803/14003 (54%)
    2     Player2     84     345.597.159     14760/9638 (60%)
    3     Player3     84     342.467.970     11773/3602 (76%)
    4     Player4     84     340.428.826     26141/6901 (79%)
    5     Player5     84     336.744.089     15704/6865 (69%)
    6     Player6     84     335.775.948     11791/6558 (64%)
    7     Player7     84     332.688.351     16132/10199 (61%)
    8     Player8     84     332.014.330     10557/1070 (90%)


  2. #2
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    i want it to for website

  3. #3
    Account Upgraded | Title Enabled! Kyuma is offline
    MemberRank
    Aug 2008 Join Date
    At HomeLocation
    350Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    I want too :D

  4. #4
    Account Upgraded | Title Enabled! alfredao is offline
    MemberRank
    Jan 2008 Join Date
    Coronel FabriciLocation
    705Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    All Want this... :(

  5. #5
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    Yeah, this will be really helpfull ^^.

  6. #6
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    Try something like this
    cant add the other stuff because i dont know the field names..

    Code:
    $query = odbc_exec(<query to grab the stuff from the table>); 
    $array = odbc_fetch_array($query);
    $i = 1;
    
    foreach ($array as $output) {
    	echo $i;
    	// put the output here based on the example
    	echo '</br>';
    	$i++;
    }

  7. #7
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    $query = mssql_query("SELECT KillCount, DeathCount FROM Character");
    but using yours it will come out like this:
    Code:
    99/167
    1
    2
    3
    4

  8. #8
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    i know because i asumed he wanted to whole page:P with names etc
    so i added the numbers to it

  9. #9
    Enthusiast lukasddd is offline
    MemberRank
    Jun 2009 Join Date
    44Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    lolololo

  10. #10
    <?="Hello World.";?> wutyes is offline
    MemberRank
    Feb 2008 Join Date
    251Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    No make him learn to code PHP...

  11. #11
    Account Upgraded | Title Enabled! ManyBlackPpl is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    336Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    or you can just look at other ranking web pages, see how they call the levels and what not, and try and call the k/d in the same manor. I'm not a web coder, but usually when i look at php stuff, I'm able to figure some things out by using common logic, so what I've said might be wrong.

  12. #12
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    Its pretty much all in the ranking page....just edit the script and add another variable for kills and deaths.

  13. #13
    Account Upgraded | Title Enabled! 007ruben is offline
    MemberRank
    Jan 2008 Join Date
    netherlandsLocation
    491Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    i wanna let work the mmorpg in my pc but it fails

  14. #14

    Re: Kill/Death and Win/Lose Ratio on Ranking

    Quote Originally Posted by alfredao View Post
    In MPOG Website, the Kill/Death and Win/Lose Ratio don't works
    How can I put this on my rankings?

    Code:
    1     Player1     85     349.929.020     16803/14003 (54%)
    2     Player2     84     345.597.159     14760/9638 (60%)
    3     Player3     84     342.467.970     11773/3602 (76%)
    4     Player4     84     340.428.826     26141/6901 (79%)
    5     Player5     84     336.744.089     15704/6865 (69%)
    6     Player6     84     335.775.948     11791/6558 (64%)
    7     Player7     84     332.688.351     16132/10199 (61%)
    8     Player8     84     332.014.330     10557/1070 (90%)
    Code:
    $count++ $char['Name'] $char['Level'] $char['KillCount']."/".$char['DeathCount'] (% from KillCount and DeathCount)
    If you can't do those, you should learn PHP. It's fairly easy.

  15. #15
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Kill/Death and Win/Lose Ratio on Ranking

    Use No Life's MPOG Website.



Advertisement