Git Product home page Git Product logo

infinitechestsv2's People

Contributors

drockwell avatar zaicon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

infinitechestsv2's Issues

Quick stack to nearby by chest make items disappear

When player use quick stack item to nearby chests with this plugin, items are supposed to be quick-stacked just disappear from player's inventory and does not appear in the chest.

If you OPEN the chest and use quick stack, then everything works just fine.

MySQL CPU Usage 100% Upon Full Item Loot/Store

We've discussed this issue before causing a lot of Lag on the Server by having too many query's do everything at once. Ironically after 1.3.4.3 update (Even though we are still using 1.3.3.3 and fake versioned to 1.3.4.3) the lag has returned. This probably has to do with any update/fix related to Chests.

I wonder if this can be fixed or looked into, or completely disable this feature as without it, it would force me back to using the older InfChests.

Add me on Steam or email me @ [email protected], makes communication easier.

refill all chests?

I believe I used the original version of this mod to make world chests refill daily or something.

Is there a command or maybe sql statement I can run on a new world to make all the chests refill?
I want friends to be able to get loot if they miss out on that days dungeon run or whatever.

/prunechests will remove (almost) all chest

prunechests
It will be caused due to this query:
https://github.com/Zaicon/InfiniteChestsV2/blob/master/InfChests/DB.cs#L378
That reads "enumerate if one of its slots is empty".

Probably that should be, for example:
string query = $"SELECT ChestID FROM ChestItems WHERE WorldID = {Main.worldID} GROUP BY ChestID HAVING MIN(Type) = 0 AND MAX(Type) = 0";
That means "show its id if all slot is empty for each chest".

And also, at line 403 is like this:
query = $"DELETE FROM ChestItems WHERE WorldID = {Main.worldID} AND ChestID IN ({string.Join(",", chestIDs)})";
(Sorry I didn't confirm them actually)

I'm not sure whether this issue is related to that post though.
https://tshock.co/xf/index.php?threads/infinitechestsv2.4795/page-2#post-47100

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.