Advertisement
Brandan

Pop Vals Save

May 1st, 2012
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 11.79 KB | None | 0 0
  1.         write("##########################")
  2.         write("#   POP3 BALANCE FILE  ")
  3.         write("##########################")
  4.  
  5.         write("# Tree Grow Rates")
  6.         write("P3CONST_TREE1_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 1"))
  7.         write("P3CONST_TREE2_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 2"))
  8.         write("P3CONST_TREE3_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 3"))
  9.         write("P3CONST_TREE4_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 4"))
  10.         write("P3CONST_TREE5_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 5"))
  11.         write("P3CONST_TREE6_WOOD_GROW =  " & RegQuery("TreesGrow_RatesTree 6"))
  12.  
  13.         write(vbNewLine & "# Wood Ammount")
  14.         write("P3CONST_TREE1_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 1"))
  15.         write("P3CONST_TREE2_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 2"))
  16.         write("P3CONST_TREE3_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 3"))
  17.         write("P3CONST_TREE4_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 4"))
  18.         write("P3CONST_TREE5_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 5"))
  19.         write("P3CONST_TREE6_WOOD_VALUE =  " & RegQuery("TreesWood_AmmountsTree 6"))
  20.  
  21.         write(vbNewLine & "# Ranges")
  22.         write("P3CONST_SP_W_RANGE_BLAST =  " & RegQuery("SpellsRangesBlast"))
  23.         write("P3CONST_SP_W_RANGE_BOLT =  " & RegQuery("SpellsRangesLightning"))
  24.         write("P3CONST_SP_W_RANGE_PLAGUE =  " & RegQuery("SpellsRangesSwamp"))
  25.         write("P3CONST_SP_W_RANGE_INVIS =  " & RegQuery("SpellsRangesInvisibillity"))
  26.         write("P3CONST_SP_W_RANGE_FIREST =  " & RegQuery("SpellsRangesFirestorm"))
  27.         write("P3CONST_SP_W_RANGE_HYPNO =  " & RegQuery("SpellsRangesHypnosis"))
  28.         write("P3CONST_SP_W_RANGE_GARMY =  " & RegQuery("SpellsRangesGhost Army"))
  29.         write("P3CONST_SP_W_RANGE_EROSION =  " & RegQuery("SpellsRangesErosion"))
  30.         write("P3CONST_SP_W_RANGE_LBRIDGE =  " & RegQuery("SpellsRangesLandbridge"))
  31.         write("P3CONST_SP_W_RANGE_AOD =  " & RegQuery("SpellsRangesAngle Of Death"))
  32.         write("P3CONST_SP_W_RANGE_QUAKE =  " & RegQuery("SpellsRangesEarthquake"))
  33.         write("P3CONST_SP_W_RANGE_FLATTEN =  " & RegQuery("SpellsRangesFlatten"))
  34.         write("P3CONST_SP_W_RANGE_VOLCANO =  " & RegQuery("SpellsRangesVolcano"))
  35.         write("P3CONST_SP_W_RANGE_CONVERT_WILD =  " & RegQuery("SpellsRangesConvert"))
  36.         write("P3CONST_SP_W_RANGE_SHIELD =  " & RegQuery("SpellsRangesMagic Sheild"))
  37.         write("P3CONST_SP_W_RANGE_TELEPORT =  " & RegQuery("SpellsRangesTeleport"))
  38.         write("P3CONST_SP_W_RANGE_BLOODLUST =  " & RegQuery("SpellsRangesBloodlust"))
  39.  
  40.         write(vbNewLine & "# Mana Requirements")
  41.         write("P3CONST_SPELL_BLAST =  " & RegQuery("SpellsMana RequirmentsBlast"))
  42.         write("P3CONST_SPELL_CONVERT_WILD =  " & RegQuery("SpellsMana RequirmentsConvert"))
  43.         write("P3CONST_SPELL_GARMY =  " & RegQuery("SpellsMana RequirmentsGhost Army"))
  44.         write("P3CONST_SPELL_PLAGUE =  " & RegQuery("SpellsMana RequirmentsSwarm"))
  45.         write("P3CONST_SPELL_INVIS =  " & RegQuery("SpellsMana RequirmentsInvisibillity"))
  46.         write("P3CONST_SPELL_SHIELD =  " & RegQuery("SpellsMana RequirmentsMagic Sheild"))
  47.         write("P3CONST_SPELL_LBRIDGE =  " & RegQuery("SpellsMana RequirmentsLandbridge"))
  48.         write("P3CONST_SPELL_BOLT =  " & RegQuery("SpellsMana RequirmentsLightning"))
  49.         write("P3CONST_SPELL_HYPNO =  " & RegQuery("SpellsMana RequirmentsHypnosis"))
  50.         write("P3CONST_SPELL_WWIND =  " & RegQuery("SpellsMana RequirmentsTornado"))
  51.         write("P3CONST_SPELL_SWAMP =  " & RegQuery("SpellsMana RequirmentsSwamp"))
  52.         write("P3CONST_SPELL_FLATTEN =  " & RegQuery("SpellsMana RequirmentsFlatten"))
  53.         write("P3CONST_SPELL_QUAKE =  " & RegQuery("SpellsMana RequirmentsEarthquake"))
  54.         write("P3CONST_SPELL_EROSION =  " & RegQuery("SpellsMana RequirmentsErosion"))
  55.         write("P3CONST_SPELL_FIREST =  " & RegQuery("SpellsMana RequirmentsFirestorm"))
  56.         write("P3CONST_SPELL_AOD =  " & RegQuery("SpellsMana RequirmentsAngle Of Death"))
  57.         write("P3CONST_SPELL_VOLCANO =  " & RegQuery("SpellsMana RequirmentsVolcano"))
  58.  
  59.         write(vbNewLine & "# Charge Time")
  60.         write("P3CONST_SPELL_AOD_OPT_S =  " & RegQuery("SpellsCharge TimeAngle Of Death"))
  61.         write("P3CONST_SPELL_VOLCANO_OPT_S =  " & RegQuery("SpellsCharge TimeVolcano"))
  62.         write("P3CONST_SPELL_CONVERT_WILD_OPT_S =  " & RegQuery("SpellsCharge TimeConvert"))
  63.         write("P3CONST_SPELL_HYPNO_OPT_S =  " & RegQuery("SpellsCharge TimeHypnosis"))
  64.         write("P3CONST_SPELL_EROSION_OPT_S =  " & RegQuery("SpellsCharge TimeErosion"))
  65.         write("P3CONST_SPELL_QUAKE_OPT_S =  " & RegQuery("SpellsCharge TimeEarthquake"))
  66.         write("P3CONST_SPELL_FLATTEN_OPT_S =  " & RegQuery("SpellsMana RequirmentsFlatten"))
  67.         write("P3CONST_SPELL_BOLT_OPT_S =  " & RegQuery("SpellsCharge TimeLightning"))
  68.         write("P3CONST_SPELL_WWIND_OPT_S =  " & RegQuery(""))
  69.         write("P3CONST_SPELL_FIREST_OPT_S =  " & RegQuery(""))
  70.         write("P3CONST_SPELL_SWAMP_OPT_S =  " & RegQuery(""))
  71.         write("P3CONST_SPELL_LBRIDGE_OPT_S =  " & RegQuery(""))
  72.         write("P3CONST_SPELL_PLAGUE_OPT_S =  " & RegQuery(""))
  73.         write("P3CONST_SPELL_INVIS_OPT_S =  " & RegQuery(""))
  74.         write("P3CONST_SPELL_SHIELD_OPT_S =  " & RegQuery(""))
  75.         write("P3CONST_SPELL_BLOODLUST_OPT_S =  " & RegQuery(""))
  76.         write("P3CONST_SPELL_TELEPORT_OPT_S =  " & RegQuery(""))
  77.         write("P3CONST_SPELL_BLAST_OPT_S =  " & RegQuery(""))
  78.         write("P3CONST_SPELL_GARMY_OPT_S =  " & RegQuery(""))
  79.         write("P3CONST_SPELL_ARMAGEDDON_OPT_S =  " & RegQuery(""))
  80.  
  81.         write(vbNewLine & "# Available Slots")
  82.         write("P3CONST_SP_1_OFF_MAX_AOD =  " & RegQuery(""))
  83.         write("P3CONST_SP_1_OFF_MAX_VOLCANO =  " & RegQuery(""))
  84.         write("P3CONST_SP_1_OFF_MAX_CONVERT_WILD =  " & RegQuery(""))
  85.         write("P3CONST_SP_1_OFF_MAX_HYPNO =  " & RegQuery(""))
  86.         write("P3CONST_SP_1_OFF_MAX_EROSION =  " & RegQuery(""))
  87.         write("P3CONST_SP_1_OFF_MAX_QUAKE =  " & RegQuery(""))
  88.         write("P3CONST_SP_1_OFF_MAX_FLATTEN =  " & RegQuery(""))
  89.         write("P3CONST_SP_1_OFF_MAX_BOLT =  " & RegQuery(""))
  90.         write("P3CONST_SP_1_OFF_MAX_WWIND =  " & RegQuery(""))
  91.         write("P3CONST_SP_1_OFF_MAX_FIREST =  " & RegQuery(""))
  92.         write("P3CONST_SP_1_OFF_MAX_SWAMP =  " & RegQuery(""))
  93.         write("P3CONST_SP_1_OFF_MAX_LBRIDGE =  " & RegQuery(""))
  94.         write("P3CONST_SP_1_OFF_MAX_PLAGUE =  " & RegQuery(""))
  95.         write("P3CONST_SP_1_OFF_MAX_INVIS =  " & RegQuery(""))
  96.         write("P3CONST_SP_1_OFF_MAX_SHIELD =  " & RegQuery(""))
  97.         write("P3CONST_SP_1_OFF_MAX_BLOODLUST =  " & RegQuery(""))
  98.         write("P3CONST_SP_1_OFF_MAX_TELEPORT =  " & RegQuery(""))
  99.         write("P3CONST_SP_1_OFF_MAX_BLAST =  " & RegQuery(""))
  100.         write("P3CONST_SP_1_OFF_MAX_GARMY =  " & RegQuery(""))
  101.         write("P3CONST_SP_1_OFF_MAX_ARMAGEDDON =  " & RegQuery(""))
  102.  
  103.         write(vbNewLine & "# Walking Speeds")
  104.         write("P3CONST_BRAVE_SPEED =  " & RegQuery(""))
  105.         write("P3CONST_WARRIOR_SPEED =  " & RegQuery(""))
  106.         write("P3CONST_RELIGIOUS_SPEED =  " & RegQuery(""))
  107.         write("P3CONST_SPY_SPEED =  " & RegQuery(""))
  108.         write("P3CONST_SUPER_WARRIOR_SPEED =  " & RegQuery(""))
  109.         write("P3CONST_MEDICINE_MAN_SPEED =  " & RegQuery(""))
  110.  
  111.         write(vbNewLine & "# Max Health")
  112.         write("P3CONST_LIFE_BRAVE =  " & RegQuery(""))
  113.         write("P3CONST_LIFE_WARR =  " & RegQuery(""))
  114.         write("P3CONST_LIFE_SPY =  " & RegQuery(""))
  115.         write("P3CONST_LIFE_PREACH =  " & RegQuery(""))
  116.         write("P3CONST_LIFE_SWARR =  " & RegQuery(""))
  117.         write("P3CONST_LIFE_SHAMEN =  " & RegQuery(""))
  118.         write("value")
  119.  
  120.         write(vbNewLine & "# Tower Ranges")
  121.         write("P3CONST_BRAVE_DT_RADIUS =  " & RegQuery(""))
  122.         write("P3CONST_WARRIOR_DT_RADIUS =  " & RegQuery(""))
  123.         write("P3CONST_RELIGIOUS_DT_RADIUS =  " & RegQuery(""))
  124.         write("P3CONST_SPY_DT_RADIUS =  " & RegQuery(""))
  125.         write("P3CONST_SUPER_WARRIOR_DT_RADIUS =  " & RegQuery(""))
  126.         write("P3CONST_MEDICINE_MAN_DT_RADIUS =  " & RegQuery(""))
  127.  
  128.         write(vbNewLine & "# Mana Value")
  129.         write("P3CONST_MANA_F_BRAVE =  " & RegQuery(""))
  130.         write("P3CONST_MANA_F_WARR =  " & RegQuery(""))
  131.         write("P3CONST_MANA_F_SPY =  " & RegQuery(""))
  132.         write("P3CONST_MANA_F_PREACH =  " & RegQuery(""))
  133.         write("P3CONST_MANA_F_SWARR =  " & RegQuery(""))
  134.         write("P3CONST_MANA_F_SHAMEN =  " & RegQuery(""))
  135.  
  136.         write(vbNewLine & "# Attack Power")
  137.         write("P3CONST_FIGHT_DAMAGE_BRAVE =  " & RegQuery(""))
  138.         write("P3CONST_FIGHT_DAMAGE_WARR =  " & RegQuery(""))
  139.         write("P3CONST_FIGHT_DAMAGE_SPY =  " & RegQuery(""))
  140.         write("P3CONST_FIGHT_DAMAGE_PREACH =  " & RegQuery(""))
  141.         write("P3CONST_FIGHT_DAMAGE_SWARR =  " & RegQuery(""))
  142.         write("P3CONST_FIGHT_DAMAGE_SHAMAN =  " & RegQuery(""))
  143.         write("P3CONST_SW_BLAST_DAMAGE =  " & RegQuery(""))
  144.         write("P3CONST_SW_FIRE_RATE =  " & RegQuery(""))
  145.  
  146.         write(vbNewLine & "# Wood Requirments")
  147.         write("P3CONST_WOOD_HUT_1 =  " & RegQuery(""))
  148.         write("P3CONST_WOOD_HUT_2 =  " & RegQuery(""))
  149.         write("P3CONST_WOOD_HUT_3 =  " & RegQuery(""))
  150.         write("P3CONST_WOOD_DRUM_TOWER =  " & RegQuery(""))
  151.         write("P3CONST_WOOD_TEMPLE =  " & RegQuery(""))
  152.         write("P3CONST_WOOD_SPY_HUT =  " & RegQuery(""))
  153.         write("P3CONST_WOOD_WARRIOR =  " & RegQuery(""))
  154.         write("P3CONST_WOOD_RECONV =  " & RegQuery(""))
  155.         write("P3CONST_WOOD_BOAT_1 =  " & RegQuery(""))
  156.         write("P3CONST_WOOD_AIR_1 =  " & RegQuery(""))
  157.         write("P3CONST_WOOD_SUPER =  " & RegQuery(""))
  158.  
  159.         write(vbNewLine & "# Training Mana Cost")
  160.         write("P3CONST_HUMAN_TRAIN_MANA_WARR =  " & RegQuery(""))
  161.         write("P3CONST_HUMAN_TRAIN_MANA_SPY =  " & RegQuery(""))
  162.         write("P3CONST_HUMAN_TRAIN_MANA_PREACH =  " & RegQuery(""))
  163.         write("conversion")
  164.         write("P3CONST_HUMAN_TRAIN_MANA_SWARR")
  165.         write("conversion")
  166.  
  167.         write(vbNewLine & "# Wood Reauired")
  168.         write("P3CONST_WOOD_VEHICLE_BOAT1 =  " & RegQuery(""))
  169.         write("P3CONST_WOOD_VEHICLE_AIRSHIP_1 =  " & RegQuery(""))
  170.  
  171.         write(vbNewLine & "# Life Time")
  172.         write("P3CONST_VEHICLE_LIFE_BOAT =  " & RegQuery(""))
  173.         write("P3CONST_VEHICLE_LIFE_BALLOON =  " & RegQuery(""))
  174.  
  175.         write(vbNewLine & "# Spell Unit Effect")
  176.         write("P3CONST_SPY_DISGUISE_DELAY =  " & RegQuery(""))
  177.         write("P3CONST_INVIS_NUM_PEOPLE =  " & RegQuery(""))
  178.         write("P3CONST_HYPNO_NUM_PEOPLE =  " & RegQuery(""))
  179.         write("P3CONST_LIGHTNING_NUM_KILLS =  " & RegQuery(""))
  180.         write("P3CONST_SHIELD_NUM_PEOPLE =  " & RegQuery(""))
  181.         write("P3CONST_BUILD_ALT_DIFF2 =  " & RegQuery(""))
  182.         write("P3CONST_FIRESTORM_DURATION =  " & RegQuery(""))
  183.         write("P3CONST_AOD_KILL_COUNT =  " & RegQuery(""))
  184.         write("P3CONST_BLAST_DAMAGE_AOD =  " & RegQuery(""))
  185.  
  186.         write(vbNewLine & "# AoD Lifetime")
  187.         write("P3CONST_AOD_DURATION =  " & RegQuery(""))
  188.  
  189.         write(vbNewLine & "# Firestorm Duration")
  190.         write("P3CONST_FIRESTORM_DURATION =  " & RegQuery(""))
  191.  
  192.         write(vbNewLine & "# General")
  193.         write("P3CONST_START_MANA =  " & RegQuery(""))
  194.         write("P3CONST_MAX_MANA =  " & RegQuery(""))
  195.  
  196.         write(vbNewLine & "# Huts")
  197.         write("P3CONST_MANA_F_HUT_LEVEL_1 =  " & RegQuery(""))
  198.         write("P3CONST_MANA_F_HUT_LEVEL_2 =  " & RegQuery(""))
  199.         write("P3CONST_MANA_F_HUT_LEVEL_3 =  " & RegQuery(""))
  200.  
  201.         write(vbNewLine & vbNewLine & "######### NOT EDITED (Be Careful) #########")
  202.         write(TextBox1.Text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement