PC Alpha 20 Dev Diary

Status
Not open for further replies.
If you ever took a programming class, you would know that different variable types have built in hard limits. It was never intended for stack sizes to go that high, so the programmers used a variable type that doesn't go that high. It's a design choice that makes the code more efficient. Variable types with larger limits take up more space in your RAM while you play the game and make the save files larger. RAM usage and save file size is already huge for this game and the programmers decided not to bloat it even more with unnecessarily large variable types 


What variable type maxes out at 20000 :) ? Even a 16bit integer can go to 65535 and they should be using 32bit integers for this sort of thing anyhow due to speed on x86/x64 processors. 

I would be using an uint32 for the "type" and an uint32 for the stack size and a uint64 which can double as flags or a pointer to more data if the object has its own data attached and cannot be stacked (ie a gun with its own values). If the pointer is null assume it is just a simple item like a coin/ore/etc. If 7DTD had a "quality" aspect to items like they used to (I think?), like a steak that was 80% "good", you could throw in another 32bit there that could be a float or int and then mix it when combining/removing stacks.

I have designed many inventory and character systems, including fully moddable systems that load from XML. So I do not think there should be some "stack size limit" of 20000, but even if there is this limit (for whatever reason) then they shouldn't be allowing stack sizes higher than whatever that limit is anyhow like Red Eagle mentioned.

No?  There is a hard coded limit of 32,767.  You go beyond that it's on you.  Just as if you took a screwdriver and stabbed your hard drive, that's not on TFP either.  Geesh.

Or if your mouse wears out because you click too much.  Not everything is TFP's fault.


Well if there is a limit they should be clamping to it when reading the XML ? That is a bug.

 
If people want to make the best stone axe there ever was then by god let them.

...you can manage LBD by limiting it to say T3.

Well he says it's not coming back, but it is, and it sounds like it's going to be done right this time.  Learn By Doing, but for crafting only, which makes sense as long as that learning can't be applied across the board to other skills/perks/whatever.  😃
Is LBD really making a comeback? Exciting news if it is. On certain crafting items that is, like tools. 

 
What variable type maxes out at 20000 :) ? Even a 16bit integer can go to 65535 and they should be using 32bit integers for this sort of thing anyhow due to speed on x86/x64 processors. 

I would be using an uint32 for the "type" and an uint32 for the stack size and a uint64 which can double as flags or a pointer to more data if the object has its own data attached and cannot be stacked (ie a gun with its own values). If the pointer is null assume it is just a simple item like a coin/ore/etc. If 7DTD had a "quality" aspect to items like they used to (I think?), like a steak that was 80% "good", you could throw in another 32bit there that could be a float or int and then mix it when combining/removing stacks.

I have designed many inventory and character systems, including fully moddable systems that load from XML. So I do not think there should be some "stack size limit" of 20000, but even if there is this limit (for whatever reason) then they shouldn't be allowing stack sizes higher than whatever that limit is anyhow like Red Eagle mentioned.

Well if there is a limit they should be clamping to it when reading the XML ? That is a bug.
It's likely a unicode limit, but that's besides the point.

You can put all sorts of things into the XML's to get nice game crashing red errors, some of them will even mess with your save game (loading quest or skill changes after a player is made, for example, much less the tons and tons of c# options to really make you have a bad day), I doubt sincerely the pimps will or even SHOULD throw time at stopping user error, and that's exactly what we're talking about... let's be clear... user error.  Not trying to sound offensive, but this seems to be the hill you're on, so... <Shrug>

 
Is LBD really making a comeback? Exciting news if it is. On certain crafting items that is, like tools. 
I find it more interesting that every item has its own unique properties than "tier" levels. ie the Diablo way of doing items. And for a crafting game it gives you more incentive to keep getting materials to craft an item that is even better, or even search for loot.

As much as it might be game breaking that someone makes the stone axe of god, maybe if they have put 200 hours into that stone axe creating character it should be possible, at least in singleplayer? Could just be an option to cap every tool to to a certain percentage beyond its base stats, or have it unlimited.

 
Is LBD really making a comeback? Exciting news if it is. On certain crafting items that is, like tools. 


