abomb67 Posted November 16, 2005 Share Posted November 16, 2005 Any ideas? I have the script to get it off of the site. It works well and all i need to know how to do is to put the numbers(levels) in the right place on the image. I assume I will be using the GD of PHP 4.2 but if you have any better ideas, give me a shout. If I am going to use the GD how should i go about it? Any suggestions will be greatly appreciated. Also, if a different language is just SOOO much easier to do a dyn sig with, you could tell me about that. abomb67 'scaper since 2001 Tip.it Crew 2003-2007 - Guides and Beastiary Link to comment Share on other sites More sharing options...
Mercifull Posted November 16, 2005 Share Posted November 16, 2005 Post the code youve got already and some of us will take a look. Where did u get the code from? Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Mementh Posted November 16, 2005 Share Posted November 16, 2005 Any ideas? I have the script to get it off of the site. It works well and all i need to know how to do is to put the numbers(levels) in the right place on the image. I assume I will be using the GD of PHP 4.2 but if you have any better ideas, give me a shout. If I am going to use the GD how should i go about it? Any suggestions will be greatly appreciated. Also, if a different language is just SOOO much easier to do a dyn sig with, you could tell me about that. abomb67 yeah would love to get a copy of your code :) since i want a personal dynamic sig as well :) The following statement is true. The previous statement is false. 60% of all statistics are made up 90% of the time andrew i love you & want you to have my babys!!! Finally, I get to save the Earth with deadly lasers instead of deadly slide shows! Link to comment Share on other sites More sharing options...
Ks_Jeppe Posted November 16, 2005 Share Posted November 16, 2005 Where did u get the code from?From me ;) sry guys, but i would actually prefer that abomb kept the code for himself, at least so far... And yes, you need to use PHP GD, i dont really think there's any easier or better ways of doing it... Link to comment Share on other sites More sharing options...
Mercifull Posted November 16, 2005 Share Posted November 16, 2005 k fair enuf, but then theres no point keeping this topic open really if we cant help him. http://www.phpfreaks.com/tutorials/101/0.php - This site is really good for help using the Gd library as a basic level, might be useful to get yourself started. Without knowing the script I cant really help much more. Sorry Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Ks_Jeppe Posted November 16, 2005 Share Posted November 16, 2005 You dont need to know how he gets the stats from the hiscores to help him insert them with GD, do you? We're just talking about variables which like $attack or $defence, which he needs help inserting into a sig... Link to comment Share on other sites More sharing options...
abomb67 Posted November 16, 2005 Author Share Posted November 16, 2005 Exactly. If you want i will post what the sig looks like. But what I need is to know how to insert the variable number into the correct place on the sig and save it. Just the GD part, the way i access the stats is irrelavent. abomb67 'scaper since 2001 Tip.it Crew 2003-2007 - Guides and Beastiary Link to comment Share on other sites More sharing options...
Vulcan Posted November 16, 2005 Share Posted November 16, 2005 im the one came up w/ the idea for RuneWeb's Sig System, perhaps i can be of some assistance. im not exactly clear on where the problem lies. either its w/ settings the different variables or how to place them. easiest way to get the data from hiscores is to use regex. To determine where you want to place the data, use something like this. imagestring($signame, font size,x, y, $datavar, $textcolor); Link to comment Share on other sites More sharing options...
abomb67 Posted November 17, 2005 Author Share Posted November 17, 2005 Vulcan: Sounds like you are pretty knowledgeable with GD PHP images. My main question was just how to get the text overlay(the actual numbers of the skills) to line up where they need to be in the boxes or whatever. Is there a grid that is assigned by GD or what. Check your private messages. abomb67 'scaper since 2001 Tip.it Crew 2003-2007 - Guides and Beastiary Link to comment Share on other sites More sharing options...
Mercifull Posted November 17, 2005 Share Posted November 17, 2005 Fair enuf jeppe, i wasnt sure how the script was set up :P Something like this might work... <?php $image = "background.png"; $im = imagecreatefrompng($image); $colour = ImageColorAllocate ($im, 255, 0, 0); ImageString($im, font size, x, y, $variable, $colour); header("Content-Type: image/png"); Imagepng($im,'',100); ImageDestroy ($im); ?> where background.png is the background image. im not that great with GD so you're probs better off speaking to the runeweb guy Mercifull <3 Suzi "We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now