/ home / Bugs / android mirror elixir cost calculation client bug /

Android mirror elixir cost calculation client bug

3:08 pm, December 26, 2016 928 365 1.8 @ 200 wpmrate up jkohjk source
1
i found that if you use mirror immediately after a card, the client will deduct elixir based on the previous card. however, the server calculation is correct since the elixir on hand corrects itself after a few seconds when the client resyncs with the server. replays also do not show this bug.

how to reproduce:
i tested on normal games as well as training. i used the cards: elixir collector, miner, mirror, and zap for testing, but other cards with similar costs should work. cycle through other cards until all of those cards are on hand. use the elixir collector first. mirror will now show an elixir cost of 7. i waited until i had 10 elixir, then used miner and mirrored it immediately. those 2 cards should cost 3+4=7, but the bug causes 3+7=10 elixir to be used on the client, so now i have 0 elixir remaining. i tried using zap right after that but it says i did not have enough elixir, which i would have enough if it had correctly calculated the mirror's elixir cost. after that i waited a few seconds for my elixir to regenerate, and my elixir jumped from 1 to 4, which means the server resync refunded the extra elixir used.

this is a severe bug as it prevented me from using zap that i should have enough elixir for. e.g. to kill goblins spawned right on top of my mirrored miners.

additional info:
1. instead of waiting for 10 elixir, i waited for 7 elixir, then used the miner and immediately mirrored it, but it says i do not have enough elixir. once the server resyncs my elixir, then i can use the mirror.
2. using a lower elixir card, then a higher elixir card, and then mirror doesnt seem to have this bug. the elixir costs are calculated correctly after i tested a few times using skeletons, waiting for 10 elixir, then using hog rider and immediately mirroring will correctly use up 4+5=9 elixir and not 4+2=6 elixir.
3. when i watched replays of games that said i did not have enough elixir to use zap, i could see that i still had 3 elixir after using mirrored miners.
forum.supercell.com
3:08 pm, December 26, 2016 928 365 source

Comments

Chat

Site Rules

  1. Please be respectful.
  2. Only content directly related to Clash Royale belongs here.
  3. No image macros or memes.
  4. Comments + Content that don't contribute to the discussion or are abusive may be removed.
  5. No sexist, racist or homophobic language.
  6. Posting NSFW material is not allowed.

Links

Latest