|
Thread: Ban dimension door only for AI (WoG) | |
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|