roxlukas / lmeve

LMeve - industry manager and contribution tracker for EVE Online
https://pozniak.pl/wp/
Other
51 stars 13 forks source link

Mining ledger #83

Open roxlukas opened 5 years ago

roxlukas commented 5 years ago

Can LMeve be made to pull corpmembers mining ledgers

http://prntscr.com/mhi4zp http://prntscr.com/mhi5ek

Perhaps as you click the members name, in characters and it shows a graph or just the amount in units for each type of ore mined?Corp moon mining ledger like wise?

zopha commented 5 years ago

If it's just tracking what each individual has mined at a corp moon but in their character page then I personally wouldn't find it very useful.

As someone operating (or trying to operate) a mandatory moon-ore buyback program what I'd love is

A tiled page with a tile for each corp moon showing a list of the last 5 or so detonations, the date would be perfect for the detonation name. Tile names being $systemname - $Citadelname if there are multiple systems/mining citadels Each date lets you click through to see a list of who mined at the moon. A small summary with a full isk appraisal of all the ore mined and if the corp is going payout/mandatory buyback a Payout Total and each member listed with what they mined (or a click through for it) with a payout amount, % can get set by the admin in the backend.

Something like this would allow a corp to track what's been mined, who mines it and roughly what each pop is worth to them.

This is basically a custom system I've used in another corp but I don't have access to set up for my own corp, here are some pictures that might help.

Moon Tiles

moon mine list

Single Detonation pop

2019-02-25 12_27_13-

If there's a way to track that the ore has been contracted to the main corp and register it for a payout to that member that would be even better. Hope some of this helps.

zopha commented 5 years ago

Something to track moon drill timers and see them at a glance would be handy as well,

2019-02-25 12_55_05
dstevens79 commented 5 years ago

/characters/{character_id}/mining/ Character mining ledger

this is achievable with a personal esi fetch

the real win for the moon extractions might be doable with the other idea i had for polling corp calendar data as a whole : chrome_2019-02-25_11-33-19

roxlukas commented 5 years ago

The problem with /characters/ routes is that LMeve does not store character level ESI refresh tokens... This is a design issue (LMeve always used corporation level APIs).

It is possible to go down to per character routes, but: 1) it will increase poller times dramatically 2) every player will have to authorize LMeve for each and every character they have (ESI refresh token grants access per character, not per account as it was in XML API)

I am however ready to implement everything mining ledger has to offer at corporation level. Will that work for you?

zopha commented 5 years ago

Been thinking a bit more on this and I'm not sure if it will complicate things or not. With the advent of the wardec changes many corps changed ownership of citadels over to holding corps so the main corp would be war-dec immune. They still own the moons and mine them but the main corp mining ledger will not catalogue what's mined, only the holding corps ledger will. It's how CCP set the corp ledger...

Would it just be the case of adding another corp to LM and just using it for the corp mining ledger?

Razeu commented 5 years ago

Perhaps allow for LMeve just to poll the ledger info from a toon with Ceo/Director/Accountant in the holding corp, and without having to poll a full ESI api from the corp so not to clutter the LMeve instance with more corp info.

roxlukas commented 5 years ago

@Razeu if you recall 2015, that was exactly our use case for multiple corporations in LMeve - we had a PoCo holding corp, remember? :-)

dstevens79 commented 5 years ago

Corp mining ledger shows every Corp that has mined from their moons.. This I think is all included in Corp esi, you would just add the holding company to to the esi token list ?

On Wed, Feb 27, 2019, 8:34 AM zopha notifications@github.com wrote:

Been thinking a bit more on this and I'm not sure if it will complicate things or not. With the advent of the wardec changes many corps changed ownership of citadels over to holding corps so the main corp would be war-dec immune. They still own the moons and mine them but the main corp mining ledger will not catalogue what's mined, only the holding corps ledger will. It's how CCP set the corp ledger...

Would it just be the case of adding another corp to LM and just using it for the corp mining ledger?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/roxlukas/lmeve/issues/83#issuecomment-467863574, or mute the thread https://github.com/notifications/unsubscribe-auth/AbqMNzPvA3UrQrI8A81rP4z3RsMU9DTbks5vRol8gaJpZM4aojPb .

Morgathys commented 4 years ago

I would like to suggest to add a mining tax calculator based on % value (ore/composition). With a summary page showing corp > corpmates what they mined and how much in tax they need to pay. Lot of alliances use a similar tax system.