Maps and campains update - automatically

Here talk about maps and campaigns.
IMPORTANT!: Every map/campaign should be in a separate topic.
So if you have a new idea than open a new topic for it!
Post Reply
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Maps and campains update - automatically

Post by Stratego (dev) »

i try to collect all maps that has triggers modifying the HP, power and armors.
so with a routine to change the values to the corresponding - i dont remember gosh - will look up - some kind x3 x4 x2 things.

here are all maps having such triggers.

Code: Select all

2019.01.02.  16:15            16˙488 camp_user_2.hide_20_20.map
2020.09.18.  15:04            36˙225 camp_user_2the_misty_wood_22_24.map
2020.09.18.  11:05            51˙213 camp_user_4_the_pass_19_40.map
2019.01.02.  16:15            91˙050 camp_user_5_unwanted_visitors..._35_35.map
2019.01.02.  16:15            25˙346 camp_user_6.last_fight_25_25.map
2019.04.24.  18:52            82˙230 camp_user_almost_lost_40_40.map
2019.12.04.  04:25            59˙253 camp_user_ambush_in_the_warehouse__40_40.map
2021.02.21.  16:13            48˙920 camp_user_amon_hen_30_30.map
2019.04.19.  14:33            27˙991 camp_user_an_unexpected_enemy_20_25.map
2019.05.15.  20:57            80˙850 camp_user_assassination_orders_19_31.map
2020.07.19.  20:39            29˙808 camp_user_assault_on_the_fort__20_30.map
2020.07.19.  21:09            79˙722 camp_user_attack_of_the_knights_20_30.map
2019.04.16.  13:33             9˙898 camp_user_a_friendly_invitation_15_15.map
2019.12.04.  04:25            16˙753 camp_user_a_hostile_conversation_15_25.map
2019.05.02.  09:25            27˙721 camp_user_a_little_break_25_25.map
2019.01.02.  16:15            20˙237 camp_user_a_merchant_s_life_1_20_20.map
2019.01.02.  16:15            17˙658 camp_user_a_merchant_s_life_2_20_20.map
2019.01.02.  16:15            16˙778 camp_user_a_merchant_s_life_3_20_20.map
2021.02.21.  16:14            17˙338 camp_user_a_new_hero_is_born_20_20.map
2019.01.02.  16:15            62˙758 camp_user_a_tense_escalation_25_30.map
2019.05.02.  09:26            41˙182 camp_user_bandit_camp_30_30.map
2019.01.02.  16:15            26˙201 camp_user_battle_of_poiev_25_25.map
2019.01.02.  16:15            22˙086 camp_user_battle_of_wchsatd_30_30.map
2020.09.08.  21:39            40˙380 camp_user_betrayal_30_30.map
2019.12.04.  04:25            20˙184 camp_user_boom_barrels_16_16.map
2020.02.13.  07:11            38˙907 camp_user_bridge_defense_or_offense_30_30.map
2019.04.19.  14:42           102˙003 camp_user_carls_escape_41_21.map
2020.09.18.  11:04            31˙051 camp_user_chase_35_25.map
2019.09.20.  17:16             9˙702 camp_user_clan_torgor_25_10.map
2019.04.03.  14:23            30˙557 camp_user_close_closer_closed_25_20.map
2020.08.27.  06:49            23˙420 camp_user_conspiracy_10_12.map
2019.01.02.  16:15            32˙108 camp_user_daggers_15_15.map
2020.07.19.  21:17            82˙093 camp_user_death_lair_40_40.map
2019.01.02.  16:15            27˙581 camp_user_death_wakes_50_18.map
2019.01.02.  16:15             8˙027 camp_user_defending_the_ship_15_15.map
2019.01.02.  16:15           203˙139 camp_user_defend_of_the_bridge_40_35.map
2021.08.14.  20:05            14˙410 camp_user_defend_our_home_20_20.map
2019.12.04.  04:25            34˙622 camp_user_defense_sabotage_25_25.map
2019.01.02.  16:15            32˙080 camp_user_desperate_plea_20_40.map
2019.01.02.  16:15            94˙574 camp_user_disclosure_of_new_information_and_problems_35_30.map
2019.01.02.  16:15            13˙966 camp_user_dominique_the_traveller_15_15.map
2019.01.02.  16:15            20˙202 camp_user_draconic_fury_15_35.map
2019.01.02.  16:15            68˙369 camp_user_dragons_cave_30_30.map
2019.10.15.  07:58            23˙234 camp_user_dwarven_troubles_20_20.map
2019.12.04.  04:25            50˙563 camp_user_dwarves_are_gone__40_40.map
2019.01.02.  16:15            23˙503 camp_user_elven_fort_25_25.map
2020.09.08.  21:39            44˙139 camp_user_elven_hearth_32_30.map
2019.01.02.  16:15            10˙179 camp_user_elven_response__20_20.map
2019.04.16.  13:20            31˙869 camp_user_elves_getting_attacked_30_30.map
2019.01.02.  16:15            50˙796 camp_user_enderlent_35_35.map
2019.01.02.  16:15            27˙126 camp_user_escort_to_helms_deep_25_25.map
2019.01.02.  16:15            20˙422 camp_user_establishing_a_new_base_30_30.map
2020.06.05.  14:20            29˙944 camp_user_extra_10_20_20.map
2020.06.05.  14:21            28˙544 camp_user_extra_20_20_20.map
2019.01.02.  16:15            14˙467 camp_user_fencer_20_20.map
2019.05.02.  09:27            24˙955 camp_user_finally_here_20_15.map
2019.04.10.  14:08           148˙696 camp_user_final_assault_34_30.map
2019.04.23.  12:33            44˙821 camp_user_final_battle_40_40.map
2019.01.02.  16:15            43˙438 camp_user_forest_protection_25_25.map
2019.04.19.  14:38            47˙059 camp_user_forest_run_40_30.map
2020.08.12.  17:24            12˙459 camp_user_genesis_15_15.map
2019.01.02.  16:15            71˙605 camp_user_graveyard_hunting_20_20.map
2019.01.02.  16:15            49˙985 camp_user_halloween_2017_30_30.map
2019.01.02.  16:15            48˙746 camp_user_halloween_map_35_25.map
2019.12.04.  04:25            17˙306 camp_user_hannibals_part_15_15.map
2019.05.09.  18:22            31˙779 camp_user_hannibal_problems_20_20.map
2019.01.02.  16:15            18˙922 camp_user_helms_deep_20_25.map
2019.01.02.  16:15            48˙790 camp_user_help_the_city_30_39.map
2019.06.18.  18:21            70˙363 camp_user_heresas_ending_35_35.map
2019.06.10.  07:08            23˙524 camp_user_hitnrun_25_25.map
2019.05.16.  11:43            19˙322 camp_user_interrogation_15_15.map
2020.02.13.  07:11            36˙526 camp_user_invasion_of_orcs_2_30_30.map
2020.08.27.  07:12            15˙049 camp_user_isengard_20_20.map
2020.08.29.  19:27            29˙930 camp_user_isengard_32_32.map
2019.01.02.  16:15            80˙452 camp_user_khjigg_25_35.map
2019.01.02.  16:15            32˙111 camp_user_master_of_fire_1_destroy_trolls_20_20.map
2019.01.02.  16:15           131˙683 camp_user_master_of_fire_2_liberation_from_the_captivity_of_new_heroes_35_35.map
2019.01.02.  16:15            18˙473 camp_user_misunderstandings_15_25.map
2019.01.02.  16:15            33˙121 camp_user_moria_30_20.map
2019.01.02.  16:15            33˙232 camp_user_moria__the_tomb_of_balin_20_20.map
2019.01.02.  16:15            68˙986 camp_user_mountain_pass_35_35.map
2020.09.18.  11:05            58˙259 camp_user_mountain_path_40_40.map
2019.07.07.  18:34            23˙238 camp_user_negotiation_or_execution_15_15.map
2019.01.02.  16:15            25˙549 camp_user_new_friends_25_35.map
2019.01.02.  16:15            64˙488 camp_user_new_rules_30_35.map
2019.05.06.  17:59            78˙553 camp_user_night_attack_25_25.map
2019.01.02.  16:15            54˙251 camp_user_nords_civil_war__40_40.map
2019.04.19.  14:35            20˙574 camp_user_one_more_obstacle__10_30.map
2019.06.20.  19:14            46˙296 camp_user_open_are_the_doors_of_war_25_30.map
2019.01.02.  16:15            37˙941 camp_user_orc_35_35.map
2019.01.02.  16:15            10˙461 camp_user_orc_hunt_15_30.map
2019.01.02.  16:15            62˙389 camp_user_overjarl_died_long_live_overjarl_carl_35_30.map
2019.01.02.  16:15            18˙535 camp_user_payback_time_20_20.map
2020.06.05.  14:21            23˙765 camp_user_princess_arc_1_20_20.map
2019.01.02.  16:15            16˙385 camp_user_reconciliation_25_25.map
2019.06.18.  18:43            35˙200 camp_user_recruiting_25_20.map
2019.05.22.  08:03            92˙637 camp_user_red_snow_20_30.map
2019.01.03.  19:50            41˙135 camp_user_release_the_river_20_25.map
2019.01.02.  16:15            63˙087 camp_user_relief_of_dernz_20_28.map
2019.12.04.  04:25            54˙052 camp_user_retaliation_30_25.map
2019.01.02.  16:15            49˙732 camp_user_retreat_from_taleka_40_40.map
2019.01.02.  16:15            55˙215 camp_user_revolution_20_20.map
2019.01.02.  16:15            16˙146 camp_user_revolution_20_25.map
2019.01.02.  16:15            21˙614 camp_user_rohirrim_20_20.map
2019.01.02.  16:15            22˙330 camp_user_sailing_to_westeros_15_25.map
2019.01.02.  16:15            31˙688 camp_user_salvation_oswald_30_30.map
2019.04.16.  13:26            11˙399 camp_user_savage_camp_15_15.map
2019.01.02.  16:15            48˙583 camp_user_second_quest_30_30.map
2019.01.02.  16:15            12˙138 camp_user_securing_the_gates_20_20.map
2019.01.02.  16:15            15˙192 camp_user_shadow_of_the_past_15_15.map
2019.01.02.  16:15           123˙818 camp_user_smith_40_30.map
2019.01.02.  16:15            48˙312 camp_user_snowy_road_30_30.map
2019.04.08.  13:18            35˙094 camp_user_so_close__20_20.map
2019.01.02.  16:15            22˙014 camp_user_spring_of_souls_15_15.map
2019.04.08.  13:18            42˙731 camp_user_spy_mission_part_1_30_30.map
2020.09.18.  11:05            70˙454 camp_user_start_30_30.map
2019.10.31.  17:00            22˙693 camp_user_still_chased_25_15.map
2019.05.03.  05:11            30˙939 camp_user_tavern_brawl__15_15.map
2019.04.07.  16:48            21˙324 camp_user_the_beginning_of_the_alliance_15_15.map
2019.04.10.  05:47            45˙142 camp_user_the_big_attack__30_30.map
2019.04.16.  13:27             5˙995 camp_user_the_cave_shelter_15_8.map
2019.01.02.  16:15            55˙683 camp_user_the_city_of_ruins_25_30.map
2019.01.02.  16:15            16˙044 camp_user_the_doubt_15_30.map
2019.05.15.  20:59            56˙389 camp_user_the_dream_40_40.map
2019.01.02.  16:15            22˙167 camp_user_the_great_raid_20_20.map
2020.02.13.  07:11            36˙836 camp_user_the_invasion_of_orcs_1_20_20.map
2020.02.13.  07:11            26˙302 camp_user_the_last_army_of_orcs_30_30.map
2020.02.13.  07:11            18˙060 camp_user_the_main_cavalry_arrive_to_raid_20_20.map
2019.01.02.  16:15            42˙313 camp_user_the_master_of_fire_3defend_fire_altar_25_30.map
2019.01.02.  16:15            13˙371 camp_user_the_meeting_20_20.map
2021.08.14.  20:06            12˙653 camp_user_the_nemesis_15_20.map
2019.04.07.  16:48            65˙939 camp_user_the_outpost_20_21.map
2019.01.02.  16:15            10˙701 camp_user_the_ressurection_20_20.map
2019.04.20.  21:56            52˙053 camp_user_the_river_pass_40_40.map
2019.04.24.  18:52            41˙273 camp_user_the_road_of_dead_40_20.map
2019.01.02.  16:15            51˙421 camp_user_the_road_to_the_north_33_33.map
2019.01.02.  16:15           122˙726 camp_user_the_shadow_grows_30_25.map
2019.01.02.  16:15            62˙729 camp_user_the_tide_of_war_25_30.map
2021.02.21.  16:13            75˙973 camp_user_the_unspeakable_act_30_30.map
2019.01.02.  16:15            66˙277 camp_user_thus_always_to_tyrants_30_30.map
2019.09.13.  15:36            18˙260 camp_user_too_good_to_be_true_10_40.map
2019.04.10.  05:24            27˙375 camp_user_trial_for_favor_20_20.map
2019.01.02.  16:15            12˙489 camp_user_tricked_15_15.map
2019.04.27.  14:10            20˙973 camp_user_trip_to_the_capital_15_15.map
2020.10.10.  21:24            13˙411 camp_user_tutorialsummoning_5_20.map
2019.12.04.  04:25            62˙614 camp_user_unexpected_dream_40_40.map
2019.01.02.  16:15            17˙065 camp_user_united_we_stand_15_25.map
2019.01.02.  16:15            29˙890 camp_user_weathertop_30_30.map
2019.01.02.  16:15            58˙925 camp_user_winter_war_great_pocket_of_somii_40_40.map
2019.05.02.  09:27            48˙673 camp_user_yomriks_caught__40_25.map

