Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Nova - Development » Anyone know what the AllocatedComponent of a hull is supposed to be?
Anyone know what the AllocatedComponent of a hull is supposed to be? Sat, 30 January 2021 23:13 Go to next message
ekolis is currently offline ekolis

 
Petty Officer 2nd Class
Stars! Nova developer
Stars! Nova developer

Messages: 51
Registered: May 2006
Location: Cincinnati, OH, USA

Sorry I've been away for so long not working on Nova; I must have been really depressed or something and had no interest in programming outside of my job!

So, I was trying to upgrade the game to .NET 5, and I ran into a weird issue with the components.xml file. It was actually missing from my repo for some reason, so I found it in the old SourceForge repo. But now when I try to load the game, I get an error having to do with the "MineralPacket" hull. It's a null reference exception relating to the hull's AllocatedComponent property. I can't figure out what that property does and it doesn't seem to be defined anywhere in components.xml, so I don't know what to populate it with. Or can I get rid of it? It seems to be used in a few places but they don't really give any indication of what it's supposed to be... do I have an old version of the components.xml, perhaps?

Any help would be appreciated! 🙂



Mr. Flibble says...
Game over, boys!

Report message to a moderator

Re: Anyone know what the AllocatedComponent of a hull is supposed to be? Sun, 31 January 2021 14:39 Go to previous messageGo to next message
Daniel is currently offline Daniel

 
Chief Warrant Officer 3
Stars! Nova developer
Stars! Nova developer

Messages: 179
Registered: April 2006
Location: Nowra, Australia
Have you tried getting the one from Nova 5.1?
What Revision are you at that is missing the components.xml file?



Have fun.

Report message to a moderator

Re: Anyone know what the AllocatedComponent of a hull is supposed to be? Sun, 31 January 2021 16:22 Go to previous message
ekolis is currently offline ekolis

 
Petty Officer 2nd Class
Stars! Nova developer
Stars! Nova developer

Messages: 51
Registered: May 2006
Location: Cincinnati, OH, USA

No, I was not aware of 0.5.1 until I came here and posted this, and started poking around on the other forums.

I based my repo off of 0.4.2 from SourceForge, and didn't expect someone to pick up work on that repo again! 🙂

I think though we should all work together, rather than having a bunch of independent forks of the game. So I'd like to make pull requests against the official repo, rather than have my own independent repo. But it looks like you're still using the old svn repo, even though someone created a git repo on SourceForge in 2010? Not sure if svn even has the concept of a pull request! If you guys are going to continue using the svn repo - what's the best way to get changes reviewed and integrated? I haven't used svn in ages!




Mr. Flibble says...
Game over, boys!

Report message to a moderator

Previous Topic: Forking the repo?
Next Topic: Quick Links
Goto Forum:
  


Current Time: Sat May 15 19:59:46 EDT 2021