Forum Bank Glitch

Discussion in 'Help & Support / Errors & Bugs' started by Frostystorm1, Jul 13, 2018.

  1. Frostystorm1

    Frostystorm1 BulletClub ︻╦╤─ | Former Senior Super Moderator
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 28, 2016
    Messages:
    806
    Trophy Points:
    46,160
    Gender:
    Male
    Ratings:
    +1,095
    Minecraft Username:

    Frostystorm1

    Brief Description:

    I withdrew $20,000 from the forum bank but only got 10k of it ingame.

    Instructions:

    Type /bank withdraw 10000 twice
    Check /bal

    How many times did you recreate this?:

    1

    Result:

    Only received half of the money (10k) in-game that I withdrew, forum bank displayed 20k of my money gone.

    Expected Result:

    For the correct amount to transfer from the forum bank into my bal.

    Evidence:

    (This could be the result of code from fixing the recent /bank exploit)

    [​IMG]
    [​IMG]
     
  2. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    @Frostystorm1 - I see no logs for you requesting 20k.
    I see you requesting 10k twice, then 140k, then 40k.





    I see no errors.
     
  3. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    In addition, you were under cooldown. - See the notice on your first screenshot where it says you're under cooldown?
     
  4. 314

    314 Irratioπal President, former ServerAdmin
    President ⛰️⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    6,963
    Trophy Points:
    87,660
    EcoDollars:
    $27,000,000
    Ratings:
    +4,866
    I think this excerpt from the screenshots is what Frosty is referring to.
    Code:
    $10000 has been added to your account.
    Withdrawal completed, check your balance.
    $10000 has been added to your account.
    Withdrawal completed, check your balance.
    ...
    [EcoDollars] $10000
    
    /bal should be 20k after withdrawing 10k twice, but according to the screenshot the balance is only 10k.
     
  5. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    Ah, I see.

    I'll take a look at that.
     
  6. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    I also see the 2 10k instances properly added:
     
  7. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,370
    Trophy Points:
    102,160
    Ratings:
    +15,065
    @JamieSinn that's incorrect.

    Code:
        Line 102914: Update,Set,API,"Thursday, July 12, 2018 11:58:41 PM EDT","Frostystorm1",0.00146359999287374077200889602,money,$,"","","","","","","",""
        Line 102915: LiquidSafe,ForumBank,deposit,"Thursday, July 12, 2018 11:58:41 PM EDT","Frostystorm1",5295602,money,$,"Bank","","","","","","",""
        Line 102916: Update,Set,API,"Thursday, July 12, 2018 11:59:42 PM EDT","Frostystorm1",10000.00146359999287374077200889602,money,$,"","","","","","","",""
        Line 102917: LiquidSafe,ForumBank,withdraw,"Thursday, July 12, 2018 11:59:42 PM EDT","Frostystorm1",10000,money,$,"Bank","","","","","","",""
        Line 102918: Update,Set,API,"Thursday, July 12, 2018 11:59:42 PM EDT","Frostystorm1",10000.00146359999287374077200889602,money,$,"","","","","","","",""
        Line 102919: LiquidSafe,ForumBank,withdraw,"Thursday, July 12, 2018 11:59:42 PM EDT","Frostystorm1",10000,money,$,"Bank","","","","","","",""
    Update,Set,API should've set him at 20000.0014... for the second one.

    Also, it shouldn't even let him run the command twice in the exact same second.

    @Frostystorm1 did you run the commands right after one another or perhaps with a powertool?
     
    #7 andrewkm, Jul 13, 2018
    Last edited: Jul 13, 2018
  8. Frostystorm1

    Frostystorm1 BulletClub ︻╦╤─ | Former Senior Super Moderator
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Sep 28, 2016
    Messages:
    806
    Trophy Points:
    46,160
    Gender:
    Male
    Ratings:
    +1,095
    Yes this explanation is correct and exactly what I was trying to show, the money didn't appear in my bal right after I did the commands.

    I ran the two commands right after one another but I did it manually and by using the up arrow, not by powertooling it.
     
    #8 Frostystorm1, Jul 13, 2018
    Last edited: Jul 13, 2018
  9. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,370
    Trophy Points:
    102,160
    Ratings:
    +15,065
    @JamieSinn it looks like the cause is clearly some sort of glitch that allowed @Frostystorm1 to momentarily bypass the cooldown.
     
  10. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    I have an idea of what it could be. Very possible that it was this rare glitch.
     
  11. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    Yep - It was this.
    @andrewkm - TL;DR - forum backup caused web server to send a delayed response, and not properly add to cooldown. The delayed response also caused it to not properly award.

    Unfortunately, nothing we can really do besides block access to the command when the backup is running (11:45PM->12:30AM) daily.
     
  12. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,370
    Trophy Points:
    102,160
    Ratings:
    +15,065
    Doesn't backup begin at midnight. This happened at 11:59:42pm...

    Anyways, how exactly would we block the command during a specific time? If via LC then please hard code that in with a visible message so users are aware as to why the command is blocked during that time when they try to use it.
     
    #12 andrewkm, Jul 14, 2018
    Last edited: Jul 14, 2018
  13. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    The local backup does. The server time is off, and they match when you correct it.
     
  14. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,370
    Trophy Points:
    102,160
    Ratings:
    +15,065
    Made JIRA for time-block.