• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

[Unofficial] Bigger Backpack Patch for Starvation Mod

King, did you changed something also in the Assembly-CSharp.dll
cause when I see the size of your dll file it is 6935kb

the dll file from stallion is 6582kb of size.

am using your dll file for the local sp but am using the dedicated dll file from stallion, so maybe there is the prob...
all i did in the assembly-csharp.dll was change the values for the backpack to be 60 instead of the original 32 :)

 
all i did in the assembly-csharp.dll was change the values for the backpack to be 60 instead of the original 32 :)
Ok so the only thing I need to do is find the difference between your csharp file and stallions dedicated csharp file. and that without any knowledge of dll files.

Just downloaded the dotpeek compiler and took a peek, could have downloaded a chinees book and have the same result :)

this is going to be a pain in the ass :)

 
Ok so the only thing I need to do is find the difference between your csharp file and stallions dedicated csharp file. and that without any knowledge of dll files.
Just downloaded the dotpeek compiler and took a peek, could have downloaded a chinees book and have the same result :)

this is going to be a pain in the ass :)
Editing the server dll is exactly the same as editing the client dll. Change the same 3 instances of 35 to anything under 127 you want and save it.

 
Editing the server dll is exactly the same as editing the client dll. Change the same 3 instances of 35 to anything under 127 you want and save it.
If I could I would post a photo of myself when reading that comment. Just so you could see my face of oblivion. I know for you guys this is straight forward, but for me its like, say whaaaaat :)

am looking know at 3 sharp filles. Starvation, stallions and kings. the thing I found so far is the public class bag and found the public itemstack getslots part. But there is so much more stuff added at starvation (which is an awesome mod by the way) that I don't want to mess that up. So am trying to figuring out how to combine both.

As I read the comment part of stallion, with adding a new itemstack in control and style.xml, I have a feeling that this is somewhere included in de csharp.dll. So prob need to add that in the csharp file of starvation.... I think... lol

 
If I could I would post a photo of myself when reading that comment. Just so you could see my face of oblivion. I know for you guys this is straight forward, but for me its like, say whaaaaat :)
am looking know at 3 sharp filles. Starvation, stallions and kings. the thing I found so far is the public class bag and found the public itemstack getslots part. But there is so much more stuff added at starvation (which is an awesome mod by the way) that I don't want to mess that up. So am trying to figuring out how to combine both.

As I read the comment part of stallion, with adding a new itemstack in control and style.xml, I have a feeling that this is somewhere included in de csharp.dll. So prob need to add that in the csharp file of starvation.... I think... lol
Heh. Your overthinking the problem. The only thing done server side is save the inventory of the backpack. It's currently set to save only the first 35 slots. So by following one of several posts in the mod forum, you would use a program like ILspy or DnSpy to manually edit those 3 numbers so more slots get saved. Alternativly, you can skip editing the server dll and just empty your backpack of it's excess inventory before logging off of the server.

 
Heh. Your overthinking the problem. The only thing done server side is save the inventory of the backpack. It's currently set to save only the first 35 slots. So by following one of several posts in the mod forum, you would use a program like ILspy or DnSpy to manually edit those 3 numbers so more slots get saved. Alternativly, you can skip editing the server dll and just empty your backpack of it's excess inventory before logging off of the server.
aaaah, I see the light on the end of the tunnel. going to try it out, thanks man !!!!

 
Bug!! stopped loading from saved games spammed error message on screen

31W54cq.png


 
Ok so the only thing I need to do is find the difference between your csharp file and stallions dedicated csharp file. and that without any knowledge of dll files.
Just downloaded the dotpeek compiler and took a peek, could have downloaded a chinees book and have the same result :)

this is going to be a pain in the ass :)
this has made my day :D i am sorry that u are having difficulties, but that post just made me crack up completely xD it was the same for me first time xD

 




Saved Game day 30ish,

Bottom right 4 slots missing when opened a chest, error pop up.

Could close inv and reopen but could not close chest, game frozen on open chest but open/close inv, sounds/music still working. Going to try a fresh game.

 
Last edited by a moderator:
this has made my day :D i am sorry that u are having difficulties, but that post just made me crack up completely xD it was the same for me first time xD
Happy to made you laugh :)

