Error saving LevelSession: 0 error
I receive this error while modifying code in the editor for Greed. (I assume it’s the static debugger running.)
Error saving LevelSession: 400 Invalid header received from client
I receive this error while running the simulator. In Chrome’s inspection console, this error corresponds with
PATCH http://codecombat.com/db/level.session/537bc26e8fe668b406d4c019 400 (Invalid header received from client) vendor.js:460 Q.cors.t.crossDomain.send vendor.js:460 Z.extend.ajax vendor.js:438 t.ajax vendor.js:924 t.sync vendor.js:921 s.extend.sync vendor.js:835 s.extend.save vendor.js:856 a.save app.js:1365 a.exports.t.saveSession app.js:182 Hn.g vendor.js:709
I get these errors even with the default code loaded in the sim.
The debugger is also throwing “Unexpected end of input” for my code, though not the default code. I think that may be unrelated, but the above errors are the only things I can think of that might be triggering the error as I managed to get JSLint to stop complaining about my code, suggesting that it’s not an open-ended block…
Username is Sapid on the Ogres. I just threw my code up on the ladder so you can take a look at it. (Goodbye, ladder ranking…)