Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 32 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: November 28th, 2004, 3:07 pm 
Dragon Member
User avatar
Offline

Joined: November 28th, 2004, 3:03 pm
Posts: 2845
RS Name: Xolor
RS Status: Classic
nitr021, awesome sig... you still gonna post the script for it? I've been working on something, but it's not exactly working... can anybody tell me what's wrong with this:

Code:
<?php
  $UserStats = array ( Overall=>"--",Attack=>"--",Defence=>"--",Strength=>"--",Hitpoints=>"--",Ranged=>"--",
                      Prayer=>"--",Magic=>"--",Cooking=>"--",Woodcutting=>"--",Fletching=>"--",Fishing=>"--",
                      Firemaking=>"--",Crafting=>"--",Smithing=>"--",Mining=>"--",Herblore=>"--",Agility=>"--",
                      Thieving=>"--",Runecrafting=>"--" );
$countDown = -1;
$curSkill = "";
$user = $_GET['user'];
if ($user) {
$url = "http://hiscore.runescape.com/aff/runescape/hiscorepersonal.cgi?username=" . $user;
  $pointer = fopen($url, "r"); // the @ suppresses errors so you have to test the pointer for existence


   if ($pointer) {
     while (!feof($pointer)) {
       $preTEXT = fgets($pointer, 999);
       if (strpos($preTEXT,">Overall<")) { $countDown = 2; $curSkill = "Overall";}
       if (strpos($preTEXT,">Magic<")) { $countDown = 2; $curSkill = "Magic";}
       if (strpos($preTEXT,">Fishing<")) { $countDown = 2; $curSkill = "Fishing";}
       if (strpos($preTEXT,">Hitpoints<")) { $countDown = 2; $curSkill = "Hitpoints";}
       if ($countDown == 0) {
         if ($curSkill == "Overall") { $UserStats[$curSkill] = $preTEXT; $curSkill = "";}
         if ($curSkill == "Magic") { $UserStats[$curSkill] = $preTEXT; $curSkill = ""; }
         if ($curSkill == "Fishing") { $UserStats[$curSkill] = $preTEXT; $curSkill = ""; }
         if ($curSkill == "Hitpoints") { $UserStats[$curSkill] = $preTEXT; $curSkill = ""; }
       }
       $countDown = $countDown - 1;
     }
     fclose($pointer);
     $UserStats[Name] = $user;
   }

header("Content-type: image/jpeg");
$imurl = "dynamic.jpg";
$image = imagecreatefromjpeg($imurl);
$txtclr = imagecolorallocate($image, 39, 32, 29);
imagettftext($image,40,0,47,63,$txtclr,"../../fonts/ARRRMB__.TTF",$UserStats[Name]);
imagettftext($image,36,0,153,63,$txtclr,"../../fonts/ARRRMB__.TTF",$UserStats[Overall]);
imagettftext($image,30,0,200,63,$txtclr,"../../fonts/ARRRMB__.TTF",Skill);
imagettftext($image,48,0,62,115,$txtclr,"../../fonts/ARRRMB__.TTF",$UserStats[Magic]);
imagettftext($image,48,0,137,115,$txtclr,"../../fonts/ARRRMB__.TTF",$UserStats[Fishing]);
imagettftext($image,48,0,207,115,$txtclr,"../../fonts/ARRRMB__.TTF","$UserStats[Hitpoints]");
imagejpeg($image,"",95);
imagedestroy($image);
}
?>


It's meant to be dynamic.php?user=blah


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: November 28th, 2004, 3:07 pm 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: November 28th, 2004, 3:12 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
fine i will

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 3:19 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
i am trying to sell the script now

_________________
Image


Last edited by nitr021 on December 2nd, 2004, 4:02 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 4:21 pm 
Dragon Member
User avatar
Offline

Joined: November 28th, 2004, 3:03 pm
Posts: 2845
RS Name: Xolor
RS Status: Classic
Thank you... what the heck, my computer wont open the Snoopy GZ file... lol

_________________
Sincerely, Dan
Former Rsbandb Staff


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 4:24 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
get winrar

and spread the fox on fire. get firefox

oh and also please do write my name somewhere around

oh can i have your url so that i can visit my script at work?

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 4:27 pm 
Dragon Member
User avatar
Offline

Joined: November 28th, 2004, 3:03 pm
Posts: 2845
RS Name: Xolor
RS Status: Classic
Yeah... and yes Firefox rocks :D

The site is not up yet, right now I'm perfecting it on my localhost server, but as soon as it is up I will give you the URL and give you full credit for scripting it :)

_________________
Sincerely, Dan
Former Rsbandb Staff


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: November 28th, 2004, 4:27 pm 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject:
PostPosted: November 28th, 2004, 4:31 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
no problem
my host is fuked
im getting a new one which is well better. i have never seen that one down. but the one i have you can expect a nuke on your browser while viewing my site


i mite have been around the few who has open source the scripts to grab the stats. and i should welcome more people to do so with other scripts

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 4:37 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
watch maybe rsbandb will delete this post incase of competition

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 6:11 pm 
Rsbandb Donor
Offline

Joined: November 1st, 2004, 12:35 pm
Posts: 499 ca
RS Name: General aj01
RS Status: Classic
Clan Name: None
dude can u post the script pls i want to know how u did it :D
in full
and if they do well i would be very mad and all my next post would be is ****'s so i personaly don't think that they will

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 6:17 pm 
Dragon Member
User avatar
Offline

Joined: November 28th, 2004, 3:03 pm
Posts: 2845
RS Name: Xolor
RS Status: Classic
It's right there...

_________________
Sincerely, Dan
Former Rsbandb Staff


Top
 Profile  
 
 Post subject:
PostPosted: November 28th, 2004, 11:02 pm 
nitr021 wrote:
ok done here is my signature that i made
Image



nice man.. If i were you i'd put background from RuneHQ!!! you think ur so smart, just get their back ground use some programs( such as photoshop )

am i right don't be mad... still nice way of doing it though


Top
  
 
 Post subject:
PostPosted: November 29th, 2004, 1:15 am 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
nvm

_________________
Image


Last edited by nitr021 on December 2nd, 2004, 4:03 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: November 29th, 2004, 1:27 am 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
oh and also its ok not to put from runehq because i gave a script on how to grab the stats and they didn't put my name so i dn't put theres

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: November 29th, 2004, 8:10 am 
Dragon Member
User avatar
Offline

Joined: November 28th, 2004, 3:03 pm
Posts: 2845
RS Name: Xolor
RS Status: Classic
huh? You scripted the RuneHQ sig?

_________________
Sincerely, Dan
Former Rsbandb Staff


Top
 Profile  
 
 Post subject:
PostPosted: November 29th, 2004, 12:25 pm 
Steel Member
Offline

Joined: November 10th, 2004, 12:05 pm
Posts: 45
Location: uk but from mauritius
RS Name: nitr021
RS Status: Classic
well used it was sort of like that he asked for the script so i gave it to them
http://icefuzion.com/sig/

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies. Forum Index » RSBandB » RuneScape Bits & Bytes Site » Dynamic Sig Go to page Previous  1, 2, 3  Next
Page 2 of 3 [ 32 posts ]

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to: