Referral Rewards Not Issuing Correctly #531


  • New
  • Defect
Open
Assigned to _ForgeUser8455416
  • iamvishnu created this issue Feb 7, 2015

    NOTE: If you supply copies of your .yml or console log files, please use pastebin, dropbox, or other service and provide link,  instead of copy/paste of the file into this report. Thanks!

    What Version of OnTime and Bukkit are you using?
    OnTime: 3.14.4
    Bukkit: Spigot 1.8

    What storage option are you using? (YML or MYSQL) ? MYSQL

    What permissions plugin are you using? (Groupmanager, PEX,bPermissions, etc.) PEX

    Please provide a link to a copy of your plugins/OnTime/config.yml: Unchanged from my last ticket

    What steps will reproduce the problem?
    1. Set up referral-based rewards
    2. Have a player refer another
    3. Wait until the reward is supposed to be issued

    What is the expected output? What do you see instead?
    In my rewards, both the target and source player are supposed to be awarded a diamond block each upon the target player reaching 12 hours of total playtime. In my previous ticket, I mentioned that rewards are rapidly awarded to players, which does still happen occasionally, however now I noticed that not only are source players not receiving their rewards, but the reward is being issued to target players at the incorrect time.

    Do you have an console log of what happened?
    Here is an example of this problem happening in the OnTimeLog.yml:
    [01/31/2015 20:04:48] beastam45 OnTime =  7  Hr   8  Min   perpetual reward should happen in 51  Min
    [01/31/2015 20:05:40] Indi reward of 1 of diamond_block set for beastam45 in 2  Seconds
    [01/31/2015 20:05:42] Attempting issue of reward to beastam45 of 1 of diamond_block
    [01/31/2015 20:05:42] Issued reward to beastam45 of 1 of diamond_block

    You'll notice that OnTime tried to issue the reward to the player (this is the target player) at 7hr 8min total playtime, instead of the 12 hours that was defined for the reward. There was no indication of any attempt to distribute the reward to the source player (I was online at the time, so I can confirm that the player did not receive their reward).

    Are you having a "rewards" problem?  Please provide a link to a copy of your /plugins/OnTime/rewards.yml :
    Here is a copy of the rewards, as they are defined in the rewards.yml (I created them via commands, using the tutorial)
    - FT,A,T,P,null,default,NewSurvival,0,12,0,0,0,0,0,I,1,diamond_block,S0ITEM1diamond
    - FS,A,T,P,null,default,NewSurvival,0,12,0,0,0,0,0,I,1,diamond_block,S1ITEM1diamond
    From what I can tell, everything seems normal. I haven't tried completely remaking the rewards yet, but that's the only other thing I can think of right now that would help.

    Did you turn on OnTime logging (/ontime logfile enable 1)?  If so, provide a link to that file too.

    Please provide any additional information below.

  • iamvishnu added the tags New Defect Feb 7, 2015
  • iamvishnu posted a comment Apr 30, 2015

    This issue is still persisting in v4.1.3


To post a comment, please login or register a new account.