These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Command-line tool to payout corp members for ore

First post
Author
Sudo Kill-9
The Scope
Gallente Federation
#1 - 2014-12-24 02:47:10 UTC
We were sick in tired of working in excel spreadsheets, or looking up market prices manually, so we created a command line way to easily calculate how much ISK to payout corp members. What it does is look up the average price of ore, and tells you what to pay each member.

This is how you use it

  1. Generate the fleet loot log
  2. Save that text file to wherever you put our script
  3. Run the script with the log file as an argument


./payout.rb loot.txt
root@appsrvdev01:/adm/scripts/payout# ./payout.rb loot.txt
Payee    Pay Amount    Tax
Lar'fan Strongarm    1,542,388    81,178
Horan116    24,786,540    1,304,554
mtest1960    31,260,267    1,645,277
Sudo Kill-9    4,024,570    211,819


Configurations
You can edit the tax rate by editing the script and changing the taxpercent variable
You can add / remove minerals from items.yml. It will ONLY pay out for things in items.yml

Where to get it
https://github.com/awojnarek/payout

Contact
You can contact me in game, my account name is sudokill for questions, comments or donations ;)
EDIT: The examples are for Linux, but this should work for Windows as long as you have Ruby and Nokogiri
ISD Ezwal
ISD Community Communications Liaisons
#2 - 2014-12-24 15:48:25 UTC
This thread has been moved to EVE Technology Lab.

ISD Ezwal Community Communication Liaisons (CCLs)

Sudo Kill-9
The Scope
Gallente Federation
#3 - 2014-12-24 16:31:34 UTC
ISD Ezwal wrote:
This thread has been moved to EVE Technology Lab.


Thanks!
Amely Miles
Second Exile
#4 - 2014-12-25 16:33:18 UTC
isn't that what this is? http://sisterofeve.ru/loot_history/

As I slipped my finger slowly inside her hole, I could immediately feel it getting wetter and wetter.

I took my finger back out and within seconds she was going down on me.

"I really need a new boat," I thought to myself.