Jump to content

Elnaeth

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Elnaeth

  1. I got back to Runescape in August, and found that most of the stat tracking sites out there were either slow, not updated, or lacking in functionality in some way. I decided I wanted to build my own one, and started working on Trackscape.

     

    For now it's just a basic set of functionality, but since I'm actively developing new functions for it, I'd love to get suggestions for new stuff I could add!

     

    Check it out, it's available over at http://trackscape.nl, I hope to see many of you soon!

     

    - Elnaeth

    • Like 1
  2. To be perfectly honest, I think jagex shouldn't interfere nor mingle in their clients' personal lives and choices. Their life, their choice. (I'm not saying it's a good idea to commit suicide though, in my opinion it's _the_ worst way to "solve" your problems and issues)

  3. HYT!

     

    I have recently relaunched my old website (formerly www.spidey-666.com) on a new domain, layout, and all that hoo-hah!

     

    The url is www.elnaeth.com, and I'll explain what it is I do now:

     

    I have created a couple of scripts (the programming language is PHP for those who are interested) that run once every 24 hours for all the registered members on my website. When it runs, it takes a snapshot of your stats at that moment as they appear in the highscores, determines how much exp you've gained since the last snapshot, and then proceeds to save this data in my database.

     

    For your viewing pleasures I've created a few output pages based off of this data:

     

    - Top 25 gains over 24 hours for every skill

    - Top 50 members of my website for every skill

    - Graphs of overall exp gain for a period of 2 weeks

    - A table that states all of the exp you've gained over 2 weeks, every skill, every day

    - Dynamically generated signatures showing the exp you gained over the last 24 hours (look at my signature for example)

    - Slayer task logs (I'm a sucker for anything Slayer related :D)

     

     

    More is still to come, I'm just looking to get more members right now, so I can get more feedback and suggestions.

     

    Sorry for the long post; and if I'm in the wrong board (or against the rules or something), I'm very sorry! I'm just completely stumped at how I'm going to get more members right now..

     

     

    Hope to see you get tracked on my site soon,

    - Rick, www.elnaeth.com

     

     

    PS. For any questions, pm me, email me, whatever :P

  4. That's the nice part. Anyone willing to lend a hand in designing signatures will be given a template of correct dimensions with all the skill symbols at the right coordinates. You can use those to make your own design, if you want to you can even be the only person able to use it.

     

     

    There are I think 13 designs to choose from, of which 6 haven't been implemented yet.

  5. <?php
    function numberFormatterTwo($number)
    {
    if ($number >= "1000")
    {
    	$new = floor($number / 1000);
    	$new .= "k";
    }
    else
    {
    	$new = $number;
    }
    return $new;
    }
    
    foreach ($usernames as $username)
    {
    
    $result = mysql_query($query);
    $obj = mysql_fetch_object($result);
    $background = $obj->sig_background;
    
    $template = $background . ".png";
    
    $im = imagecreatefrompng("signatures/templates/$template");
    
    
    $result = mysql_query($query);
    $rijen = mysql_num_rows($result);
    
    if ($rijen == "0")
    {
    // niks doen
    }
    else
    {
    while ($obj = mysql_fetch_object($result))
    {
    	$overall = numberFormatterTwo($obj->overall);
    	$attack = numberFormatterTwo($obj->attack);
    	$defence = numberFormatterTwo($obj->defence);
    	$strength = numberFormatterTwo($obj->strength);
    	$hitpoints = numberFormatterTwo($obj->hitpoints);
    	$slayer = numberFormatterTwo($obj->slayer);
    	$ranged = numberFormatterTwo($obj->ranged);
    
    	$prayer = numberFormatterTwo($obj->prayer);
    	$magic = numberFormatterTwo($obj->magic);
    	$cooking = numberFormatterTwo($obj->cooking);
    	$woodcutting = numberFormatterTwo($obj->woodcutting);
    	$fletching = numberFormatterTwo($obj->fletching);
    	$fishing = numberFormatterTwo($obj->fishing);
    
    	$firemaking = numberFormatterTwo($obj->firemaking);
    	$crafting = numberFormatterTwo($obj->crafting);
    	$smithing = numberFormatterTwo($obj->smithing);
    	$mining = numberFormatterTwo($obj->mining);
    	$herblore = numberFormatterTwo($obj->herblore);
    	$agility = numberFormatterTwo($obj->agility);
    
    	$thieving = numberFormatterTwo($obj->thieving);
    	$farming = numberFormatterTwo($obj->farming);
    	$runecrafting = numberFormatterTwo($obj->runecrafting);
    	$hunter = numberFormatterTwo($obj->hunter);
    	$construction = numberFormatterTwo($obj->construction);
    	$summoning = numberFormatterTwo($obj->summoning);	
    }
    
    // Create some colors
    $white = imagecolorallocate($im, 255, 255, 255);
    $black = imagecolorallocate($im, 0, 0, 0);
    
    // templates:
    // 1 = abby demon
    // 2 = geyser titan
    // 3 = k'ril tsu'taroth
    // 4 = TSG themed
    
    if ($background == "1" || $background == "5" || $background == "6" || $background == "3" || $background == "4")
    {
    $color = $white;
    }
    
    if ($background == "2" || $background == "7")
    {
    $color = $black;
    }
    
    // Replace path by your own font path
    $font = '/ns/calibri.ttf';
    
    //format: $im, size of font, angle of font, x coord, y coord, color, font, text
    imagettftext($im, 18, 0, 2, 20, $color, $font, $username);
    imagettftext($im, 11, 0, 19, 38, $color, $font, $overall);
    imagettftext($im, 11, 0, 19, 53, $color, $font, $attack);
    imagettftext($im, 11, 0, 19, 69, $color, $font, $defence);
    imagettftext($im, 11, 0, 19, 86, $color, $font, $strength);
    imagettftext($im, 11, 0, 19, 102, $color, $font, $hitpoints);
    imagettftext($im, 11, 0, 19, 118, $color, $font, $ranged);
    
    imagettftext($im, 11, 0, 94, 38, $color, $font, $prayer);
    imagettftext($im, 11, 0, 94, 53, $color, $font, $magic);
    imagettftext($im, 11, 0, 94, 69, $color, $font, $cooking);
    imagettftext($im, 11, 0, 94, 86, $color, $font, $woodcutting);
    imagettftext($im, 11, 0, 94, 102, $color, $font, $fletching);
    imagettftext($im, 11, 0, 94, 118, $color, $font, $fishing);
    
    imagettftext($im, 11, 0, 168, 38, $color, $font, $firemaking);
    imagettftext($im, 11, 0, 168, 53, $color, $font, $crafting);
    imagettftext($im, 11, 0, 168, 69, $color, $font, $smithing);
    imagettftext($im, 11, 0, 168, 86, $color, $font, $mining);
    imagettftext($im, 11, 0, 168, 102, $color, $font, $herblore);
    imagettftext($im, 11, 0, 168, 118, $color, $font, $agility);
    
    imagettftext($im, 11, 0, 241, 22, $color, $font, $thieving);
    imagettftext($im, 11, 0, 241, 38, $color, $font, $slayer);
    imagettftext($im, 11, 0, 241, 53, $color, $font, $farming);
    imagettftext($im, 11, 0, 241, 69, $color, $font, $runecrafting);
    imagettftext($im, 11, 0, 241, 86, $color, $font, $hunter);
    imagettftext($im, 11, 0, 241, 102, $color, $font, $construction);
    imagettftext($im, 11, 0, 241, 118, $color, $font, $summoning);
    
    
    // Storage folder handle
    $storFolder = "images/signatures/";
    $filename = $username . ".png";
    
    if (is_file($storFolder . $filename))
    {
    unlink ($storFolder . $filename);
    }
    imagepng($im, $storFolder . $filename, 3);
    
    // Free up some memory :D
    imagedestroy($im);
    unset ($color);
    }
    }
    ?>
    
    

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.