d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1535455565760Next
Add Reply New Topic New Poll
Member
Posts: 26,026
Joined: Jun 13 2007
Gold: 23.70
Aug 30 2009 10:10am
// Create an expbar with bg 'cool' color and the cover of your level in red.
imagefilledrectangle($image, 180, 59, 280, 71, $cool);
imagefilledrectangle($image, 180, 59, $brpixelX, 71, $red);

Can any1 please tell me which property affect the X and Y ? cause everytime I change 180 and 59 the width/lenght of the exp bar is getting affected not the X and Y (which is the location of the bar).

ty in advance
Member
Posts: 20,138
Joined: Oct 3 2008
Gold: 4,271.99
Aug 31 2009 03:03pm
I'm havin trouble doing the first step.

Quote
2. Check your server
ohmy.gif Q: "How can I check if I have the good configuration?"
thumbsup.gif A: "read below."

To check if your server is correctly installed for this type of signature it needs to have PHP5 installed, and it needs http://www.libgd.org/Main_Page to be installed. This can be checked in the following way.

-1. In notepad (or something just like it) create two files called gd.php5 and info.php5. Paste the following code inside those two files:


what do i need to download?
and do i just upload the whole folder in my server?
download gd-2.0.35 and droped it in my server?


This post was edited by JAYZONE on Aug 31 2009 03:10pm
Member
Posts: 9,614
Joined: Apr 21 2008
Gold: 7,601.66
Aug 31 2009 03:09pm
Quote (JAYZONE @ Mon, 31 Aug 2009, 23:03)
I'm havin trouble doing the first step.



what do i need to download?
and do i just upload the whole folder in my server?


your host needs to have that installed on their servers, not you ;)
Member
Posts: 15,364
Joined: May 11 2003
Gold: 11,084.90
Sep 2 2009 08:11am
Quote (pu3ska @ Sun, Aug 30 2009, 12:10pm)
// Create an expbar with bg 'cool' color and the cover of your level in red.
imagefilledrectangle($image, 180, 59, 280, 71, $cool);
imagefilledrectangle($image, 180, 59, $brpixelX, 71, $red);

Can any1 please tell me which property affect the X  and Y ? cause everytime I change 180 and 59 the width/lenght of the exp bar is getting affected not the X and Y (which is the location of the bar).

ty in advance


Quote (Skitty @ Thu, Dec 11 2008, 07:10pm)
imagefilledrectangle($image, X-Coordinate of Bar Background, Y-Coordinate of Bar Background, End X-Coordinate of Bar Background, End Y-Coordinate of Bar Background, $cool);
imagefilledrectangle($image, X-Coordinate of Bar, Y-Coordinate of Bar, $brpixelX (icon_pointl.gif The calculated End X-Coordinate of Bar), End Y-Coordinate of Bar, $red);


Using the flapmo's guide.. you must also edit the width/height if you decide to change things.

Code
// set some dimensions for future use
$expbar_width = 100;
$expbar_height= 25;



Member
Posts: 9,437
Joined: Jan 3 2008
Gold: 2.85
Oct 1 2009 07:19pm
does anybody know how to make the sig chage pics as u pass mqs?
Member
Posts: 9,614
Joined: Apr 21 2008
Gold: 7,601.66
Oct 1 2009 07:23pm
Quote (keefer7 @ Fri, 2 Oct 2009, 03:19)
does anybody know how to make the sig chage pics as u pass mqs?


yes :)
Member
Posts: 9,437
Joined: Jan 3 2008
Gold: 2.85
Oct 1 2009 07:43pm
Quote (cyphrex @ Thu, Oct 1 2009, 09:23pm)
yes :)


well phlux is gonna show me how to do some things but he hasnt got on vent to let me know how to do this and this is like the last thing i need to know now to make charters :P well im testing atm so
Member
Posts: 22,448
Joined: Aug 31 2007
Gold: 8,178.38
Oct 8 2009 12:56pm
How to show the ladder position of your character:

Code
function laddernr($charid) {
 $a = file('http://ladderslasher.d2jsp.org/index.php?a=3&h=0&t=3&c=0');
   for($i=0;$i<count($a);$i++) {
       if(strpos($a[$i], 'p='.$charid)) $r = trim(strip_tags($a[$i-1]));
   }
 return (isset($r)) ? $r : 'not on ladder';
}


on which ladder --> change the row below to whatever you want from here
Code
$a = file('http://ladderslasher.d2jsp.org/index.php?a=3&h=0&t=3&c=0');


call the function with your charid like this
Code
laddernr(375924)


This post was edited by dunaicapa on Oct 8 2009 01:00pm
Member
Posts: 15,364
Joined: May 11 2003
Gold: 11,084.90
Oct 8 2009 01:03pm
Quote (dunaicapa @ Thu, Oct 8 2009, 02:56pm)
How to show the ladder position of your character


Neat code dun. :hug:

This post was edited by GimmeCoffee on Oct 8 2009 01:03pm
Member
Posts: 9,437
Joined: Jan 3 2008
Gold: 2.85
Oct 8 2009 04:07pm
Quote (dunaicapa @ Thu, Oct 8 2009, 02:56pm)
How to show the ladder position of your character:

Code
function laddernr($charid) {
 $a = file('http://ladderslasher.d2jsp.org/index.php?a=3&h=0&t=3&c=0');
   for($i=0;$i<count($a);$i++) {
       if(strpos($a[$i], 'p='.$charid)) $r = trim(strip_tags($a[$i-1]));
   }
 return (isset($r)) ? $r : 'not on ladder';
}


on which ladder --> change the row below to whatever you want from here
Code
$a = file('http://ladderslasher.d2jsp.org/index.php?a=3&h=0&t=3&c=0');


call the function with your charid like this
Code
laddernr(375924)


i dont get this

how does it work?

like how does it show it/ will it show on a sig?
Go Back To Ladder Slasher Topic List
Prev1535455565760Next
Add Reply New Topic New Poll