Hello, I am writing through a translator. I admit I changed the game files a little... because I wanted to ensure that if I serve the state and am not a military officer, I would still have soldiers on deck, in cabins and during boarding, and not ordinary sailors. Also, if you go under your own flag, you will have personal soldiers. I also changed textures for soldiers and officers of Spain, England and Holland for the pirate era, and gave models of soldiers from the Napoleonic era to the French. Changed the flags for France, Holland, England and Spain, both for forts, ships and icons in the relationship interface. I will attach the code files in which I made the changes, the fragments I touched will be enclosed between the comments //TIM. The bottom line is that maybe I messed up something, but after the changes and testing of my changes, I didn't go into the shipyards... and when I achieved the desired results, I started a new game... While playing, I noticed that in all shipyards, ships for sale were missing... shipyards do not sell ships, I can sell, when I sell, for example, a galleon, a Latin caravel appears in the shipyard, if I sell, when I sold a brigantine, then a combat tartan appeared. Also earlier in the root folder after exiting the game, there was no error.log file... now it appears in those cases when I visit the shipyard during the game, or save game at sea. The errors that are listed there direct me to files that I have not modified... and for example, an error in shipyard.c in the interface folder says "the attribute reference function returns the value of the object". I'm not good at coding, I studied programming 20 years ago. If anyone can figure out what I made a mistake and point it out to me, I will be grateful. I think the game somehow incorrectly handles the list of ships that should be put up for sale. I attach the files that I modified, as well as screenshots of the game version, and the shipyard interface... in the additional settings of the game, I used both versions of the shipyards... it's the same everywhere. Once again, I apologize if I wrote something incomprehensible, because I write through a translator.
Attachments
Last edited: