Player data stored incorrectly #547


  • Defect
  • Waiting
Open
Assigned to _ForgeUser8455416
  • iamvishnu created this issue May 4, 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: 4.1.3
    Bukkit: 1.8.3

    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:
    http://pastebin.com/taeVyuYx
    (Same as in previous 2 tickets)

    What steps will reproduce the problem?
    1. Load OnTime on Spigot 1.8.3
    2. Wait for daily playtime to get saved incorrectly
    3.

    What is the expected output? What do you see instead?
    Players are accruing daily/weekly/monthly playtimes that should be impossible, i.e. 4 Days of playtime Today

    Do you have an console log of what happened?

    Are you having a "rewards" problem?  Please provide a link to a copy of your /plugins/OnTime/rewards.yml :

    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.
    This problem did not occur before 1.8.3, to my knowledge. It's probably an issue with this version of Spigot

    Also, in order to fix a player's messed-up times, I attempted to delete their OnTime record while they were offline, then reset it to their most recent playtime, and now OnTime is unable to detect that the player is online.

  • iamvishnu added the tags New Defect May 4, 2015
  • iamvishnu posted a comment May 12, 2015

    Could this be related to OnTime data for MySQL being stored in an "ontime-players" table as well as an "ontime-multiserver" table?

  • iamvishnu posted a comment May 23, 2015

    Just had a look at the ontime-multiServer table in my MySQL database. There are multiple records created for each user, many with separate values for logintime, todaytime, etc. http://i.imgur.com/AKQfifv.png

  • iamvishnu posted a comment Jun 21, 2015

    Any info or help we can get on this at all would be appreciated. This bug is interfering with our ability to track staff time, and we're constantly having to explain to players that OnTime is still broken.

  • iamvishnu posted a comment Jul 20, 2015

    So just to rule out an issue with our MySQL database, I went through and deleted all the daily, weekly, and monthly time for all players. This hasn't fixed the issue, so it seems like a bug that's internal to OnTime that's causing these timescales to not be reset at the proper time.

  • _ForgeUser8455416 posted a comment Mar 10, 2016

    If you still have interest in me investigating this issue please let me know.

    One thing I noticed right away is that the config.yml file you have is of the wrong format for the version of OnTime. You should let OnTime re-gen a new config file and then re-edit the new version. (I don't know why, but OnTime should have done this automatically at some point during a past upgrade. This did not happen so just quicker for you to gen a new one then for me to try to figure out that problem first)

  • _ForgeUser8455416 removed a tag New Mar 10, 2016
  • _ForgeUser8455416 added a tag Waiting Mar 10, 2016

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