that is weird because now it can carry artillery. I'll try to fix it today. I also found that we lost three lines in ldl.txt that I've started to restore.
Announcement
Collapse
No announcement yet.
DEBUG: Code Questions (Compiling, Bugs, Revision Reports, Etc)
Collapse
X
-
-
Another bug - Using cheat mode I set up a civ with all the techs and 1,000,000 gold. If I then tried upgrading an Archer (move onto city and sleep) it upgrades to a Marine. Sleeping again upgrades to a Hover Infantry. This also happens to all the upgradable infantry units I tested but not the cavalry. Siege units, however, suffer from a similar and must upgraded through all the stages up to War Walker (Catapults are an exception in that they miss out Cannon when upgraded).
Comment
-
Originally posted by cap601
Another bug - Using cheat mode I set up a civ with all the techs and 1,000,000 gold. If I then tried upgrading an Archer (move onto city and sleep) it upgrades to a Marine. Sleeping again upgrades to a Hover Infantry. This also happens to all the upgradable infantry units I tested but not the cavalry. Siege units, however, suffer from a similar and must upgraded through all the stages up to War Walker
Originally posted by cap601
(Catapults are an exception in that they miss out Cannon when upgraded).
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
Thanks for that explanation. I think all of it can be explained by the fact that the upgrading automatically skips obsolete units: Marines are the first infantry unit in the chain not to obsolete; all cavalry obsolete; and only catapults and cannon obsolete in the siege branch.
Comment
-
Originally posted by Martin Gühmann
No E, we haven't. I moved those lines to info_str.txt to all those other message strings.
-Martin
Code:CANT_ATTACK_HAVE_TREATY "This action will break our treaty with the {player[0].civ_name_plural}. Are you sure you wish to continue?" AT_LEAST_ONE_COULDNT_BE_EXPELLED "The {player[0].civ_name_plural} were not able to find accomodations for all their armies in our territory. They pledge to remove their units as soon as possible." ATTACK_WARNING "This action is an act of war! Do you REALLY want to declare war on the {player[0].civ_name_plural}?"
Comment
-
Originally posted by E
the slic error says it cant find these three messages (missing string). restoring them in the ldl lets the game start
Code:CANT_ATTACK_HAVE_TREATY "This action will break our treaty with the {player[0].civ_name_plural}. Are you sure you wish to continue?" AT_LEAST_ONE_COULDNT_BE_EXPELLED "The {player[0].civ_name_plural} were not able to find accomodations for all their armies in our territory. They pledge to remove their units as soon as possible." ATTACK_WARNING "This action is an act of war! Do you REALLY want to declare war on the {player[0].civ_name_plural}?"
So when exactly do you get the slic errors? And by the way I asked you to add the missing *.ldl files to the repository, so that I could test the game in English.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
the ldl on the svn for english is the current one that gives me errors
Comment
-
Originally posted by E
the ldl on the svn for english is the current one that gives me errors
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
oh I see, i thought they were already identical
Comment
-
damn...well then its kind of working then... I'll see what the deal is
Comment
-
E, did I tell you that you should test your code, didn't I.
In fact I don't understand what your problem is to compile the game, to start the game taking an existing save game and see whether you can build wonders and buildings.
If this seems to work what is the problem to go to const.txt and set MAX_CITY_WONDERS to 1 and see then whether you can build another wonder in a city with one wonder already present?
Actually it is a one looker to see that your code does anything else than you want to do.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
i did test but i set it to 2 then put two wonders in a city and couldnt build any more. based on the code it appeared to work
Comment
-
Originally posted by E
i did test but i set it to 2 then put two wonders in a city and couldnt build any more. based on the code it appeared to work
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
Comment