Jump to content

[Solved] - Warning for gamesetup.js


Garaf
 Share

Recommended Posts

Hi

I compiled for linux now the SVN updated last hour, and the screen for selecting the scenarios gives me this warning, copied and pasted from interestinglog.html:

WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 1372 Script value conversion check failed: v.isString() || v.isNumber() (got type undefined)
WARNING: JavaScript warning: gui/gamesetup/gamesetup.js line 1372 Script value conversion check failed: v.isString() || v.isNumber() (got type undefined)
Engine exited successfully on 2016-07-25 at 16:21:45 with 432 message(s), 0 error(s) and 2 warning(s).


I hope this will be useful

Edited by Garaf
Link to comment
Share on other sites

Sounds like there was a scenario or mod that set a population cap that isn't defined in population_capacities.json. In theory those values could support arbitrary numbers. The dropdowns would need to vanish. Or the value could be reset to default beforehand.

  • Like 1
Link to comment
Share on other sites

Done and ... Resolved.
@elexis You were right, I left thinking that a zip file, however it did not consider him as bed, was a previous map, as amended on trial. (I have to be more careful)
Then I cleared the cache and now everything is OK, I can bring together the 0.20 to the SVN, I only have the classic mistake on the cache but it was expected and does not bother me.
Thanks again for your feedback.

PS how do I put [solved] in the subject

Link to comment
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.

 Share

×
×
  • Create New...