*Author

Kirjath

  • Guest
Impatient during the draw animation. https://elementscommunity.org/forum/index.php?topic=4345.msg42886#msg42886
« on: March 23, 2010, 06:12:32 pm »
This is a little hard to describe in words, so I'll apologize in advance.

If you click a card while the animation for a card draw is playing, the newly drawn card is placed in the spot that used to be the first empty slot.  So a card in slot 1 and 2, draw a card, quickly play card 2 and you should have a card in slot 1 and 3 now.  This isn't a problem.  If you draw again the new card will actually go into slot 2 and you'll have no empty slots.  However, if you play card 1 while drawing another card, the new card fills in slot 2 AND the card that was in slot 3 goes into slot 2 as well.  The new drawn card covers the old card and over writes it so the card that was under is now gone.

I think what is happening is you set the target index for the new card when the animation starts, then don't check that the stored index is still empty when the animation is finished.  It should be an easy fix to iterate through the indexes until an empty slot is found.  You shouldn't have to handle a fail-if case where there are no empty slots because you already have guarded against a draw with a full hand.

Generally this is probably a low priority bug (how often do you get obsessive clickers firing through their cards as fast as they can) but it is a destructive bug, so I thought it should be reported.

Let me know if you have questions about how to reproduce the bug.

-Kirjath

Offline pikachufan2164

  • Legendary Member
  • ******
  • Posts: 2938
  • Country: ca
  • Reputation Power: 40
  • pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.pikachufan2164 soars like the Phoenix, unable to be repressed.
  • Phase in, phase out.
  • Awards: Rouser of Willng3 RecruitsWeekly Tournament WinnerWar #5 Winner - Team AetherSlice of Elements 3rd Birthday CakeTeam PvP #4 WinnerSlice of Elements 2nd Birthday Cake 	2nd Trivia Winner
Re: Impatient during the draw animation. https://elementscommunity.org/forum/index.php?topic=4345.msg42945#msg42945
« Reply #1 on: March 23, 2010, 08:32:59 pm »
Lesson of the day: don't click too quickly.

This should be fixed in the 1.21:

Bug Fix:
- A small green/red light appeared close to the cards in the hand. Players can not play more cards while the light is red, this will prevent several overlapping effects and bugs. When this happened in pvp it also caused desync.
Side effect: players have to wait for all the effects to be resolved.
http://elementscommunity.org/forum/index.php/topic,4066.0/
I'm doing science, and I'm still alive.

Level 2 Magic Judge.

rayne4jesus

  • Guest
Re: Impatient during the draw animation. https://elementscommunity.org/forum/index.php?topic=4345.msg44911#msg44911
« Reply #2 on: March 28, 2010, 10:38:13 pm »
and also when drawing, if you choose a targeting skill from a creature thats out, once the card gets to the hand, you canot target any of the creatures whether they are targetable or not

ajm6

  • Guest
Re: Impatient during the draw animation. https://elementscommunity.org/forum/index.php?topic=4345.msg44999#msg44999
« Reply #3 on: March 29, 2010, 03:26:03 am »
@Kirjath Zanz fixed this in 1.21.

@rayne I don't know if this one was fixed, but lesson learned its a known issue.

rayne4jesus

  • Guest
Re: Impatient during the draw animation. https://elementscommunity.org/forum/index.php?topic=4345.msg45131#msg45131
« Reply #4 on: March 29, 2010, 03:58:24 pm »
@Kirjath Zanz fixed this in 1.21.

@rayne I don't know if this one was fixed, but lesson learned its a known issue.
thanks. yeah that has f****d me against more than one FakeGod. 

 

anything
blarg: