DivineDamon Posted December 30, 2016 Report Share Posted December 30, 2016 Hey there, I made a map but it shows this error "javascript warning: script value conversion check failed v.isnumber (got type object)" It shows this error now both in the editor and in game, but the map itself plays as it should. Is there any way to fix it? Maybe just turn off error messages as the map works fine anyways? Regards Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 30, 2016 Report Share Posted December 30, 2016 Do you have a way to reproduce it ? Quote Link to comment Share on other sites More sharing options...
DivineDamon Posted December 30, 2016 Author Report Share Posted December 30, 2016 Sorry, but what do you mean exactly? Reproduce what? Quote Link to comment Share on other sites More sharing options...
Stan` Posted December 30, 2016 Report Share Posted December 30, 2016 Well does the error pop up eveytime you open the map ? Quote Link to comment Share on other sites More sharing options...
DivineDamon Posted December 30, 2016 Author Report Share Posted December 30, 2016 Ah yes. Whenever I open it in the editor, or whenever I play singleplayer or multiplayer. I also have an older build of the map saved where it doesn't give any error messages. It happened when I reloaded the map in the editor I presume. Quote Link to comment Share on other sites More sharing options...
elexis Posted December 30, 2016 Report Share Posted December 30, 2016 It's likely a missing game attribute. Does the error state in which file it occurs? Quote Link to comment Share on other sites More sharing options...
DivineDamon Posted December 30, 2016 Author Report Share Posted December 30, 2016 (edited) I don't think it does, no. That's all it says. Well, before that error message it says numbers, but they're never the same two numbers. Something like: "[900.000] javascript warning: script value conversion check failed v.isnumber (got type object)" But that number just keeps increasing so I bet that's nothing... It was 400.000 earlier Edited December 30, 2016 by DivineDamon Quote Link to comment Share on other sites More sharing options...
elexis Posted December 30, 2016 Report Share Posted December 30, 2016 The number should be some timer. Someone else had the same error message before with a custom scenario map (#3015), but there can be various reasons triggering that exact message. You could backup your map (XML file), and then remove the bottom half of the file, check if there is a bug and repeat that process until you found out which entries are bugging. A similar approach would have to be done for the gamesetup attributes at the top of the file to find the buggy entry blindly. You should probably post your map here. Perhaps Stan finds the bug immediately when looking at it 1 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.