PHP Character Image Generator

Re: [Release] PHP Character Image Generator

:D Soph, just Pm me if you need any help. This is what I got


Thats a pretty nice script. The only critique I have for it is the hair with certain hats. You need to make sure it still displays them not flattened for things like flowers, headbands etc.

Although it made me remember mine lacks shields. I'll have to look into those for a later revision.

@SaintsIan. Thanks for explaining to xkuromi.
 
Re: [Release] PHP Character Image Generator

There is a guide on using it xkuromi.

So basically its no ranking at all! You can make your own signature generator with this or character simulator anything!
BUT THIS IS THE CORE Link...
[HAIRID]&e=[EYESID]&w=[WEPID]&a=1002568&c=1102096&t=1042056&b=1061007&g=1082162&s=1072186&acc=1032020&acc2=[Accessory2ID]&acc3=[Accesory3ID]&n=[CharacterName]&j=SuperGM&bg=0
You have to edit those values to see a difference like h is hair so you basically change the 31526 to the hair you want and go to the link. Its simple really but to integrate it to ranking thats a different story which i do not have time to explain.
Sorry i did not cover some of the id thingy but you get the point :)

What i wan is to be able to show it at the ranking page, which i do not know how... You typed so much but you are not on that point. Anyway thx for trying to help. You are definitely better than those who got theirs working and showing off to others continuously, without helping those who can't get theirs working.
 
Re: [Release] PHP Character Image Generator

xkuromi i do believe i have explained this and if you have provided me with a more precise question i could have answered it in the first place.
as i mentioned...
"Its simple really but to integrate it to ranking thats a different story which i do not have time to explain."
And if you want it to work like that you can use php fetch and SELECT * FROM accounts WHERE name =..etc.
I cant explain cuz it depends how your ranking is layed out and it will take too long for me to do it for you since this script is available for many functions! But i have two ideas in mind which i do not have time to work on for now...
Its using <?php echo... for the link or changing the whole script to work for rankings and i do not have a databse to test this out since all my main are under repair.
I deeply apologize but try playing around with it. i desperately need a server with cahracters to test.
 
Re: [Release] PHP Character Image Generator

xkuromi i do believe i have explained this and if you have provided me with a more precise question i could have answered it in the first place.
as i mentioned...
"Its simple really but to integrate it to ranking thats a different story which i do not have time to explain."
And if you want it to work like that you can use php fetch and SELECT * FROM accounts WHERE name =..etc.
I cant explain cuz it depends how your ranking is layed out and it will take too long for me to do it for you since this script is available for many functions! But i have two ideas in mind which i do not have time to work on for now...
Its using <?php echo... for the link or changing the whole script to work for rankings and i do not have a databse to test this out since all my main are under repair.
I deeply apologize but try playing around with it. i desperately need a server with cahracters to test.

I had posted my script on top.. can't you see it?
 
Re: [Release] PHP Character Image Generator

xkuromi i do believe i have explained this and if you have provided me with a more precise question i could have answered it in the first place.
as i mentioned...
"Its simple really but to integrate it to ranking thats a different story which i do not have time to explain."
And if you want it to work like that you can use php fetch and SELECT * FROM accounts WHERE name =..etc.
I cant explain cuz it depends how your ranking is layed out and it will take too long for me to do it for you since this script is available for many functions! But i have two ideas in mind which i do not have time to work on for now...
Its using <?php echo... for the link or changing the whole script to work for rankings and i do not have a databse to test this out since all my main are under repair.
I deeply apologize but try playing around with it. i desperately need a server with cahracters to test.

Correct. Its not designed for any single ranking system, its for any purpose. For example it could even be used to generate sigs. The echo method for ranking pages would be the best choice unless you wanted to make it specifically designed for your ranking pages, I did this for mine:

Code:
          echo '<tr style="text-align: left;">';
          echo '<td><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td width=15%>'.($count + 1).'</td><td>'.
          '<img src="char.php?h='.$f6.'&e='.$f7.'&w='.$w1.'&a='.$w2.'&c='.$w3.'&t='.$w4.'&b='.$w5.'&g='.$w6.'&s='.$w7.'&acc='.$w8.'&acc2='.$w9.'&acc3='.$w10.'&n='.$f22.'&j='.$f3.'&bg=1" title="'.trim($f22).'\'s Character">'.
          '</td></tr></table></td><td>'.$f4.'</td><td>'.$f5.'</td>';
          echo '</tr>';
