Jump to content

Various warnings in SVN (was "Occurred in the Chinese language problem?")


gameboy
 Share

Recommended Posts

Today, I tested the latest SVN15164. When I entered the game, these warnings appear:

<h2>0 A.D. Main log (warnings and errors only)</h2>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 219
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 227
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 232
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 238
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 268
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 274
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 288
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 335
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/worker.js line 342
test for equality (==) mistyped as assignment (=)?</p>
<p class="warning">WARNING: unit hunting ??? INDIVIDUAL.IDLE</p>
<p class="warning">WARNING: unit hunting ??? INDIVIDUAL.IDLE</p>
<p class="warning">WARNING: unit hunting ??? INDIVIDUAL.IDLE</p>
<p class="warning">WARNING: unit hunting ??? INDIVIDUAL.IDLE</p>

Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>
<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':
Vertex info
-----------
0(120) : warning C7050: "cosVec.w" might be used before being initialized
</p>

<p>CTerrainTextureManager::RecurseDirectory(art/terrains/): no terrains.xml (or errors while loading) - using parent properties</p>

Link to comment
Share on other sites

Thanks gameboy for the report.

The first group of warnings (mistyped argument) is just a new spidermonkey warning. I'll try to get rid of it in a next commit, but this has no effect.

The second group is a forgotten debug printout, already removed in svn

For the third group, I've no idea !

  • Like 1
Link to comment
Share on other sites

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

<p>Info when linking program 'shaders/glsl/model_common.vs'+'shaders/glsl/solid_tex.fs':

Vertex info

-----------

0(120) : warning C7050: "cosVec.w" might be used before being initialized

</p>

These warnings should be fixed in SVN now :) I can't test, so check if windy trees still look good.

<p>CTerrainTextureManager::RecurseDirectory(art/terrains/): no terrains.xml (or errors while loading) - using parent properties</p>

This is harmless, but should be removed since everyone gets it, AFAIK.
Link to comment
Share on other sites

Game crash!

Assertion failed: &quot; pSymInitializeW&quot;

Location: dbghelp.cpp:54 (dbghelp_ImportFunctions)

Call stack:

While generating an error report, we encountered a second problem. Please be sure to report both this and the subsequent error messages.

Errno = 13 (Insufficient access rights to open file)

OS error = 127 (cannot find the specified program. )

Also found a warning:

<h2>0 A.D. Main log (warnings and errors only)</h2>

<p class="warning">WARNING: treu</p>

<p class="warning">WARNING: treu</p>

Edited by gameboy
Link to comment
Share on other sites

<p class="warning">WARNING: JavaScript warning: simulation/ai/petra/defenseManager.js line 187
reference to undefined property otherArmy.state</p>
<p class="warning">WARNING: JavaScript warning: simulation/helpers/Commands.js line 505
reference to undefined property cmd.requiredGoods</p>
<p class="error">ERROR: CRenderer::EndFrame: GL errors occurred</p>

<p class="error">ERROR: Error calling component script function GetRepresentation</p>
<p class="error">ERROR: JavaScript error: simulation/ai/common-api/shared.js line 206
TypeError: state is undefined
m.SharedScript.prototype.ApplyEntitiesDelta@simulation/ai/common-api/shared.js:206
m.SharedScript.prototype.onUpdate@simulation/ai/common-api/shared.js:172</p>

  • Like 1
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...