• Visit Rebornbuddy
  • RewardIndex +"?"

    Discussion in 'Archives' started by strepie, Jun 9, 2015.

    1. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      Sorry if this is a retarded question, but how do we or should we deal with the "RewardIndex" tag lately? It seems "0" is broken atm., or not working as it used to be at least?
      Is there a way to let the profile "check" to see how many rewards are available maybe with a couple of lines like local rewardIndex = 0; if ( blahblah and blahblah > 0 ) then rewardIndex = rewardIndex + 1
      etc etc

      HOW? Pleeeeze help!! ;)
       
    2. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      I'd have to take a deeper look at the game to be 100% sure, but if I recall correctly, 0 equals take all, and any index higher selects a specific reward.
       
    3. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      Awesome. Ty, Aevitas.
      Seems I had a "duh" moment stupidly assuming adding a 0 will take any reward it can get that is available, and not having to specify a specific reward. Will try again. ;)
       
      Last edited: Jun 9, 2015
    4. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      We talked about this, but before it worked, if you stated RewardIndex="0" in the profile, it took slot 0 thus the first item.
      Then suddenly it didnt work anymore and Aevitas stated 0 was only for take all.
      If we somehow, could revert it back to slot 1 = RewardIndex="1" and so on then im happy.
      I will have to adjust some profiles but no big deal.
       
    5. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      Ty for your response, Cryo :) I have soo much reading to catch up on, since been gone for more than a year - sorry if I missed those discussions. To my defense I think they were archived...er..
      Hope your house remodeling is going well and we will see you around pushing out shiny new profiles soon?
      :)
       
    6. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Yeah its coming along. Next week painting, then flooring, then electricity and Cat, then moving down :)
       

    Share This Page