Gold to ingots calculator
Moderator: Gamemasters
Gold to ingots calculator
bored so I made a program where you type in the gold, and it translates it into ingots and gold.
http://www.angelfire.com/alt2/majham/go ... ulator.zip
right click save as
simple, easy to use, handles errors, helpful when alt-tabbing out, just mainly for when your like "okay that will be 1235 gold" and the other person is like"how many ingots and gold is that?" and you like uhhh "wait a sec".
http://www.angelfire.com/alt2/majham/go ... ulator.zip
right click save as
simple, easy to use, handles errors, helpful when alt-tabbing out, just mainly for when your like "okay that will be 1235 gold" and the other person is like"how many ingots and gold is that?" and you like uhhh "wait a sec".
- paul laffing
- Posts: 2189
- Joined: Thu Jan 09, 2003 12:01 am
- Location: the place where only completely serious people are allowed
-
- Posts: 346
- Joined: Sat Nov 23, 2002 1:20 am
ok I didn't ask for an evaluation on my code, and accually it doesn't display the remainder. exact code:
lblgold2.Caption = Val(txtgold.Text) - Val(lblingots.Caption) * 250
Modulus is used for displaying the remainder, and its for lazy people like me. Modulus also rounds to the tenths automatically and I didn't want to fidget with it and make it work right.
@paul: how realistic is being able to see how good you are at something?
maybe type in functions in the chat box and only you can see the answer?
lblgold2.Caption = Val(txtgold.Text) - Val(lblingots.Caption) * 250
Modulus is used for displaying the remainder, and its for lazy people like me. Modulus also rounds to the tenths automatically and I didn't want to fidget with it and make it work right.
@paul: how realistic is being able to see how good you are at something?
maybe type in functions in the chat box and only you can see the answer?
-
- Posts: 188
- Joined: Sun Sep 14, 2003 2:46 am
- Location: Where ever my axe tells me
http://www.angelfire.com/alt2/majham/calculator.zip
I also added another part so you can do ingots and coins to just coins.
Any other calculator or small program suggestions welcome.
I also added another part so you can do ingots and coins to just coins.
Any other calculator or small program suggestions welcome.
woowoowoo added another part, you enter the cost of an item, the amount of the item, and voila calculates how many ingots AND gold the batch will cost.
http://www.angelfire.com/alt2/majham/calculator2.zip
http://www.angelfire.com/alt2/majham/calculator2.zip
-
- Posts: 188
- Joined: Sun Sep 14, 2003 2:46 am
- Location: Where ever my axe tells me
Ok now I'm starting on my SMACC calculator,when it starts you will click on a catagory, you click the items and it automatically adds up the total. I'm brainstorming some ideas of price adjustment, adding gold to and from the total would not be hard, but chaging the price per item could be. Any suggestions or ideas on what you might want is appreciated.
Also, I'm still wondering if I should put it in with the current calculator.
I'm pretty sure I have a way to do the cost per item change that the user can type. Hmm might take a day or two to complete depending.
Also, I'm still wondering if I should put it in with the current calculator.
I'm pretty sure I have a way to do the cost per item change that the user can type. Hmm might take a day or two to complete depending.
-
- Posts: 694
- Joined: Mon Dec 17, 2001 2:08 am
- Location: Canada
haha yeah, that would be good if they added it into the client. And i dont want to hear about any crap about how it's unrealistic. The whole thing is unrealistic because it's a game! And they sure dind't have computers back then!! Grr sometiems people take this realistic thing too far.
Anyways, yes it would be neat if they added it, you know you could have a third tab for the skills, equipment window.
Anyways, yes it would be neat if they added it, you know you could have a third tab for the skills, equipment window.
-
- Posts: 346
- Joined: Sat Nov 23, 2002 1:20 am
THe Smacculator is finished, I didn't put errorhandlers on it to reduce size, you shouldn't have a problem as long as you don't enter outrageous values like 34820719367093416734809257134825067090152679, ok?
28kbpacked in zip file, 290 unzipped.
www.angelfire.com/alt2/majham/Smacculator.zip
start the program, choose your catagory, armor/leather armor/cloths are the only subcatagory. then click the buttons and it will add up the values, to clear everything press the clear values button. To add gold to the current values displayed on the button, type in how much you want to add in the textbox, then click a button and it will be totalled up. To subtract gold from the value of an item, type how much gold you want subtracted from it, put a minus infront of the number.
Enjoy!

28kbpacked in zip file, 290 unzipped.
www.angelfire.com/alt2/majham/Smacculator.zip
start the program, choose your catagory, armor/leather armor/cloths are the only subcatagory. then click the buttons and it will add up the values, to clear everything press the clear values button. To add gold to the current values displayed on the button, type in how much you want to add in the textbox, then click a button and it will be totalled up. To subtract gold from the value of an item, type how much gold you want subtracted from it, put a minus infront of the number.
Enjoy!


I kind of had to spend a while learning a type of variable that will add up the totals from all the different catagories, or a grand total on the main part of the program. I'm probobly going to make an item counter too, this way you put in amounts for things such as ore/coal and take it times say 1000 instead of one at a time. Any suggestions welcome.
- Fingolfin Telrunya
- Posts: 19
- Joined: Sat Sep 20, 2003 1:00 pm
- Location: Somewhere in a river of calm silence (i wish)
I'm sorry for this post man, but i'm a vb user to, and i haves some things that could make your program a bit nicer:
1.make it unable to maximize the programme frame, or change its size.
2. make the clear values button a bit bigger, when it's auto-selected, the text is unreadable.
3. in the food section, make a label to explain what the text-frame is for.
4. these were all just details, i know, the rest of the program is verry well.
1.make it unable to maximize the programme frame, or change its size.
2. make the clear values button a bit bigger, when it's auto-selected, the text is unreadable.
3. in the food section, make a label to explain what the text-frame is for.
4. these were all just details, i know, the rest of the program is verry well.
- Adano Eles
- Posts: 2436
- Joined: Sat Aug 17, 2002 2:48 pm
- Location: Eiris sazun idisi, sazun hera duoder...
- Fingolfin Telrunya
- Posts: 19
- Joined: Sat Sep 20, 2003 1:00 pm
- Location: Somewhere in a river of calm silence (i wish)
-
- Posts: 694
- Joined: Mon Dec 17, 2001 2:08 am
- Location: Canada
No, the way it works (i think) is when you enter a number into that box it's not how many of that item you want to calculate it's how much gold you want to add on to the item you want to calculate. To calculate two bottles, you'd push the button twice. So when you type in 1000 and push the bottle button it will calculate 2000 gold (4 ingots) plus the 4 gold for teh bottle. Hence the 4 ingots and 4 gold. There's no bug.
I think it would be better though Gro'bul if you made it so that the number you enter into the box is the amount of the item you want to calculate.
I think it would be better though Gro'bul if you made it so that the number you enter into the box is the amount of the item you want to calculate.
the text boxes you type in the amount of gold added/subtracted from the current price of the item. About another text box to type in how many items, easily done, but a little time consuming.
Adano, what you told it to do was to add 1000 gold to the current price of 4 gold, hence 4 ingots, 4 gold.
I made it this way so you could change the price per item.
Adano, what you told it to do was to add 1000 gold to the current price of 4 gold, hence 4 ingots, 4 gold.
I made it this way so you could change the price per item.