Beardlessbrady / Currency-Mod

Currency & Ecnonomy in Minecraft
3 stars 1 forks source link

Vending machine money glitches. #53

Closed oddstr13 closed 6 years ago

oddstr13 commented 6 years ago

Minecraft 1.12.2 Forge 14.23.0.2550 Good Ol' Currency Mod 1.12.0-1.2.6

Many other mods installed, but probably not related to this bug. Do tell me if you want the complete list.

Buying items sets earned money instead of add. Buying with wallet behaves strangely.

2017-11-23_12-23-00 2017-11-23_12-31-56

# Configuration file

##########################################################################################################
# general
#--------------------------------------------------------------------------------------------------------#
# These configs modify the balance/experience of the old
##########################################################################################################

general {
    # This changes if the ATM will drop itself when broken or not [default: false]
    B:"Drop ATM when broken"=false

    # Enabling this makes it so only the player who placed the machine can break it [default: true]
    B:"Invincible Machine"=true

    # Default=0, 16x16=1, Foolcraft=2 [range: 0 ~ 2, default: 0]
    I:"Item Textures"=0

    # This changes how many rows of inventory slot there are in the wallet [range: 0 ~ 4, default: 4]
    I:"Wallet Size"=4
}

##########################################################################################################
# items & blocks
#--------------------------------------------------------------------------------------------------------#
# These configs enable/disable a lot of main features of the old.
##########################################################################################################

"items & blocks" {
    # Block [default: true]
    B:"Exchange Machine"=true

    # Block [default: true]
    B:"Vending Machine"=true

    # Item [default: true]
    B:Wallet=true
}

##########################################################################################################
# recipes
#--------------------------------------------------------------------------------------------------------#
# These configs enable/disable recipes of block and item in the old.
##########################################################################################################

recipes {
    # Block [default: true]
    B:"Exchange Machine"=true

    # Block [default: true]
    B:"Vending Machine"=true

    # Item [default: true]
    B:Wallet=true
}
Beardlessbrady commented 6 years ago

That is very odd. Have you managed to isolate it to a specific mod that this bug occurs with

oddstr13 commented 6 years ago

I'm able to reproduce all of the above with just Good Ol' Currency Mod and Forge.

Test case: Add 8 100$ bills to wallet. Use wallet to buy Lapis for $2 each from a vending machine.

It seems you need 2 or more 100$ bills in the wallet to reproduce money duping. Disappearing profits works with either wallet in slot, or feed cash directly.

javaw_2017-11-23_20-09-26

Beardlessbrady commented 6 years ago

Contact me on discord and Ill send you a version of the latest build Im working on, so you can see if it has these issues still

Beardlessbrady commented 6 years ago

my discord is BeardlessBrady#2909