Jump to content
MakeWebGames

Recommended Posts

Posted

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 ;)

Posted

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

Posted

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 */

Posted

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.

Posted

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.

Posted

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

Posted

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....

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...