Conan Exiles

Conan Exiles

Exile Architect
 Dieses Thema wurde angeheftet; es ist wahrscheinlich wichtig
illspirit  [Entwickler] 3. März 2019 um 13:58
How to fix missing buildings after update
The problem should have sorted itself out for most builds due to previous game patch. But if you still have buildings explode on update, I've got a batch script to clean out the undead mason line references.

First, backup your game.db, then find the most recent game_backup_X.db from before patch and make a copy named game.db.

Next, open notepad, and paste this code into a new document:

@echo off set db_file="game.db" if NOT exist %db_file% ( echo No game.db file in this directory! PAUSE EXIT /B ) echo Attempting to clean %db_file%... sqlite3.exe %db_file% "UPDATE actor_position SET class = '/Game/Systems/Building/BP_FenceFoundation.BP_FenceFoundation_C' WHERE class = '/Game/Mods/RopeLines/BP_BuildRopeThing.BP_BuildRopeThing_C';" sqlite3.exe %db_file% "UPDATE actor_position SET class = '/Game/Systems/Building/BP_FenceFoundation.BP_FenceFoundation_C' WHERE class = '/Game/Mods/RopeLines/BP_BuildRopeThingLong.BP_BuildRopeThingLong_C';" pause

Save this as ArchitectFix.bat or something in your local or server's "saved" directory and run it. This will swap out all the mason lines in the actor position table with sandstone fences.

Since this table is only for the root building actor, the rest of the mason line objects should still be there, and buildings should survive the update. Possibly with a few missing walls if anything was stacked on a 2X line?
Zuletzt bearbeitet von illspirit; 3. März 2019 um 18:49
< >
Beiträge 18 von 8
illspirit  [Entwickler] 3. März 2019 um 18:34 
Manual cleanup instructions:

To cleanup by hand, first you'll need an editor for the game.db You can get one from:

sqlitebrowser.org

Long/detailed fix instructions:

Make a copy of a recent game_backup db from before the patch rename it to just game.db, and open it in the db browser.

From there, click the "browse data" tab, and select the "actor_position" table from the dropdown. This should show a big table full of class/ID/location/etc..To narrow it down, type "ropething" into the filter box above the class column.

See first screenshot here for example: https://imgur.com/a/wuSchqL

If there are any matches for ropething or ropethinglong, make note of the ID, and switch to the "building_instances" table with the dropdown.

In this table (see screenshot 2 in imgur link), check to see if any rows use the ID above (49 in my example) in the object_id column.

If they do, go back that row in the actor_position table, and change the class name (using text box on the right) from ropething to sandstone fence foundation's class:

/Game/Systems/Building/BP_FenceFoundation.BP_FenceFoundation_C

Then click apply.

If there are more references to ropethings in the actor position table, repeat as needed, and click the write changes button to finalize.

While this is kind of tedious, it's not as bad as it sounds since there's usually just one "parent" actor per building.

Quick and dirty fix:

As a quicker alternative, one could simply just change every ropething or ropethinglong in the actor_position table to:

/Game/Systems/Building/BP_FenceFoundation.BP_FenceFoundation_C


This would replace any standalone mason lines that don't have anything attached, but it could be a lot faster than checking against instance table on larger game.dbs.
Zuletzt bearbeitet von illspirit; 3. März 2019 um 18:37
Could you tell the name of your walkway foundation too? I began my base with it so I'd like to replace it with a sandstone one just for the sake of future Funcom patches.
illspirit  [Entwickler] 3. März 2019 um 22:12 
Walkways shouldn't cause problems since they're simple children of vanilla foundations. The mason lines needed extra code originally, which ultimately led to things breaking.

The names for the other foundations though are BP_Scaffolding, BP_ScaffoldPoles, and BP_PoleFloor.
Zuletzt bearbeitet von illspirit; 3. März 2019 um 22:13
Thank you for the information! I had to find which mod crashes my game (not yours, I've found it already) so I had to remove all mods and add them back one by one. My whole base disappeared and I couldn't guess why ))) I've begun it with one of your foundations. So I guess I'll replace this one ghost foundation too, 'cause it's easy and will make no harm in any way.
illspirit  [Entwickler] 3. März 2019 um 23:59 
Sorry your base blew up. For what it's worth, I've lost everything multiple times just trying to figure out the problem lol. But, yea, swapping out the initial ghost foundation in the db won't hurt anything. Which is part of which makes the problem so odd.
It was SP so it doesn't matter ) I've just restored my save game. I wonder why Funcom devs decided to do it in such a strange way... they had some reasons for it I guess.
Keka 4. März 2019 um 6:29 
Hi, in my case, it won't find the game.db file, any suggestion on how to proceed? Thank you.
Use browser instead. It works, I've checked it right now.
< >
Beiträge 18 von 8
Pro Seite: 1530 50