Giter VIP home page Giter VIP logo

itemchecklist's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

itemchecklist's Issues

Bug with ChestCheck/Void Vaults/Toggle Collect Chest Items

There is a bug with counting items from Void Vaults. When 'Toggle Collect Chest Items' is enabled and you open a Void Vault, the game will become unresponsive to keyboard inputs.

The client.log shows the following error.

[15:00:38.821] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ItemChecklist.ItemChecklistPlayer.ChestCheck() in ItemChecklistPlayer.cs:line 103
at Terraria.ModLoader.PlayerLoader.PreUpdate(Player player) in tModLoader\Terraria\ModLoader\PlayerLoader.cs:line 186
at Terraria.Player.Update(Int32 i) in tModLoader\Terraria\Player.cs:line 17966
at Terraria.Main.DoUpdateInWorld(Stopwatch sw) in tModLoader\Terraria\Main.cs:line 13485
at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 13131
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 12686
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 546
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 235
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 196
at MonoLaunch.<>c__DisplayClass1_0.

b__0() in tModLoader\Terraria\MonoLaunch.cs:line 52
at System.Threading.Thread.StartCallback()

Browsing through the code... does bank4 need to be handled as a case in ItemChecklistPlayer.cs?

I have never programmed a terraria mod... so my comment may not be a potential bug at all. Howerver, I find the prospect of this mod to be intriguing in a "got to catch them all kind of way"...

if (Player.chest != -1 && (Player.chest != Player.lastChest || Main.autoPause && Main.gamePaused) && ItemChecklistUI.collectChestItems)
{
//Main.NewText(player.chest + " " + player.lastChest);
Item[] items;
if (Player.chest == -2)
items = Player.bank.item;
else if (Player.chest == -3)
items = Player.bank2.item;
else if (Player.chest == -4)
items = Player.bank3.item;
else
items = Main.chest[Player.chest].item;
for (int i = 0; i < 40; i++)
{
if (!items[i].IsAir && !foundItem[items[i].type] && findableItems[items[i].type])

Assuming that the "banks" covers different extra storage tied to the player, such as Piggybank, Safe, Void and Defenders forge. Not sure which one is chich though. But the "if cases felt" incomplete compared to the number of banks defined for a player.

(ref: https://docs.tmodloader.net/html_alpha/class_terraria_1_1_player.html)

Show whether an item is ever crafted

Even though we know what item are found by us, we don't know whether we only picked it up? Or we actually created them.

Haven't thought this through, but think this may be interesting.

Maybe when we show the tooltip, we show an extra line (or a glyph / icon) to indicate whether we ever crafted it.

Allow controller to interact with the mod pane

Not sure whether it's doable or not.

But as a controller user, I can only toggle the mode pane. I cannot toggle the sort method, filter logic etc.

Anyway, thanks a lot for this mod! It's really cool! ๐Ÿ‘

Sorry for opening so many issues. It's because I really love your work! ๐Ÿ˜†

Crash on launch is macOS

ItemChecklist v0.2.1
Terraria v1.3.4.4
tModLoader v0.9.2.3

Game crashes during the launch process without generating any log files in the logs folder

ItemChecklist was the only mod in the mods folder (in order to eliminate any external factors)

screen shot 2017-06-04 at 5 04 32 am

Add a 'number list' option

A simple switch that can toggle numbering of the items found or not found in the current sorting mode.
The numbers could maybe appear in place of the item stack number?
Just a suggestion

Add a 'sort by found date' option

We can actually log the datetime when the item is first found / crafted.
With this data, we can sort the items by found date. This may be useful in two ways:

  1. See recently found items
  2. View complete history of Journey

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.