graywolf336 / CasinoSlots

Animated, customizable, block-based slot machines, including audio, inside of Minecraft!
http://dev.bukkit.org/server-mods/casino-slots/
GNU General Public License v2.0
23 stars 24 forks source link

Issue with global stats? #49

Closed volumen1 closed 9 years ago

volumen1 commented 10 years ago

I have three different slot machines and it loks like the stats.yml tracking for each of them is fine, but I'm not sure how the global: is calculating won/lost. It seems a little goofy. Here is my example.

global:
  spins: 112
  wins: 21
  losts: 91
  won: 35251.0
  lost: 63745.0
types:
  default:
    spins: 72
    wins: 12
    losts: 60
    won: 629.0
    lost: 1170.0
  highstakes:
    spins: 10
    wins: 0
    losts: 10
    won: 0.0
    lost: 1000.0
  penny:
    spins: 30
    wins: 9
    losts: 21
    won: 24.0
    lost: 30.0

Thanks

graywolf336 commented 9 years ago

Hahaha I have to laugh at this and how it is getting calculated, don't ask what I was thinking back in the day when this was coded....cause I have no clue. Will be fixing this later today, I'm laughing too hard at what it is doing now.