New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stash #1054
Stash #1054
Conversation
Again, I suggest the stash should be accessed by talking to Ogden. |
This is awesome. Just hoping for this to be added to 1.2.0 milestone :) Would it be possible to use the Questlog background instead of the Inventory background, so there won't be the half head at the top? |
Pretty sure it's going to be covered up by tabs anyway. |
Quest background's width is 1 pixel different than inventory so frames won't match |
@qndel what about using a custom graphics frame? |
I don't have one atm |
ye because grid was what I'm missing ;) |
This is lovely, but we might actually need a smaller grid, because we need to make room for a close window button, along with the tabs. |
close window? wtf |
Oh wait, you're right, we can turn it off just by pressing the Inv button. |
Yeah, or escape. D2 had manual close buttons for everything, personally i'm not a fan of them. |
Tbh, close buttons might still be needed for widescreen mode though. I'd assume it's a bit more comfortable not having to scroll your mouse all the way down. |
Close buttons don't have to be large or graphical, look at what beelzebub does for message windows, it's just an overlaid x. |
Yeah, I think they'd be required for a D2 like interface for vendors, since you don't have a button to close out of it. |
|
||
tbuff = tmp; | ||
CopyInt(tbuff, &_pNumStash); | ||
LoadItems(NUM_STASH_GRID_ELEM, StashList); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to set gbIsHellfireSavegame before loading item data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it set already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It gets set to different values depending on what operation is about to be done. So you need to set it to the appropriate value before calling any of the loading routines to be safe.
reading hellfire save = true
reading diablo save = false
networking diablo mode = false
networking hellfire mode = true
cornerstone = true
LoadItems(NUM_STASH_GRID_ELEM, StashList); | |
gbIsHellfireSaveGame = gbIsHellfire; | |
LoadItems(NUM_STASH_GRID_ELEM, StashList); |
Hi, A useful feature of the stash would be to have withdraw button for gold. A dialog for splitting gold piles would be used to enter the amount desired to be taken, some checks should be in place such as available space in the inventory. Also another feature like automatic movement and placement of gold in the first tab where gold pile has been detected, this will keep inventory easier to organize. And logic to move gold to next available tab when last gold pile goes past the limit. I know this complicates the logic but will save time for gold management, which could become a problem in the long run when dealing with big stash. Also buying items with gold from the stash would also be a time saver. Cheers! In resume potential and useful stash features could be: |
could just hold gold as a combined total and not have any piles, isnt that how the stash worked in d2? |
In that case what would a reasonable maximum for stashed gold be, before abusers fill it cloned/hacked gold? |
1,250,000, but this wont stop people from cheating if they know how to hack |
I'm not going to handle gold in any special way ;) |
Going fullblown D2 with gold seems unnecessary. Beelzebub just raised the 5000 cap to 1,000,000 and it was fine. All the best items are found anyway, accumulating massive amounts of gold doesn't really break anything. All it does is keep gold piles from completely taking over the inventory over actual loot. |
Maybe have it work in a way similar to Darkstone instead. In Darkstone, there is a bank teller in town and you can talk to him and see how much gold you have in your account. You can deposit all the gold, or withdraw and it automatically creates the piles in inventory. Gold is still useful in D1, and I didn't like having to drop piles all over town for when Griswold had a good item in stock. Let's be Frank, and Frank is a pretty cool guy except being turned evil from Neural transmitters. Once gold goes into the stash there is literally never any reason to take it out, except giving to another player. |
The question is, is it any faster? Moving a giant pile of gold to and from your stash is pretty fast. That's probably why bub never bothered to have separate banking options. |
It was just an idea tossed out there, either method works ^^ |
Sorry for the question. How can I open the stash Ingame ? I tried the "x" button and many more. Or is this a feature not implemented yet? PS: I also think stacking gold and holding the mouse key to attack is not changing the game experience but enhancing it. |
What version are you testing? See #895 for the status on holding the mouse to attack. |
as you can see, this pull request is not merged yet, means you'd have to compile it to use the stash but I expect it to make it to 1.2.0 version |
I am running the latest deviloutionX release 1.1.0. @qndel Thank you so much for the project and your work. I am a die hard D1 + D2 fan. I played both games upon release till today (not a hellfire fan). Love the new widescreen! |
https://discord.gg/9eCtSCz244 |
There are no plans for higher gold stacks in 1.2.0 |
Thanks, I just joined the discord channel (Tremain84). Shareable stash between the characters. Not needed but nice to also have included: Future projects ? PS: maybe offtopic, but is there a support/donation button at gitgub? Or is there any other way I can support this project? |
Already part of the betas.
D2 is 25, D1 is 20. We already render at monitor refresh rate (so 60+), but positions are still updated at just 20fps (or whatever you set the game speed to).
The topic you are writing in is about Stack, everything else is off-topic. We do not accept donations. Play the game, have fun, spread the word be nice. |
Ok :) Thank you very much. @qndel If you can manage to create that exe including the QOL changes I would be super happy :) |
@Josegto1 I'd appreciate if you stopped "approving" random PRs without having 0 clue about what's going on - you reviewed 33 PRs in random repos today and all of them had literally 0 value, everything ok with your head? |
Well you are right, if we have a stash in version 1.2.0 then a higher gold stack is not required, because we can store gold in the stash. That makes sense :) |
I really hope town-only accessible stashes eventually make it into the game, two separate ones for multi and single player. |
Please keep your hopes away from old PRs. |
Atm turned on/off using X
All characters see the same stash
Issues:
Item placement somehow seems different than in inventory - you have to aim carefully to put item in the slot you want(Thanks @FluffyQuack ;))TODO:
Add item descriptionsAdd more tabs
Put the stash to some npc or an actual chest in town
Close the stash when you leave the game