from these i think these might be newer or have been updated since (so these might need to be checkd if the triggers were fixed or not, and fix manually if not):

Code: Select all

2021.02.21.  16:13            48˙920 camp_user_amon_hen_30_30.map
2021.02.21.  16:14            17˙338 camp_user_a_new_hero_is_born_20_20.map
2021.08.14.  20:05            14˙410 camp_user_defend_our_home_20_20.map
2021.08.14.  20:06            12˙653 camp_user_the_nemesis_15_20.map
2021.02.21.  16:13            75˙973 camp_user_the_unspeakable_act_30_30.map
User avatar
LordOfAles
Posts: 3694
Joined: Tue Jul 18, 2017 12:27 pm
Location: Balkans, Montenegro

Re: Maps and campains update - automatically

Post by LordOfAles »

Amplifiers are:

x4 for hp
x3 for attack
x2 for armor

I could check these maps out and test them, and fix the broken or unplayable ones.
I am, indeed, a big Witch King and Middle Earth fan if you didn't notice.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

mega thanks!

but i must not let you - checking 150 maps is a nightmare.
pleasse check only the last 5-map-pack that were modified later.

first i try to do it autmatically by regex replaces if i can, or using pyton
maybe if i fail to... - but that would be a shame :)
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

also please check these as they were close (in date) to the upscale time:

Code: Select all

camp_user_tutorialsummoning_5_20.map
camp_user_2the_misty_wood_22_24.map
camp_user_mountain_path_40_40.map
camp_user_4_the_pass_19_40.map
camp_user_start_30_30.map
camp_user_chase_35_25.map
so here only confirm that they need to be in the list of auto-updated maps.
User avatar
LordOfAles
Posts: 3694
Joined: Tue Jul 18, 2017 12:27 pm
Location: Balkans, Montenegro

Re: Maps and campains update - automatically

Post by LordOfAles »

- A New Hero is born tested and edited, sent to your email.
- Amon Hen is impassable because triggers that were supposed to buff the Fellowship are too weak. Besides that, Uruks have poisoned weapons and orc skin which makes this level even more impossible.
I am, indeed, a big Witch King and Middle Earth fan if you didn't notice.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

thanks! (new hero map i have not received i believe)

also here is my python scipt - please anyone knows pythong check if i made it right - on 2 sample files seems working.

Code: Select all

from os import listdir
from os.path import isfile, join
import json

path_work="test/"
path_workout="output/"

onlyfiles = [f for f in listdir(path_work) if isfile(join(path_work, f))]

for filename in onlyfiles :
    with open(path_work+filename) as f:
      data = json.load(f)
      if 'triggers' in data: 
        was=False
        for p_triggers in data['triggers']:
          if 'conditionsOrEffects' in p_triggers: 
            for p_conditionsOrEffects in p_triggers['conditionsOrEffects']:
              if p_conditionsOrEffects['typeID'] == 1020: 
                p_conditionsOrEffects['int1'] = p_conditionsOrEffects['int1'] * 3; 
                was=True
              if p_conditionsOrEffects['typeID'] == 1019: 
                p_conditionsOrEffects['int1'] = p_conditionsOrEffects['int1'] * 4; 
                was=True
              if p_conditionsOrEffects['typeID'] == 1031: 
                p_conditionsOrEffects['int1'] = p_conditionsOrEffects['int1'] * 4; 
                was=True
              if p_conditionsOrEffects['typeID'] == 1028: 
                p_conditionsOrEffects['int1'] = p_conditionsOrEffects['int1'] * 2; 
                was=True
              if p_conditionsOrEffects['typeID'] == 1029: 
                p_conditionsOrEffects['int1'] = p_conditionsOrEffects['int1'] * 2; 
                was=True
        if was:  
          print("was change:" + filename)
          f_out = open(path_workout+filename, 'w')
          f_out.write(json.dumps(data, separators=(',', ':')))         
