#1 2019-05-28 05:28:30

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Invention - ComponentCounter

This app is feature complete.  The only updates I will be able to do (when I have time) are bugfixes!  Sorry!

Howdy all!

Over the past few months, I've been working on an app that will track Invention Components received through a variety of sources:
- Manual Dissassembly
- Auto-Dissassembler
- Spring Cleaner Dissassembly
- Scavenging perk

Tracks Invention materials from the following sources:
Standard Dissassembling
Auto-Dissassembler
Spring Cleaner
Scavenging
Stores data until you hit the "Clear" button.

You can find it, and more information On my GitHub

Or, Install with Alt1

Update 10/3/2019
I have updated the app to include a temporary overlay for the chatbox, to identify its position on game window.  As seen below:
CLnpRFh.gif

This is to help troubleshoot issues that may occur in the future.  Users will need to enable the "Show Overlay" permission by clicking the spanner on the ComponentCounter Window, then ticking the "Show Overlay" box to see this.
DaDNbDb.png

Update - 6/1/21

Good news!  I've updated this app to use the new Chatbox code! Now it will be usable with any font size! 

NOTE:  If you change your chat font size, you will need to refresh the app to have it detect the new size!

I have also added a Chatbox selector in case you want to target a specific window.  You can find it in the "Show/Hide" Menu

Last edited by ZeroGwafa (2021-06-01 09:00:13)

Offline

#2 2019-09-05 10:58:36

Leakar09
Member
Registered: 2019-09-05
Posts: 2

Re: Invention - ComponentCounter

would it be possible to add a value to each component? this, to make calculating profit per hour more accurately?

Offline

#3 2019-09-06 04:28:07

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

I wouldn't mind tackling this, however, since there are multiple ways to get most if not all components, the price for each of those components would vary.  This is without considering if those components are tied to a market price as well.

I could try to pull the data from the RS wiki, but, since the disassembly calculator also contains multiple values (based on item level, components per item, etc), there wouldn't be a perfect "value" for each of those components.

Offline

#4 2019-09-16 08:02:14

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

So, I just re-wrote a ton of my ComponentCounter code.  Changes as follows:

Added the ability to export your current component data to a CSV file. 

Added a collapsible menu for the CSV export and pre-existing "Edit Mode".

Page now dynamically builds the tables on the fly, instead of hard coding it like a doofus (amazing what taking a class and polishing skills will do for a person!)

Only downside is, I have changed the format for the save data.  So, chances are, you will lose anything you have saved currently. 

If the app isn't working correctly after the update, please use the "Clear" button on the interface to reset everything.

Last edited by ZeroGwafa (2019-09-16 08:39:38)

Offline

#5 2019-09-30 00:36:26

Murkon
Member
Registered: 2019-09-30
Posts: 8

Re: Invention - ComponentCounter

I got it to work once but now nothing.  I hit clear to reset everything.  What else can I do?

Thanks for this awesome add-on and I appreciate any help with this.

Offline

#6 2019-09-30 16:32:52

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

I'm going to need more information. 
Define "nothing". 

Is it not reading the components from the chatbox? 
Is the app not loading at all?
Are you using Legacy mode/skin? 
Is your chatbox unfiltered?

This was taken this morning after the bank update:

https://i.imgur.com/PNB5aG2.gifv

Last edited by ZeroGwafa (2019-09-30 16:33:13)

Offline

#7 2019-10-03 06:49:36

Murkon
Member
Registered: 2019-09-30
Posts: 8

Re: Invention - ComponentCounter

It loads fine.  I've reinstalled it.  I am not using legacy.  My chatbox is not filtered.

It appears to be not reading the components from the chatbox.

You can see what I mean here - https://imgur.com/a/sAh9i89

Offline

#8 2019-10-03 16:13:05

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Gotcha.  For now, i've updated the app with a temporary box overlay, as seen in the gif in the first post.  Please enable the "Show Overlay" option for the app, and reload.

Please let me know the results of this!

Offline

#9 2019-10-04 06:39:40

Murkon
Member
Registered: 2019-09-30
Posts: 8

Re: Invention - ComponentCounter

I made sure Show Overlay is enabled and reloaded everything.  Same issue.

Offline

#10 2019-10-04 17:07:25

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Does it show the rectangle when the app loads?

If so, can you right click inside the app, and choose "inspect Element".  Go to the console tab, then, press "Shift+F5" on your keyboard, click the stop button on the app, and let me know if there is an error message in there.

Are you running the NXT client?

Offline

#11 2019-10-07 00:52:40

Murkon
Member
Registered: 2019-09-30
Posts: 8

