Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiplayer model not loading #20

Closed
hbeni opened this issue Feb 17, 2022 · 22 comments
Closed

Multiplayer model not loading #20

hbeni opened this issue Feb 17, 2022 · 22 comments

Comments

@hbeni
Copy link

hbeni commented Feb 17, 2022

I get a bunch of error logs. May be related to the glider issue.

This was with two local MP instances, on commit acae356

9.31 [ALRT]:io         Failed to load file: "Models/Interior/p210n-interior.xml"
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-left.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-right.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-nav-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-nav-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/tail-nav-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-strobe-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-strobe-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-logo-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-logo-light.xml
        from:
   59.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/flashing-beacon-light.xml
        from:
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-px.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-px.png: file not found
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nx.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nx.png: file not found
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-py.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-py.png: file not found
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-ny.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-ny.png: file not found
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-pz.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-pz.png: file not found
   59.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nz.png"
   59.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nz.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-px.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-px.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nx.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nx.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-py.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-py.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-ny.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-ny.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-pz.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-pz.png: file not found
   59.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nz.png"
   59.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nz.png: file not found
   86.98 [ALRT]:io         Failed to load file: "Models/Interior/p210n-interior.xml"
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-left.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-right.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-nav-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-nav-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/tail-nav-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-strobe-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-strobe-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-logo-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-logo-light.xml
        from:
   86.98 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/flashing-beacon-light.xml
        from:
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-px.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-px.png: file not found
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nx.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nx.png: file not found
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-py.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-py.png: file not found
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-ny.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-ny.png: file not found
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-pz.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-pz.png: file not found
   86.99 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nz.png"
   86.99 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nz.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-px.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-px.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nx.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nx.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-py.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-py.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-ny.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-ny.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-pz.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-pz.png: file not found
   87.00 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nz.png"
   87.00 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nz.png: file not found
  149.25 [ALRT]:io         Failed to load file: "Models/Interior/p210n-interior.xml"
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-left.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/landing-light-right.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-nav-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-nav-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/tail-nav-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-strobe-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-strobe-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-logo-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-logo-light.xml
        from:
  149.25 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/flashing-beacon-light.xml
        from:
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-px.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-px.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nx.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nx.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-py.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-py.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-ny.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-ny.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-pz.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-pz.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nz.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nz.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-px.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-px.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nx.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nx.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-py.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-py.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-ny.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-ny.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-pz.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-pz.png: file not found
  149.26 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nz.png"
  149.26 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nz.png: file not found
@TheFGFSEagle
Copy link
Owner

Yes, this helps a lot - it's basically not finding everything that has a relative path.

@hbeni
Copy link
Author

hbeni commented Feb 17, 2022

Note, that yesterday I didn't see your model.
Here with the local test, i was able to see it from my c182s instance, despite the errors above.

@TheFGFSEagle
Copy link
Owner

That's even weirder, since yesterday I didn't change anything !

@hbeni
Copy link
Author

hbeni commented Feb 17, 2022

Oh and if it helps:
I test with this in my launcher (uncomment one for the respective instance):

# MP local Test, Instance 1 and 2:
#--multiplay=in,10,127.0.0.1,5010 --multiplay=out,10,127.0.0.1,5011 --callsign=T-EST1
#--multiplay=in,10,127.0.0.1,5011 --multiplay=out,10,127.0.0.1,5010 --callsign=T-EST2

@hbeni
Copy link
Author

hbeni commented Feb 17, 2022

That's even weirder, since yesterday I didn't change anything !

On which commit were you yesterday?

@TheFGFSEagle
Copy link
Owner

I don't know ? But I just changed the paths for the landing lights and flashing beacon, so the errors for those should not appear anymore - can you test this please, if it fixes this problem I'll do the same for all the other files. It looks like the paths inside the submodel XML files have to be relative to that XML file (procedural-light.ac) or to FGDATA (Aircraft/c210-family/Models/Effects/procedural-light.ac). I can't test this myself because two instances of FG kill my PC :(

