modernknight1
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
You should try this with that Ed Teach game you were having trouble with, that probably had the wrong number of Locations. Download ResizeTest.zip and put the seadogs.c and OnReloadReinit.c in the Programs folder. Load that game, then immediately save it in an empty file slot and see if it saves without error. If no problem, then reload 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
You should try this with that Ed Teach game you were having trouble with, that probably had the wrong number of Locations. Download ResizeTest.zip and put the seadogs.c and OnReloadReinit.c in the Programs folder. Load that game, then immediately save it in an empty file slot and see if it saves without error. If no problem, then reload 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
Ha! I may have just made this game smarter. That resize thing…would be nice for the user to not have to know how to reinit. Would be nice if a change could be made to locations, ships, stores, islands and old save games still work, eh? Maybe they can!
After the OnLoad event, that is when the save-game info is read in and the arrays 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
Ha! I may have just made this game smarter. That resize thing…would be nice for the user to not have to know how to reinit. Would be nice if a change could be made to locations, ships, stores, islands and old save games still work, eh? Maybe they can!
After the OnLoad event, that is when the save-game info is read in and the arrays are…[Read more]
-
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
Hmmm, thinking more about this…I wonder if instead of a flat 60 difference for that advantage, I change it to above a certain ratio? Might make more sense?
-
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’ve been playing around a little bit.
I tried doubling, but that killed my machine. A boarding literally took 4+ minutes waiting on the loading screen. So let’s try this one:
Find Programsloc_aiLAi_boarding.c and rename it to LAi_boarding.orig.c
Download that same file here: https://mega.nz/#F!WtMDgRxK!hbeUg86kGLlQAqvWRNwTqgPut it 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
Death image for DX9 version is fixed and uploaded.
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
In both versions, I did not crash. However, I did try running the console to resize, stayed in-game and continued playing and I would get a crash if I tried changing time elapse faster/slower. But if I run the resize, save the game, exit to menu and reload that same game, I do not crash.
I still get those weather errors in the log, but that is…[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 tested the resize in the newest DX8 and DX9 versions.
In the DX9 game it worked, and no crash when boarding. In the DX8 game I couldn’t really test it, because when speeding time to quickly get to boarding the game kept crashing, usually when pressing R to reset the time speed to 1x.
I got this in the error.log:
RUNTIME ERROR - file:…[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
The resize now works in the new compilations. It was one small issue with object attribute read that failed. I fixed this and you can now change MAX_LOCATIONS, load an old game, then run something like this:
#include "locationslocations_init.c"void ExecuteConsole()
{
int x = GetArraySize(&Locations);
Log_SetStringToLog("Num Locations = " +…[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
No need to do anything other than start.
-
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
I’m starting to suspect that none of the object arrays can be resized without just starting a new game. Not just Locations, Islands, but maybe even ships and items. I almost swear I was able to get away with it by a reinit for ships and items, but maybe I didn’t and all my games were started after I fixed them.
So unfortunately, you may just…[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
This is terrible. I ask to reinit items, and find with your error that I missed putting an important file into the Patch…since the very beginning; it is missing itemsitems.h, which is the most important part for that reinit because it specifies the item and randitems size. Sorry.
Get the new patch, that now contains items/items.h. Run that…[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
So I was looking into how to get those 4 arrays resized. The problem is that the .c code you see is actually just a small subset of c-like language. They only support some basic things and it’s made to look like C code, but really isn’t. Those ‘object’ arrays are a class type they call ENTITY and they don’t really store it as an array, but 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
Make a new console.c (maybe rename the other one to keep it around). Put this in it:
void ExecuteConsole()[Read more]
{
GiveItem2Character(pchar, "cirass3");
GiveItem2Character(pchar, "cirass8");
GiveItem2Character(pchar, "blade24");
GiveItem2Character(pchar, "pistol26");
GiveItem2Character(pchar, "pistol24");
Log_SetStringToLog("Operation… -
Jeffrey replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Do you still have error logs enabled? In problems like that, there is almost always something written. I personally have not had issue assigning a skill point, but the problem may be particular to what you were doing at that moment.
-
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
what will happen when I get a ship with 500+ crew and I board the one with the equal crew ammount. Decks will be huge (because on larger ships, decks are larger, right?) and there will be 10 crew vs 10 crew, fighting on a large deck which will look almost empty because of such low ammount of soldiers…
If that turns out to be the case, I will…[Read more]
-
Orazio 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 also agree with Jeffrey.
Increasing the number of the people fighting is ok, but the crew ratio between the 2 ships must be taken into consideration when spawning the sailors. -
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Jeffrey:
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.…
-
Orazio replied to the topic BUGS and Fixes in the forum GOF Eras Module 2 download & discussion board 10 years, 5 months ago
Jeffrey:
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.…
- Load More
by