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. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. The 15th Mini-Mapping Contest came to an end. The Secrets of Warcraft 3 are soon to be revealed! Come and vote in the public poll for your favorite maps.
    Dismiss Notice
  4. The 12th incarnation of the Music Contest is LIVE! The theme is Synthwave. Knight Rider needs a song to listen to on his journey. You should definitely have some fun with this theme!
    Dismiss Notice
  5. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  6. 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,262
    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,957
    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,768
    Resources:
    3
    Icons:
    1
    Maps:
    1
    Spells:
    1
    Resources:
    3
    Cool; I might be able to use this in balancing my map.