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. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  5. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  6. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  7. The results are out! Check them out.
    Dismiss Notice
  8. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  9. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  10. 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,958
    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.