Fixed Asteroids not responding to console regenerate command in SP

Discussion in 'Fixed (Read Only)' started by Pach, Apr 29, 2020.

  1. Pach

    Pach Rear Admiral

    Joined:
    Dec 16, 2017
    Messages:
    588
    Likes Received:
    701
    Mode: Survival
    Mode: Singleplayer

    SERVER NAME: n/a
    SEED-ID: 267320

    If applicable:
    MODIFIED PLAYFIELDS: No

    Reproducibility: Always
    Severity: Minor

    Type: Console command
    Summary: Asteroids not responding to console regenerate commands in Singleplayer

    Description:
    NOTE: this is not "asteroids don't regenerate in SP"... I know they don't. This is the admin/console command to regenerate, which should always work.
    After an asteroid has been mined, they are not regenerating with the console command, even though the command returns text that it has been

    Steps to Reproduce: (steps to reproduce the issue. This is ESSENTIAL for a bugfix!)

    1. Mine an asteroid. The ones I used were Prom.
    2. use the di console command to get the entity ID of the asteroid
    3. use the regenerate console command on the asteroid's ID
    4. the command will come back saying that the entity has been restored, but it does not regenerate on screen
    5. backing out of render range and returning does not restore the asteroid, either.


    Screenshots, Crash Logs, any other Relevant Information or Download links: ( Note: for more complex reproduction usecases that require quite some "setup", please create a savegame and upload it to a service.
     
    #1
    Germanicus likes this.
  2. Pach

    Pach Rear Admiral

    Joined:
    Dec 16, 2017
    Messages:
    588
    Likes Received:
    701
    Update/additional information:

    It looks like the "regenerate" console command is broken for other entities as well.

    I tried using it on the Derelict Ship (in the starting orbit) which had had the core killed. The core regenerated (it went from red "no core" to purple "alien core" text for the name), but the blocks that had been removed from it did not regenerate.

    So it looks like regenerate command in SP is currently dysfunctional for more than just asteroids as I originally reported... :(
     
    #2
    Germanicus likes this.
  3. CaptRiker

    CaptRiker Commander

    Joined:
    Sep 17, 2018
    Messages:
    43
    Likes Received:
    32
    not just SP.. every A12 server I've tried so far, NOTHING is regenerating.. asteroids, ground ore deposits nor POI
     
    #3
    Pach and Germanicus like this.
  4. Germanicus

    Germanicus Rear Admiral

    Joined:
    Jan 22, 2018
    Messages:
    4,491
    Likes Received:
    8,520
    As many other features are currently in a WIP-Status... wouldn't it be possible that this kind of Console Commands are not yet fully operational?
    Almost all Map Marking and Location orientated Functions are currently Bugged. Faction-related Stuff: Bugged/not yet functional. Data-Base related efforts have now top Priority- but yes, a Bug report on not functioning commands can't hurt!;)
     
    #4
  5. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,264
    Likes Received:
    11,917
    This might even be related to the database, so it's good to report it.
     
    #5
    Pach and Germanicus like this.
  6. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    @Pach I just tried the command with asteroids & POI's & they regenerated ok so far.

    Does the gameoptions.yaml in the save game have the regenerate parameter set to true ?

    Code:
      RegeneratePOIs: true
    
    Edit: may have found something wrong with just regeneration in general.
     
    #6
    Pach and Germanicus like this.
  7. Pach

    Pach Rear Admiral

    Joined:
    Dec 16, 2017
    Messages:
    588
    Likes Received:
    701

    There is no line "RegeneratePOIs" in the gameoptions.yaml in the save directory at all. I can try adding it and see if that fixes it?
     
    #7
    Germanicus likes this.
  8. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    The Default scenario which I presume you are using "Default Random" Main Menu > Start game > Survival has it off by default.
    You can add it to the save games gameoptions.yaml under:
    Options:
    - ValidFor: [ SP, Survival ]
     
    #8
    Germanicus likes this.
  9. Pach

    Pach Rear Admiral

    Joined:
    Dec 16, 2017
    Messages:
    588
    Likes Received:
    701
    Correct, default random.

    Side note: this isn't expected behavior. If I go to a console command, I expect it to work, regardless.

    Adding the RegeneratePOIs line to the yaml file did not enable me to regenerate a POI.

    It is possible I entered it incorrectly, but the game did not give any errors on loading.
     
    #9
    Germanicus likes this.
  10. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,199
    Likes Received:
    5,609
    A fix for regeneration will be available in the next experimental phase.
     
    #10
    Pach and Germanicus like this.

Share This Page