Thinking Caps on for the summer
-
Ok this may become a regular spot for all you experts as I need some mentoring
We have inherited an established mod and are having to debug and move it on. So we are trying to get my head round how all of FL works, so what happens is, spend a few hours looking for answer, changing things then come to the experts. For clues and/or help.
This happens on loading FLserver before FL is started. Nice big red errors, 20 identical.
NOTICE:General:ENGINE::load_engine_components: aggregation of ‘RenderManager’ [] returned [OK]
E:\FL\Scratch\Source\Server\gf\pubGF.cpp(120) : *** ERROR: Cannot find bodypart -
Quite a way (in yellow as green did not show well on board, green in console)
Loading initial data…
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(1111) : NOTICE:General:Current DACOM.DLL version: 1.11.173
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(1112) : NOTICE:General: Compiled against version: 1.11.173
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(852) : NOTICE:General:DACOM: initialize: dllpath: ‘C:\Program Files\Microsoft Games\test\EXE’
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(880) : NOTICE:General:DACOM: initialize: Loading DLL’s from [libraries] group.
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\readfile.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\engbase.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\x86math.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\rendcomp.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\system.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\Thorn.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\DebugLib.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\rp8.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\DACOM\Dacom.cpp(618) : NOTICE:General:DACOM: AddLibrary: DLL ‘C:\Program Files\Microsoft Games\test\EXE\shading.dll’ [1.11.173]
C:\work\builds\dalibs\dalibs-build\build\Src\RenderPipeline\DX8\rp_dx8.cpp(763) : NOTICE:General:RenderPipeline
C:\work\builds\dalibs\dalibs-build\build\Src\System\SysContainer.cpp(291) : NOTICE:General:SystemContainer: LoadSystemComponents: Loading ‘DirectX8’ [] returned [OK]
C:\work\builds\dalibs\dalibs-build\build\Src\System\SysContainer.cpp(291) : NOTICE:General:SystemContainer: LoadSystemComponents: Loading ‘MaterialLibrary’ [] returned [OK]
C:\work\builds\dalibs\dalibs-build\build\Src\System\SysContainer.cpp(291) : NOTICE:General:SystemContainer: LoadSystemComponents: Loading ‘TextureLibrary’ [] returned [OK]
C:\work\builds\dalibs\dalibs-build\build\Src\EngBase\Engine\engine.cpp(508) : NOTICE:General:ENGINE::load_engine_components: aggregation of ‘Animation’ [] returned [OK]
C:\work\builds\dalibs\dalibs-build\build\Src\EngBase\Engine\engine.cpp(508) : NOTICE:General:ENGINE::load_engine_components: aggregation of ‘Hardpoint’ [] returned [OK]
C:\work\builds\dalibs\dalibs-build\build\Src\EngBase\Engine\engine.cpp(508) : NOTICE:General:ENGINE::load_engine_components: aggregation of ‘RenderManager’ [] returned [OK]
E:\FL\Scratch\Source\Server\gf\pubGF.cpp(120) : *** ERROR: Cannot find bodypart
followed by 19 other identical ones
then
Starting logic thread…
Server running, ready for log in.
Connecting to list server…
Established connection to list server…
Sending game information to list server… -
Okay scratch that, I’ve managed to create the errors and it looks like it could be bodies after all
E:\FL\Scratch\Source\Server\gf\pubGF.cpp(120) : *** ERROR: Cannot find bodypart li_captain_head
However every one that I got has the body nickname at the end, any chance you have bodies without nicknames in the INIs
-
4 entries with the same 5 lines are the problem
space_costume = , robot_body_a
space_costume = , robot_body_b
space_costume = , robot_body_c
space_costume = , robot_body_d
space_costume = , robot_body_eHmm, old issue. Try putting a 0 or something infront? Someone solved it, and I note some of my old docks have a 0 infront of them instead of being blank?
space_costume = 0, robot_body_e
No idea, it’s been some years since I looked at the files.
-
wrong way around Chips, FLE added that 0 to the docking characters and FL keeps spitting out errors because of it, it should read “space_costume = , robot_body_?” as that’s how they are in vanilla. Unfortunately this is the faction_prop.ini and robots just do not belong in it, I’ve tried all manner of combinations with the same result ERROR: Cannot find bodypart .
-
Just thought I’d pitch in here - I managed to get robot bodies in space working using the following:
space_costume = robot_body_a, robot_body_a space_costume = robot_body_b, robot_body_b space_costume = robot_body_c, robot_body_c space_costume = robot_body_d, robot_body_d space_costume = robot_body_e, robot_body_e ```This required me to copy the [Body] entries of the robots in bodyparts.ini to [Head] entries, for example:
[Body]
nickname = robot_body_A
mesh = characters\bodies\robot_body_A.dfm[Head]
nickname = robot_body_A
mesh = characters\bodies\robot_body_A.dfm -
Hi, again
thanks for all the help, yes I added a head entry and it seemed to workIt also seemed ok when I changed space_costume to base_appr, it didn’t generate error in FLserver or FLSpew and I didn’t notice any problems in game. Is this a workable solution?
Noticed a no_head entry in 2 mission file
no_head, robot_body_a but couldn’t get it to work, any ideas? -