d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1353637383960Next
Add Reply New Topic New Poll
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 18 2009 03:00pm
how do i move the exp bar properly without messing it up?
Member
Posts: 53,369
Joined: Jun 8 2007
Gold: 87,872.00
May 18 2009 03:15pm
Quote (coldguy @ Mon, 18 May 2009, 22:00)
how do i move the exp bar properly without messing it up?


Quote
// Create an expbar with bg 'cool' color and the cover of your level in red.
imagefilledrectangle($image, 235, 46, 365, 56, $black); big square
imagefilledrectangle($image, 236, 47, $brpixelX, 55, $white); lil square


235 - 265 = width
46-56 = height
236 = inner width
47-55 = inner height



next step:
in code:
Quote
//function calcBrPixelX($input,$xpbar_width)
  {
$temp1 = fmod($input,1000000);
$temp1 = ($temp1/1000000);
$temp1 = $temp1 * $xpbar_width;
$temp1 = $temp1 + 235; <-- change this value to be same as THIS

return (int)$temp1;
  }
Member
Posts: 12,935
Joined: Dec 10 2007
Gold: 0.00
May 18 2009 04:06pm
i dont get how to do it still.. lol
Member
Posts: 25,450
Joined: Sep 22 2007
Gold: Locked
Trader: Scammer
May 18 2009 04:08pm
Quote (unicoke @ Mon, May 18 2009, 06:06pm)
i dont get how to do it still.. lol


If you need help, feel free to PM me with any questions!
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 19 2009 02:46am
thanks alot jakuloel!
Member
Posts: 5,245
Joined: Jul 15 2008
Gold: 2,221.65
May 19 2009 04:05am
Nice, thanks! =)
Member
Posts: 9,088
Joined: Jan 12 2007
Gold: 8,919.04
May 19 2009 04:07am
Quote (coldguy @ Sat, May 16 2009, 04:08pm)
why wont my img show?

http://coldguy.comxa.com/dynamicsig/coldguy.png



just found out that my crap hosting thing doesn't support this. who got a good free host?


yeah i dont suggest 1and1
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 19 2009 10:31am
question...

what is the prof on the bottom?

http://ladderslasher.d2jsp.org/xmlChar.php?i=211840

and how can i use it?

This post was edited by coldguy on May 19 2009 10:34am
Member
Posts: 791
Joined: Jun 25 2008
Gold: 273.48
May 19 2009 10:34am
coldguy, did you try doing this with 1and1 hosting? I'm using them right now and I cannot get this to work.
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 19 2009 10:53am
i got a fine webhost right now.

www.000webhost.com or something right click my sig and press properties
Go Back To Ladder Slasher Topic List
Prev1353637383960Next
Add Reply New Topic New Poll