Perma-glitched ship dealer

General discussions about X Rebirth.

Moderator: Moderators for English X Forum

synctrance
Posts: 427
Joined: Mon, 14. Aug 06, 12:17

Perma-glitched ship dealer

Post by synctrance »

In event of unsuccessful ship upgrade or repair, when the ship will dock but nothing happens, ship dealer losses his abilities. He awaits success confirmation from previous job before accepting new sell/modify/upgrade options.

Obviously he never gets them, and ship dealer becomes useless. The only option accessible to build is through "show me ships" -> build, however build is greyed out even with enough credits. Anyone seen this?

P.S. Killing the ship in question doesn't seem to help.
User avatar
werewolves?
Posts: 1166
Joined: Tue, 31. Jan 12, 00:58
x4

Post by werewolves? »

You can get around this by editing the save game, find the ship dealer in the save game, get his id or code or whatever, search for it and it will show up in a ship dealer script, you can edit out the junk to make it match the other dealers and it seems to restore him to a neutral state where the other commands work again.

Or it might be a lack of resources, there is a guide in the tech forum on how to edit that.
synctrance
Posts: 427
Joined: Mon, 14. Aug 06, 12:17

Post by synctrance »

Could you link me the thread, i couldnt find it?
malevolentwmd
Posts: 23
Joined: Mon, 18. Nov 13, 16:45

Post by malevolentwmd »

I have experienced this exact same bug.

Have an Arawn carrier that I was trying to refit with interceptor drones, there was a Taranis carrier in the shipyard dock and it didnt move for over 5 hours, finally I blew up the Taranis to clear the shipyard dock and that still didnt fix it.
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

I posted about this topic in detail. Here is a how-to guide.
http://forum.egosoft.com/viewtopic.php?t=352083
SinisterDeath
Posts: 228
Joined: Sun, 26. Apr 09, 04:32
x4

Post by SinisterDeath »

werewolves? wrote:You can get around this by editing the save game, find the ship dealer in the save game, get his id or code or whatever, search for it and it will show up in a ship dealer script, you can edit out the junk to make it match the other dealers and it seems to restore him to a neutral state where the other commands work again.

Or it might be a lack of resources, there is a guide in the tech forum on how to edit that.
I believe even when the shipyard is out of resources, you're still allowed to buy the ship. It just takes longer to construct said ship.
synctrance
Posts: 427
Joined: Mon, 14. Aug 06, 12:17

Post by synctrance »

Editing resources doesnt cut it for me. What tags do i need to edit for a ship dealer?

NVM, had to remove those lines from ship trader:

from:

Code: Select all

<value name="$BuildModule" type="component" value="[0x4aadc]"/>
<value name="$Buildplan" type="buildplan" value="4"/>
<value name="$WareList" type="list" value="1564"/>
<value name="$actor" type="component" value="[0x4ac31]"/>
<value name="$buildcost" type="largefloat" value="228643"/>
<value name="$component" type="component" value="[0x4aade]"/>
<value name="$sequence" type="string" value="1581"/>
<value name="$ship" type="component" value="[0x4aade]"/>
<value name="$showed_cArch_buildermacros" type="integer" value="1"/>
<value name="$showed_cArch_selectUpgradesMenu" type="integer" value="1"/>
<value name="$showed_cArch_selectship" type="integer" value="1"/>
<value name="$soldship" type="component" value="[0x515cb]"/>
<value name="$soldshipprice" type="money" value="2652804200"/>
<value name="$stage" type="largefloat"/>
<value name="$upgrade" type="integer" value="1"/>
<value name="$upgrade_buildlimit" type="integer"/>
to original:

Code: Select all

<value name="$BuildModule" type="component" value="[0xdf0cb]"/>
<value name="$WareList" type="list" value="1559"/>
<value name="$actor" type="component" value="[0xdf0d4]"/>
<value name="$showed_cArch_buildermacros" type="integer" value="1"/>
<value name="$soldship" type="component" value="[0xe5bc2]"/>
<value name="$soldshipprice" type="money" value="2652804200"/>
it works, though i hope this doesnt break my game further.
User avatar
werewolves?
Posts: 1166
Joined: Tue, 31. Jan 12, 00:58
x4

Post by werewolves? »

Sorry I didn't post a better explanation, didn't check the thread, but you figured it out fine:

I think the default behaviour for a ship dealer is actually just:

Code: Select all

<value name="$WareList" type="list" value="1541"/>
<value name="$actor" type="component" value="[0xcf6a7]"/>

you may also have to clear the shipyard docking port if it is reserved for a bugged unbuilt ship or a bugged failed docking.

Find the appropriate shipyard:

Code: Select all