I apologise for the mess as this is from a script which isn't going to be released.
 
Re: [Release] PHP Character Image Generator

Correct. Its not designed for any single ranking system, its for any purpose. For example it could even be used to generate sigs. The echo method for ranking pages would be the best choice unless you wanted to make it specifically designed for your ranking pages, I did this for mine:

Code:
          echo '<tr style="text-align: left;">';
          echo '<td><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td width=15%>'.($count + 1).'</td><td>'.
          '<img src="char.php?h='.$f6.'&e='.$f7.'&w='.$w1.'&a='.$w2.'&c='.$w3.'&t='.$w4.'&b='.$w5.'&g='.$w6.'&s='.$w7.'&acc='.$w8.'&acc2='.$w9.'&acc3='.$w10.'&n='.$f22.'&j='.$f3.'&bg=1" title="'.trim($f22).'\'s Character">'.
          '</td></tr></table></td><td>'.$f4.'</td><td>'.$f5.'</td>';
          echo '</tr>';
I apologise for the mess as this is from a script which isn't going to be released.

Can you look at my ranking script above and tell me what should i add in so that in my ranking page there is avatar images? If can't its ok.. i am downloading bravilo release already.
 
Re: [Release] PHP Character Image Generator

lol $f6
how about...
$result = mysql_query("SELECT * FROM accounts WHERE name == $player[name]");
while($link=mysql_fetch_array($result)){
echo "char.php?h='.$result[hair].'etc..."
}
Sorry im not really in the mood to show you how right now but you get the point and i still do not have a database to test this so im doing it in my head. :S
and i partially even know anything about the ranking script you have provided since its linked to configuration files.
 
Re: [Release] PHP Character Image Generator

lol $f6
how about...
$result = mysql_query("SELECT * FROM accounts WHERE name == $player[name]");
while($link=mysql_fetch_array($result)){
echo "char.php?h='.$result[hair].'etc..."
}
Sorry im not really in the mood to show you how right now but you get the point and i still do not have a database to test this so im doing it in my head. :S
and i partially even know anything about the ranking script you have provided since its linked to configuration files.

nvm its ok if you do not know. I will just wait for some kind soul to help.
 
Re: [Release] PHP Character Image Generator

some equips cause an error in displaying picture. in internet explorer i get a box with an "x" and in Firefox it just doesnt display
 
Re: [Release] PHP Character Image Generator

i got this error page
Code:
[B]Warning[/B]: imagefttext() [[URL="http://silverserver/inVokerCmsv3/char_voorbeeld/function.imagefttext"][COLOR=#0066cc]function.imagefttext[/COLOR][/URL]]: Could not find/open font in [B]/var/www/inVokerCmsv3/char_voorbeeld/char.php[/B] on line [B]88[/B]

[B]Warning[/B]: imagefttext() [[URL="http://silverserver/inVokerCmsv3/char_voorbeeld/function.imagefttext"][COLOR=#0066cc]function.imagefttext[/COLOR][/URL]]: Could not find/open font in [B]/var/www/inVokerCmsv3/char_voorbeeld/char.php[/B] on line [B]1170[/B]

[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /var/www/inVokerCmsv3/char_voorbeeld/char.php:88) in [B]/var/www/inVokerCmsv3/char_voorbeeld/char.php[/B] on line [B]1173[/B]
�PNG  IHDR����� IDATx���{p$�}�?=���gyw�C$��M���� c�$�=Y~ȌT�Ȏ��l��d���Q�RY�Y��e� �!���XG���e���e3�0'��,J$�H�Qw�;n㽏ٙ���X ܃X�R�o��Eo� ��_��׿�J)vUQ��3 !��0�Vn{B����I��֓��Gu�eh&4 dw+4M�.�SSQ�.�vc���X,.�h���)�6Y,.�VŖl_��?z��������T5��T;��b�/�X �&,.��5[^����������.�U*�!a�Rl���s�6Y�����6��G�l��^��U��P (�� �a��0�PS��[vAkKdz���H&U�����Ib��B�o���}dT� ���P��A�a ��00�m��bKZa�(��BD�$j�j���a,"�* �a!�(���]>X&T!" �"�#�P�{B!��aM�����J�dm��\� * �(� Q� j���RT)� i����]]fSUʀ�DQ�rB�@�B�Ma ���
 
Last edited:
Back