drallieiv / KinanCity

Yet another PTC account generator
Apache License 2.0
125 stars 66 forks source link

fix: overflow limit triggering one to early #41

Closed 123FLO321 closed 7 years ago

drallieiv commented 7 years ago

I don't understand your modification. Why would it fail if the last count is equal to the max count?

Could you give example or make a failing test?

123FLO321 commented 7 years ago

-s 95 -c 5 -f any**thing Will cause an sequence overflow error. But it shouldn't since it fits.

  1. 95
  2. 96
  3. 97
  4. 98
  5. 99

So will -s 99 -c 1 -f any**thing