Keriew / augustus

An open source re-implementation of Caesar III
GNU Affero General Public License v3.0
1.46k stars 115 forks source link

Cart depot bulls sometimes get stuck on granaries. #956

Open Zeg4 opened 10 months ago

Zeg4 commented 10 months ago

image

I cannot quite tell how or why it happens, but the cart depot carriers sometimes become stuck inside a granary, unable to do anything. I suspect that it may happen if the food they were meant to fetch becomes depleted mere frames before they get them, forcing them to recalculate in a weird way.

Here is a save that has a cart depot bull already stuck like this, on granary 3 of the city (you will need to use the Sickness overlay to see it as shown above). The camera is focused on the cart depot that sent the bull in question (the one right next to a reservoir, in case the camera is elsewhere upon load), and Granary 3 is nearby the farms up north to the left. I instructed it to get wheat from that granary if it has more than 4 units in it, and I believe I did not touch those orders for a long time there before the glitch happened. The bull stuck on the source granary for some reason, and the only way to unjam it is to delete the depot and Undo the action, which has the risk of making the second bull the depot sends lose its cargo if it had any.

image

Also, if you delete the granary the bull is stuck on, you can right-click it to see what it is supposedly doing. It says here that it already has the wheat and is delivering it to Granary 2 below. Maybe this is useful information in some way (I did not touch that granary either).

I tried to reproduce the glitch doing a number of things and could not get it again. I fast-forwarded the save as-is to see if it happens again later and it does not. The bull's sprite loses the cart part of its model while it is stuck, which makes me think that it may be happening upon trying to get food at a very specific time since human cart pushers also lose their cart sprite for a split second when they load/unload things.

That would be it with what I know. I am using the latest unstable version, and I think I saw this happen a few versions ago too where I did not pay much attention to it, but has been happening on my saves a little more often lately (it happened on a different granary on this same game before).

maoxp09 commented 7 months ago

Where did you get this version from?

Zeg4 commented 7 months ago

I was using the latest unstable version available around the date I posted this report, which I got from this site like all other versions (right here).

maoxp09 commented 7 months ago

After downloading, I compared my game folder, but when I entered the game, there was no response