Are you, in fact, a pregnant lady who lives in the apartment next door to Superdeath's parents? - Commodore

Create an account  

 
New year, New Master of Magic! v1.5 fan patch

(May 7th, 2017, 05:37)Soul Reaver Wrote: More mid-battle testing.

I waited until the game hung, then gradually increased Beastmaster's available mana by 1 and put him back on 'ready' until he'd do something (this took a lot of tries as the MP reverts back to the previous figure unless you get lucky with the timing).

Once he reached 10 mana, he casts a spell.  If Torin has an enchantment on him, Beastmaster casts Dispel Magic True on Torin.  This made me curious to see what would happen if Torin didn't have an enchantment on him, so I repeated the test.  Same as before, except at 10 MP Beastmaster cast Counter Magic, which for some odd reason then didn't come up at all in the battlefield spells display.

Any way to tell which spell the hero is casting (or trying to cast) in combat?

None, that's why it's crashing. I mean, the hero queues "cast a spell", but picks the spell when the action is executed. If it finds nothing to cast, it goes back to selecting an action and this time cannot pick casting a spell - but for some reason it does again anyway.
CoM doesn't have this problem because it was modified to only queue casting a spell if the spell that would be picked has a priority of 10+ to cast, but this modification was most likely incomaptible.
At least this is what I suspect but I found one more block of code that wasn't copied over and might be related :

.txt   W627FIX.TXT (Size: 978 bytes / Downloads: 5)

If this helps, good. If not, this is a last-resort solution :


.txt   W628AI.TXT (Size: 90 bytes / Downloads: 3)

Oh, and this is also different :


.txt   W629FIX.TXT (Size: 464 bytes / Downloads: 7)

...wait, the 151RC5 file has something completely different from the original and the latest, correctly working version. This will unset the "don't pick spell again" state and cause exactly the bug you experience.
This last file should be the one solving the problem (but probably won't hurt to include the others as well)
Reply



Messages In This Thread
RE: New year, New Master of Magic! - by Tiltowait - January 1st, 2016, 14:18
RE: New year, New Master of Magic! - by Seravy - January 1st, 2016, 14:22
RE: New year, New Master of Magic! - by Seravy - January 1st, 2016, 19:27
RE: New year, New Master of Magic! - by zitro1987 - January 2nd, 2016, 08:54
RE: New year, New Master of Magic! - by Seravy - January 2nd, 2016, 09:06
RE: New year, New Master of Magic! - by Seravy - January 2nd, 2016, 16:30
RE: New year, New Master of Magic! - by zitro1987 - January 2nd, 2016, 19:02
RE: New year, New Master of Magic! - by Seravy - January 3rd, 2016, 12:45
RE: New year, New Master of Magic! - by GreyWolf - January 5th, 2016, 16:58
RE: New year, New Master of Magic! - by Seravy - January 5th, 2016, 17:54
RE: New year, New Master of Magic! - by GreyWolf - January 5th, 2016, 18:38
RE: New year, New Master of Magic! - by Seravy - January 5th, 2016, 18:43
RE: New year, New Master of Magic! - by GreyWolf - January 5th, 2016, 19:08
RE: New year, New Master of Magic! - by Seravy - January 5th, 2016, 18:54
RE: New year, New Master of Magic! - by zitro1987 - January 6th, 2016, 07:05
RE: New year, New Master of Magic! - by Seravy - January 6th, 2016, 07:26
RE: New year, New Master of Magic! - by zitro1987 - January 6th, 2016, 20:00
RE: New year, New Master of Magic! - by Tiltowait - January 7th, 2016, 22:13
RE: New year, New Master of Magic! - by Seravy - January 8th, 2016, 06:00
RE: New year, New Master of Magic! - by Tiltowait - January 8th, 2016, 08:01
RE: New year, New Master of Magic! - by Seravy - January 8th, 2016, 08:26
RE: New year, New Master of Magic! - by spottedshroom - January 8th, 2016, 18:39
RE: New year, New Master of Magic! - by Seravy - January 8th, 2016, 18:45
RE: New year, New Master of Magic! - by Tiltowait - January 8th, 2016, 19:02
RE: New year, New Master of Magic! - by Seravy - January 8th, 2016, 19:09
RE: New year, New Master of Magic! - by spottedshroom - January 8th, 2016, 18:56
RE: New year, New Master of Magic! - by Tiltowait - January 9th, 2016, 01:39
RE: New year, New Master of Magic! - by Seravy - January 9th, 2016, 05:50
RE: New year, New Master of Magic! - by Tiltowait - January 9th, 2016, 07:36
RE: New year, New Master of Magic! - by Seravy - January 9th, 2016, 08:06
RE: New year, New Master of Magic! - by Tiltowait - January 9th, 2016, 17:20
RE: New year, New Master of Magic! - by Seravy - January 9th, 2016, 19:11
RE: New year, New Master of Magic! - by Tiltowait - January 9th, 2016, 23:47
RE: New year, New Master of Magic! - by Seravy - January 10th, 2016, 07:36
RE: New year, New Master of Magic! - by Seravy - January 10th, 2016, 11:37
RE: New year, New Master of Magic! - by Seravy - January 11th, 2016, 16:02
RE: New year, New Master of Magic! - by Tiltowait - January 12th, 2016, 02:29
RE: New year, New Master of Magic! - by Seravy - January 12th, 2016, 05:03
RE: New year, New Master of Magic! - by Tiltowait - January 12th, 2016, 05:23
RE: New year, New Master of Magic! - by Seravy - January 12th, 2016, 05:36
RE: New year, New Master of Magic! - by Anthony - January 12th, 2016, 14:55
RE: New year, New Master of Magic! - by Tiltowait - January 12th, 2016, 21:24
RE: New year, New Master of Magic! - by Anthony - January 14th, 2016, 03:21
RE: New year, New Master of Magic! - by Anthony - January 12th, 2016, 22:58
RE: New year, New Master of Magic! - by spottedshroom - January 12th, 2016, 23:14
RE: New year, New Master of Magic! - by Seravy - January 13th, 2016, 05:05
RE: New year, New Master of Magic! - by spottedshroom - January 14th, 2016, 02:13
RE: New year, New Master of Magic! - by Seravy - January 14th, 2016, 05:25
RE: New year, New Master of Magic! - by Tiltowait - January 14th, 2016, 03:39
RE: New year, New Master of Magic! - by Tiltowait - January 14th, 2016, 04:38
RE: New year, New Master of Magic! - by Seravy - January 14th, 2016, 16:34
RE: New year, New Master of Magic! - by Tiltowait - January 14th, 2016, 20:08
RE: New year, New Master of Magic! - by Seravy - January 14th, 2016, 20:23
RE: New year, New Master of Magic! - by Seravy - January 14th, 2016, 21:14
RE: New year, New Master of Magic! - by Tiltowait - January 14th, 2016, 23:13
RE: New year, New Master of Magic! - by Tiltowait - January 14th, 2016, 23:49
RE: New year, New Master of Magic! - by Tiltowait - January 15th, 2016, 00:16
RE: New year, New Master of Magic! - by Seravy - January 15th, 2016, 06:37
RE: New year, New Master of Magic! - by Tiltowait - January 15th, 2016, 08:37
RE: New year, New Master of Magic! - by Seravy - January 15th, 2016, 08:49
RE: New year, New Master of Magic! - by Seravy - January 15th, 2016, 11:36
RE: New year, New Master of Magic! - by Seravy - January 15th, 2016, 17:27
RE: New year, New Master of Magic! - by Tiltowait - January 16th, 2016, 02:03
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 04:52
RE: New year, New Master of Magic! - by spottedshroom - January 16th, 2016, 16:41
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 16:46
RE: New year, New Master of Magic! - by spottedshroom - January 16th, 2016, 16:49
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 16:59
RE: New year, New Master of Magic! - by spottedshroom - January 16th, 2016, 16:58
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 17:06
RE: New year, New Master of Magic! - by spottedshroom - January 16th, 2016, 17:06
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 17:22
RE: New year, New Master of Magic! - by Anthony - January 16th, 2016, 20:24
RE: New year, New Master of Magic! - by Seravy - January 16th, 2016, 20:51
RE: New year, New Master of Magic! - by Tiltowait - January 19th, 2016, 03:55
RE: New year, New Master of Magic! - by Seravy - January 19th, 2016, 04:54
RE: New year, New Master of Magic! - by Tiltowait - January 19th, 2016, 08:59
RE: New year, New Master of Magic! - by Seravy - January 19th, 2016, 09:47
RE: New year, New Master of Magic! - by Tiltowait - January 19th, 2016, 10:54
RE: New year, New Master of Magic! - by Seravy - January 19th, 2016, 11:45
RE: New year, New Master of Magic! - by spottedshroom - January 19th, 2016, 13:00
RE: New year, New Master of Magic! - by Seravy - January 19th, 2016, 13:30
RE: New year, New Master of Magic! - by Tiltowait - January 19th, 2016, 22:30
RE: New year, New Master of Magic! - by Tiltowait - January 20th, 2016, 01:08
RE: New year, New Master of Magic! - by Seravy - January 20th, 2016, 06:07
RE: New year, New Master of Magic! - by Tiltowait - January 20th, 2016, 11:46
RE: New year, New Master of Magic! - by Seravy - January 20th, 2016, 12:14
RE: New year, New Master of Magic! - by Tiltowait - January 21st, 2016, 21:37
RE: New year, New Master of Magic! - by Seravy - January 21st, 2016, 22:04
RE: New year, New Master of Magic! - by spottedshroom - January 21st, 2016, 22:00
RE: New year, New Master of Magic! - by Seravy - January 21st, 2016, 22:10
RE: New year, New Master of Magic! - by spottedshroom - January 22nd, 2016, 13:28
RE: New year, New Master of Magic! - by Seravy - January 22nd, 2016, 14:02
RE: New year, New Master of Magic! - by spottedshroom - January 22nd, 2016, 14:53
RE: New year, New Master of Magic! - by Seravy - January 22nd, 2016, 15:30
RE: New year, New Master of Magic! - by Seravy - January 23rd, 2016, 16:25
RE: New year, New Master of Magic! - by Seravy - January 24th, 2016, 11:18
RE: New year, New Master of Magic! - by Seravy - January 25th, 2016, 07:37
RE: New year, New Master of Magic! - by Seravy - January 26th, 2016, 18:41
RE: New year, New Master of Magic! - by spottedshroom - January 27th, 2016, 01:32
RE: New year, New Master of Magic! - by Seravy - January 27th, 2016, 06:22
RE: New year, New Master of Magic! - by spottedshroom - January 27th, 2016, 19:31
RE: New year, New Master of Magic! - by Seravy - January 28th, 2016, 03:35
RE: New year, New Master of Magic! - by spottedshroom - January 28th, 2016, 22:07
RE: New year, New Master of Magic! - by Seravy - January 29th, 2016, 00:54
RE: New year, New Master of Magic! - by spottedshroom - January 29th, 2016, 13:25
RE: New year, New Master of Magic! - by spottedshroom - January 29th, 2016, 19:51
RE: New year, New Master of Magic! - by Seravy - January 29th, 2016, 20:00
RE: New year, New Master of Magic! - by spottedshroom - January 30th, 2016, 15:07
RE: New year, New Master of Magic! - by Seravy - January 30th, 2016, 15:15
RE: New year, New Master of Magic! - by spottedshroom - January 31st, 2016, 13:02
RE: New year, New Master of Magic! - by spottedshroom - February 4th, 2016, 20:18
RE: New year, New Master of Magic! - by Seravy - February 4th, 2016, 20:35
RE: New year, New Master of Magic! - by Seravy - February 5th, 2016, 18:54
RE: New year, New Master of Magic! - by spottedshroom - February 5th, 2016, 19:10
RE: New year, New Master of Magic! - by Seravy - February 6th, 2016, 12:59
RE: New year, New Master of Magic! - by Rakir - February 7th, 2016, 02:00
RE: New year, New Master of Magic! - by Seravy - February 7th, 2016, 03:58
RE: New year, New Master of Magic! - by Tiltowait - February 8th, 2016, 11:17
RE: New year, New Master of Magic! - by Seravy - February 8th, 2016, 12:50
RE: New year, New Master of Magic! - by Rakir - February 9th, 2016, 01:26
RE: New year, New Master of Magic! - by letsdance - February 9th, 2016, 02:14
RE: New year, New Master of Magic! - by Seravy - February 9th, 2016, 03:45
RE: New year, New Master of Magic! - by Tiltowait - February 9th, 2016, 05:12
RE: New year, New Master of Magic! - by Seravy - February 9th, 2016, 05:56
RE: New year, New Master of Magic! - by spottedshroom - February 13th, 2016, 16:13
RE: New year, New Master of Magic! - by Seravy - February 13th, 2016, 17:38
RE: New year, New Master of Magic! - by spottedshroom - February 13th, 2016, 19:47
RE: New year, New Master of Magic! - by Seravy - February 13th, 2016, 20:05
RE: New year, New Master of Magic! - by Tiltowait - February 14th, 2016, 01:16
RE: New year, New Master of Magic! - by spottedshroom - February 15th, 2016, 18:25
RE: New year, New Master of Magic! - by Seravy - February 15th, 2016, 18:55
RE: New year, New Master of Magic! - by Anthony - February 22nd, 2016, 17:47
RE: New year, New Master of Magic! - by Seravy - February 16th, 2016, 12:42
RE: New year, New Master of Magic! - by Tiltowait - February 25th, 2016, 09:30
RE: New year, New Master of Magic! - by Seravy - February 25th, 2016, 10:14
RE: New year, New Master of Magic! - by Tiltowait - February 25th, 2016, 11:45
RE: New year, New Master of Magic! - by Seravy - February 25th, 2016, 11:52
RE: New year, New Master of Magic! - by spottedshroom - February 25th, 2016, 12:49
RE: New year, New Master of Magic! - by Seravy - February 25th, 2016, 15:50
RE: New year, New Master of Magic! - by Tiltowait - February 26th, 2016, 00:12
RE: New year, New Master of Magic! - by Seravy - February 26th, 2016, 05:30
RE: New year, New Master of Magic! - by Tiltowait - February 26th, 2016, 10:17
RE: New year, New Master of Magic! - by Seravy - February 26th, 2016, 11:02
RE: New year, New Master of Magic! - by spottedshroom - February 26th, 2016, 12:46
RE: New year, New Master of Magic! - by spottedshroom - February 26th, 2016, 16:21
RE: New year, New Master of Magic! - by Seravy - February 26th, 2016, 19:51
RE: New year, New Master of Magic! - by Seravy - March 1st, 2016, 17:19
RE: New year, New Master of Magic! - by burchalka - March 2nd, 2016, 08:41
RE: New year, New Master of Magic! - by Seravy - March 2nd, 2016, 08:47
RE: New year, New Master of Magic! - by burchalka - March 2nd, 2016, 09:35
RE: Questions/Feedback on changes - by Elestan - September 9th, 2016, 00:03
RE: New year, New Master of Magic! v1.5 fan patch - by Seravy - May 7th, 2017, 07:15

Forum Jump: