Technical support > Linux

Error with svn version.

(1/3) > >>

LeSanglier:
Hello !

I got a problem with the svn version when I run the game, I got this error :

----------- parse scripts ----------
MN_ParseNodeBody: Problem with parsing of node property 'aircraft_equip.mdl_top@visiblewhen'. See upper
MN_ParseNode: node with bad body ignored (node "aircraft_equip.mdl_top")
Wrote keys.cfg
Error: MN_ParseMenu: menu "aircraft_equip" have a bad body

How to resolve this problem ?

Thanks in advance !!

geever:
Which revision? Make sure you have the latest recompiled.

If only base/ufos dir has been updated OR the game didn't have recompiled, problem like this can happen.

-geever

DuKe2112:
when you update you alway have to run
make
make lang
make pk3

otherwise you have old scripts in the datafiles like with your error.

geever:
In this case he has new scripts but old (compiled) code I think.

I don't make pk3 packages at all. Sometimes reconfigure and/or make clean  needed too.

-geever

f8273:
I had that error too.
There is an 'if' with an uninitialized variable 'r' in src/client/menu/m_parse.c (around line 695), which seems to cause it. Removing it solved the problem:

--- Code: ---Index: src/client/menu/m_parse.c
===================================================================
--- src/client/menu/m_parse.c (revision 21599)
+++ src/client/menu/m_parse.c (working copy)
@@ -692,15 +692,12 @@
  case V_SPECIAL_IF:
  {
  menuDepends_t **condition = (menuDepends_t **) ((byte *) object + property->ofs);
- qboolean r;
 
  *token = COM_EParse(text, errhead, objectName);
  if (!*text)
  return qfalse;
 
  *condition = MN_AllocCondition(*token);
- if (!r)
- return qfalse;
  }
  break;

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version