print("all files written\n")


the updated trigger effect types:
TRIGGER_EFF_CHANGE_OBJ_HP = 1019;
TRIGGER_EFF_CHANGE_OBJ_HP_MAX = 1031;
TRIGGER_EFF_CHANGE_OBJ_ARMOR = 1028;
TRIGGER_EFF_CHANGE_OBJ_PARMOR = 1029;
TRIGGER_EFF_CHANGE_OBJ_ATTACK = 1020;


also @LordOfAles s please tell me if i can convert all files and upload to dev version - to see how they how updated.


Open problem: here and there there are special unicode characters in textings - and this python decoder decodes it making eg. \u0027 will be ' - so "maybe" not makes any problem.
(so the texts / messages should be checked after if they appear properly)
User avatar
LordOfAles
Posts: 3694
Joined: Tue Jul 18, 2017 12:27 pm
Location: Balkans, Montenegro

Re: Maps and campains update - automatically

Post by LordOfAles »

Do it! If it works right, a lot of maps should be automatically fixed. Then I'll resume with checking the things out and report you about the changes.
I am, indeed, a big Witch King and Middle Earth fan if you didn't notice.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

ok, i could not do this one, it needs manual checking:
camp_user_graveyard_hunting_20_20.map
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

also please check tutorial summoning - needs rework maybe - as since the necromancer has biggert range the following dragon summoning can not work.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

