Author Topic: What kind of error is this?  (Read 2420 times)

0 Members and 1 Guest are viewing this topic.

Offline asyikarea51

  • 210
  • -__-||
What kind of error is this?
Something less to do with compiling this time.

As mentioned, what kind of errors are these? They appeared while loading a playtesting mission in a debug build:

Code: [Select]
WARNING: "Special shield hitpoints used for variable number 90. But no variable with this number exists!" at MissionParse.cpp:3917
WARNING: "Special hitpoints used for variable number 91. But no variable with this number exists!" at MissionParse.cpp:3926
WARNING: "Special shield hitpoints used for variable number 88. But no variable with this number exists!" at MissionParse.cpp:3917
WARNING: "Special hitpoints used for variable number 89. But no variable with this number exists!" at MissionParse.cpp:3926
WARNING: "Special shield hitpoints used for variable number 86. But no variable with this number exists!" at MissionParse.cpp:3917
WARNING: "Special hitpoints used for variable number 87. But no variable with this number exists!" at MissionParse.cpp:3926


btw slight oft: from all the wiki changes, are bomb hitpoints already in trunk? if so, then YEY!!!!! XD

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: What kind of error is this?
It's pretty much telling you exactly what the problem is. You have a bunch of ships set to use special hitpoints but the variables they've been set to use don't exist.

Look in the mission file using notepad for +Special Hitpoint index: followed by the numbers the debug build complained about.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline asyikarea51

  • 210
  • -__-||
Re: What kind of error is this?
Thanks. Found the error.

I'm not a skilled enough FREDder to play with variables yet, so I'll admit to not understanding what you mean by this:

but the variables they've been set to use don't exist


but four little Watchdogs can't do much in a stress-test "BoE style" mission so I just deleted them. Aside from me being left clueless about the details, the problem's solved so that... should be it... sort of. :doubt: =\

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: What kind of error is this?
It's not something that a FRED really should be that concerned with either.

For some bizarre reason special hits and special explosions use SEXP variables to hold the new values. The problem is that there was a bug that resulted in the variable getting deleted while there were still ships using special hits. Simply deleting the line I told you about would have gotten rid of the problem.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]