My large ships keep breaking

    Joined
    Mar 22, 2017
    Messages
    2
    Reaction score
    2
    Ok, so when building big ships in singleplayer, I build them around 600m, to 1km, long, and when I try to admin load them in, large chunks (like, actual 32 by 32 block chunks) are missing from the ship. If I leave my world, and then join it again, the chunks, again, are missing. They are always in the same place (it's different for each ship I build) when I load the log-in/load-in. This is extremely frustrating, and makes building large ships impossible for me. It also happens when building large stations.
    I wanted to build my ship in singleplayer, then import it onto a multiplayer server, so I wouldn't have to deal with building it there, but with this "thing" happening, I physically can't.

    Has anyone got any idea why this happens?
    And has anyone got any idea how to fix it?
    Maaaassive thanks to anyone who can help :)
     
    • Like
    Reactions: Lorwin and aceface

    DrTarDIS

    Eldrich Timelord
    Joined
    Jan 16, 2014
    Messages
    1,114
    Reaction score
    310
    Make sure you have enough RAM on your PC to start.

    If you're sure your PC isn't too old to handle large ships, look through .CFG files. one has force disk write completion. change value of that to "true" instead of "false" it'll probably fix your problem. The problem is most likely with the way your PC is handling write-events to hdd sent from the game client.

    Play/build on a build server online if your PC isn't super-powerful to minimize chunk problems like that.
     
    • Like
    Reactions: VolcanicIron
    Joined
    Mar 22, 2017
    Messages
    2
    Reaction score
    2
    Make sure you have enough RAM on your PC to start.

    If you're sure your PC isn't too old to handle large ships, look through .CFG files. one has force disk write completion. change value of that to "true" instead of "false" it'll probably fix your problem. The problem is most likely with the way your PC is handling write-events to hdd sent from the game client.

    Play/build on a build server online if your PC isn't super-powerful to minimize chunk problems like that.
    OOoo, ok then, thanks a lot for the help :D
     

    DrTarDIS

    Eldrich Timelord
    Joined
    Jan 16, 2014
    Messages
    1,114
    Reaction score
    310
    How do you look at the .CFG files? I don't know how
    Notepad++ v7.5.8 - Current Version
    Install this. Use it to load .cfg (or pritty much any variable or scripting files)
    If you mean you don't know where they are: [stamade install folder] /data/config

    Be sure to save a backup copy somewhere in case you screw something up and need to change it back. :) I know I have at least three times.
     
    Joined
    Mar 10, 2016
    Messages
    559
    Reaction score
    1,667
    • Likeable Gold
    • Community Content - Silver 2
    • Thinking Positive
    Notepad++ v7.5.8 - Current Version
    Install this. Use it to load .cfg (or pritty much any variable or scripting files)
    If you mean you don't know where they are: [stamade install folder] /data/config

    Be sure to save a backup copy somewhere in case you screw something up and need to change it back. :) I know I have at least three times.

    Thanks for sharing this... If it prevents chunks vanishing, it fixes a literal game-breaking bug.

    I was wondering why there is an option to turn this off / why it's turned off by default? What's the con besides the pro of reliably saving stuff?


    Also, just to make sure others reading this will easily find this setting: I found it in the "server.cfg" file - run a search with the "FORCE_DISK_WRITE_COMPLETION" line, it won't find it without the underscores.

    And I'm guessing it has to be the server.cfg file right in the StarMade install folder, not the "data/config" directory, because there are only backup default config files for server, settings and keyboard there, which the game doesn't read, right?


    EDIT: Is the server.cfg only for single-player manipulation? No help for those who loose chunks in MP, no?
     
    Last edited:
    Joined
    Feb 10, 2014
    Messages
    4
    Reaction score
    0
    • Legacy Citizen
    Hello,

    Same problem here. Each time I quit and i reload my game some parts of my ship dissapear. That is quite infurating.
     

    Attachments

    OfficialCoding

    Professional Quickfire Hater
    Joined
    Nov 8, 2017
    Messages
    399
    Reaction score
    248
    • Legacy Citizen
    • Legacy Citizen 2
    Easy fix. BP your ships before you log off. That way, you don't loose your stuff
     
    Joined
    Mar 14, 2017
    Messages
    36
    Reaction score
    34
    Easy fix. BP your ships before you log off. That way, you don't loose your stuff
    I think you missed the part where he said he is admin loading. I think that would imply he is saving them as BP.

    *edit*
    Nvm. You were talking to Lorwin, not the OP.

    My bad.
     
    Last edited:
    Joined
    Feb 10, 2014
    Messages
    4
    Reaction score
    0
    • Legacy Citizen
    Yes that is a solution ^^ I'm not really familar with the concept of shipyard. Before that I just had to buy a new ship every when i wanted to resolve this kind of issue.

    But this happens with space station too, how can a blueprint repair a station ? (I will try to check wainting for your answer )
     
    Joined
    Jul 5, 2015
    Messages
    23
    Reaction score
    29
    Make sure you have enough RAM on your PC to start.

    If you're sure your PC isn't too old to handle large ships, look through .CFG files. one has force disk write completion. change value of that to "true" instead of "false" it'll probably fix your problem. The problem is most likely with the way your PC is handling write-events to hdd sent from the game client.

    Play/build on a build server online if your PC isn't super-powerful to minimize chunk problems like that.

    Hi there, :)

    I'm not sure its about computer's powa. Mine is pretty strong (top ssd, 32gb ram, a good I7, a nice sli... fresh os install etc....) and i got the same issue. I hadn't play for a while (~1y) but i hadn't this issue before.

    I'm building in local with some big spawns like 15K blocs in a clic. no calculation delays but each time i reload the universe, even if i saved the bp, i got this missing chunks. pretty frustrating and totaly new game behavior.

    Thanks for the tip, i'll try and back :)


    I tried... hard XD






    Same issue. Everything was fine before exiting the game and reloaded it.

    On the second pic, i tried to spawn 51x51x51 thrusters (central part), then added it 1x51x51 (laterals parts. Different ways for the same result.

    If anyone have another idea for fixing it. How to enjoy building things if its like a virtual mandala during a huricane? :)
     
    Last edited:
    Joined
    Aug 29, 2014
    Messages
    1
    Reaction score
    0
    Hello, this is my first post on the forum.

    So I was also having this problem, and I think it only starts to occur when a ship goes over a certain size while using the 32bit version of Java.

    Since I switched to using the 64bit version and allocating more memory I have been able to continue building my (Titan/Dreadnaught) excessively oversized ship with no more missing chunks.
     
    Joined
    Feb 10, 2017
    Messages
    350
    Reaction score
    775
    • Community Content - Bronze 2
    • Legacy Citizen 5
    • Likeable
    Make sure in the launcher you have increased the default RAM allocation. (The little cog beside the launch button.)
    If you're building large ships try increasing the sector size in server.cfg. The default sector is small enough that if you're building large ships you may be crossing sector boundaries which will likely cause problems. (Sector size minimum is 300, so if you want a 10km sector make your sector 9700)
    Use the command /force_save before saving a BP and before exiting your map.
    Verify BP's have saved properly by spawning them after you've saved.
    The game takes time to process large block placements. If you do place large numbers of blocks at a time then wait a while before continuing. This is especially applicable to system blocks such as reactor or stabilizer blocks. It has to make a lot of calculations, you can watch the ships stats with some systems to see when it finishes. It may be visually finished on screen but still calculating things in the background. If you continue to have missing block issues then reduce the number of blocks you place/click and increase the time you wait before continuing.

    Thanks for sharing this... If it prevents chunks vanishing, it fixes a literal game-breaking bug.

    I was wondering why there is an option to turn this off / why it's turned off by default? What's the con besides the pro of reliably saving stuff?


    Also, just to make sure others reading this will easily find this setting: I found it in the "server.cfg" file - run a search with the "FORCE_DISK_WRITE_COMPLETION" line, it won't find it without the underscores.

    And I'm guessing it has to be the server.cfg file right in the StarMade install folder, not the "data/config" directory, because there are only backup default config files for server, settings and keyboard there, which the game doesn't read, right?


    EDIT: Is the server.cfg only for single-player manipulation? No help for those who loose chunks in MP, no?
    https://starmadepedia.net/wiki/Server.cfg
    FORCE_DISK_WRITE_COMPLETION = false //forces writing operations of raw data to disk directly after operation. For some OS this prevents raw data corruption
    It means it's writing to disk all the time which slows things down significantly and in most cases is unnecessary.

    All files in data/config are defaults and should not be edited. Any settings files in the SM root directory are merged over the settings in data/config and take precedence. Don't touch data/config unless you know better. Any changes to settings should be made in the root directory or the custom* directories also in the root directory.

    Yes the server.cfg in your local folder will not be applicable to any servers you join. It only applies to your local servers.

    This game is very ambitious in it's scope and 'going large' and pushing it towards its limits will make things wobble and/or break. Any player can quite easily break things if they're not careful or aware of what they're doing or the demands they're placing on the code and their computers. That's the nature of it, learn where the limits are and work within them.
     

    klawxx

    Product Manager - Roden Shipyards
    Joined
    Jan 5, 2016
    Messages
    337
    Reaction score
    596
    • Legacy Citizen 4
    • Community Content - Silver 1
    • Likeable
    I think the game is pretty powerful in its current state.

    I have an i5-750, which is from the first Intel "core" generation and run with 12GB RAM with a lot of window tabbing, including background VM's. I usually build around 500m ships which I think are very large IMO. No issues.

    I know we love big ships and stuff, but think about how long it would take to do interiors and balance such things. It's not really worth it, I mean at least from a PvE perspective. On PvP I have no idea. I only mean that you can have fun with half the size you are building without too much hassle.

    Having constrains are not necessarily bad, also don't forget that after universe update and after the IA has been improved you will need more resources again which could make enviable your builds.
     
    Joined
    Jul 5, 2015
    Messages
    23
    Reaction score
    29
    Hi there,

    Even with smal builds, i have missing chunks. I really think Starmade dont want me to play anymore :( .

    - 16GB memory allocation
    - Java 64 up to date
    - ~100m build
    - max build area used around 100 blocs at a time, usualy 20
    - missing chunks event on "piece by piece" area
    - none copy paste

    I really dont understand why. Just a proof that there is another issue here than my love for big stuffs ;)
     
    Joined
    Feb 10, 2017
    Messages
    350
    Reaction score
    775
    • Community Content - Bronze 2
    • Legacy Citizen 5
    • Likeable
    Well there's this in latest patch notes..?
    StarMade News - StarMade v0.201.200 Cleanup, Fixes & Enhancements
    Possible Fix for missing/reverted chunks

    This bug seems to be finally fixed (can’t call it 100% fixed yet without long term experience on production, since we had no way of reproducing it). The bug was possibly caused by save events marking chunks as not validated on the server, but at the same time not queuing them for validation cause of another event at the same time. This caused those chunks to not be saved in that session.