@TheFGFSEagle
Copy link
Owner

TheFGFSEagle commented Feb 17, 2022

Meh, you have a version from 4 days ago … since then there were at least 10 commits, including the one introducing the custom model for the Silver Eagle, so it can be that very well. (Or wait, did you test with the P210N or the Silver Eagle ?)

@TheFGFSEagle
Copy link
Owner

Okay, I just tested this locally with two instances at SAWH (where the scenery is light) with the Silver Eagle in one instance and the UFO in the other and for me the model was loading fine, including all the interior, lights and effects. I did not get any errors either, so I think it was due to you having a too old version installed. Please update and see if it loads normally after that.

Oh, and you did make sure you have this repo in /some/path/Aircraft/c210-family and /some/path/Aircraft added in the Launcher ? :mrgreen:

@hbeni
Copy link
Author

hbeni commented Feb 17, 2022

Tested again with 1e9cded, branch master.
Previous tests where of course with both planes, and also with the models added to my launcher. This i do not cange for local tests vs. wednesdays, btw.

p201n:

   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-nav-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-nav-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/tail-nav-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-strobe-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-strobe-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-logo-light.xml
        from:
   45.31 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-logo-light.xml
        from:
   45.32 [ALRT]:io         Failed to load file: "Models/Interior/p210n-interior.xml"
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-px.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-px.png: file not found
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nx.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nx.png: file not found
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-py.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-py.png: file not found
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-ny.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-ny.png: file not found
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-pz.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-pz.png: file not found
   45.33 [ALRT]:io         Cannot find image file "Models/Effects/p210n-reflection-nz.png"
   45.33 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nz.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-px.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-px.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nx.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nx.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-py.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-py.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-ny.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-ny.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-pz.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-pz.png: file not found
   45.34 [ALRT]:io         Cannot find image file "Models/Effects/p210n-shadow-nz.png"
   45.34 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nz.png: file not found
   46.36 [INFO]:nasal      Model load Eisenhower /ai/models/carrier[1]
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-nav-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-nav-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/tail-nav-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-strobe-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-strobe-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/left-logo-light.xml
        from:
   69.49 [ALRT]:io         Failed to load submodel: Model file not found: 'Models/Effects/procedural-light.ac'
 at /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Effects/right-logo-light.xml
        from:
   69.49 [ALRT]:io         Failed to load file: "Models/Interior/p210n-interior.xml"

Silver eagle however showed no errors.

@TheFGFSEagle
Copy link
Owner

Ahh … I tested only with the Silver Eagle ! :oops:

@TheFGFSEagle
Copy link
Owner

I just tested using your command line parameters, and both the P210N and the Silver Eagle do load fine for me over MP and without throwing errors. I just checked - we are both on the same commit. So I really don't know what is going on here. The last thing I can think of is to try and delete your $FG_HOME/aircraft-data/p210n.xml file and see if that fixes it (I don't think so though).

@TheFGFSEagle
Copy link
Owner

Wait - what aircraft did you use as observer ? The UFO, the C182 or the same aircraft as in the other instance ? The reason for that you did not get errors for the Silver Eagle could be that at that point, you had the Silver Eagle loaded in both instances where there are no problems ! I tested with the UFO in one instance and the P210N / Silver Eagle in the other.

@TheFGFSEagle
Copy link
Owner

Hmm, now I tried it with the C182 instead of the UFO and got these errors:

  245.92 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-px.png: file not found
  245.93 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nx.png: file not found
  245.93 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-py.png: file not found
  245.93 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-ny.png: file not found
  245.93 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-pz.png: file not found
  245.93 [WARN]:OSG        Error reading file Models/Effects/p210n-reflection-nz.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-px.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nx.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-py.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-ny.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-pz.png: file not found
  246.04 [WARN]:OSG        Error reading file Models/Effects/p210n-shadow-nz.png: file not found

along with the interior not loading.

@TheFGFSEagle
Copy link
Owner

ARGHHHH …

