PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Nickname Pokemon IVs in hex (0..F)

Open ghost opened this issue 10 years ago • 4 comments

I think its good ideal option to usage hexadecimal in names usage less caracters and easy read in cellphone. Other Ideal is usage others chars to separate like F.E.D F:E:D F|E|D F~E~D

ghost avatar Aug 13 '16 00:08 ghost

Perhaps this can be easily achieved in config.json with {!x}?

admk avatar Aug 13 '16 04:08 admk

Wrote about this a couple days ago : #3350

charlesbine avatar Aug 13 '16 12:08 charlesbine

yeah, but the nickname class is calling lower()...

  {
    "type": "NicknamePokemon",
    "config": {
        "nickname_template": "{iv_sum}{iv_attack:X}{iv_defense:X}{iv_stamina:X}"
    }
  },

kanemasa1987 avatar Aug 13 '16 16:08 kanemasa1987

I try this form: in nickname_pokemon.py

...
# IV values in Hex like: 4C9
iv_adshex=''+format(iv_attack, 'X')+format(iv_defense, 'X')+format(iv_stamina, 'X'),
...

ghost avatar Aug 14 '16 01:08 ghost