temnix Posted May 22, 2021 Share Posted May 22, 2021 I see ridiculous messages from Weidu about "no rule" for bgee, soa, bg1 and every other game, with GAME_IS. It is as if this "rule" function is broken. I don't always get this message, but I don't ever want to see it. What could be causing this? Quote Link to comment
subtledoctor Posted May 22, 2021 Share Posted May 22, 2021 (edited) Should probably read up on just what arguments that condition recognizes... EDIT - which, to be fair, is not an entirely sensible list. I don’t remember all the details, but the rule has evolved based on the need to support legacy mods - it was not designed top-down as a sensible rule. Edited May 22, 2021 by subtledoctor Quote Link to comment
Jarno Mikkola Posted May 23, 2021 Share Posted May 23, 2021 Not being able to read the words that are not said, I'll request to see the code that this "no rule" comes into question. Quote Link to comment
temnix Posted May 23, 2021 Author Share Posted May 23, 2021 It's GAME_IS ~bgee~. And the like. Point out the mystery here. However, this mostly comes up when the mod fails to install for some reason or is being uninstalled. Then I get these warnings. Quote Link to comment
Jarno Mikkola Posted May 23, 2021 Share Posted May 23, 2021 (edited) I told there was invisible text... and so here, you should use: ACTION_IF GAME_IS ~bgee~ patch.... END Not just GAME_IS for whatever that throws at you... this is of course all within a BEGIN ~component name~ .... END -clause. END being in Italics cause it's not strictly nessasary if it's the only component. Or different thing is to utilize the thing in: REQUIRE_PREDICATE GAME_IS ~blah~ At this: BEGIN ~component name~ REQUIRE_PREDICATE GAME_IS ~blah~ ... if you want to allow it to be used only in certain possibilities. And like shown in elsewhere, you can have multiple strings in the blah sepatated by a space. Edited May 24, 2021 by Jarno Mikkola Quote Link to comment
kjeron Posted May 23, 2021 Share Posted May 23, 2021 That feedback should result either from specifying invalid game entries (such as bg3 iwd3 sod) or from using invalid whitespace between them (not space or tab). Quote Link to comment
temnix Posted May 25, 2021 Author Share Posted May 25, 2021 Neither. It's all valid, but the message appears, I think, only when uninstalling this mod on account of another, installed earlier. Weidu reinstalls the other, then proceeds to reinstall this one, and if the tp2 has been rewritten or something else has changed in the meantime and the reinstallation can't proceed, there is a litany of complaints about "no rule." Well, it doesn't matter. Some quirk of the installer program. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.