modernknight1
-
Jeffrey replied to the topic Brainstorming and new mod Ideas in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
I will take a look to see if any change/improvement might make this better. But, to some extent the game does take care of the ratio and it depends on the crew size of each ship. So if your/theirs outnumber you, then the battle will be skewed and I think that should remain. It makes sense that a ship of 400 will easily overpower a ship of 100,…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Possibly, but if you can remember what most of them were, we can find their IDs add them to your character and then you can just put them back. Make a list.
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Great. Sorry for the trouble…a little too quick posting the code and when I tried it myself, that’s when I noticed the missing extern. So I caused a little of the confusion and trouble by being a bit complacent and sloppy. I blame it on the fact it was morning for me then, in Pacific Time and I had not chugged enough coffee. LOL
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Put that code from the post right above your last one (my latest one), into console.c, load the game, press F4, then resave to a new slot. Then exit and load that last saved game. If that doesn’t work and you still see the sea, I think we’ll be able to fix it. Look at the error.log and post what it says.
Last error log you posted mentioned an…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Put that code from the post right above your last one (my latest one), into console.c, load the game, press F4, then resave to a new slot. Then exit and load that last saved game. If that doesn’t work and you still see the sea, I think we’ll be able to fix it. Look at the error.log and post what it says.
Last error log you posted mentioned an…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Put that code from the post right above your last one (my latest one), into console.c, load the game, press F4, then resave to a new slot. Then exit and load that last saved game. If that doesn’t work and you still see the sea, I think we’ll be able to fix it. Look at the error.log and post what it says.
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Put that code from the post right above your last one (my latest one), into console.c, load the game, press F4, then resave to a new slot. Then exit and load that last saved game. If that doesn’t work, it may be unsalvageable as from what Orazio says about the original containing 700 max locations, you may not be able to play/save from an old…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Also, for making sure the items, ships and locations array is correct (try to ignore Orazio’s and my back/forth about increasing MAX_LOCATIONS…it’s hypothetical and future-related), I unfortunately missed an extern reference for items for the example reinit I was trying to post for that item error.log first posted today. Use this in…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
OK, with these 4 arrays, I can’t find a way to resize them and play a previous save game: Locations, Characters, Islands, Colonies. A new game must be started to avoid problems. Items, Ships, etc. are OK if a reinit is called and it’s because of where they are defined/stored…in .c code not of global scope.
The Locations, Characters, etc. are…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
OK, with these 3 arrays, I can’t find a way to resize them and play a previous save game: Locations, Characters, Islands, Colonies. A new game must be started to avoid problems. Items, Ships, etc. are OK if a reinit is called and it’s because of where they are defined/stored…in .c code not of global scope.
The Locations, Characters, etc. are…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Not really important, but just in case to clear things up, when I say to 707, it’s really MAX_LOCATIONS minus 1, as the arrays are indexed with a zero-based first element. That’s why the error is invalid index 705 for [size:705]. A 705 slot array can only be referenced with indices 0 to 704. In this case, because you set a new one for 707, it’s…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Hey, this is great…you’re already doing the work for me! LOL
Did you reinit locations after you loaded the save game? Do that, then resave, load that save, then try?
That OnSave is exactly where I would expect the problem, because I’ve seen it before. The game is saved with 705, but the game also stores an identical array somewhere in the…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Also, that boarding to an empty water scene is familiar to me and happened during my work on the additional fighter mod. So it’s possible the patch files are not fully copied over. That same problem during that fighter work was due to some things that needed to be changed in loc_aiLAi_boarding.c, if I remember correctly. All the corrected files…[Read more]
-
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
I started another game with max_locations = 705. Tested a boarding and everything was ok.
Changed the max_locations to 707, reloaded the save and the boarding crashed.
In the error.log there is this:
RUNTIME ERROR - file: seadogs.c; line: 867[Read more]
invalid index 705 [size:705]
RUNTIME ERROR - file: seadogs.c; line: 867
invalid index 706… -
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
OK, if it didn’t crash, but he gets that empty water scene, we can probably figure that out and it might be fixable given enough error logs (the first already showed an items problem).
But yeah, I’m not sure about the next thing you mention about again increasing location array and might spend some time trying myself. Like you say, it isn’t a…[Read more]
-
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
If I understood correctly, he started with the patch 1.5.7, that has a max locations of 700.
Then he applied your patch, that includes my modified globals.c with two more locations (one cabin for “peace” and one cabin for boarding), taking the max locations to 702. And his game didn’t crash! He only had the empty scene with only water.
So why…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
That’s interesting and I may have to see if there’s a way around that. I don’t see why the array can’t be resized, as I was able to do it with both ships and items because they were wrong and I thought a reinit allowed me to use a previous game, as long as it was resaved after a new init call for both.
But if Samir started with 700, then…[Read more]
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
LOL, yes getting coached by Orazio now. You are correct.
Run Orazio’s version as the call to boarding set is redundant in my post. Of course it won’t hurt either way as it will just do the same thing twice.
Maybe I need more of my morning coffee… 😉
-
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
No, even after a reinit of all the locations, the boarding crashed with MAX_LOCATIONS = 703.
This is not really a problem now, but it means that if new locations will be added, a new game is required, even after a reinit… -
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
No, even after a reinit of all the locations, the boarding crashed with MAX_LOCATIONS = 703.
Now this is not really a problem now, but it means that if new locations will be added, a new game is required, even after a reinit… - Load More
by