I dunno, it's mixed messages.  If he's talking about making more of x gets you a slightly better x, then yes... hopefully it'll be limited to x though, and not y or z.  Screw y and z, they don't deserve x anyway.

 
I find it more interesting that every item has its own unique properties than "tier" levels. ie the Diablo way of doing items. And for a crafting game it gives you more incentive to keep getting materials to craft an item that is even better, or even search for loot.

As much as it might be game breaking that someone makes the stone axe of god, maybe if they have put 200 hours into that stone axe creating character it should be possible, at least in singleplayer? Could just be an option to cap every tool to to a certain percentage beyond its base stats, or have it unlimited.
Well imo as long as they're using the materials, and that's how they want to play, then fuggit... but yeh I agree having a limit on just how good you could get would be great.  I'm for a tier 1-3 crafting, 4-5 buying, 6 finding system myself.

 
It's likely a unicode limit, but that's besides the point.

You can put all sorts of things into the XML's to get nice game crashing red errors, some of them will even mess with your save game (loading quest or skill changes after a player is made, for example, much less the tons and tons of c# options to really make you have a bad day), I doubt sincerely the pimps will or even SHOULD throw time at stopping user error, and that's exactly what we're talking about... let's be clear... user error.  Not trying to sound offensive, but this seems to be the hill you're on, so... <Shrug>


No it is not a unicode or user error. Switching a value from 20000 to 100000 shouldn't break the game, especially on something that many people would change in mods to different values. It is a simple clamp for whatever range your stack size supports that is done by the XML parsing code. They would already be clamping and checking values when reading from the XML, they must have missed this one, or perhaps they have a 16bit "ReadValue" function that isn't properly designed and should be fixed.

You are talking about a different thing in regards to XML changes breaking the game due to removing structures or items that used to exist. It would be like saying for a string value if you used the value "stone" instead of "Stone" the game corrupted itself due to a string parsing error in the XML code. How is one supposed to know that "Stacknumber" is limited to a 16bit range? If there was a way to know that and then a user put in something else than that is user error.

 
No it is not a unicode or user error. Switching a value from 20000 to 100000 shouldn't break the game, especially on something that many people would change in mods to different values. It is a simple clamp for whatever range your stack size supports that is done by the XML parsing code. They would already be clamping and checking values when reading from the XML, they must have missed this one, or perhaps they have a 16bit "ReadValue" function that isn't properly designed and should be fixed.

You are talking about a different thing in regards to XML changes breaking the game due to removing structures or items that used to exist. It would be like saying for a string value if you used the value "stone" instead of "Stone" the game corrupted itself due to a string parsing error in the XML code. How is one supposed to know that "Stacknumber" is limited to a 16bit range? If there was a way to know that and then a user put in something else than that is user error.
It's really quite simple.  I get where you're coming from but I wholeheartedly disagree.  You broke the game and called it a bug.  But it only broke through your actions.  That's the definition of user error.  I personally don't want the pimps to "fix" it because it's wasted time they could spend fleshing out LBD. 😃

If they choose to, and that's their prerogative, because joking aside idgaf, that's cool but it doesn't mean it's a bug.  A bug would be if a designed system didn't work as designed. 

The reality is, if they start going through and add error handling they're going to end up causing more harm to systems we modders take advantage of than they're actually "protecting".

But you broke it, not them.  Insert this sentence into any subsequent replies. 😃

 
Well imo as long as they're using the materials, and that's how they want to play, then fuggit... but yeh I agree having a limit on just how good you could get would be great.  I'm for a tier 1-3 crafting, 4-5 buying, 6 finding system myself.


In my own A20 mod I have it so you can create all tier level items, and then there is a random chance it is -10% to 100% better than the base stats. I find that much more enjoyable having to look at every item in the shop to see its stats or not knowing exactly what you are going to get when crafting, makes it more exciting. Makes me want to grind for those gun parts to make a gun that is maxed out.

But having it configurable so the user could limit it to how they like would be nice too. I think they should get rid of tiers altogether and just have it so every item has its own unique stats. Then you could pretty easily have some configurable range on percentages allowed beyond base stats. ie a "Crafting Range" and a "Shop Range" and maybe even a "Loot Range"

 
Well if there is a limit they should be clamping to it when reading the XML ? That is a bug.
The game is in alpha. They haven't added railings to modding yet.

I dunno, it's mixed messages.  If he's talking about making more of x gets you a slightly better x, then yes... hopefully it'll be limited to x though, and not y or z.  Screw y and z, they don't deserve x anyway.
It seemed pretty clear to me. He said the skill would increase by reading stuff you find in loot, so no, it's not LBD.

 
my tunnel of crafting areas has begun lol as soon as i get all the resources im gonna fill most of it with workbenches so i can mass produce things faster lol i always do this at the bottom of the world to avoid screamers  image.png

Callum123456789 said:
my tunnel of crafting areas has begun lol as soon as i get all the resources im gonna fill most of it with workbenches so i can mass produce things faster lol i always do this at the bottom of the world to avoid screamers  image.png
 and im playing on 120 minute days right now because it gives me a lot of time to do these types of things like building stuff and making huge tunnels its what i find fun the main things are building things making tunnels killing zombies and hoarding too much stuff in my storage 

 
Nothing is finalized, but we're talking about a crafting skill for every item in the game. Associated books and schematics might add to it when read, and probably the introduction of "technical journals" or something you find and read to add to the skill. Higher intellect might give you +2 or something instead of +1. Something we can control in loot so players don't get too powerful too soon, (No spam crafting) and skill system to where its easier to craft a blue stone axe than a blue steel axe.

We're not. It's more like learn by looting lol.
That's cool. That way you can reward players with skill books for doing quests, which is a great incentive. The crafting increments will also keep us desiring better gear and the hands-on mechanic of making it ourselves is cool. It's hard balance work , but everything is already there in the code so it's just patching, implementing, tweaking and trying.

I have to ask, will you guys simultaneously add armours with legendary effects for weapons or are you holding off on the latter ? a21 seems crazy already, and it hasn't even taken form yet.

my tunnel of crafting areas has begun lol as soon as i get all the resources im gonna fill most of it with workbenches so i can mass produce things faster lol i always do this at the bottom of the world to avoid screamers  View attachment 21940

 and im playing on 120 minute days right now because it gives me a lot of time to do these types of things like building stuff and making huge tunnels its what i find fun the main things are building things making tunnels killing zombies and hoarding too much stuff in my storage 
You.... are... yeah... you called quite a bit of screamers. I'm day 24 120 min days and I'm still on lvl 64. No more than a couple screamers called, so that must be it. You mad lad.

 
i'm still alive , i'm just not complying so :

1. Hey devs how is going with fixing bugs?

2. Is "random place" bug a leftover from traveler merchant event test?

3. This can sound strange but - there will be more "water" in cites after water rework?

4. legendary weapons and tools are still in planes or scrapped?

5. Maybe can we expect contest in future like - the best POI contest: people creating POI's with limitations like : this must be medium POI etc and the best 3 POI will be added as "official"? 

 
avoid screamers  


Imagine avoiding all that free exp, smh

He said the skill would increase by reading stuff you find in loot, so no, it's not LBD.


Yep, they seem turbo against LBD for what ever reason. I honestly don't get the hate for it that people have, it just rewards you for having a play style and sticking to it, but I guess filthy casuals that can't make up their mind want to be a jack of all trades master of all, with minimal investment besides instant gratification perk points. Kids these days, they never would have made it in the days of Oblivion and earlier RPGs

Just from the way Madmole has described it, it sounds like your skill in crafting goes up by looting books, but there being so many crafting levels makes me think you probably can assign points to various crafting trees, and the points probably come from finding books.

Like you read a book and get 10 crafting points you can then allocate to shotguns, tools, armor etc

 
5) You'll note that some of the best poi designers (in my opinion) are now TFP staff. 😃
Yeah but i mean this as event on steam too. Well honestly something like that is "loud" and people will be interested

PS. i mean : events as news on steam not in game event

 
Last edited by a moderator:
Yeah but i mean this as event on steam too. Well honestly something like that is "loud" and people will be interested

PS. i mean : events as news on steam not in game event
There was once a Christmas event that the prize was... a graphics card I think?  Best Christmas POI design.  I didn't win.

 
There was once a Christmas event that the prize was... a graphics card I think?  Best Christmas POI design.  I didn't win.
Good to know. I just don't remember this because i have rly bad memory but i think  do something like that again could be good idea

 
Good to know. I just don't remember this because i have rly bad memory but i think  do something like that again could be good idea
I think there was a sponsor, like bluefang or something; this was a long time ago back when tfp was poor.  Pre console days, I think. 😃

 
Status
Not open for further replies.
Back
Top