forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

Leaving containers untouched

When I destroy a barrel or box, and drops nothing (and knowing that you can't reroll the lot as in other games, apparently the price is set up when the container is generated), I have been reloading and leaving those containers untouched, to give to the world a bit more 'life' when I return.

But now I'm afraid that could be harmful for an ARPG in which is supposed you will destroy all what you can. Leaving containers untouched may increases the size of the save file, or worse, causes bug when you are enough far in the game?

Does someone knows if this behavior affects the performance of this game?

No, the containers aren't in the saved game file. The game saves contain information about actual items that are in your character's inventory as well as the character's skills, attributes, skins and so on. The save also contains the character's portrait and a thumbnail of the area that you saved in, plus information about your in-game progress as well as information about what resources are used, such as the map, mods and stuff like that.

But sometimes I destroy only 1 barrel with good loot, and left the others untouched. Where is stored that information when I return road back?

Vamrem wrote:

But sometimes I destroy only 1 barrel with good loot, and left the others untouched. Where is stored that information when I return road back?

The items are generated when you open the container, with a few exceptions. Every object has a template. Those particular templates are in the Logic.dsres that's located in the resource folder, not the saved game. The templates contain the information about the content of the containers, which have parameters of what sort of loot they will contain. Different regions have different parameters. For example, the barrels right next to the farmhouse where you start off sometimes drop money, sometimes nothing. There are two static containers on Norick's farm and those will always drop a zap spell and a fire shot spell. The rest of the starter region containers have a chance to drop a small amount of gold, small potions, low level spells or nothing at all.

Only the templates of the items that are in your inventory are stored in the saved game files. This information will change with every saved game since you will be selling things/keeping them, whatever. Each saved game only stores the item information current at the time you save it.

Er, sorry about my rambling on in the previous post. You got the looong version and way more info than you actually asked for. Hope I made some sort of sense, lol.

kathycf wrote:

Vamrem wrote:

But sometimes I destroy only 1 barrel with good loot, and left the others untouched. Where is stored that information when I return road back?

The items are generated when you open the container, with a few exceptions. Every object has a template. Those particular templates are in the Logic.dsres that's located in the resource folder, not the saved game. The templates contain the information about the content of the containers, which have parameters of what sort of loot they will contain. Different regions have different parameters. For example, the barrels right next to the farmhouse where you start off sometimes drop money, sometimes nothing. There are two static containers on Norick's farm and those will always drop a zap spell and a fire shot spell. The rest of the starter region containers have a chance to drop a small amount of gold, small potions, low level spells or nothing at all.

Only the templates of the items that are in your inventory are stored in the saved game files. This information will change with every saved game since you will be selling things/keeping them, whatever. Each saved game only stores the item information current at the time you save it.

Yes, I have already noticed that, what I'm saying is that if I break only 1 container, left the other untouched in my farmhouse, and continue, then, from Glacern I return back to the farm, will still 1 container missing (which I broke days after), and 1 untouched? That "change" in the template of the objects in the world, should be stored, otherwise how the game knows I've leaved only 1 barrel intact?

I don't remember if I have done the check, but one time I have returned to the start location to see if the books I've dropped in the Edgaar cellar, still there, and they have gone, so, that information wasn't stored. But the containers I think they still untouched/broken as I've left.

(Today I'm playing a new installation and didn't reach Glacern, so I can't check now with old savegames until update to Aranna). Question: if you return to your farm, you will find the containers broken/untouched, as you left them? or they will 'respawn' intact? or they be gone for good? lol

kathycf wrote:

Er, sorry about my rambling on in the previous post. You got the looong version and way more info than you actually asked for. Hope I made some sort of sense, lol.

Yep, we know kathy rambles on a bit but sometimes she can be funny and even witty, this post below might help vamrem out a bit more.

I think you're looking for the ctn_container_regional gas file.

world\contentdb\templates\regular\interactive\containers\

It's your lucky day as I've got a copy of that file in a zip file + a DS1 Map Regions file which will tell you whereabouts on the map you will find them.

This below is the first container in the ctn_container_regional file, you will not have a bloody clue where that is, but if you cross check it with the DS1 Map Regions file you'll get an idea of its whereabouts.
[t:template,n:barrel_cav_01_cf_r1]
{
category_name = "cf_r1";
doc = "1W_barrel_cav_01_cf_r1";
specializes = base_container_barrel;

So to look for a barrel\chest\urn or whatever you'll need to do a search for one like that template above, crosscheck cf_r1 with the DS1 Map Regions file and you'll find it is located in Fortress Kroth, I didn't say it was going to be easy did I.

If you need anymore help give a shout out in this thread and someone will tell you the answer, that's if they know it.

If you had left the books untouched they would still be there at the end of the game, same for the barrels\chests etc.

Thanks. So there is where are stored all containers, and as I play, broken, or leaving, containers, will be there. And apparently my main question was answered: leaving containers untouched won't make the game heavier, or laggy, or buggy, cause all will be in a separate file.

-> Now I have a new question ¿what if I replace the new file for the old: will get all containers again?

Will test it now lol

Vamrem wrote:

Thanks. So there is where are stored all containers, and as I play, broken, or leaving, containers, will be there. And apparently my main question was answered: leaving containers untouched won't make the game heavier, or laggy, or buggy, cause all will be in a separate file.

-> Now I have a new question ¿what if I replace the new file for the old: will get all containers again?

Yes, apparently your main question was answered. But hey, what do I know?

Vamren wrote:
but one time I have returned to the start location to see if the books I've dropped in the Edgaar cellar, still there, and they have gone, so, that information wasn't stored.

Correct, the information wasn't stored because you didn't pick up the items and place them in your inventory. As I mentioned previously, in the reply that apparently made no sense; only items that are in your inventory at the time of a game save are counted. Stuff that is dropped but *not* looted expires after a period of time, otherwise the game world would be littered with a bunch of crap. That would be bad. Containers that haven't been opened yet aren't in that category, since the contents haven't been generated yet. I'll take my leave now since my answers are apparently useless nonsense.

Moros wrote:

I think you're looking for the ctn_container_regional gas file.


I was going to actually going to post a barrel template, but I wasn't sure if Vamren had skrit pad and would be able to open a gas file. Since I had already imparted so much useless "info" I didn't want to clutter up my reply even more.

Moros wrote:
If you need anymore help give a shout out in this thread and someone will tell you the answer, that's if they know it.

Damn, Moros...

Vamrem, the trouble with asking experts is that sometimes they give a deeper, more complicated answer than wanted. As the "expert" who was asked, that is a fault that surely I've committed in the past.

As we advance through the game world, the game must remember what has happened to every object, defined in the permanent files, that can act or be interacted with, that we've encountered and left behind. If we bust open a loot barrel, it must remember that the barrel has gone. If we leave a loot barrel untouched, it must remember that the barrel is still there. Either way, the number of things the game has to remember increases, the further through the world we go.

Save files preserve what the game is remembering. (In single-player DS1 that is.) Just watch how the save files get bigger as we go through the game. From e.g. about 500 KB at Stonebridge to 3,500 KB in Castle Ehb.

Sorry for my angry and hasty remarks. I misunderstood a few things and jumped to the wrong conclusion.

I really don't want to discourage people from asking questions. There are many talented people here that have so much knowledge to contribute.

kathycf wrote:
There are many talented people here that have so much knowledge to contribute.

I'm not one of them, no sir, not me, I might have mentioned some possible answers in the past but they were all hearsay I tell you, yep, all hearsay. Tongue

Yes, sorry if I didn't understood all, my question was very very basic: Leaving containers untouched increases problems? Decreases problems? Or it is the same? Just that if anyone knows.

Vamrem wrote:

Yes, sorry if I didn't understood all, my question was very very basic: Leaving containers untouched increases problems? Decreases problems? Or it is the same? Just that if anyone knows.

Leaving containers untouched does not decrease or increase problems. It is the same. However I would recommend opening any glowing trunk you find as it might contain a main quest item or help.

Elf

bare_elf wrote:

Vamrem wrote:

Yes, sorry if I didn't understood all, my question was very very basic: Leaving containers untouched increases problems? Decreases problems? Or it is the same? Just that if anyone knows.

Leaving containers untouched does not decrease or increase problems. It is the same. However I would recommend opening any glowing trunk you find as it might contain a main quest item or help.

Elf

Yes, I open all containers, and reload to leave the empty ones untouched (also the low loot like potions, which I can't carry). I was afraid that this behavior would damage the game, due it's philosophy of "destroy all". That was my only doubt.

Thanks.