d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1313233343560Next
Add Reply New Topic New Poll
Member
Posts: 4,620
Joined: Aug 3 2008
Gold: 525.25
Apr 24 2009 02:17pm
Quote (Flury69589 @ Fri, Apr 24 2009, 04:06pm)
i used wordpad

and i didnt change anything to do with colors, it should be how it came


the problem is probably wordpad.

You need to use a no frills text editor.

start over (dont use the same one )
and try using NOTEPAD.
Member
Posts: 3,922
Joined: Apr 17 2006
Gold: 34.43
Apr 24 2009 02:35pm
I'll just re-download flapmo's file, and upload that without the editing and see what happens.

Am I suppose to do anything with the text file? because if so then that would probably be the problem

~ just downloaded the original files, uploaded them.

http://flury.freehostia.com/flury/index/don.php

Same thing, no change.

Edited again ~ Added the TTF text file into the directory and now it appears to work.

http://flury.freehostia.com/flury/index/don.php

Next question is, how come it wont show up as a picture, even when I put [img][/img] around it?

This post was edited by Flury69589 on Apr 24 2009 02:46pm
Member
Posts: 20,664
Joined: Aug 20 2006
Gold: 620.00
Apr 24 2009 02:44pm
Quote (Flury69589 @ Fri, Apr 24 2009, 09:35pm)
I'll just re-download flapmo's file, and upload that without the editing and see what happens.

Am I suppose to do anything with the text file? because if so then that would probably be the problem

~ just downloaded the original files, uploaded them.

http://flury.freehostia.com/flury/index/don.php

Same thing, no change.


send me code and I'll have a look and check if there's anything wrong
Member
Posts: 3,922
Joined: Apr 17 2006
Gold: 34.43
Apr 24 2009 03:03pm
I got the image to work now. The character stats aren't loading though. It's only a template. Does this have to do with how i'm formatting it in the upload.

Here is whats in the script

$data = simplexml_load_file('http://ladderslasher.d2jsp.org/xmlChar.php?i=83435');

Isn't this suppose to take the information, and transfer it to the sheet?
Member
Posts: 12,161
Joined: May 10 2006
Gold: 2,770.00
Apr 24 2009 03:17pm
Need little help, i'm making sign for fun, but i need to add 2 char info on the same sign, How i can do that, maybe can give me an exemple of script with 2 differents char :)
Member
Posts: 20,664
Joined: Aug 20 2006
Gold: 620.00
Apr 24 2009 03:40pm
Quote (Clement @ Fri, Apr 24 2009, 10:17pm)
Need little help, i'm making sign for fun, but i need to add 2 char info on the same sign, How i can do that, maybe can give me an exemple of script with 2 differents char :)


just add this a 2nd time
ofc you need to rename $data, $name, $kills etc to $data2, $name2 ....
and then just continue like always ;)
and if you need to add 2nd exp bar or w/e you ofc need to make 2nd calc part aswell

Code
// This is where you load your own info from the xml d2jsp gives. This is a PHP5 only command!
$data2 = simplexml_load_file('http://ladderslasher.d2jsp.org/xmlChar.php?i=146106');
$name = $data2->name;
$kills2 = $data2->kills;
$class2 = $class_name[(int)$data2->classid];
$exp2 = $data2->exp;
$level2 = $data2->level;
$hpmax2 = $data2->hpmax;
$mqpasses2 = $data2->mqpasses;
$mqattempts2 = $data2->mqattempts;
$exp2 = (int)$exp2;
$percent2 = calcExpPercent($exp2);
$brpixelX2 = calcBrPixelX($exp2,$expbar_width);


This post was edited by erasko on Apr 24 2009 03:41pm
Member
Posts: 3,922
Joined: Apr 17 2006
Gold: 34.43
Apr 24 2009 03:45pm
Quote (Flury69589 @ Fri, Apr 24 2009, 02:35pm)
I'll just re-download flapmo's file, and upload that without the editing and see what happens.

Am I suppose to do anything with the text file? because if so then that would probably be the problem

~ just downloaded the original files, uploaded them.

http://flury.freehostia.com/flury/index/don.php

Same thing, no change.

Edited again ~ Added the TTF text file into the directory and now it appears to work.

http://flury.freehostia.com/flury/index/don.php

Next question is, how come it wont show up as a picture, even when I put  around it?


http://flury.freehostia.com/flury/index/don.php
Member
Posts: 3,922
Joined: Apr 17 2006
Gold: 34.43
Apr 28 2009 04:11pm
Any idea on what would prevent this?
Member
Posts: 16,559
Joined: Apr 24 2006
Gold: 0.00
May 3 2009 06:41am
some1 knows where i can find GOOD & WORKING guide how to make dynamic LS sig?
i'm not sure about this one form the beging of ths post :(

Quote (Sammyray @ Sun, 3 May 2009, 13:43)
this one is the best u can find ;)

R U sure?

This post was edited by bidon666 on May 3 2009 06:46am
Member
Posts: 18,656
Joined: Feb 28 2006
Gold: 32,277.35
May 3 2009 06:43am
Quote (bidon666 @ Sun, May 3 2009, 01:41pm)
some1 knows where i can find GOOD & WORKING guide how to make dynamic LS sig?
i'm not sure about this one form the beging of ths post :(


this one is the best u can find ;)
Go Back To Ladder Slasher Topic List
Prev1313233343560Next
Add Reply New Topic New Poll