What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Target failure

Shiisane

New Member
Joined
Nov 13, 2012
Messages
9
Reaction score
0
21536664rp.jpg
 
i need the UILogg-file, where the fight was logged (in your hearthbuddy log, at the start of the fight, there is this line written: "fight is logged in: xxxx"
 
Here is one of the UILogg-files with this bug

File-Upload.net - UILogg_2015-04-08_23-58-51.txt
thanx :D
and its not my fault
@pushdex:

Code:
CardDB.Card c = hc.card;
                if (playedcards.Contains(c.name) || !hc.canplayCard(p)) continue; // dont play the same card in one loop
                playedcards.Add(c.name);

                int isChoice = (c.choice) ? 1 : 0;
                for (int i = 0 + 1 * isChoice; i < 1 + 2 * isChoice; i++)
                {
                    if (c.choice) c = PenalityManager.Instance.getChooseCard(hc.card, i); // do all choice

                    blubb

                }
you cant do the if(c.choice) check! because c will be changed in first iteration, so the card will not be changed to the second choice-card.
but anyway its a nice way to simlify my code :D
 
Sorry my english isnt well... :/ i dont understand...


what can i do ? isnt there any help to solved the problem?
 
Back
Top