Re: Invention - ComponentCounter

No, it does not show the rectangle.

It didn't appear to show any errors.  It just gave the message "Stopping tracker".

Yes I am on the NXT client.

Offline

#12 2019-10-07 03:01:56

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Is Alt1 detecting your Runescape Client at all?  Do other apps work? 

Maybe take a look at this page to see if everything is running fine: Capture Problems on Alt1

Offline

#13 2019-10-08 23:56:30

Murkon
Member
Registered: 2019-09-30
Posts: 8

Re: Invention - ComponentCounter

Yeah other apps work and you can see them draw the overlay box and all that.  I think at this point I probably just need to reinstall Runescape and Alt 1.  I am not sure why it worked that one time and then not again.  Thanks for your help trying to troubleshoot the issue.

Offline

#14 2020-06-18 05:38:59

mistytalon
Member
Registered: 2017-03-29
Posts: 3

Re: Invention - ComponentCounter

Does not detect ancient invention components, probably because they show up in a different colour.

Offline

#15 2020-06-19 05:10:57

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Looks like someone actually did a PR for this.  I'll review it and implement it in the next couple of days.

Offline

#16 2020-06-19 07:00:03

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Added Ancient Component tracking.
Added Chat box selector.  On first load, the app will pick whichever chat window is closest to the top of the RS screen.  Selected chat box is persistent across reloads.
Updated "Actions" counter to be persistent throughout reloads.  Actions counter will be reset when the "Clear" Button is clicked.
Removed some debugging messages.
Updated some app logic.

Offline

#17 2020-11-28 23:01:50

0ragnar2010
Member
Registered: 2020-11-28
Posts: 1

Re: Invention - ComponentCounter

Thank you for this awesome app. I am having some trouble getting it to detect the entire chatbox. When I hit clear, I can see a white outline over my chatbox but it covers only a portion of it and as a result it is only logging a portion of the components. All of my other alt 1 apps are working fine, any idea how I can fix this?

EDIT: Nevermind! I just found out what you meant by having chat options. It works now!

Last edited by 0ragnar2010 (2020-11-28 23:16:55)

Offline

#18 2020-12-15 07:10:24

raf
Member
Registered: 2017-10-05
Posts: 10

Re: Invention - ComponentCounter

Small note, tool doesn't seem to recognize Third-age components, probably because they used to be named "Ancient components" until Arch released.

Other then that, it's an amazing tool, many thanks!

Offline

#19 2020-12-15 07:42:50

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Hey!  Thanks for pointing this out!  Fortunately, someone has submitted a fix, which i've tested and have deployed.  Please refresh the app to ensure that you are running the latest version.

Offline

#20 2021-01-02 21:57:41

MrFeebles
Member
Registered: 2021-01-02
Posts: 2

Re: Invention - ComponentCounter

I'm having an issue with it detecting me chat box correctly. The white overlay is only picking half of the chat box, what do i need to do to fix it?

Offline

#21 2021-01-02 22:05:39

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

Posting a screenshot would help troubleshoot.

Things to know:
1. The app still only works with chat text set to 11pt.
2. If you have interface scaling enabled in RS, that will never work with any Alt1 apps (It's not supported)

Offline

#22 2021-01-02 22:13:54

MrFeebles
Member
Registered: 2021-01-02
Posts: 2

Re: Invention - ComponentCounter

TY, it was the text size.

Offline

#23 2021-02-18 05:05:11

PegasusXT
Member
Registered: 2021-02-18
Posts: 1

Re: Invention - ComponentCounter

Hello,

I'm currently having a problem where the app is not detecting any of the drops from either spring cleaner, dissambly or scavenging perk

you can see it here - https://imgur.com/a/REKy5UH

Offline

#24 2021-02-18 06:17:36

ZeroGwafa
Member
Registered: 2019-03-20
Posts: 58

Re: Invention - ComponentCounter

PegasusXT wrote:

Hello,

I'm currently having a problem where the app is not detecting any of the drops from either spring cleaner, dissambly or scavenging perk

you can see it here - https://imgur.com/a/REKy5UH

Transparent windows are an issue.  Also, it looks like you don't have timestamps enabled, which can cause issues.

Offline

#25 2021-03-01 10:34:51

ElRaxuding
Member
Registered: 2021-03-01
Posts: 1

Re: Invention - ComponentCounter

Scrolling in the chat window completely messes up the tracker. Resulting in components being tracked multiple times.

Perhaps a fix could be to keep track of the time the last component got added, then only tracking new components if the timestamp next to them is more recent than the previously added component

Offline

Board footer

Powered by FluxBB