Now I know why I could never reproduce your issues … I was always running FG from within the c210-family folder (for convenience, to be able to just type in git commit -a when I changed + tested something), and this made FG find the files !
Sorry for this. But I now know how to fix this, at least.

@TheFGFSEagle
Copy link
Owner

TheFGFSEagle commented Feb 17, 2022

So, with the last commit this should be fixed - can you check please @benih ? Works for me here.

@TheFGFSEagle TheFGFSEagle changed the title Model log problems Multiplayer model not loading Feb 17, 2022
@hbeni
Copy link
Author

hbeni commented Feb 18, 2022

beni@segin:~/Dokumente/FGFS/Aircraft/c210-family$ git log -1
commit 6732fc493460ee93e50a4abdac03234863eb4045

Console of the P210n instance:

56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.25 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.26 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'
   56.27 [ALRT]:aircraft   add_model: unable to find model with name 'new'

Console of the C182s instance:

 394.11 [ALRT]:io         Cannot find image file "p210n-reflection-px.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-px.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-reflection-nx.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-nx.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-reflection-py.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-py.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-reflection-ny.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-ny.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-reflection-pz.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-pz.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-reflection-nz.png"
  394.11 [WARN]:OSG        Error reading file p210n-reflection-nz.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-px.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-px.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-nx.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-nx.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-py.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-py.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-ny.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-ny.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-pz.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-pz.png: file not found
  394.11 [ALRT]:io         Cannot find image file "p210n-shadow-nz.png"
  394.11 [WARN]:OSG        Error reading file p210n-shadow-nz.png: file not found

@TheFGFSEagle
Copy link
Owner

Neat ! That means that I got all paths right, except for the effect textures which I will further look into. The errors on the P210N instance come from the C182S, so that's something for you to fix @benih ! ;)

@hbeni
Copy link
Author

hbeni commented Feb 18, 2022

Honestly, in have no clue what that line should tell me, but it’s the first time i have seen it.

@TheFGFSEagle
Copy link
Owner

Meh, the effect textures have to be specified as `Aircraft/c210-family/Models/Effects/p210n-reflelction-px.png´ to be found properly over MP. So the last commit should fix the remaining errors - it's working for me. I've no clue though why the glass of the instruments became opaque when I changed those paths …

@TheFGFSEagle
Copy link
Owner

Oh, looks like I messed something up because it's not finding the effects now either (over MP). So some more path changing … :roll:

@TheFGFSEagle
Copy link
Owner

TheFGFSEagle commented Feb 18, 2022

The metal control parts suffered from the same problem … should be all fixed now, and works for me. @benih, can you check one last (hopefully) time ? If you do, take a close look to the exterior - it should be reflecting, and to the metal parts of the interior (throttle, mixture, etc.) should also be reflecting.

@hbeni
Copy link
Author

hbeni commented Feb 22, 2022

@TheFGFSEagle
Confirming, no errors anymore (aside from the mipmapping ones you already know I think)

   27.19 [ALRT]:io         mipmapping: texture size not a power-of-two: /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Interior/Panel/Instruments/alt/flag.png
   27.23 [ALRT]:io         mipmapping: texture size not a power-of-two: /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Interior/Panel/Instruments/tc/turn-coordinator-airplane.png
   27.39 [ALRT]:io         mipmapping: texture size not a power-of-two: /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Interior/Panel/Instruments/alt-alert/flag.png
   27.78 [ALRT]:io         mipmapping: texture size not a power-of-two: /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Interior/Panel/Avionics/com-nav/com-nav.png
   28.21 [ALRT]:io         mipmapping: texture size not a power-of-two: /home/beni/Dokumente/FGFS/Aircraft/c210-family/Models/Interior/Panel/Instruments/hobbs/hobbs.png

Surfaces are reflective.

Tested both variants.

  • One thing I noted, was that at Saarbrücken (my testing airport) the P210 starts with broken gear on the ground.
    The silver eagle is okay, tough.
    grafik

  • Also another thing is, the registration looks transparent to me:
    grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants