MantisBT

View Revisions: Issue #1280 All Revisions ] Back to Issue ]
Summary 0001280: Bugs, performance issues and suggestions regarding cheat code 'vcmiarmenelos' (= build all)
Revision 2013-08-21 19:29 by Ivan
Description This is a split from a discussion started in 0001276. It was first noticed in 0.92c and the crashdump is from there, but I went back to 0.92 and 0.91 and behaviors were mostly the same.

To reproduce all of the below, a good test map is VCMI_Tests_2012 map from 0001063

1. (Works as designed) One time bonus buildings created as result of the cheat, give the bonus to hero at gate immediately, i.e.: hero does not need to visit the town screen. On the quoted map, type vcmiarmenelos for the first Tower in the list. Neela will get +1 Knowledge instantly (even before the new Lookout Tower will reveal the map). It felt weird, but this is a cheat after all. It's maybe even meant as a feature, saving us the action of having to actually open the town interface, so you can really disregard this actually.

2. Most notable is the performance issue. For the same Tower, type vcmiarmenelos, then try to do some game actions, for example take Neela (at gate) and press spacebar a couple of times, then take Xyron (next hero after her) and try to move him on the land somewhere further East. Going back to the moment of typing the cheat, I have the following:
- Immediately the +1 Knowledge pops for Neela, even if I'm on Adventure Map (should happen only once I enter the town > minor bug related to a cheat, not important)
- Almost same time the map is shown as revealed in the minimap ~ around this time I tried the actions I said above
- The game freezes for about 1min - 1m30
- Then it unfreezes, and funny enough does the recorded actions in opposite order: first I see Xyron move, then the town screen opens and closes

If I try just one action after the cheat (e.g.: move Xyron), the freeze is as long. If the action is pressing spacebar on Neela more than 2 times, sometimes I get graphic artifacts on the screen from the late attempt to open/close/open/etc town screen.
UPDATE: Another funny behavior, right after typing in the cheat, is to enter the town and just watch what's happening: buildings pop up slowly every 1-2-3 seconds... taking about a full minute till all is up (as compared to 1 second in H3). Which probably explains the crashes that occur if you try to do sth else, while VCMI is so slowly building that town.

---

Next reports are issues noticed when using the cheat on all other towns on that map, most of them missing a Fort (hence starting with the basic town image on map and in town list)

3. Not all towns update their town icon in list after the cheat gives them the Fort:
- some update with delay (possibly due to the performance delay reported above)
- some never do, like the second Tower town on that map

4. Tower town on that map actually didn't update the image on the map either for a long time (I entered it few times, to find it all built inside, and yet at exit it still showed the original image... I'm not sure at which point it eventually appeared, but I'm pretty sure it happened after the image was updated for towns which I "upgraded" with the cheat after it).

5. The cheat doesn't seem to work at all on the last 3 towns: Dungeon, Stronghold & Fortress. I'm not sure if it's because of the town types, the fact that they're last in the list, or the overuse of the cheat before. Console gives "Cheater!!!" but nothing is happening - and of course I made sure the town was selected.

6. I also had a crash once after I reloaded the map to test again the behaviors above, and started using the cheat on each town in the list, starting with the first, and with no other game actions in between. I think somewhere around the 4th town in the list, the crash pop-up appeared. It let me finish typing the cheat one more time afterwards, and then another crash popup appeared above. Crashdump attached.

Let me know if you need more details, but for me the above are reproducible every time, with minor variations.

7. (Fixed) In the very beginning, I was a bit confused and thought the cheat didn't work. First I tried it in town, but figured out immediately chat doesn't work there. But also after exiting town it wasn't working. It took a few attempts to figure out it was because I had a visiting hero, in which case at exit the hero gets selected (so town gets deselected). Suggestions:
>> Either allow chat in town screen (preferred), in which case the cheat could visually work with the same fading effect we get when moving from one town to another (as if we're clicking on another town in the list which had all built).
>> Or have the cheat work also for the town visited by the hero selected
>> Or at the very least, the console message should say "No town selected!" next to (or instead of) "Cheater!!!"

UPDATE: I just realized there is one other discrepancy with WoG, which may also render the above suggestion irrelevant if we go for the WoG behavior:

8. In WoG, wogminastirith took action regardless of the fact that a town, hero or nothing was selected, and it was building ALL towns (not just the one selected, like in VCMI).

To avoid performance issues, it seems it was implemented as such to take effect one by one, at the time they were first accessed. So for example only when entering Tower the hero at gate would get +1 Knowledge, and only when exiting the map was revealed. Similar for Castle probably Lighthouse only became effective when entering town... But that may need further testing to see how exactly it worked for example in case after the cheat a town was not accessed before End Turn.
Revision 2013-08-21 19:21 by Zamolxis
Description This is a split from a discussion started in 0001276. It was first noticed in 0.92c and the crashdump is from there, but I went back to 0.92 and 0.91 and behaviors were mostly the same.

To reproduce all of the below, a good test map is VCMI_Tests_2012 map from 0001063

1. (trivial but, or maybe feature?) One time bonus buildings created as result of the cheat, give the bonus to hero at gate immediately, i.e.: hero does not need to visit the town screen. On the quoted map, type vcmiarmenelos for the first Tower in the list. Neela will get +1 Knowledge instantly (even before the new Lookout Tower will reveal the map). It felt weird, but this is a cheat after all. It's maybe even meant as a feature, saving us the action of having to actually open the town interface, so you can really disregard this actually.

2. Most notable is the performance issue. For the same Tower, type vcmiarmenelos, then try to do some game actions, for example take Neela (at gate) and press spacebar a couple of times, then take Xyron (next hero after her) and try to move him on the land somewhere further East. Going back to the moment of typing the cheat, I have the following:
- Immediately the +1 Knowledge pops for Neela, even if I'm on Adventure Map (should happen only once I enter the town > minor bug related to a cheat, not important)
- Almost same time the map is shown as revealed in the minimap ~ around this time I tried the actions I said above
- The game freezes for about 1min - 1m30
- Then it unfreezes, and funny enough does the recorded actions in opposite order: first I see Xyron move, then the town screen opens and closes

If I try just one action after the cheat (e.g.: move Xyron), the freeze is as long. If the action is pressing spacebar on Neela more than 2 times, sometimes I get graphic artifacts on the screen from the late attempt to open/close/open/etc town screen.
UPDATE: Another funny behavior, right after typing in the cheat, is to enter the town and just watch what's happening: buildings pop up slowly every 1-2-3 seconds... taking about a full minute till all is up (as compared to 1 second in H3). Which probably explains the crashes that occur if you try to do sth else, while VCMI is so slowly building that town.

---

Next reports are issues noticed when using the cheat on all other towns on that map, most of them missing a Fort (hence starting with the basic town image on map and in town list)

3. Not all towns update their town icon in list after the cheat gives them the Fort:
- some update with delay (possibly due to the performance delay reported above)
- some never do, like the second Tower town on that map

4. Tower town on that map actually didn't update the image on the map either for a long time (I entered it few times, to find it all built inside, and yet at exit it still showed the original image... I'm not sure at which point it eventually appeared, but I'm pretty sure it happened after the image was updated for towns which I "upgraded" with the cheat after it).

5. The cheat doesn't seem to work at all on the last 3 towns: Dungeon, Stronghold & Fortress. I'm not sure if it's because of the town types, the fact that they're last in the list, or the overuse of the cheat before. Console gives "Cheater!!!" but nothing is happening - and of course I made sure the town was selected.

6. I also had a crash once after I reloaded the map to test again the behaviors above, and started using the cheat on each town in the list, starting with the first, and with no other game actions in between. I think somewhere around the 4th town in the list, the crash pop-up appeared. It let me finish typing the cheat one more time afterwards, and then another crash popup appeared above. Crashdump attached.

Let me know if you need more details, but for me the above are reproducible every time, with minor variations.

7. (SUGGESTION) In the very beginning, I was a bit confused and thought the cheat didn't work. First I tried it in town, but figured out immediately chat doesn't work there. But also after exiting town it wasn't working. It took a few attempts to figure out it was because I had a visiting hero, in which case at exit the hero gets selected (so town gets deselected). Suggestions:
>> Either allow chat in town screen (preferred), in which case the cheat could visually work with the same fading effect we get when moving from one town to another (as if we're clicking on another town in the list which had all built).
>> Or have the cheat work also for the town visited by the hero selected
>> Or at the very least, the console message should say "No town selected!" next to (or instead of) "Cheater!!!"

UPDATE: I just realized there is one other discrepancy with WoG, which may also render the above suggestion irrelevant if we go for the WoG behavior:

8. In WoG, wogminastirith took action regardless of the fact that a town, hero or nothing was selected, and it was building ALL towns (not just the one selected, like in VCMI).

To avoid performance issues, it seems it was implemented as such to take effect one by one, at the time they were first accessed. So for example only when entering Tower the hero at gate would get +1 Knowledge, and only when exiting the map was revealed. Similar for Castle probably Lighthouse only became effective when entering town... But that may need further testing to see how exactly it worked for example in case after the cheat a town was not accessed before End Turn.
Revision 2013-08-21 19:07 by Zamolxis
Description This is a split from a discussion started in 0001276. It was first noticed in 0.92c and the crashdump is from there, but I went back to 0.92 and 0.91 and behaviors were mostly the same.

To reproduce all of the below, a good test map is VCMI_Tests_2012 map from 0001063

1. (trivial but, or maybe feature?) One time bonus buildings created as result of the cheat, give the bonus to hero at gate immediately, i.e.: hero does not need to visit the town screen. On the quoted map, type vcmiarmenelos for the first Tower in the list. Neela will get +1 Knowledge instantly (even before the new Lookout Tower will reveal the map). It felt weird, but this is a cheat after all. It's maybe even meant as a feature, saving us the action of having to actually open the town interface, so you can really disregard this actually.

2. Most notable is the performance issue. For the same Tower, type vcmiarmenelos, then try to do some game actions, for example take Neela (at gate) and press spacebar a couple of times, then take Xyron (next hero after her) and try to move him on the land somewhere further East. Going back to the moment of typing the cheat, I have the following:
- Immediately the +1 Knowledge pops for Neela, even if I'm on Adventure Map (should happen only once I enter the town > minor bug related to a cheat, not important)
- Almost same time the map is shown as revealed in the minimap ~ around this time I tried the actions I said above
- The game freezes for about 1min - 1m30
- Then it unfreezes, and funny enough does the recorded actions in opposite order: first I see Xyron move, then the town screen opens and closes

If I try just one action after the cheat (e.g.: move Xyron), the freeze is as long. If the action is pressing spacebar on Neela more than 2 times, sometimes I get graphic artifacts on the screen from the late attempt to open/close/open/etc town screen.
Another funny behavior, right after typing in the cheat, is to enter the town and open the Fort. You'll see not all creatures will be available yet. It's like every building becomes available pretty slow, like one a second. You can open/close the fort a few more times and - if you don't get a crash - you will see every time 1-2 more creatures became available to hire.

---

Next reports are issues noticed when using the cheat on all other towns on that map, most of them missing a Fort (hence starting with the basic town image on map and in town list)

3. Not all towns update their town icon in list after the cheat gives them the Fort:
- some update with delay (possibly due to the performance delay reported above)
- some never do, like the second Tower town on that map

4. Tower town on that map actually didn't update the image on the map either for a long time (I entered it few times, to find it all built inside, and yet at exit it still showed the original image... I'm not sure at which point it eventually appeared, but I'm pretty sure it happened after the image was updated for towns which I "upgraded" with the cheat after it).

5. The cheat doesn't seem to work at all on the last 3 towns: Dungeon, Stronghold & Fortress. I'm not sure if it's because of the town types, the fact that they're last in the list, or the overuse of the cheat before. Console gives "Cheater!!!" but nothing is happening - and of course I made sure the town was selected.

6. I also had a crash once after I reloaded the map to test again the behaviors above, and started using the cheat on each town in the list, starting with the first, and with no other game actions in between. I think somewhere around the 4th town in the list, the crash pop-up appeared. It let me finish typing the cheat one more time afterwards, and then another crash popup appeared above. Crashdump attached.

Let me know if you need more details, but for me the above are reproducible every time, with minor variations.

7. (SUGGESTION) In the very beginning, I was a bit confused and thought the cheat didn't work. First I tried it in town, but figured out immediately chat doesn't work there. But also after exiting town it wasn't working. It took a few attempts to figure out it was because I had a visiting hero, in which case at exit the hero gets selected (so town gets deselected). Suggestions:
>> Either allow chat in town screen (preferred), in which case the cheat could visually work with the same fading effect we get when moving from one town to another (as if we're clicking on another town in the list which had all built).
>> Or have the cheat work also for the town visited by the hero selected
>> Or at the very least, the console message should say "No town selected!" next to (or instead of) "Cheater!!!"

UPDATE:

I just realized there is one other discrepancy with WoG, which may also render the above suggestion irrelevant if we go for the WoG behavior:

8. In WoG, wogminastirith took action regardless of the fact that a town, hero or nothing was selected, and it was building ALL towns (not just the one selected, like in VCMI).

To avoid performance issues, it seems it was implemented as such to take effect one by one, at the time they were first accessed. So for example only when entering Tower the hero at gate would get +1 Knowledge, and only when exiting the map was revealed. Similar for Castle probably Lighthouse only became effective when entering town... But that may need further testing to see how exactly it worked for example in case after the cheat a town was not accessed before End Turn.
Revision 2013-06-02 14:24 by Zamolxis
Description This is a split from a discussion started in 0001276. It was first noticed in 0.92c and the crashdump is from there, but I went back to 0.92 and 0.91 and behaviors were mostly the same.

To reproduce all of the below, a good test map is VCMI_Tests_2012 map from 0001063

1. (trivial but, or maybe feature?) One time bonus buildings created as result of the cheat, give the bonus to hero at gate immediately, i.e.: hero does not need to visit the town screen. On the quoted map, type vcmiarmenelos for the first Tower in the list. Neela will get +1 Knowledge instantly (even before the new Lookout Tower will reveal the map). It felt weird, but this is a cheat after all. It's maybe even meant as a feature, saving us the action of having to actually open the town interface, so you can really disregard this actually.

2. Most notable is the performance issue. For the same Tower, type vcmiarmenelos, then try to do some game actions, for example take Neela (at gate) and press spacebar a couple of times, then take Xyron (next hero after her) and try to move him on the land somewhere further East. Going back to the moment of typing the cheat, I have the following:
- Immediately the +1 Knowledge pops for Neela, even if I'm on Adventure Map (should happen only once I enter the town > minor bug related to a cheat, not important)
- Almost same time the map is shown as revealed in the minimap ~ around this time I tried the actions I said above
- The game freezes for about 1min - 1m30
- Then it unfreezes, and funny enough does the recorded actions in opposite order: first I see Xyron move, then the town screen opens and closes

If I try just one action after the cheat (e.g.: move Xyron), the freeze is as long. If the action is pressing spacebar on Neela more than 2 times, sometimes I get graphic artifacts on the screen from the late attempt to open/close/open/etc town screen.

---

Next reports are issues noticed when using the cheat on all other towns on that map, most of them missing a Fort (hence starting with the basic town image on map and in town list)

3. Not all towns update their town icon in list after the cheat gives them the Fort:
- some update with delay (possibly due to the performance delay reported above)
- some never do, like the second Tower town on that map

4. Tower town on that map actually didn't update the image on the map either for a long time (I entered it few times, to find it all built inside, and yet at exit it still showed the original image... I'm not sure at which point it eventually appeared, but I'm pretty sure it happened after the image was updated for towns which I "upgraded" with the cheat after it).

5. The cheat doesn't seem to work at all on the last 3 towns: Dungeon, Stronghold & Fortress. I'm not sure if it's because of the town types, the fact that they're last in the list, or the overuse of the cheat before. Console gives "Cheater!!!" but nothing is happening - and of course I made sure the town was selected.

6. I also had a crash once after I reloaded the map to test again the behaviors above, and started using the cheat on each town in the list, starting with the first, and with no other game actions in between. I think somewhere around the 4th town in the list, the crash pop-up appeared. It let me finish typing the cheat one more time afterwards, and then another crash popup appeared above. Crashdump attached.

Let me know if you need more details, but for me the above are reproducible every time, with minor variations.

7. (SUGGESTION) In the very beginning, I was a bit confused and thought the cheat didn't work. First I tried it in town, but figured out immediately chat doesn't work there. But also after exiting town it wasn't working. It took a few attempts to figure out it was because I had a visiting hero, in which case at exit the hero gets selected (so town gets deselected). Suggestions:
>> Either allow chat in town screen (preferred), in which case the cheat could visually work with the same fading effect we get when moving from one town to another (as if we're clicking on another town in the list which had all built).
>> Or have the cheat work also for the town visited by the hero selected
>> Or at the very least, the console message should say "No town selected!" next to (or instead of) "Cheater!!!"

UPDATE:

I just realized there is one other discrepancy with WoG, which may also render the above suggestion irrelevant if we go for the WoG behavior:

8. In WoG, wogminastirith took action regardless of the fact that a town, hero or nothing was selected, and it was building ALL towns (not just the one selected, like in VCMI).

To avoid performance issues, it seems it was implemented as such to take effect one by one, at the time they were first accessed. So for example only when entering Tower the hero at gate would get +1 Knowledge, and only when exiting the map was revealed. Similar for Castle probably Lighthouse only became effective when entering town... But that may need further testing to see how exactly it worked for example in case after the cheat a town was not accessed before End Turn.
Revision 2013-06-02 14:24 by Zamolxis
Description This is a split from a discussion started in 0001276. It was first noticed in 0.92c and the crashdump is from there, but I went back to 0.92 and 0.91 and behaviors were mostly the same.

To reproduce all of the below, a good test map is VCMI_Tests_2012 map from 0001063

1. (trivial but, or maybe feature?) One time bonus buildings created as result of the cheat, give the bonus to hero at gate immediately, i.e.: hero does not need to visit the town screen. On the quoted map, type vcmiarmenelos for the first Tower in the list. Neela will get +1 Knowledge instantly (even before the new Lookout Tower will reveal the map). It felt weird, but this is a cheat after all. It's maybe even meant as a feature, saving us the action of having to actually open the town interface, so you can really disregard this actually.

2. Most notable is the performance issue. For the same Tower, type vcmiarmenelos, then try to do some game actions, for example take Neela (at gate) and press spacebar a couple of times, then take Xyron (next hero after her) and try to move him on the land somewhere further East. Going back to the moment of typing the cheat, I have the following:
- Immediately the +1 Knowledge pops for Neela, even if I'm on Adventure Map (should happen only once I enter the town > minor bug related to a cheat, not important)
- Almost same time the map is shown as revealed in the minimap ~ around this time I tried the actions I said above
- The game freezes for about 1min - 1m30
- Then it unfreezes, and funny enough does the recorded actions in opposite order: first I see Xyron move, then the town screen opens and closes

If I try just one action after the cheat (e.g.: move Xyron), the freeze is as long. If the action is pressing spacebar on Neela more than 2 times, sometimes I get graphic artifacts on the screen from the late attempt to open/close/open/etc town screen.

---

Next reports are issues noticed when using the cheat on all other towns on that map, most of them missing a Fort (hence starting with the basic town image on map and in town list)

3. Not all towns update their town icon in list after the cheat gives them the Fort:
- some update with delay (possibly due to the performance delay reported above)
- some never do, like the second Tower town on that map

4. Tower town on that map actually didn't update the image on the map either for a long time (I entered it few times, to find it all built inside, and yet at exit it still showed the original image... I'm not sure at which point it eventually appeared, but I'm pretty sure it happened after the image was updated for towns which I "upgraded" with the cheat after it).

5. The cheat doesn't seem to work at all on the last 3 towns: Dungeon, Stronghold & Fortress. I'm not sure if it's because of the town types, the fact that they're last in the list, or the overuse of the cheat before. Console gives "Cheater!!!" but nothing is happening - and of course I made sure the town was selected.

6. I also had a crash once after I reloaded the map to test again the behaviors above, and started using the cheat on each town in the list, starting with the first, and with no other game actions in between. I think somewhere around the 4th town in the list, the crash pop-up appeared. It let me finish typing the cheat one more time afterwards, and then another crash popup appeared above. Crashdump attached.

Let me know if you need more details, but for me the above are reproducible every time, with minor variations.

7. (SUGGESTION) In the very beginning, I was a bit confused and thought the cheat didn't work. First I tried it in town, but figured out immediately chat doesn't work there. But also after exiting town it wasn't working. It took a few attempts to figure out it was because I had a visiting hero, in which case at exit the hero gets selected (so town gets deselected). Suggestions:
>> Either allow chat in town screen (preferred), in which case the cheat could visually work with the same fading effect we get when moving from one town to another (as if we're clicking on another town in the list which had all built).
>> Or have the cheat work also for the town visited by the hero selected
>> Or at the very least, the console message should say "No town selected!" next to (or instead of) "Cheater!!!"

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean