1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  3. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  4. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  5. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  6. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  7. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

UpgradeCostCalculator V1.00

Submitted by Bloody_Turds
This bundle is marked as approved. It works and satisfies the submission rules.
Calculates the total, and cost per level for upgrades.

Written in C++ (code below)

If the program doesnt work, you may not have the latest version of .net framework
If your problem is still unresolved, post here, for troubleshooting

Keywords:
upgrades, calculator, balance
Contents

UpgradeCostCalculator V1.00 (Binary)

Reviews
Moderator
13:50, 13th Feb 2010 TriggerHappy: Would prefer some kind of GUI, but useful nonetheless.
  1. 13:50, 13th Feb 2010
    TriggerHappy:

    Would prefer some kind of GUI, but useful nonetheless.
     
  2. Bloody_Turds

    Bloody_Turds

    Joined:
    Jan 23, 2007
    Messages:
    1,266
    Resources:
    16
    Models:
    14
    Packs:
    1
    Tools:
    1
    Resources:
    16
    Hope you find it useful, even though its fairly simple

    Program may also be used for Hero Experience needed, since they fall under the same formula.

    Feel free to do whatever you wish with the source code, I dont even care if you credit me.
    Source Code
    Code (Text):
    #include "stdafx.h"
    #include <iostream>

    using namespace std;

    int _tmain(int argc, _TCHAR* argv[])
    {
        char quit;
        do {
        int levels, sum = 0, current = 0, inc = 0, base = 0;
       

        cout << "Enter the number of Levels: ";
        cin >> levels;
        cout << "Enter the base cost: ";
        cin >> base;
        cout << "Enter the Increment value: ";
        cin >> inc;
        while (current < levels)
        {sum = sum + base+(inc*current);
        current++;
        cout << "Level " << current << " Level Cost: " << base+(inc*(current-1)) <<  "    Total Cost: " << sum << endl;
       
        };
        cout << endl << "The Grand Total Cost is: " << sum << endl <<endl;


        //Reset
        cout << "Type 'R' to reset the program: ";
        cin >> quit;
        cout << endl << endl;
        } while ( quit == 'R' || quit == 'r'  );
        return 0;
    }
     
    Last edited: Feb 12, 2010
  3. crimson fire

    crimson fire

    Joined:
    Sep 17, 2009
    Messages:
    395
    Resources:
    0
    Resources:
    0
    hmm its neat, simple and useful ^^
     
  4. InfernalTater

    InfernalTater

    Joined:
    Jul 12, 2008
    Messages:
    2,970
    Resources:
    36
    Models:
    32
    Icons:
    2
    Packs:
    1
    Tutorials:
    1
    Resources:
    36
    It's extremely simple... I can do that stuff in 20 seconds using methods I learned in middle school...
     
  5. Zeatherann

    Zeatherann

    Joined:
    Nov 25, 2008
    Messages:
    1,303
    Resources:
    6
    Skins:
    1
    Tools:
    1
    Maps:
    4
    Resources:
    6
    Maybe learn and SFML/SDL, it's cross platform for linux/mac/windows, and is used for GUI/sounds/ect, and is still C++.

    Also, i might be motivated enough to post my own version of this with my appended ideas, but probably not as i'm very lazy.
     
  6. MasterTrainer

    MasterTrainer

    Joined:
    Apr 14, 2012
    Messages:
    2,769
    Resources:
    3
    Icons:
    1
    Maps:
    1
    Spells:
    1
    Resources:
    3
    Cool; I might be able to use this in balancing my map.