As a French person I feel like it's my duty to explain strikes to you. - AdrienIer

Create an account  

 
Caster of Magic II Bug Reports!

Yeah but that would only read if the current wizard has cast the global, not if others have. He wants to read globals cast by other wizards in the file.
Reply

Oh, you mean "other" that way.

In that case use the ID of the wizard in question instead of W.
If every other wizard then you have to use a FOR/NEXT loop for all values between 0 and the last wizard and skip using an IF/THEN for the loop being at W.
Reply

He tried it, didn't work. Here's his EcoSkill.CAS.


Attached Files
.zip   EcoSkill.zip (Size: 610 bytes / Downloads: 1)
Reply

Quote:HASGLOBAL(W,GEDivineOrder)=1)

This should be HASGLOBAL(I,GEDivineOrder)=1), otherwise it seems to be correct.
Reply

(December 29th, 2021, 21:04)Seravy Wrote:
Quote:HASGLOBAL(W,GEDivineOrder)=1)

This should be HASGLOBAL(I,GEDivineOrder)=1), otherwise it seems to be correct.

I have try using "I =0 TO  NOFWIZARDS" on ecoskill.cas too but it seem that the file could not not recognize any wizard that not owner of that casting skill. It could only detect content that own by same wizard that own casting skill.
Reply

from aireroll.ini

Code:
[46]
Spell1=76
Spell2=1014
Spell3=0
[47]
Spell1=80
Spell2=1001
Spell3=0

Code:
[52]
Spell1=69
Spell2=1014
Spell3=71
[53]
Spell1=69
Spell2=1014
Spell3=232
[54]
Spell1=69
Spell2=1014
Spell3=193
[55]
Spell1=69
Spell2=1014
Spell3=32
[56]
Spell1=69
Spell2=1014
Spell3=231
[57]
Spell1=69
Spell2=1014
Spell3=118

Code:
[64]
Spell1=158
Spell2=1004
Spell3=0

Code:
[73]
Spell1=120
Spell2=1014
Spell3=0

Code:
[88]
Spell1=234
Spell2=190
Spell3=1012


What "Spell2=1014" "Spell2=1004", "Spell2=1001", and "Spell3=1012" mean? are they typo of some sort? or they are code for retort? If it is typo, what should be actual value setting of them?
Reply

(January 3rd, 2022, 02:47)Suppanut Wrote: What "Spell2=1014" "Spell2=1004", "Spell2=1001", and "Spell3=1012" mean? are they typo of some sort? or they are code for retort? If it is typo, what should be actual value setting of them?

A quick look at the numbers themselves tells me with 99% certainty that the values over 1000 are retorts with an offset of 1000. Using MASTER.CAS as a basis, that means:

Code:
Alchemy=1001;
SageMaster=1002;
Specialist=1003;
Warlord=1004;
Myrran=1005;
Tactician=1006;
Channeler=1007;
Guardian=1008;
Omniscient=1009;
Archmage=1010;
Famous=1011;
CultLeader=1012;
Artificer=1013;
Runemaster=1014;
Astrologer=1015;
Conjurer=1016;
Charismatic=1017;
Spellweaver=1018;

They line up pretty well and make sense in the combinations you've listed. This form of variant type handling is quite common in the original code as well.
Reply

Would it help Seravy if we have a separate thread for modding bug reporting? Keeping this one for unmodded game bugs?

Reply

(January 4th, 2022, 08:30)drake178 Wrote:
(January 3rd, 2022, 02:47)Suppanut Wrote: What "Spell2=1014" "Spell2=1004", "Spell2=1001", and "Spell3=1012" mean? are they typo of some sort? or they are code for retort? If it is typo, what should be actual value setting of them?

A quick look at the numbers themselves tells me with 99% certainty that the values over 1000 are retorts with an offset of 1000. Using MASTER.CAS as a basis, that means:

Code:
Alchemy=1001;
SageMaster=1002;
Specialist=1003;
Warlord=1004;
Myrran=1005;
Tactician=1006;
Channeler=1007;
Guardian=1008;
Omniscient=1009;
Archmage=1010;
Famous=1011;
CultLeader=1012;
Artificer=1013;
Runemaster=1014;
Astrologer=1015;
Conjurer=1016;
Charismatic=1017;
Spellweaver=1018;

They line up pretty well and make sense in the combinations you've listed. This form of variant type handling is quite common in the original code as well.

Thank you.
Reply

(January 4th, 2022, 08:57)zitro1987 Wrote: Would it help Seravy if we have a separate thread for modding bug reporting? Keeping this one for unmodded game bugs?

Maybe, but there aren't all that many bug reports of either kind right now to need it yet.
Reply



Forum Jump: