[Bug Report] Donation medals

Discussion in 'Help & Support / Errors & Bugs' started by TheRealNR2502, Mar 15, 2015.

  1. TheRealNR2502

    TheRealNR2502 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2014
    Messages:
    224
    Trophy Points:
    20,390
    Ratings:
    +137
    Minecraft Username:
    NR2502

    Brief Description:
    I have 2 gold ingots as donation medals

    Instructions:
    1. Not sure..
    2.
    3.

    ..
    List the steps needed to take to reproduce this bug. Add more or less instructions appropriate to getting to the bug. If it's just a single step or ten steps, just add the numbers accordingly. Numeral listing is preferred.

    How many times did you recreate this bug?:
    1.. I kinda cant recreate it

    Result:
    2 Gold ingot medals

    Expected Result:
    1 Gold ingot
     
  2. Vintage_Gamer

    Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,783
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
    @Physicistsmom @jakeyray18: There should be an option in the menu where you edit medals to avoid duplication, perhaps that check box is not selected?
     
  3. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    97,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,919
    How should such duplication occur at all...? o_O
     
  4. Vintage_Gamer

    Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,783
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
    How the add-on works, I think, is that when a medal is awarded, it sends a record out to the database saying "this medal has an ID of 1, the medal should go to Vintage_Gamer and the medal should be the Gold Sword", in simple terms ;)

    If then the same command is sent to the database, instead of having an ID of 1, it will have an ID of 2, and it will add the medal to the user. Hence the duplication.

    Does that make sense? :p
     
    #4 Vintage_Gamer, Mar 15, 2015
    Last edited: Mar 15, 2015
  5. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    97,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,919
    it does, and it wasn't hard to think the same. However, what I meant...the 150$ medal command should be sent when the user feature amount exceeds 150$. How does the command even trigger twice then if the 150$ mark can only be reached once?
     
  6. Vintage_Gamer

    Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,783
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
    Hmm, interesting. I'm not too sure on that one. Probably something to do with the coding of the plgin/ add-on.

    However, the duplication check box should do the trick.
     
  7. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    97,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,919
    k.
     
  8. Vintage_Gamer

    Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,783
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
    @314: After having a think. It could be, that the medal is awarded if the total amount donated is >= to 150, perhaps he had 150 in donations. That would trigger it once, then if he bought another thing, it would detect his donation amount is greater than 150 thus triggering it again.

    Just a thought.
     
    #8 Vintage_Gamer, Mar 15, 2015
    Last edited: Mar 15, 2015
  9. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    97,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,919
    If that actually was the case, wouldn't this event be triggered at any purchase then at which you have over 150 in total?
     
  10. Vintage_Gamer

    Vintage_Gamer Builder
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Jun 18, 2013
    Messages:
    3,783
    Trophy Points:
    53,710
    Gender:
    Male
    Ratings:
    +1,219
    Hmm, perhaps. I'm not sure though.
     
  11. TheRealNR2502

    TheRealNR2502 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2014
    Messages:
    224
    Trophy Points:
    20,390
    Ratings:
    +137
  12. TheRealNR2502

    TheRealNR2502 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Aug 17, 2014
    Messages:
    224
    Trophy Points:
    20,390
    Ratings:
    +137
    it does, and it wasn't hard to think the same. However, what I meant...the 150$ medal command should be sent when the user feature amount exceeds 150$. How does the command even trigger twice then if the 150$ mark can only be reached once?Said 314.

    Ok so, if i had 15$+ Id need to keep that money in order to get the next rank up. For example, 150 dollars to 300 dollars, like, there is no donation that is 300 dollars, so, it has to add up the money from the 150 dollars to get to the 300 dollars. See what im saying?