[BUG] with terraforming memory of profit help

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

[BUG] with terraforming memory of profit help

Post by Xanderxavier »

Err so https://steamcommunity.com/sharedfiles/ ... 2975771615
https://steamuserimages-a.akamaihd.net/ ... rbox=false
My memory of profit planet now has a population of 6,315,011,000 but as can be seen on screenshot above it wont let me build the ndividum workshop saying i dont have 10k pop...... help ?
Last edited by CBJ on Sun, 14. May 23, 15:53, edited 3 times in total.
Reason: Oversized image replaced with link
CBJ
EGOSOFT
EGOSOFT
Posts: 54317
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Bug with terraforming memory of profit help

Post by CBJ »

You seem to be confusing planet population with station workforce population. The former doesn't count towards the latter.
Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

Re: [BUG] with terraforming memory of profit help

Post by Xanderxavier »

it says housing 10,000 are you saying its referring to spare station population not the planetary pop despite all other housing on terraforming referring to planet and the fact the workshop is being built on the planet ... odd my station has a population of 210,000 however it has only just over 5000 spare as i have over 970 productions so your saying i just have to extend pop by another 5k on station to allow 10k spare on it?
CBJ
EGOSOFT
EGOSOFT
Posts: 54317
Joined: Tue, 29. Apr 03, 00:56
x4

Re: [BUG] with terraforming memory of profit help

Post by CBJ »

I could be wrong, but it's worth a try.

Also please stop editing your post to put the image back in. I replaced it with a link intentionally, as it says in the edit comment, because It exceeds the size limit under the forum rules.
Imperial Good
Moderator (English)
Moderator (English)
Posts: 4936
Joined: Fri, 21. Dec 18, 18:23
x4

Re: [BUG] with terraforming memory of profit help

Post by Imperial Good »

I wonder if this is due to arithmetic overflow. The number is big enough to cause 32bit signed/unsigned integers to overflow. In this case the construction condition might be evaluating nonsense.
Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

Re: [BUG] with terraforming memory of profit help

Post by Xanderxavier »

as an indie game dev myself it does sound quite likely its a matter of arithmetic overflow, which alas means only the devs can fix it, however just incase I have gone ahead and added 10 more terran L habs which equates to 5000 more pop to my already 210k pop station xD

ok on the image, i edited my post to add [BUG] rather then Bug and when i checked back the img tag had disappeared so i assumed it was an issue with my renaming post so put it back up lol xD

On a side not how do i attract dev attention should the extended pop not work?, i assume it would be easier for them to simply update the save file to count it as having been built then to modify the game to fix the issue from happening to others, however... my save is 3400 hours in and atm im participating in the multiverse beta of 6.10 so my online save file is 285MB (encrypted) xD

I have actually been meaning to contact them and see if they would be interested in examining my save file as my 240 stations w/ 118k station modules and 16k+ ships(formerly 23k but i culled it down to 16k to add back fps) along with 537k employees may be useful in analyzing ways to improve performance xD

UPDATE: I built the habs but still waiting for the pop to fill up to 215k, alas prob be a good few hours, its ticking 189 per hour atm due to the high pop debuff and is about 1k off having 10k spare will make a new reply when i get result.
Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

Re: [BUG] with terraforming memory of profit help

Post by Xanderxavier »

ok update the station now has over 10k pop spare and still grey'd out so its def arithmetic overflow, though why they used a 32 bit int value to evaluate an a number that can reach the tens of billions im not so sure, but either this needs fixing in the next beta client build or my save needs to be manually fixed, please provide info on which way your going for and how to do so if its the save one.

They literally just updated so my game is running on 6.10 MTS Beta 6 and is a "Online save".

so whilst many possible options a few if your to lazy to google it include:
#include <stdint.h> int64_t intname = value/expression ; or uint64_t intname = value/expression ; alternatively unsigned long long intname = value/expression ; also double intname = value/expression ;.

Though as you already have a number for planet pop that is over 32bit you no doubt already have settled on a type definition for high value numbers so just use that.
Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

Re: [BUG] with terraforming memory of profit help

Post by Xanderxavier »

can i get a reply from the dev's as to weather i need to upload my save or will you be fixing the client?
User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 12188
Joined: Fri, 21. May 04, 17:15
x4

Re: [BUG] with terraforming memory of profit help

Post by Ketraar »

In general always upload a save, it always helps. So yes please send the one where this can be looked into.

MFG

Ketraar
Image
Xanderxavier
Posts: 35
Joined: Sun, 15. Oct 06, 18:22
x4

Re: [BUG] with terraforming memory of profit help

Post by Xanderxavier »

It's worth noting this is an online save and as such unless you can fix it overnight i'll be playing it more tmrw, so if ya gonna just fix save need to do it quickly xD

https://drive.google.com/file/d/1xaQZ9m ... share_link << Dxdiag.txt

https://drive.google.com/file/d/1Ket6Ne ... share_link << online_save.xml.gz

running x4 6.10 MTS Beta 6 << branch

just fyi its a 3400 hour save with all expansions and my faction having 240 stations and over 16k ships and 540k personnel so... try to load it on something beefy xD, and if you do load in game and not just use some kind of editor, i also dont recommend teleporting to hq for long, it goes 3-6 fps there, but if you spend to much time it'll drag down whole fps and will have to quit client to recover, but can manage up to 20+ on my pc where my char is left on it well when it first loads, it sorta goes down to the 15-20 range after a while... and further down still if i leave it to long(kingdom end)

May be useful to evaluate ways to improve fps as well as this issue, as i doubt many saves like mine, use to have 23k+ ships but i did a big culling spree down to 16k to improve fps which had dipped below 5-10 at 23k lol, got some pretty big stations, so be great if you could find a way to improve fps around them, if you could make my save run smooth, everyone else's would run amazingly xD.

Return to “X4: Foundations - Technical Support”