zoot Posted August 30, 2012 Report Share Posted August 30, 2012 (edited) This is an error that has just popped up just recently:ERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",60)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 ("units/spart_support_female_citizen","unit",1,[object Object])@simulation/components/ProductionQueue.js:212 ProcessCommand(4,[object Object])@simulation/helpers/Commands.js:161ERROR: Failed to call ProcessCommand() global script functionUsing Xcursor to sys_cursor_create 32 x 32 cursorERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",0)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 TryConstructBuilding(2,[object Object],false,[object Object])@simulation/helpers/Commands.js:616 ProcessCommand(2,[object Object])@simulation/helpers/Commands.js:213ERROR: Failed to call ProcessCommand() global script functionERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",0)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 TryConstructBuilding(2,[object Object],false,[object Object])@simulation/helpers/Commands.js:616 ProcessCommand(2,[object Object])@simulation/helpers/Commands.js:213ERROR: Failed to call ProcessCommand() global script functionERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",0)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 TryConstructBuilding(2,[object Object],false,[object Object])@simulation/helpers/Commands.js:616 ProcessCommand(2,[object Object])@simulation/helpers/Commands.js:213ERROR: Failed to call ProcessCommand() global script functionERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",250)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 ("units/pers_infantry_spearman_b","unit",5,[object Object])@simulation/components/ProductionQueue.js:212 ProcessCommand(3,[object Object])@simulation/helpers/Commands.js:161ERROR: Failed to call ProcessCommand() global script functionERROR: JavaScript error: simulation/components/StatisticsTracker.js line 151TypeError: this.resourcesUsed is undefined ("food",0)@simulation/components/StatisticsTracker.js:151 ([object Object])@simulation/components/Player.js:199 TryConstructBuilding(2,[object Object],false,[object Object])@simulation/helpers/Commands.js:616 ProcessCommand(2,[object Object])@simulation/helpers/Commands.js:213ERROR: Failed to call ProcessCommand() global script functionApparently it happens just after loading (any) savegame. It also renders buttons in the building UI unusable.I can attach savegame if need be.Edit: Actually, it doesn't seem to happen with new savegames, so I assume it is just a transitional issue due to some architectural change? Edited August 30, 2012 by zoot Quote Link to comment Share on other sites More sharing options...
feneur Posted August 30, 2012 Report Share Posted August 30, 2012 Just at a quick glance, and from a non-programmer, it seems like they come from the new changes to the post-game statistics. So yeah, we might need to add a warning somewhere that savegames can't be expected to work between game versions (or even between revisions, though in most cases they probably will, it's just not something we can guarantee ). Quote Link to comment Share on other sites More sharing options...
Deiz Posted August 30, 2012 Report Share Posted August 30, 2012 Yeah, the rule of thumb is that saves presently have virtually zero forwards-compatibility.As the game progresses to a finished state, the data structure will probably stabilize, and there'll be backwards-compatibility for at least a few releases, I imagine. For now, though, save compatibility is broken tens of times in between each alpha release. Quote Link to comment Share on other sites More sharing options...
gameboy Posted September 1, 2012 Report Share Posted September 1, 2012 This problem persists, please solve this problem, thank you! Quote Link to comment Share on other sites More sharing options...
zoot Posted September 1, 2012 Author Report Share Posted September 1, 2012 This problem persists, please solve this problem, thank you!Please read the answers above. It is not a bug and can't be fixed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.