Jump to content

No rule for anything


Recommended Posts

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?

Link to comment
Posted (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 by subtledoctor
Link to comment

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.

Link to comment
Posted (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 by Jarno Mikkola
Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...