(store.steampowered.com/app/1069650/Ultimate_Admiral_Age_of_Sail/)
Here are some notes from using CoSMOS when using the Xsolla launcher:
-money, number of weapons in armory, and number of men in reserve are 4 byte integers, but their address changes every time you restart a battle, restart the game, etc.
-The 6 stats (intelligence, etc.) for the reserve are floats (4 bytes), and can be found at address (X+4), (X+8), (X+12), ... where X is the location of the 4-byte number of men.
Might not apply to the Steam version, but I won't be able to check until weekend.
What do the stats for the reserve do? What is their max value?
(store.steampowered.com/app/1069650/Ultimate_Admiral_Age_of_Sail/)
Here are some notes from using CoSMOS when using the Xsolla launcher:
-money, number of weapons in armory, and number of men in reserve are 4 byte integers, but their address changes every time you restart a battle, restart the game, etc.
-The 6 stats (intelligence, etc.) for the reserve are floats (4 bytes), and can be found at address (X+4), (X+8), (X+12), ... where X is the location of the 4-byte number of men.
Might not apply to the Steam version, but I won't be able to check until weekend.
What do the stats for the reserve do? What is their max value?
Nooooo the site blew away my reply.
The 6 stats in the reserve are floats (4-bytes) valued in the range [0,100]. If you hover over the number of men in the reserve, it will show you 6 stats: Intelligence, Dexterity, Strength, Perception, Willpower, and Endurance. The names are actually different for ship crew and for land troops.
Intelligence (called efficiency for sailors) is a sort of overall cap for the other 5 stats. If you intelligence is too low, it applies a malus to other stats so their actual value is different from the crew stat (plus the officer bonus). Dexterity (sailing for ship crew) deals with how well the ship can sail; not sure what it does for land troops. Strength is called boarding for ship crew, and deals with melee proficiency. Perception is called gunnery for ship crew, and represents ranged proficiency. Willpower is called morale, and is what it says on the tin-too low, and units rout or surrender. Endurance deals with stamina, which decreases while in combat or running.
You can use the reserve to transfer veteran troops from low-grade sloops to high-grade ships of the line, ensuring that your best ships are crewed with trained men instead of green troops.
Now, the reserve doesn't actually track stats for each man in the reserve. It only keeps track of an average. When you add men to the reserve, the game first calculates (current stats of reserve)*(number of men in reserve), and then adds (number of men added to reserve)*(stats of the new men). It then takes the average. For example, say the current reserve contains 10 men with 50 strength. If you add 5 men with 0 strength and 5 men with 100 strength, the new strength stat of the reserve becomes (10*100+5*40+5*60)/(10+5+5) = 75.