Rewards seem to only work for some users #609


  • Defect
  • Waiting
Open
  • _ForgeUser16393641 created this issue Dec 7, 2016

    I have a system on my server that promotes a user via PermissionsEx up a ladder for reaching certain milestones in gameplay. They get promoted up this ladder for 1 day of gameplay and then again for 100 hours of gameplay. However, I've noticed that some users, when they get promoted, lose their rank entirely. Here's an except from my rewards.yml. When they reach a milestone, a message is displayed and then they're promoted.

     

    commands:
       - Trusted:'pex promote [player] Time'
       - MessageTrust:'e broadcast &b[player] &ahas received the &f{&bTrusted&f} &arank for playing &b24 &ahours!'
       - Vip:'pex promote [player] Time'
       - MessageVip:'e broadcast &b[player] &ahas received the &f{&aVip&f} &arank for playing &b100 &ahours!'
    
    rewards:
       - S,A,T,P,S8COMMAND0MessageTrust,default,all,1,0,0,0,0,0,-1,C,0,Trusted,S8COMMAND0Trusted
       - C,A,T,P,null,default,all,1,0,0,0,0,0,-1,C,0,MessageTrust,S8COMMAND0MessageTrust
       - S,A,T,P,S11COMMAND0MessageVip,default,all,4,4,0,0,0,0,-1,C,0,Vip,S10COMMAND0Vip
       - C,A,T,P,null,default,all,4,4,0,0,0,0,-1,C,0,MessageVip,S11COMMAND0MessageVip

     

     I don't know if this has anything to do with MYSQL errors, but I'll leave two reports that I've found recently when looking through the log:

     

    [12/07/2016 17:42:45] {savePlayerDataMySQL} MYSQL Write Error:Data truncation: Data too long for column 'playtime' at row 1

    [12/07/2016 17:50:24] Failed MYSQL add of Agentroop to MYSQL Report ontime-monthly-2016.12.31

  • _ForgeUser16393641 added the tags Defect Waiting Dec 7, 2016

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