Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Ban dimension door only for AI (WoG)
Thread: Ban dimension door only for AI (WoG)
kongsuni
kongsuni


Promising
Adventuring Hero
posted July 02, 2020 05:28 AM
Edited by kongsuni at 06:28, 02 Jul 2020.

Ban dimension door only for AI (WoG)

In extra-large size of maps, AI consumes too much time to calculate the path when they use dimension door. (almost 2 minutes per one AI player!)

It is easy to ban the dimension door for both AI and human player, but it makes the game progress too slowly for random maps.

I uploaded very simple code which ban the dimension door only for AI.

For someone who are suffering with AI's time consumption.

Download

If you are using ACM, use this file : for ACM

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Phoenix4ever
Phoenix4ever


Legendary Hero
Heroes is love, Heroes is life
posted July 02, 2020 07:25 AM

No offense, but that seems like a very unfair solution.
A better solution is to have DD always only once per day and under Fire Magic for better magic school balance.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
kongsuni
kongsuni


Promising
Adventuring Hero
posted July 02, 2020 07:32 AM
Edited by kongsuni at 08:11, 02 Jul 2020.

Phoenix4ever said:
No offense, but that seems like a very unfair solution.
A better solution is to have DD always only once per day and under Fire Magic for better magic school balance.


You're right.

Probably enormous merits should be given for AI when we use this mode, such as 'extreme/insane AI' in advanced class mod.

In fact, this mode was created for live streaming. After 'Payday' of ACM, even if AI used a dimension door only once per turn, the turnover time took more than 1 minute, and even lasted more than 5 minutes when they use multi-way portals. The tempo of the broadcast became too slow.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted July 02, 2020 12:52 PM

Half a minute for calculating a single dim door on XXL maps, and for each computer player and each hero is neither fair or unfair, is unbearable.

So script should check if AI has DD, then modify it to fly. As for those playing SoD or Hota, suffer.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
53lm
53lm


Hired Hero
posted July 02, 2020 05:43 PM

(SOD)
473A5 - E9D6FCFFFF90
47080 - 8B550866890A837A4D647C09836A4D64E916030000C7424D00000000E90A030000





004473A5 - E9 D6FCFFFF                - jmp 00447080
004473AA - 90                         - nop

00447080 - 8B 55 08                   - mov edx,[ebp+08]
00447083 - 66 89 0A                   - mov [edx],cx
00447086 - 83 7A 4D 64                - cmp dword ptr [edx+4D],64
0044708A - 7C 09                      - jnge 00447095
0044708C - 83 6A 4D 64                - sub dword ptr [edx+4D],64
00447090 - E9 16030000                - jmp 004473AB
00447095 - C7 42 4D 00000000          - mov [edx+4D],00000000
0044709C - E9 0A030000                - jmp 004473AB

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0285 seconds