Started today. Look like a tab crash with “:(” icon. Haven’t noticed crashes out of gameplay process.
Crashes are especially true for the “http://codecombat.com/play/level/kithgard-brawl” level.
I’ve got enough 8 GBs of RAM, I hope, so I just can’t suppose the reason.
UPD, more details:
I have stable crash in Chromium while editing code in kithgard-brawl level. The current code is: (couldn’t found “spoiler” on the editor pane, sorry)
def at(e):
enemiesAround = len([en for en in self.findEnemies() if self.distanceTo(en) < 10])
if self.isReady("cleave") and enemiesAround > 5:
self.cleave(e)
else:
self.attack(e)
def kill_rangers(rangers):
for e in rangers:
if e:
sh()
while e.health > 0:
at(e)
def sh():
if self.isReady('shield'):
self.shield()
loop:
item = self.findNearest(self.findItems())
if item:
sh()
self.moveXY(item.pos.x, item.pos.y)
# green = self.findFlag("green")
# if green:
# self.pickUpFlag(green)
enemies = self.findEnemies()
throwers = self.findByType("thrower", enemies)
if len(throwers):
kill_rangers
else:
e = self.findNearest(enemies)
if e:
d = self.distanceTo(e)
if d < 10:
at(e)
But that really doesn’t matter. The previous version of code crashed here while editing, too. Vim mode, python.
Currently I’m unable to reproduce the bug in the latest firefox. So it seems it’s chromium only thing.