Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ If you want to contribute to d2bs/d2bot#, come to irc.synirc.net/d2bs and ask ar
## Guides
- [manual playing](https://github.com/blizzhackers/documentation/blob/master/kolbot/ManualPlay.md/#manual-playing)
- [multi botting](https://github.com/blizzhackers/documentation/blob/master/kolbot/MultiBotting.md/#multi-botting)
- [PlugY Setup for single player](https://github.com/blizzhackers/documentation/blob/master/kolbot/PlugY.md#plugy-setup-for-single-player-botting)
- [kolbot-SoloPlay](https://github.com/blizzhackers/kolbot-SoloPlay)
- [character config](https://github.com/blizzhackers/documentation/blob/master/kolbot/CharacterConfig.md/#character-configuration)
- [TCP/IP Games](https://github.com/blizzhackers/documentation/blob/master/kolbot/TCP-IP%20games.md#tcpip-games)
Expand Down
9 changes: 9 additions & 0 deletions d2bs/kolbot/libs/core/Town.js
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,15 @@ const Town = {
|| !Town.canStashGem(item)) {
return false;
}
if (!Storage.Stash.CanFit(item) && Config.SortSettings.PlugYStash) {
say("/swappage");
delay(100);
say("/insertpage");
delay(100);
console.log("Inserted new empty page into stash");
quit(); //or Common.Toolsthread.exit();
return true
}
/**
* @todo add sorting here first if we can't fit the item
*/
Expand Down