[Release]Rebirth column for darkmagic's ranking

Page 1 of 2 12 LastLast
Results 1 to 25 of 39
  1. #1
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    [Release]Rebirth column for darkmagic's ranking

    Edit: Mini description: What this does, is it adds a column to your ranking, it doesn't mess up the table or make it look different. It shows your the number of rebirths.
    If you do NOT have a rebirth column execute this

    Code:
    ALTER TABLE `characters` ADD COLUMN `rebirth` int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `pvpdeaths`;
    Ok, since i figured out how to do it, and i realized many people don't have this i decided to release it.

    This is only for DarkMagic's ranking which can be found Here

    First off,

    Find this line
    Code:
    $result2 = mysql_query("SELECT level, exp, characters.name name, meso, job, fame, logo, logoColor, guilds.name guildname, logoBG, logoBGColor, COUNT(eventstats.characterid) wins FROM accounts, characters LEFT JOIN guilds ON guilds.guildid = characters.guildid LEFT JOIN eventstats ON characters.id=eventstats.characterid WHERE characters.gm = 0 AND accountid = accounts.id AND banned = 0 ".$show." GROUP BY characters.id DESC ORDER BY $order level DESC, exp DESC")
    And replace it with this
    Code:
    $result2 = mysql_query("SELECT level, rebirth, exp, characters.name name, meso, job, fame, logo, logoColor, guilds.name guildname, logoBG, logoBGColor, COUNT(eventstats.characterid) wins FROM accounts, characters LEFT JOIN guilds ON guilds.guildid = characters.guildid LEFT JOIN eventstats ON characters.id=eventstats.characterid WHERE characters.gm = 0 AND accountid = accounts.id AND banned = 0 ".$show." GROUP BY characters.id DESC ORDER BY $order rebirth DESC, level DESC, exp DESC")
    Next, find this line.
    Code:
    $result = mysql_query("SELECT level, exp, characters.name name, meso, job, fame, logo, logoColor, guilds.name guildname, logoBG, logoBGColor, COUNT(eventstats.characterid) wins FROM accounts, characters LEFT JOIN guilds ON guilds.guildid = characters.guildid LEFT JOIN eventstats ON characters.id=eventstats.characterid WHERE characters.gm = 0 AND accountid = accounts.id AND banned = 0".$show." GROUP BY characters.id DESC ORDER BY $order level DESC, exp DESC LIMIT $start, ".$page_records)
    And replace it with this,
    Code:
    $result = mysql_query("SELECT level, rebirth, exp, characters.name name, meso, job, fame, logo, logoColor, guilds.name guildname, logoBG, logoBGColor, COUNT(eventstats.characterid) wins FROM accounts, characters LEFT JOIN guilds ON guilds.guildid = characters.guildid LEFT JOIN eventstats ON characters.id=eventstats.characterid WHERE characters.gm = 0 AND accountid = accounts.id AND banned = 0".$show." GROUP BY characters.id DESC ORDER BY $order rebirth DESC, level DESC, exp DESC LIMIT $start, ".$page_records)
    Next, find this line
    Code:
    echo "<tr valign=\"bottom\"> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Rank&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Character&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."' width = 100><font color=\"".$title_font."\"><b>&nbsp;Name&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Fame&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;FoJ&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Job Class&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."' width = 100><font color=\"".$title_font."\"><b>&nbsp;Level&nbsp;</b></font></td> </tr>";
    Replace it with this.
    Code:
    echo "<tr valign=\"bottom\"> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Rank&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Character&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."' width = 100><font color=\"".$title_font."\"><b>&nbsp;Name&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."' width = 100><font color=\"".$title_font."\"><b>&nbsp;Rebirth&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Fame&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;FoJ&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."'><font color=\"".$title_font."\"><b>&nbsp;Job Class&nbsp;</b></font></td> <td align =\"center\"  bgcolor='".$title_bar."' width = 100><font color=\"".$title_font."\"><b>&nbsp;Level&nbsp;</b></font></td> </tr>";
    Then find this,
    Code:
        
    echo $row['fame'];
        echo "&nbsp;</b></td><td align =\"center\" bgcolor='".$backcolor."'>&nbsp;&nbsp;<b>";
    And put ABOVE it
    Code:
        echo $row['rebirth'];
        echo "&nbsp;</b></td><td align =\"center\" bgcolor='".$backcolor."'>&nbsp;&nbsp;<b>";
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If you would like to have the index ranking show characters with more rebirths have a higher rank than use this.

    This is for s0wh4t's CMS, i have not tested on any other!

    In Index.php
    Find this
    Code:
    $gc = mysql_query("SELECT * FROM `characters` WHERE `gm`='0' ORDER BY `level` DESC,`exp`") or die(mysql_error());
    And replace it with
    Code:
    $gc = mysql_query("SELECT * FROM `characters` WHERE `gm`='0' ORDER BY `rebirth` DESC, `level` DESC,`exp`") or die(mysql_error());
    Then find
    Code:
    echo "<td>".$player['level']."</td>";
    Then add BELOW it
    Code:
    echo "<td>(".$player['rebirth'].")</td>";
    If you need any help, just ask me.
    Hope you enjoy this, even how easy it is, it took me quite a bit to figure it out haha.

    ~
    EDIT:
    Go here for a great reborn method!
    http://forum.ragezone.com/f427/relea...st-see-471853/
    Credits to xazerrx
    ~


    Credits:
    Me for making this,
    DarkMagic for ranking
    s0wh4t? for CMS
    Last edited by KillShadow05; 04-10-08 at 05:52 PM.


  2. #2
    Proficient Member lols1996 is offline
    MemberRank
    Jun 2008 Join Date
    152Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    nice

  3. #3
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Haha thanks, well this was a little bit harder than the fame seller :P

  4. #4
    Account Upgraded | Title Enabled! Leaf Story is offline
    MemberRank
    Sep 2008 Join Date
    LeafStoryLocation
    479Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    does thus make the char thing work??

    i get this error when accecing my site
    Parse error: syntax error, unexpected T_ECHO in C:\xampp\htdocs\index.php on line 136

  5. #5
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    You must have the character ranking images, from darkmagic's working completely for this to work.

    And it doesnt show the avatar in the ranking on index.

  6. #6
    Omega ihatehaxor is offline
    MemberRank
    Apr 2008 Join Date
    JerseyLocation
    5,461Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    nice release

  7. #7
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Thanks.
    Haxor, btw i see your sig, it says buzzfizz.
    Are you buzzfizz or a friend or something?

  8. #8
    Account Upgraded | Title Enabled! Leaf Story is offline
    MemberRank
    Sep 2008 Join Date
    LeafStoryLocation
    479Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    soooooo if im using s0wh4t?'s CMS waht do i needah add for this to work?? O_o

  9. #9
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    The link is at the top,
    You need to download darkmagic's ranking for s0wh4t CMS

  10. #10
    Account Upgraded | Title Enabled! Leaf Story is offline
    MemberRank
    Sep 2008 Join Date
    LeafStoryLocation
    479Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    ooooooo ok ok and do i do teh top part too??

  11. #11
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Yea if you do not have it

  12. #12
    Account Upgraded | Title Enabled! Leaf Story is offline
    MemberRank
    Sep 2008 Join Date
    LeafStoryLocation
    479Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    oooooooooooo ok ok ty

  13. #13
    Isenheart . Leimone is offline
    MemberRank
    Jul 2008 Join Date
    Sweden, Stockholm.Location
    1,317Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    I think buzzfizz made it for him.

  14. #14
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Haha cause buzzfizz is one of my old friends whom i havent seen in a while.

  15. #15
    Proficient Member DarkGoddes is offline
    MemberRank
    Sep 2008 Join Date
    Planet EaaaaarthLocation
    196Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Pretty nice , Usefull thnx

  16. #16
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Thanks, it helped me and i was hoping it helped some other people too. Glad to see it did ^^

  17. #17
    Account Upgraded | Title Enabled! brianobb is offline
    MemberRank
    May 2008 Join Date
    Keon MS :DLocation
    508Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    im two dumb for this xD

  18. #18
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Lol, maybe u can have someone help you.
    I dont know how to explain it anymore haha

  19. #19
    Isenheart . Leimone is offline
    MemberRank
    Jul 2008 Join Date
    Sweden, Stockholm.Location
    1,317Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    What's
    darkmagic?

  20. #20
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    darkmagic is a user who created a ranking system, which i use.
    This is only for darkmagics Ranking system

  21. #21
    Account Upgraded | Title Enabled! Im Blue is offline
    MemberRank
    Aug 2008 Join Date
    415Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Does darkmagic work with s0wh4ts cms

  22. #22
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Yes..thats the whole reason i said to use it. O_o

  23. #23
    Account Upgraded | Title Enabled! tuunade is offline
    MemberRank
    Apr 2008 Join Date
    Why do you careLocation
    1,146Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Ahaha.Nice Reaper =]

  24. #24
    Account Upgraded | Title Enabled! KillShadow05 is offline
    MemberRank
    Apr 2008 Join Date
    United StatesLocation
    705Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Thanks haha, sad to see not many people use it :P

  25. #25
    Apprentice gengyun12 is offline
    MemberRank
    May 2008 Join Date
    12Posts

    Re: [Release]Rebirth column for darkmagic's ranking

    Thanks



Page 1 of 2 12 LastLast

Advertisement