Ladder replays not loading

Let me start by apologizing for any mistakes, I’m new but I try to keep to the rules

I’ve searched the forums for similar problems, but the most similar thread is from April '15, and does not contain a solution. The problem I’m having is that I can’t watch any of my played ladder games. If I click the links ‘Watch your victory’ or ‘Defeat the Blue’ it goes to the next page, I hear the ‘Codecombat’ shout, I see the loading bar (it fills up), but then it just stops.

First I thought the problem might be my browser (Firefox 46.0.1), so I downloaded Google Chrome (Version 50.0.2661.102 m), but this did not fix the problem. I would really like to see the replays, since my latest creation has (up to now) only lost once, so I’d like to learn why.

If there is anything I can do to help troubleshoot please let me know!

Edit: Javascript console from Chrome

Console output
templates/courses/course-details
vendor/aether-clojure
vendor/aether-coffeescript
vendor/aether-io
vendor/aether-java
vendor/aether-javascript
vendor/aether-lua
vendor/aether-python
vendor/coffeescript
vendor/d3
vendor/difflib
vendor/diffview
vendor/three
vendor/treema
views/account/AccountSettingsView
views/common/SearchView
views/courses/ChangeCourseLanguageModal
views/courses/ChooseLanguageModal
views/courses/CourseDetailsView
views/courses/CoursesView
views/editor
views/modal/ModelModal
views/modal/RevertModal
views/play
ModuleLoader.coffee:86loaded 25 files, 1668 KB
CocoModel.coffee:100Populated defaults for Level Dueling Grounds in 43ms
LevelLoader.coffee:468World has been initialized from level loader.
ThangType.coffee:232Built sheet:  Captain                 205ms  Sync   (Portrait)
ThangType.coffee:232Built sheet:  Knight                  254ms  Sync   (Portrait)
Angel.coffee:56|Macaria's Krieger| Worker initialized after 3177ms
God.coffee:73Macaria: Let there be light upon Dueling Grounds! (preload: false)
Angel.coffee:56|Macaria's Krieger| Generated random seed -1846933953 of type playerSession from sessionIDs 55e0bd5d49a7a68805c84aad,57407189d0bee72000a4374a submissionCount 5
Angel.coffee:56|Macaria's Krieger| couldn't load components for 529ffbf1cf1818f2be000001 Hero Placeholder 1 because SyntaxError: Unexpected token u in JSON at position 0 SyntaxError: Unexpected token u in JSON at position 0
    at Object.parse (native)
    at Function.t (http://codecombat.com/javascripts/esper.js:4663:212)
    at e.s (http://codecombat.com/javascripts/esper.js:50:55)
    at e.u (http://codecombat.com/javascripts/esper.js:47:56)
    at Object.e.exports.createFunction (http://codecombat.com/javascripts/aether.js:6369:23)
    at e.exports.e.createFunction (http://codecombat.com/javascripts/aether.js:6177:42)
    at t.Programmable.replaceMethodCode (eval at <anonymous> (http://codecombat.com/javascripts/world.js:1178:35), <anonymous>:158:20)
    at t.Programmable.deserializeAether (eval at <anonymous> (http://codecombat.com/javascripts/world.js:1178:35), <anonymous>:127:10)
    at Programmable.attach (eval at <anonymous> (http://codecombat.com/javascripts/world.js:1178:35), <anonymous>:62:27)
    at t.e.exports.t.addComponents (http://codecombat.com/javascripts/world.js:731:10)
    at World.module.exports.World.loadThangFromLevel (http://codecombat.com/javascripts/world.js:1165:21)
    at World.<anonymous> (http://codecombat.com/javascripts/world.js:1149:13)
    at World.module.exports.World.loadThangsFromLevel (http://codecombat.com/javascripts/world.js:1149:77)
    at World.module.exports.World.loadFromLevel (http://codecombat.com/javascripts/world.js:1125:6)
    at a (http://codecombat.com/javascripts/workers/worker_world.js:116:23)
    at DedicatedWorkerGlobalScope.<anonymous> (http://codecombat.com/javascripts/workers/worker_world.js:178:62)
Angel.coffee:56 |Macaria's Cyril| Worker initialized after 5008ms
Angel.coffee:56 |Macaria's Krieger| The world ended in won on frame 90
Angel.coffee:56 |Macaria's Krieger| The world ended in lost on frame 90
Angel.coffee:56 |Macaria's Krieger|   Loaded 76 of 90 (+1002ms)
LevelLoader.coffee:360 SuperModel for Level loaded in 7079 ms
thang.coffee:158 Compiling new Component while deserializing: AutoTargetsNearest
VM170:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0t @ esper.js:19772s @ esper.js:236u @ esper.js:228e.exports.createFunction @ aether.js:21880e.exports.e.createFunction @ aether.js:21040Programmable.replaceMethodCode @ VM144:158Programmable.deserializeAether @ VM144:127Programmable.attach @ VM144:62t.exports.e.addComponents @ thang.coffee:66t.exports.e.deserialize @ thang.coffee:162(anonymous function) @ world.coffee:488module.exports.World.deserialize @ world.coffee:488t.exports.t.beholdWorld @ Angel.coffee:140t.exports.t.onWorkerMessage @ Angel.coffee:123(anonymous function) @ Angel.coffee:4
Angel.coffee:56 |Macaria's Krieger| And it was so: (34.167ms per frame, 90 frames)
Simulation   : 3075ms 
Serialization: 46ms
Delivery     : 71ms
1 Like

Great troubleshooting on the console log! Let me deploy the latest version I’ve been working on, which helps transition more to the new Esper interpreter and doesn’t transpile the multiplayer code at all (more efficient this way), and let’s see if your levels load after that. Starting the deploy now, should be ready in half an hour or so.

1 Like

Should be fixed if you clear your browser cache! Let me know if you see any other weirdness.

2 Likes

It also solves my problem, thanks a lot.

1 Like

Just to confirm, this has solved my problems. Thanks a lot!

1 Like