Ambrosia Garden Archive
    • Plug help


      I have created a Polaris Extension plug, problem is, for example, I want to set bit 7777 and 7788 on a misn completion, but there is only one bit field. How do I set 2 bits on a single misn?

      P.S. If you want a copy of that beta plug, drop me a line. (Parts from buggy Unity plug)

      ------------------
      ----
      "Humanity is in a time of dire need"
      --Ory'hara

    • In that field, just type:

      b7777 b7788

      ------------------
      Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
      Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
      It is better to feed the goat than it is today.

    • Ok uncletwichy, sorry, but 1 more question, why do some misns in the data files the mission bits in the box have brackets, like example:

      (b1234)

      ------------------
      ----
      "Humanity is in a time of dire need"
      --Ory'hara

    • Quote

      Originally from the Nova Bible:
      **The following terms and operators are supported: (capitalization doesn't matter)

      Bxxx Lookup the value of control bit xxx. Bits are numbered from b0 to b9999.
      Pxxx Check if the game is registered ((P)aid for) ... evaluates to 1 if
      the game is registered or is unregistered but less than xxx days have
      elapsed. Evaluates to 0 only if unregistered for more than xxx days.
      G Lookup the player's gender - 1 if male, 0 if female
      Oxxx Returns 1 if the player has at least one of outfit item ID xxx, 0 if not
      Exxx Returns 1 if the player has explored system ID xxx, 0 if not
      | Logical or operator
      & Logical and operator
      ! Logical negation operator
      ( ) Parenthetical enclosure

      Some examples:
      b13 & (b15 | !b72)
      !(B42 | B53) & b103

      Note that since the Nova evaluator is fairly primitive, it may do unpredictable
      things if you give it an expression like b1 & b2 | b3 ... instead, use proper
      parentheses to make it b1 & (b2 | b3) or (b1 & b2) | b3, as appropriate.**

      ------------------
      Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
      Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
      It is better to feed the goat than it is today.

    • Tell me how the plug called Unity is buggy, Ory'hara. I happen to be a good friend with the developer himself.

      ------------------

    • Quote

      Originally posted by Ory ' hara:
      **Ok uncletwichy, sorry, but 1 more question, why do some misns in the data files the mission bits in the box have brackets, like example:

      (b1234)

      **

      Quick lesson in pre Algebra. The engine can only handle two equations when determining which bits are set and which are not. So if you write 3 values like: b445 & !b446 & !b511 the engine won't be able to figure it out. Instead you'd write (b445 & !b446) & !b511. Or you can simply it even more by bracketing the ! bits: !(b446 & b511) & b445. This does the same thing as the previous example. The engine does the equation in the brackets first then once it has a single value for those it can move on to the next value. By putting the ! outside the brackets it will apply it to everything within them. The last example is saying that everything within these parenthesis should not be set and b445 should be.

      Larger equations work the same way: !(b446 & b511) & (b445 | b311) The engine will work the first parenthesis, store that answer (true or false) then it'll work the second half and return a true or false for that. If everything looks good it'll return a True True answer. If it returns True False the mission will not be available. Have a fifth bit that needs to be checked? Add another parenthesis: (!(b445 & b511) & b9) & (b446 | b311). The engine evaluates b445 along with b511, if it evaluates true, it'll move on to evaluate b9. If it returns True it'll store that and move on to evaluate b446 and b311. If either of those are set, it evaluates True for the entire expression and the mission is available.

      ------------------
      ((Ż'ˇ.¸(Ż'ˇ.¸Ť•-KAME-•ť¸.ˇ'´Ż)¸.ˇ'´Ż))
      I used to jog but the ice kept falling out of my glass.
      (url="http://"http://www.0three0.net/l-1551/")L 1551(/url) - The official site of RONIN and The Way and the ten thousand things