Combat/Victory bug

If you find a bug please report it here

Combat/Victory bug

Postby KGB » Wed Feb 23, 2011 2:21 pm

Here's one I have never seen before in KGBvKCround4 (id 1562).

I just attacked the Dragon city on the Bullrun map. It had 25+ defenders in it including an enemy dragon. My stack was a Dragon/Siege+6 Spiders. The combat crashed the game. As in I waited a few seconds then got an out-of-sync error.

After refreshing the browser I got the victory screen. So I occupied the city. The browser hung again. I refreshed once more and this time I see a very strange result. The city is my color (orange) on the mini-map. I can set/change production. But on the game map, my dragon is in the upper left corner. In the other 3 corners are enemy units. If I try to move more units into the city, I enter battle. That battle hangs and I have to refresh the browser at which time my units appear in the city.

Those enemy units are in fact real. When I replay the battle report, the battle crashed at the point my dragon entered against the final 3 enemy units. So the battle never actually completed. Yet it gave me the victory.

Take your time reviewing what happened as I have 5 days to finish my move.

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Combat/Victory bug

Postby SnotlinG » Wed Feb 23, 2011 7:28 pm

That was a bug in the battlefunction. Piranha has updated the code now, so we shouldnt see this bug again i hope :-)

I have fixed your ongoing game, as the fight was not completed I moved your 2 units out of the city and returned the ownership to kenc80. Not optimal, but I think it is the best we can do for this situation...
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am

Re: Combat/Victory bug

Postby KGB » Wed Feb 23, 2011 8:51 pm

SnotlinG wrote:That was a bug in the battlefunction. Piranha has updated the code now, so we shouldnt see this bug again i hope :-)


I'm blaming that bug for every battle loss in every game I've played :lol:

SnotlinG wrote:I have fixed your ongoing game, as the fight was not completed I moved your 2 units out of the city and returned the ownership to kenc80. Not optimal, but I think it is the best we can do for this situation...


That's totally fair. Though had I known, I would have pillaged his production when I briefly owned the city :twisted:

KGB
KGB
 
Posts: 3030
Joined: Tue Feb 16, 2010 12:06 am

Re: Combat/Victory bug

Postby SnotlinG » Wed Feb 23, 2011 9:09 pm

The bug only happened if there was more than 60 rounds in one fight... so I guess it is a bit hard to blame all your battlelosses on this bug ;-)
SnotlinG
 
Posts: 2148
Joined: Sat Feb 13, 2010 12:42 am

Re: Combat/Victory bug

Postby kenc80 » Sat Feb 26, 2011 5:10 pm

ha, just noticed this thread.

KGB I think this renders our game illegal and it should be stricken from the win/loss record. Clearly I was about to win and clearly the game was hanging in the balance at that point! :mrgreen:
kenc80
 
Posts: 344
Joined: Wed Mar 10, 2010 9:16 pm
Location: South Carolina, USA


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 5 guests

cron
Not able to open ./cache/data_global.php