Jump to content
Sign in to follow this  
DivineDamon

Issue with error message

Recommended Posts

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 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 by DivineDamon

Share this post


Link to post
Share on other sites

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 :P

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...