1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Bug/Issue Duplicate Crew?

Discussion in 'Starbound Support' started by moomoomilkman, Jul 26, 2016.

  1. Titanium

    Titanium Existential Complex

    Quick bump for that log up above!
     
    QuantumProjects and lordplenty like this.
  2. 16bitsISenough

    16bitsISenough Space Hobo

    HI, I posted it on reddit yesterday, adding it here for visibility


    Hi, here's my story with crew duplication

    Here is screenshot from when I first noticed.

    Single player, did bunch of missions on frozen planet, got a medic from the missions, did some missions for the ship tenants and build fuel generator. Used fuel to go to night planet, walked around it and killed everything on the way. Had two members on away team for shadow planet. Not sure but I think they started duplicating just after that.


    Test 1. Lava on the ship.


    Tried with combination of two clones at once, two different crew members at once, trapping them in the room where they gather and most of them just teleports to different room after getting some damage. Those that stay will get billions of damage before counter stops appearing. Unable to kill clones that way. but didn't fill the room and didn't drop it on their heads.


    My character unaffected whatsoever by lava, am i invincible on my ship?

    Test 2. Lava in fuel generator

    My crew that took residence there took much less damage than during first test and all but away team beamed out at once to never come back.

    Test 3. Selecting both clones to away team an beaming to different sites

    One of the selected crew members would beam, but instead of his clone other crew member would teleport in. Replacement would different for each clone pair, but consistent between teleports.

    Test 4. Removing crew from the ship and interacting with them to add back to S.A.I.L.

    Removed every crew member and some beamed out, some stayed (tailor, socialite). After interacting with remaining copies everybody but socialite and tailor got readded to S.A.I.L. Clones reappered.

    Log file saved after tests 1 and 2

    Log file after 3 and 4

    Have two copies of my storage folder respectively and can upload to dropbox if needed.
     
  3. Titanium

    Titanium Existential Complex

    Here's another log. Includes both beam-down and beam-up after a mass entire-crew beamdown.
     

    Attached Files:

    lordplenty likes this.
  4. Healthire

    Healthire Can't Most Program the Least

    Thanks. That gives another lead.

    I have updated the mod to have more logged information. For future logs please replace the current version with this updated one. If you could reproduce the issue again with an updated log that would be neat.
     

    Attached Files:

  5. Dr. Pugsley

    Dr. Pugsley Scruffy Nerf-Herder

    Good to see you guys are hot on the case of this bug. Because dear god I have been avoiding multiple crew members like it's the plague because of this bug. I hope it can get patched soon!
     
    bearffalo and Titanium like this.
  6. Titanium

    Titanium Existential Complex

    Bumping this thread back to the front page.
     
    QuantumProjects likes this.
  7. QuantumProjects

    QuantumProjects Star Wrangler

    @Titanium, any luck reproducing the bug with the newest mod file Healthshire provided?
     
  8. TheBlackSun

    TheBlackSun Scruffy Nerf-Herder

    I just got the second translation wheel after re-doing the mission where you get it, and beamed from my ship to the Outpost Arc, without any followers. My whole crew beamed down with me, and I beamed back up - noticing they already were on the ship, and the beamed down clones beamed in 2 secons after me. I got rewarded with the next license, and then the game crashed.

    [​IMG]

    That's the log, from last mission-message after aborting the mission and beaming back up, followed by beaming down to the outpost to get the translation book with the translation wheels.

    Code:
    [15:48:29.371] [Info] Chat: <SAIL> I applaud your tenacious moxie in the pursuit of complex goals.
    [15:50:22.473] [Info] UniverseServer: Loading client ship world ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [15:50:28.362] [Info] UniverseServer: Warping player 1 to ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [15:50:28.497] [Info] Client received world stop packet, leaving: Removed
    [15:50:28.777] [Info] UniverseServer: Stopping idle world InstanceWorld:apexmission1:f95b70770fc70951c342e8739d9e3b5b:-
    [15:50:32.161] [Info] UniverseServer: Expiring temporary world InstanceWorld:apexmission1:f95b70770fc70951c342e8739d9e3b5b:-
    [15:50:40.043] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [15:50:57.394] [Info] UniverseClient: Client disconnecting...
    [15:50:57.694] [Info] Client received world stop packet, leaving: Removed
    [15:50:58.543] [Info] UniverseServer: Client 'BlackSun' <1> (local) disconnected for reason:
    [15:50:58.543] [Info] UniverseServer: Stopping idle world ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [15:50:59.649] [Info] UniverseServer: Stopping UniverseServer
    [15:50:59.650] [Info] UniverseServer: Stopping TCP Server
    [15:51:05.281] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [16:22:19.457] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [16:28:56.537] [Info] UniverseServer: Acquiring universe lock file
    [16:28:56.556] [Info] UniverseServer: Loading settings
    [16:28:56.562] [Info] UniverseServer: Starting UniverseServer with UUID: 3ad1443c31b536baa9820ecf6b43d326
    [16:28:56.602] [Info] UniverseServer: Logged in player 'BlackSun' locally
    [16:28:56.602] [Info] UniverseServer: Logged in account '<anonymous>' as player 'BlackSun' from address local
    [16:28:56.615] [Info] UniverseServer: Reviving player at ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [16:28:56.615] [Info] UniverseServer: Client 'BlackSun' <1> (local) connected
    [16:28:56.646] [Info] UniverseClient: Joined server as client 1
    [16:28:56.723] [Info] UniverseServer: Loading client ship world ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [16:28:57.665] [Info] UniverseServer: listening for incoming TCP connections on 0.0.0.0:21025
    [16:29:01.389] [Info] UniverseServer: Warping player 1 to ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b=1011.83.1024
    [16:32:09.134] [Info] UniverseServer: Creating temporary world file for world InstanceWorld:outpost:-:-
    [16:32:09.145] [Info] UniverseServer: Creating temporary instance world 'InstanceWorld:outpost:-:-'
    [16:32:09.153] [Info] Placing dungeon outpost
    [16:32:09.619] [Info] Forcing generation of dungeon outpost
    [16:32:09.920] [Info] Placing dungeon at (0, 750)
    [16:32:25.509] [Info] Protected dungeonIds for world set to (0)
    [16:32:25.936] [Info] Generating dungeon outpost_terramart
    [16:32:25.936] [Info] Placing dungeon at (332, 621)
    [16:32:25.946] [Info] Generating dungeon outpost_frogfurnishing
    [16:32:25.946] [Info] Placing dungeon at (332, 655)
    [16:32:25.960] [Info] Generating dungeon outpost_2stopshop
    [16:32:25.960] [Info] Placing dungeon at (427, 618)
    [16:32:25.980] [Info] Generating dungeon outpost_nuru
    [16:32:25.980] [Info] Placing dungeon at (838, 608)
    [16:32:26.027] [Info] Generating dungeon outpost_penguinbay
    [16:32:26.027] [Info] Placing dungeon at (452, 627)
    [16:32:26.037] [Warn] Failed to place dungeon object: outpostkeypad direction: 1 position: (461, 611)
    [16:32:26.047] [Info] Generating dungeon outpost_signstore
    [16:32:26.047] [Info] Placing dungeon at (308, 640)
    [16:32:26.051] [Info] Generating dungeon outpost_beakeasy1
    [16:32:26.051] [Info] Placing dungeon at (447, 567)
    [16:32:26.083] [Info] Generating dungeon outpost_beakeasy2
    [16:32:26.083] [Info] Placing dungeon at (429, 567)
    [16:32:26.099] [Info] Generating dungeon outpost_koichi
    [16:32:26.101] [Info] Placing dungeon at (931, 608)
    [16:32:26.132] [Info] Generating dungeon outpost_weaponshop
    [16:32:26.132] [Info] Placing dungeon at (364, 588)
    [16:32:26.143] [Info] Generating dungeon outpost_treasuredtrophies
    [16:32:26.143] [Info] Placing dungeon at (611, 645)
    [16:32:26.162] [Info] Generating dungeon outpost_tonauac
    [16:32:26.163] [Info] Placing dungeon at (805, 608)
    [16:32:26.206] [Info] Generating dungeon outpost_mazebound
    [16:32:26.206] [Info] Placing dungeon at (444, 561)
    [16:32:26.213] [Info] Generating dungeon outpost_techscientist1
    [16:32:26.213] [Info] Placing dungeon at (355, 636)
    [16:32:26.227] [Warn] Failed to place dungeon object: drip1 direction: 1 position: (372, 634)
    [16:32:26.233] [Info] Generating dungeon outpost_techscientist2
    [16:32:26.233] [Info] Placing dungeon at (355, 636)
    [16:32:26.253] [Warn] Failed to place dungeon object: drip1 direction: 1 position: (372, 634)
    [16:32:26.258] [Info] Generating dungeon outpost_ursaminer
    [16:32:26.258] [Info] Placing dungeon at (406, 651)
    [16:32:26.277] [Info] Generating dungeon outpost_lana
    [16:32:26.277] [Info] Placing dungeon at (964, 608)
    [16:32:26.310] [Info] Generating dungeon outpost_baron
    [16:32:26.310] [Info] Placing dungeon at (757, 597)
    [16:32:26.745] [Info] UniverseServer: Warping player 1 to InstanceWorld:outpost:-:-=arkteleporter
    [16:32:26.827] [Info] Client received world stop packet, leaving: Removed
    [16:32:29.739] [Info] UniverseServer: Stopping idle world ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [16:33:17.807] [Info] Chat: <SAIL> You've reached the limit of how many crew members you can bring with you. Drop some off on your ship to expand your crew further.
    [16:33:28.276] [Info] Chat: <SAIL> You've reached the limit of how many crew members you can bring with you. Drop some off on your ship to expand your crew further.
    [16:33:51.315] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [16:35:01.977] [Info] UniverseServer: Loading client ship world ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [16:35:09.669] [Info] UniverseServer: Warping player 1 to ClientShipWorld:f95b70770fc70951c342e8739d9e3b5b
    [16:35:10.256] [Info] Client received world stop packet, leaving: Removed
    [16:35:10.668] [Info] UniverseServer: Stopping idle world InstanceWorld:outpost:-:-
    [16:35:14.236] [Info] UniverseServer: Expiring temporary world InstanceWorld:outpost:-:-
    [16:35:36.805] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [16:35:39.393] [Error] Fatal Error: Access violation detected at 000000013F556BB0 (Read of address 00000000BA6FE000)
    [0] 13f5b3223 Star::captureStack
    [1] 13f5b346c Star::fatalError
    [2] 13f556bb0 Star::JsonWriter<std::back_insert_iterator<Star::String> >::objectKey
    [3] 13f55e979 Star::JsonStreamer<Star::Json>::toJsonStream
    [4] 13f55a2ec Star::Json::repr
    [5] 13f557b03 Star::Json::printJson
    [6] 13f921907 Star::Root::writeConfig
    [7] 13f916704 <lambda_039c75f89ab338a9be563844c5d6b526>::operator()
    [8] 13f5af7e7 <lambda_acdb4815e022f76f36408ff78907d178>::operator()
    [9] 13f5afd0e Star::ThreadImpl::runThread
    [10] 770b5a4d BaseThreadInitThunk
    [11] 771eb831 RtlUserThreadStart
    Help?
    How do I fix?


    *Edit:
    FOUND QUICK SOLUTION!
    1) Lock down as much of your ship as possible, with all NPCs in one room.
    2) Enter /admin and take off all your armor
    3) Position mouse cursor inside your ship, closest to most of your crew
    4) Enter /spawnmonster largequadruped 10
    5) Crew dies with single hit, respawning where you are standing
    6) If they don't, hit "P" to repeat last console command [spawn another monster]
    7) Monster(s) will attack until everyone dies together in the same spot and one single hit
    8) Every NPC respawns at the same time - except for the duplicates!
    9) Equip your armor again, NPCs should kill monsters, help if necessary

    That's...
    a), faster than lava and
    b) allows you to keep your tailor(s)!

    Source: https://www.reddit.com/r/starbound/comments/51yx0m

    *Addendum:
    On Beam down and up, there were two cases of a single crewmember each being cloned on the ship - I took clone and original with me and another NPC, beam down & up, and the clone was gone in both instances. I had to re-apply the crew uniform afterwards though, since these two crewmembers didn't wear the uniform anymore after their clones were gone - everyone else kept the uniform on, though. Weird.
     
    Last edited: Nov 7, 2016
  9. XPashaX

    XPashaX Big Damn Hero

    Has this been fixed yet? I don't see anything about it in the recent 1.2 unstable patch notes, or patch notes before it...
    This bug has been around for so long it's amazing to me that it hasn't been fixed already. (to be fair i haven't touched the game for months because of this bug, so i'm not sure if they fixed this with some obscure hot fix or anything)
     
  10. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    It was pretty hard to reproduce it (i haven't managed it by now to reproduce it). Afaik @Healthire managed it to reproduce this bug a few days ago with an extreme slow framerate. I'm pretty sure they know now where the issue can be caused and are working on a way to prevent that.

    ~ Iris ~
     
    DragonsForce likes this.
  11. Healthire

    Healthire Can't Most Program the Least

    There's a potential fix for this coming in 1.2.0 for at least one of the cases where this can happen.
     
    DragonsForce likes this.
  12. Megumin

    Megumin Guest

    fix multiplayer please
     
  13. QuantumProjects

    QuantumProjects Star Wrangler

    @Healthire , forgive my curiosity, but could you elaborate more on what was causing the bug and how you have fixed it? If you may, of course, and I thank you in advance. This bug has been so elusive that I'm very curious to know what was causing it.
     
  14. terrowin

    terrowin Big Damn Hero

    Thanks for this! I'm going to give this a shot. My entire crew beamed down with me to my teleporter I placed in my settlement. So now I have my villagers and a full crew wandering around town as well as duplicates in my ship. I think for now I'm just going to fire my entire crew until this gets fixed. It took so long to get the 4 different chemists but oh well.
     
  15. Iroaseta

    Iroaseta Guest

    If anyone of you had subscribed Colony Tweak from Steam Workshop, it seems to have this duplicating issues easily. Otherwise I never encountered this problem.
    Edit : Disregard what I said. It still happens after the removal and it looks like it happens when I'm lagging in between the teleports, more so when I tap ESC furiously when I died to skip the death animation.
     
    Last edited by a moderator: Dec 13, 2016
  16. Iris Blanche

    Iris Blanche Pudding Paradox Forum Moderator

    Did it happen with the latest unstable?

    ~ Iris ~
     
  17. Iroaseta

    Iroaseta Guest

    If I just throw in Colony Tweak mod alone and spawn a crew member to hire through admin, nope.
    But I do have a couple of other mods that alter NPC behaviours like Job Offer and Earth's Finest Crew for Starbound 1.1.1. After I discovered the duplicating issue, I unsubscribed Colony Tweak and subscribed Pay up - Rent instead, since then there's no more duplicating issue.
     
  18. Healthire

    Healthire Can't Most Program the Least

    Well, it's not very interesting and was a pretty deep issue. Basically, if the server was running (very) slowly, there could be a delay between the server sending the packet to warp a player to the world, and the packet that updates the client's current world id. So the player would warp down from the ship, but the client would still think that the current player world id was the player's ship. When the companion script didn't find any of the crew it would respawn them on the world (thinking it was the ship) with new UUIDs. It would overwrite the old UUIDs with the new ones. Then when you get back to the ship, it would look for the new UUIDs, but the crew on your ship would still have the old ones, so again it wouldn't find your crew, and respawn it on the ship.

    The fix was partly to clear the player's world ID and send an update packet before warping player to the world. This sets the player world ID to null (or Nowhere) until it receives another update. So the player world ID can sometimes be null, but never another world that the player isn't on. Some of the jobs on the server were also rearranged to avoid the long delay before sending client updates.
     
  19. QuantumProjects

    QuantumProjects Star Wrangler

    Wow, that explains a lot! Thank you!
     
  20. Preday

    Preday Starship Captain

    I am so glad to hear this has been discovered. So I assume the bug is fixed now? Please, can you tell me if the already duplicated crew have been made to disappear with patch 1.2?
     

Share This Page