Close encounters of the caravan kind.

Mize

Prince
Joined
Jun 17, 2011
Messages
448
Rare pictures of an AI caravan in the wild. The poor camel didn't know what to do and just wandered aimlessly around Hamburg for most of the game.
 

Attachments

  • AI_caravan.png
    AI_caravan.png
    164.8 KB · Views: 72
Very, very strange. Are you sure you did not add this caravan in JCivED or something? As far as I know, when AI builds a caravan, it creates a trade route and then deletes the unit, and if there are already 3 trade routes, AI will delete the caravan anyway and will get shields for it back. Should test it someday...
 
Yes, I'm positive the AI built it on its own. Decades ago I also once saw the AI move a diplomat about like a regular unit, a similarly rare occurrence. Maybe the AI built it by mistake like it sometimes builds carriers. Or maybe there are some special cases where the caravan is compelled to move out after it is built. Like when sometimes lone barbarian leaders will sabotage your city as they try to move through it to reach another barbarian unit. Maybe the caravan went out to scout or pop a hut.
 
I was wrong about "get shields for caravan back"... If no suitable cities for trade were found, AI will create trade route with city number 0 (even if that city does not exist). And AI will disband its caravan in process anyway, so I still have no idea...
 
Last edited:
I have an idea. Can it be that AI bribed your caravan? At least this can be theoretically possible.
 
No, it definitely wasn't that. The AI probably wouldn't want to bribe a caravan anyway. In my experience it only bribes strong defensive units fortified on good positions (it probably calculates the odds and decides to bribe the unit if the odds are too bad, and it has enough cash). A caravan it can just easily kill with any unit.

I did bribe it though, just to test what would happen. It became a NONE caravan and I could move it into an AI city for the cash bonus.
 
Well I just saw the fortress in mountains, so it was my thought. Btw, using NONE caravan is dangerous, "trade route" with the city number -1 (or 255?) will write byte in memory beyond the bounds of city list and I have no idea where and what game stores at this memory address. Normally there's should be absolute no way for you to get NONE caravan.

EDIT: well, not every memory violation create visible problems or crashes the game. And if offset is -1, then this memory area is not saved in save file, there's no any detected variables from save file here. And no any known variables whatsoever, I have no idea what is stored here (if anything).
 
Last edited:
The fort isn't empty. The selected unit is blinking and just didn't make the screenshot. I've never seen the AI bribe caravans or diplomats (or settlers), even in forts. I speculate it just doesn't feel it needs to. If it deems the unit weak it just attacks. Even in a mountain fort, 0 defence is still 0 defence.

Using the NONE caravan didn't appear to cause any trouble. Here's the save from a few turns later if you want to investigate. I hope I'm attaching the right files.
 

Attachments

Back
Top Bottom