Opened 9 years ago

Closed 9 years ago

#3015 closed defect (duplicate)

In game error : warning: JavaScript warning: Script value conversion check failed: v.isNumber() (got type object)

Reported by: Tri Hartanto Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

Hello wildfire team, I want to report an error : warning: JavaScript warning: Script value conversion check failed: v.isNumber() (got type object) This error occur when play/load saved (user made) scenario plan. But, there is no any problem when load from preconfigured saved plan. Here is details about my system : OS : Ubuntu 14.04.1 LTS amd64 RAM : 4 GB GFX : Ati Radeon 5XXX series 1GB Proc : AMD FX-4100 0AD Ver (in game): Build Oct 13, 2014(15849-release) 0AD Ver (on USC/Ubuntu Software Center) : v.0.0.17 (ppa:wfg/0ad)

Hope all of my information could to help you. Thanks :)>-

Attachments (3)

Screenshot from 2015-01-24 07:41:45.jpg (396.2 KB ) - added by Tri Hartanto 9 years ago.
0ad-saved-scenarios.zip (694.7 KB ) - added by Tri Hartanto 9 years ago.
.xml and .pmp files
mainlog.html (16.5 KB ) - added by Tri Hartanto 9 years ago.
0ad mainlog.html

Download all attachments as: .zip

Change History (7)

by Tri Hartanto, 9 years ago

comment:1 by Itms, 9 years ago

Hello, could you attach to this ticket:

  • The map you've made on which it fails (both .xml and .pmp files)
  • The mainlog.html file (see GameDataPaths to know where to find it)

Also, are you playing with Alpha 17 or with the SVN version?

Thanks for reporting!

by Tri Hartanto, 9 years ago

Attachment: 0ad-saved-scenarios.zip added

.xml and .pmp files

by Tri Hartanto, 9 years ago

Attachment: mainlog.html added

0ad mainlog.html

in reply to:  1 comment:2 by Tri Hartanto, 9 years ago

Replying to Itms:

Hello, could you attach to this ticket:

  • The map you've made on which it fails (both .xml and .pmp files)
  • The mainlog.html file (see GameDataPaths to know where to find it)

Also, are you playing with Alpha 17 or with the SVN version?

Thanks for reporting!

Hello, Sorry for late response. I just add your requested files to the ticket attachment. Please kindly check it. Seems like I used Alpha 17 version (I installed using Ubuntu aptitude from ppa:wfg/0ad) Thank you.

Last edited 9 years ago by Tri Hartanto (previous) (diff)

comment:3 by trompetin17, 9 years ago

this error was happen when you create a random map and start in the game, Im writing this because -reporter said used made -the xml files has mirage entities

  • Itms was fixing something about it

so if itms fixed the problem about mirages means this tickets could be close

Last edited 9 years ago by trompetin17 (previous) (diff)

comment:4 by Itms, 9 years ago

Keywords: JavaScript warning Script value conversion check failed removed
Milestone: Backlog
Resolution: duplicate
Status: newclosed

Hello, sorry for not having answered earlier.

trompetin is right, I fixed that in r16129 (your ticket is a duplicate of #2969). But unfortunately, that makes Atlas quite broken in A17... If you want to continue working on your map, you'll have to remove all the "mirage" entities in the .xml file.

For instance remove all this (see the mirage| in the template name):

<Entity uid="11353">
	<Template>mirage|gaia/flora_tree_aleppo_pine</Template>
	<Player>0</Player>
	<Position x="461.669" z="959.47728"/>
	<Orientation y="-1.69042"/>
	<Actor seed="409"/>
</Entity>

But this is really painful and you should do that each time you change your map in Atlas... I'd advise you to use the SVN version (see BuildInstructions) or to wait for A18 which should be released in a few weeks.

Sorry for the inconvenience, have fun playing though!

Note: See TracTickets for help on using tickets.