d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1383940414260Next
Add Reply New Topic New Poll
Member
Posts: 3,722
Joined: Mar 23 2009
Gold: 1,000.00
May 28 2009 11:53pm
can anyone help me with this ^^ i got the sig.........but the text part etc epic fail im a total java noob anyhelp please? :) thanksss
Banned
Posts: 4,682
Joined: Jul 11 2008
Gold: 26,791.50
Warn: 20%
May 29 2009 12:08am
Quote (jenkie @ Fri, May 29 2009, 12:53am)
can anyone help me with this ^^ i got the sig.........but the text part etc epic fail im a total java noob anyhelp please? :) thanksss


I think PHP works better than Java for making dynamic signatures.
Member
Posts: 3,722
Joined: Mar 23 2009
Gold: 1,000.00
May 29 2009 12:13am
Quote (kickassjoe @ Fri, May 29 2009, 01:08am)
I think PHP works better than Java for making dynamic signatures.


thing is with the coding the guide user did..i still have no clue what im doing. Can someone please help me? ^^

Like..where would i input the Name etc etc..im reading through the codes..but i dunno where i enter the stuff..it would be nice if someone could send me/explain me the coding n how to input the info and such.

thankss

This post was edited by jenkie on May 29 2009 12:16am
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 29 2009 01:24am
if you read the guide carefully you can see this

//here is where you put your name


press first page and ctrl+f (find option) and type: name

that way you get to the part where you put your name in.
Member
Posts: 3,722
Joined: Mar 23 2009
Gold: 1,000.00
May 29 2009 08:57am
Quote (coldguy @ Fri, May 29 2009, 02:24am)
if you read the guide carefully you can see this

//here is where you put your name


press first page and ctrl+f (find option) and type: name

that way you get to the part where you put your name in.


hits me with the invalid string thing..=/

like for instance i know the name part u put it in here

$name = $data->name; so whats it suppose to be for me? $name = $data->('Jenkie'); ? or $name = $data -> Jenkie; The way its suppose to be put...is whats confusing me.

Thanks for help!

This post was edited by jenkie on May 29 2009 09:01am
Member
Posts: 4,921
Joined: Mar 25 2008
Gold: 1.02
May 29 2009 09:49am
/******************************************************
* TEXT PART *
******************************************************/

//Example; ImageTTFText ($image, textsize, angle, right indent, down indent, color, font, "text");

// EXP bar text
ImageTTFText ($image, 9, 0, 122, 69, $yellow, $font, "To Level: ");
ImageTTFText ($image, 9, 0, 220, 69, $yellow, $font, $percent."%");

//show name
ImageTTFText ($image, 9, 0, 122, 33, $yellow, $font, "HC Name: ");
ImageTTFText ($image, 9, 0, 180, 33, $red, $font, $name);

//show class
ImageTTFText ($image, 9, 0, 280, 33, $yellow, $font, "Class: ");
ImageTTFText ($image, 9, 0, 320, 33, $red, $font, $class);

// show lvl
ImageTTFText ($image, 9, 0, 122, 45, $yellow, $font, "Level: ");
ImageTTFText ($image, 9, 0, 162, 45, $red, $font, $level);

//show experience
ImageTTFText ($image, 9, 0, 180, 45, $yellow, $font, "Experience: ");
ImageTTFText ($image, 9, 0, 250, 45, $red, $font, $exp);

// show kills
ImageTTFText ($image, 9, 0, 312, 45, $yellow, $font, "Kills: ");
ImageTTFText ($image, 9, 0, 352, 45, $red, $font, $kills);

// Show HP max
ImageTTFText ($image, 9, 0, 122, 57, $yellow, $font, "HP: ");
ImageTTFText ($image, 9, 0, 145, 57, $red, $font, $hpmax);

// SHow MQ passen and attempts
ImageTTFText ($image, 9, 0, 242, 57, $yellow, $font, "MQ passes/attempts: ");
ImageTTFText ($image, 9, 0, 357, 57, $red, $font, $mqpasses."/".$mqattempts);

// Show useless shizzle
ImageTTFText ($image, 9, 0, 122, 82, $yellow, $font, "-------------------------------------");
ImageTTFText ($image, 9, 0, 122, 95, $red, $font, "GoT-Guild LadderSlasher Player | Bring ce GPs!");

// output and destroy
imagepng($image);
imagedestroy($image);




--------------------------------------------------------------------------------------------------------------

for example:

ImageTTFText ($image, 9, 0, 122, 33, $yellow, $font, "HC Name: ");
ImageTTFText ($image, 9, 0, 180, 33, $red, $font, $name);

HC Name is something that you can change,
$name is data the php thing loads from your data. so at $name > it will generate the name of your player


you will need this kind of page: http://ladderslasher.d2jsp.org/xmlChar.php?i=211840
Member
Posts: 5,997
Joined: Sep 7 2008
Gold: 70.00
May 29 2009 09:54am
hmm i think i will make a try^^
Member
Posts: 27,007
Joined: Feb 15 2007
Gold: 0.77
May 30 2009 05:12am
Mhhhm, ok so I copy his files the same (Changed the font to Arial only) to test if its my website or what I'm doing (I downoaded the Rar) and I get this

www.ukz.ukgamers.com/Sigs/Test/don.png.php5

www.ukz.ukgamers.com/sigs/test/bg.png
www.ukz.ukgamers.com/sigs/test/.htaccess
www.ukz.ukgamers.com/sigs/test/arial.ttf

Thats all the files in 1 folder
Member
Posts: 20,225
Joined: Apr 30 2008
Gold: 5,168.97
May 30 2009 06:13am
from the moment i upload the ".htaccess" file, my server is unusable... can't open any files from it anymore, and can't even display list of the files... :( anybody knows why?
Member
Posts: 4,797
Joined: Jan 5 2009
Gold: 89.00
May 30 2009 02:35pm
Quote (Viona @ Sat, May 30 2009, 06:13am)
from the moment i upload the ".htaccess" file, my server is unusable... can't open any files from it anymore, and can't even display list of the files... :( anybody knows why?


I dont use the .htaccess file and it works great. Try deleting it and just forgetting about it. It might help
Go Back To Ladder Slasher Topic List
Prev1383940414260Next
Add Reply New Topic New Poll