d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > What Are The Forms Or Calculators Used For Follow
Add Reply New Topic New Poll
Member
Posts: 12,560
Joined: Apr 14 2014
Gold: Locked
Trader: Scammer
Jun 30 2019 05:27am
when checking out of any osrs shop

line one is xx M you want
line two gives total amount
Member
Posts: 61,010
Joined: Jan 31 2008
Gold: 11,130.55
Jun 30 2019 12:57pm
Quote (AlphaD0G @ Jun 30 2019 03:27am)
when checking out of any osrs shop

line one is xx M you want
line two gives total amount


Need a little bit more clarification.

Is the total amount subtracting the fees that are cooperated with the osrs shop?

I know opskin usually takes 10% for each wax key.
Member
Posts: 8,141
Joined: Feb 7 2018
Gold: 402.00
Jul 1 2019 03:56am
Heres an example, although in angular, the idea is the same. You can just look on codepen for other vanilla js examples
https://codepen.io/sargbah84/pen/eZKQGW

They probably have a set value per mill, which updates based on the quantity the put inside the form.

There are other methods for doing more complex calculators, such as the ones boosting sites use for games like LoL, Dota, CSGO etc

If I can find the old one I created for a LoL site awhile ago, ill pm it to you

This post was edited by Strickland on Jul 1 2019 03:57am
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll