• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Error

Status
Not open for further replies.
Level 4
Joined
May 2, 2013
Messages
107
Is someone familiar with the following Warning message:


User: 2 too many operands for the requirement 'eq'.



Its showing when I test. I'm not sure where this error is damaging, but I have my suspision.

By 1 upgrade it doesnt show the right requirement in game, plus it doesnt show the resource cost. Though the upgrade work great. It do cost some resources and it will tell you when you dont have enough, so also the cost is working properly.

Plus the requiremnt which u need to purchase the upgrade isnt SHOWED correct in game (it is showing an other requirment I made), but that also works properly.. I checked requiremnts, upgrade, ablities, buttons.. Everything of that upgrade is correct.. But still its not showing the right things in game, but works properly.. Can someone help me out.. --> Im not sure this error has to do with this problem, but I highly suspects it is..

Thanks in advance
 
Level 4
Joined
May 2, 2013
Messages
107
Here it is.. This file contains the warning message.
 

Attachments

  • Warning Message To many operands.SC2Map
    2.9 MB · Views: 65

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
The error is caused by "Have Spawning Pool" Requirement Entry. You used an "Equals" requirement on "Show" that had no operands given to it.

This may or may not have anything to do with the problems you have, but removing that requirement from Show will remove the error.
 
Level 4
Joined
May 2, 2013
Messages
107
Aaahhh, yes.. I c.. The error is gone yes after the thing.. But my suspision wasnt right.. The bug of the following upgrade is still there..

If you would check 'Baneling level 2' upgrade its requiremnt is baneling level 1, but in game it shows 'Marine level 2', thus the resource cost isnt displayed in tooltip, but it does charge resource cost.. as you got the file now.. Can you check that for me.. Because this was the bug that is really damaging my game, thought it was caused by the error, but the error wasnt damaging at all so it seems..

Thanks for finding the warning message cause in the first place :D
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Unable to recreate your problem.

I placed a Hive down (for creep) and put a Baneling nest on it. I gave myself resources and started researching the Spawn Baneling upgrade through the levels. The result was each one said it required the previous one as expected. No "Marine level 2" was observed. Also no "resource cost isnt displayed in tooltip" was observed as well.

Please give me more accurate steps to recreate the problem. Be aware I play with basic tooltips disabled and extended tooltips enabled.
 
Level 4
Joined
May 2, 2013
Messages
107
Yes.. I added here a file with the needed things to see the bug.

If you would press Test Document right now, and press on 'Upgrade Baneling level 1' which is located on the spawning pool .. The button of 'Baneling level 2' will show up.. And there you can see the bug with the wrong requiremnt and no resource cost at tooltip. But you can purchase the upgrade..
 

Attachments

  • Baneling upgrade bug.SC2Map
    2.7 MB · Views: 59

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
The spawning pool command card is corrupted. It has a custom requirement defined for "Baneling Level 2" button which is messing with the displayed requirements (overwriting them so they are wrong) and the cost (hiding costs). Either delete that button and re-insert it or go to XML view and delete the requirement field that the command card button is using (as that field should not be there).

I suspect what happened is you changed an existing button which did have a requirement to the current button without first setting the requirement to "None". The result was the field became hidden yet still was active so was messing with the button. I found this was the problem when I added a new button to the Spawning Pool which did exactly the same as the current button except in-game the new one worked (correct requirements, showed cost) yet the old one did not. When I turned to XML view the problem was obvious as the old button had a requirement set for the Marine upgrade that should not have been there.
 
Status
Not open for further replies.
Top