But it WORKS!!!!!!

7dtd.jpg

Screen is still a bit off on the bottom, so need to check this out next :)

Xyth made me see the light that i really don't need to change a lot about the dll files.

So what I did was changed the Csharps of starvation ( client and server) by the post of TheFuseGamer https://7daystodie.com/forums/showthread.php?66410-TUTORIAL-Make-your-own-bigger-backpack-mod So only the values to 60.

Then I used your window and loot.xml and copied them to the server and my own client as instructed in your tutorial.

And thanks to the mod of stallionsden https://7daystodie.com/forums/showthread.php?72974-Backpack-expansion-a16-onwards I added the changes for styles and controls.xml as he mentioned in his tutorial.

So far so good :)

So thanks to all of you guys for the great support and mods !

 
Happy to made you laugh :)
But it WORKS!!!!!!

View attachment 23229

Screen is still a bit off on the bottom, so need to check this out next :)

Xyth made me see the light that i really don't need to change a lot about the dll files.

So what I did was changed the Csharps of starvation ( client and server) by the post of TheFuseGamer https://7daystodie.com/forums/showthread.php?66410-TUTORIAL-Make-your-own-bigger-backpack-mod So only the values to 60.

Then I used your window and loot.xml and copied them to the server and my own client as instructed in your tutorial.

And thanks to the mod of stallionsden https://7daystodie.com/forums/showthread.php?72974-Backpack-expansion-a16-onwards I added the changes for styles and controls.xml as he mentioned in his tutorial.

So far so good :)

So thanks to all of you guys for the great support and mods !
hmmm, a bit to soon my minute of joy, seems it saves only the 32 items and not all 60 when quiting :(

 



Saved Game day 30ish,

Bottom right 4 slots missing when opened a chest, error pop up.

Could close inv and reopen but could not close chest, game frozen on open chest but open/close inv, sounds/music still working. Going to try a fresh game.
Hmm that is strange, ive tested all the chests and safe's on mine and it all work fine, but yea try doing a fresh install and see if that helps :)

- - - Updated - - -

hmmm, a bit to soon my minute of joy, seems it saves only the 32 items and not all 60 when quiting :(
nice great to see that ur making major progress :) now about the issue where it only saves the 32slots, i have no idea to be honest, maybe stallionsden canpoint u in a way to fix it :)

 
So I started a new game and all seems to be working well. Containers have all slots, made a chest and all is working fine. Placed a piece of wood in all 60slots and closed the game, restarted game and all wood still there.

Lookin good for starting a new game but continuing saved games isn't working for me.

You might want to try and look into the saved game issue considering that once another Starvation update is available you may have to revisit anyway.

I'm enjoying the new play through either way, Thx!!

 
Last edited by a moderator:
nice great to see that ur making major progress :) now about the issue where it only saves the 32slots, i have no idea to be honest, maybe stallionsden canpoint u in a way to fix it :)
fixed it, apperently forgot the disable refresh mod in launcher so my dll file was overwriten again with 32 value. :)

 
There is actually 6 spots you need to edit in the dll for the bigger backpack. 3 in bag and 3 in playerdatafile in the read section.

Same for dedi.

If your using my dll for a server and this 1 for single you will have issues as my dll does not contain starvation. Starvation would also overwrite mine if you did it that way.

You will need to do the exact same edits to the dedi dll as the so dll

 
There is actually 6 spots you need to edit in the dll for the bigger backpack. 3 in bag and 3 in playerdatafile in the read section.
Same for dedi.

If your using my dll for a server and this 1 for single you will have issues as my dll does not contain starvation. Starvation would also overwrite mine if you did it that way.

You will need to do the exact same edits to the dedi dll as the so dll
Thats correct, that was the problem before when my server didn't initialized.

So took the dll's from starvation to edit it, but in the playerdatafile there is at the bottom another ldc.i4.s where the operand is also 32. (line 563) maybe its a new line from 16.4......

but save problem is solved with disabeling refresh mod, and just did a suicide and when retrieving my bag all was still in their. so seems to work.

Only the position need some tuning. so going to have a look in their... another day of figuring out I think

 
Back
Top