Can't type in EVs

Discussion in 'Bugs and Fixes' started by Fuzzysqurl, May 27, 2016.

  1. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    As you type in numbers in the EV box, it rounds it to the nearest number divisible by 4.

    For example: if you try to type "56" for an EV it will keep forcing you to use "44"

    Posting so @turbedi can fix it for me I don't forget
     
  2. turbedi

    turbedi Professional circle clicker ~~~ Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jul 18, 2013
    Messages:
    385
    Likes Received:
    155
    PO Trainer Name:
    turbedi
    Uhhh.. I am a bit confused.
    1. Webclient or Windows Client? (Can't reproduce it on both of them :x )
    2. "56" is divisible by 4. Do you mean "46"?
     
  3. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Windows client from source. Doesn't affect my v2.5.2 client.

    It rounds per digit. Type a 5 and it changes to 4. Type 6 and it changes to 4. Turns 56 to 44.

    Pasting "56" in works but typing does not.

    PS: I broke it. Line 141 of evbox.cpp (Sync IV Box with EV Box)
     
    Last edited: May 28, 2016