fixed the script so if any trigger set more than 100 000 value than i will not multiply that
(as in some maps it was 999999* that multiplied exceeded integer ranges)

i think these were so immortal/superpower units/obstacles set to these over-values. and the original will aslo be good.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

ok all mapfixes are uos


except these, these needs manual checkin/fixin:


camp_user_graveyard_hunting_20_20.map
camp_user_amon_hen_30_30.map
camp_user_a_new_hero_is_born_20_20.map
camp_user_defend_our_home_20_20.map
camp_user_the_nemesis_15_20.map
camp_user_the_unspeakable_act_30_30.map
User avatar
LordOfAles
Posts: 3694
Joined: Tue Jul 18, 2017 12:27 pm
Location: Balkans, Montenegro

Re: Maps and campains update - automatically

Post by LordOfAles »

I can confirm "A New Hero Is Born" works flawlessly now. Left:

Amon Hen - Pending check
The Nemesis - Pending check
Defend Our Home - This may be too difficult to be passed in only 14 turns, so I can either raise turn limit or make the enemies easier.
The Unspeakable Act - Pending check
Graveyard Hunting - This one I lost because of a fault where triggers spawn tons of ghouls at once rather than spawning them steadily and slowly at the end, I'll try fixing that.
I am, indeed, a big Witch King and Middle Earth fan if you didn't notice.
MrLich
Posts: 354
Joined: Sat Aug 28, 2021 9:21 pm

Re: Maps and campains update - automatically

Post by MrLich »

Amon hen is a challenge due to uruks using poison,and having orc skin, also defend our home might be unwinnable(got only 3 dragons, enemy trains large quantities of orcs that just overpower you)
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Maps and campains update - automatically

Post by makazuwr32 »

Orc poison will be changed in few next updated to become slightly different effect.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

savra/makaw: pls email me the plan before changing this. thx
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Maps and campains update - automatically

Post by makazuwr32 »

Well the plan for orc poison is simply to make it as new effect with same damage and such but non-stackable so no more than 1 stack of orc poison may be presented on unit. It will do same 10 damage as normal poison but new attacks via poison of orcs will result only in refreshing duration of poison on unit. Same selection for possible targets as normal poison.

Also some rebalance on orc poison (weapon effect duration on unit, not duration of poison, as well as cooldown for ability) is required. Tech cost by the way in this case might be lowered.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

in email please. it is off topic here. thanks.
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Maps and campains update - automatically

Post by makazuwr32 »

Stratego (dev) wrote: Wed Sep 01, 2021 7:32 pm in email please. it is off topic here. thanks.
Sent email with plans for orc poison.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

anyone checked the automatically updated maps? are they ok?
User avatar
LordOfAles
Posts: 3694
Joined: Tue Jul 18, 2017 12:27 pm
Location: Balkans, Montenegro

Re: Maps and campains update - automatically

Post by LordOfAles »

What maps I checked worked very good and are doable if they weren't before.
I am, indeed, a big Witch King and Middle Earth fan if you didn't notice.
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Re: Maps and campains update - automatically

Post by Stratego (dev) »

awesome!

how much u checked? have u registered which ones? so we can list here?
Post Reply

Return to “Map & campaign ideas/issues”