<connection connection="connection_buildmodule01" macro="connection_buildmodule01">
<component class="buildmodule" macro="buildmodule_ships_albion_xl_macro" connection="connection_component01" id="[0xcf690]">
<build start="40217" repair="100" type="build"/>
<connections>
<connection connection="connection_dockingbay01" macro="connection_dockingbay01">
<component class="dockingbay" macro="props_surf_ar_docks_size_xl_inv_macro" connection="connection_component01" seed="2848735014" id="[0xcf691]">
<offset>
<rotation yaw="-180"/>
</offset>
<connections/>
</component>
</connection>
<connection connection="buildanchor" id="[0xcf693]">
<connected connection="[0xcf9ad]"/>
</connection>
delete:

Code: Select all

<connection connection="buildanchor" id="[0xcf693]">
<connected connection="[0xcf9ad]"/>
which looks like it reserves the hangar slot for the bugged build, this should start the new build

NOTE: THIS COULD DESTROY YOUR GAME, SEEMS TO WORK FOR NOW BUT.....
malevolentwmd
Posts: 23
Joined: Mon, 18. Nov 13, 16:45

Post by malevolentwmd »

I tried to modify the save file but I am just not good at that stuff. This was the end of the game for me. A bug too far.
seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee »

I thought i could link that here too :
http://forum.egosoft.com/viewtopic.php? ... 09#4241609

I found how to "undock" your ship from a shipyard if it bugged while doing repairs / loading drones / loading turrets

ie : the ship IS docked, but won't do anything anymore, commands are greyed out, ship dealer don't want to build anything, ship don't get repaired / fixed / equiped
Ruges
Posts: 76
Joined: Tue, 28. Dec 10, 13:44
x4

Post by Ruges »

Ok after doing digging and doing many google searches I found this thread. I had narrowed it down to a few lines of script but could not figure out which ones to delete. So I looked for another ship seller that was doing nothing and decided to delete the lines that where not on his.

Step 1, Find the name of the ship dealer that is bugged. (you do this ingame at the shipyard)

Step 2, Open a save file with notepad++ and search for that ship dealers name. You should find something like:

Code: Select all

<component class="npc" macro="character_ar_female_dv_b_macro" connection="commandroomslot" name="Melissa Davis" owner="canteran" page="10110" id="[0x406281d]">
Step 3, remove the

Code: Select all

<value name="$shiptrader_isbusy" type="integer" value="1"/>
that is a couple lines below the characters name.

Step 4, Do a new search for the ID number in my case it was 0x406281d I had to run the search about 3 times to get to a line of code that looked like this:

Code: Select all

<value name="$BuildModule" type="component" value="[0x3852b54]"/>
<value name="$Buildplan" type="buildplan" value="29"/>
<value name="$WareList" type="list" value="881"/>
<value name="$actor" type="component" value="[0x406281d]"/>
<value name="$buildcost" type="largefloat" value="318914"/>
<value name="$buildlimit" type="integer"/>
<value name="$component" type="component" value="[0x4055111]"/>
<value name="$fraction" type="largefloat" value="1"/>
<value name="$selectedMacro" type="macro" value="units_size_xl_builder_ship_dv_macro"/>
<value name="$sequence" type="string" value="690"/>
<value name="$ship" type="component" value="[0x4055111]"/>
<value name="$showed_cArch_buildermacros" type="integer" value="1"/>
<value name="$showed_cArch_selectship" type="integer" value="1"/>
<value name="$stage" type="largefloat"/>
<value name="$target_dock" type="componentslot" value="85"/>
Step 5, I then changed it to look like this:

Code: Select all

<value name="$BuildModule" type="component" value="[0x3852b54]"/>
<value name="$Buildplan" type="buildplan" value="30"/>
<value name="$WareList" type="list" value="887"/>
<value name="$actor" type="component" value="[0x406281d]"/>
<value name="$selectedMacro" type="macro" value="units_size_xl_builder_ship_dv_macro"/>
<value name="$showed_cArch_buildermacros" type="integer" value="1"/>
<value name="$showed_cArch_selectUpgradesMenu" type="integer" value="1"/>
<value name="$showed_cArch_selectship" type="integer" value="1"/>
<value name="$target_dock" type="componentslot" value="87"/>
I am not sure exactly what is needed and what is not needed. More or less of the lines can be deleted. I did have to add in the

Code: Select all

<value name="$showed_cArch_selectUpgradesMenu" type="integer" value="1"/>
to be able to see the upgrades menu.

Would be nice if someone more knowledgeable in the subject was to say what exactly is and is not needed in these lines. Don't want to remove to much, and not want to leave to much. However I am able to give them new commands now.

Also want to point out the reason I got this bug in the first place was because I ordered a ship to go get repaired. then told him to go repair somewhere else which he did. But that made it so this ship dealer was waiting on a ship that would never come. [/code]

Return to “X Rebirth Universe”