2Pacalypse Posted March 9, 2009 Posted March 9, 2009 With this, users can type in an amount of points to exchange for Will, by default, it is 1 Point per 1% Will. But this is easily changed! (My file is not crystaltemple.php, it is points.php so you will need to change a few links) Screenshots: Input Done Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then add: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There is a line at the end that prevents users from going over 100% Will, so it's non-exploitable ;) If there's any major bugs, please post, or fix it and post it ;) Quote
2Pacalypse Posted March 9, 2009 Author Posted March 9, 2009 Re: [V2] Will Refill! Added 2 screenshots :) Quote
Haunted Dawg Posted March 9, 2009 Posted March 9, 2009 Re: [V2] Will Refill! In the done screenshot, it gave you 57.5 will. Shoudlnt it give you 5% will? Quote
Paddy Posted March 9, 2009 Posted March 9, 2009 Re: [V2] Will Refill! one thing i wont add this in is i or most of us use will potions to get something back from donations as an item but still good addon and thanks Quote
shedh Posted March 9, 2009 Posted March 9, 2009 Re: [V2] Will Refill! don't look like it works, well from what i see looking at your image it shows that you ask to spen 5 point on will which equals 5% will you get 57.5% will just tell me if i said that wrong Edit: /* Just realised that Killah already said that */ Quote
2Pacalypse Posted March 9, 2009 Author Posted March 9, 2009 Re: [V2] Will Refill! My house has 1,150 Will or something like that, that's the number of Will, not the percentage it gives! Basically 57.5 Will = 5% Will :) Quote
Karlos Posted March 9, 2009 Posted March 9, 2009 Re: [V2] Will Refill! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Untested! Knowing My Luck There Might Be An Error. Quote
Josh23 Posted March 10, 2009 Posted March 10, 2009 Re: [V2] Will Refill! 2 Errors :) Missing ] And Missing } All Fixed And Tested. Delete The <?php AND ?> You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dominator Posted March 10, 2009 Posted March 10, 2009 Re: [V2] Will Refill! nice although i wont be using this as users should have to donate to get wills :wink: Quote
gurpreet Posted March 11, 2009 Posted March 11, 2009 Re: [V2] Will Refill! Just wondering where it says will 57.5, couldnt you use the will/maxwill*100? or floor(will)? Quote
2Pacalypse Posted March 11, 2009 Author Posted March 11, 2009 Re: [V2] Will Refill! gurpreet: not sure what you mean, but once you have hit the button to exchange points for Will, it tells you how much will you gained. Quote
Dave Posted March 11, 2009 Posted March 11, 2009 Re: [V2] Will Refill! gurpreet: not sure what you mean, but once you have hit the button to exchange points for Will, it tells you how much will you gained. He is basically saying instead of telling the user the amount they got tell them the percent. Quote
2Pacalypse Posted March 11, 2009 Author Posted March 11, 2009 Re: [V2] Will Refill! Well they know the percentage they get... simply because they type it in to fill it up :roll: Quote
Josh23 Posted March 11, 2009 Posted March 11, 2009 Re: [V2] Will Refill! Change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then Where It Say How Much You Have Gained, Put % After It Quote
Zero-Affect Posted March 14, 2009 Posted March 14, 2009 Re: [V2] Will Refill! quite simple... but interesting post Quote
Saha Posted March 14, 2009 Posted March 14, 2009 Re: [V2] Will Refill! Nice +1 though i wont be using it as it discourages people to donate for wills... Quote
2Pacalypse Posted March 15, 2009 Author Posted March 15, 2009 Re: [V2] Will Refill! Change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then Where It Say How Much You Have Gained, Put % After It That means they get 1 Will point, per crystal.... Quote
Josh23 Posted March 15, 2009 Posted March 15, 2009 Re: [V2] Will Refill! Change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then Where It Say How Much You Have Gained, Put % After It That means they get 1 Will point, per crystal.... Yeah Sz, Make Another Thing Called $gain With Thing that i posted, then change it in the print "" to $gain. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.