Saturday, June 9, 2012

Off Topic - PVPIP App

For fuck's sake...

We are jumping back into the Merc business with the launch of Inferno and its "Mercenary Marketplace," more on that in a later blog post... as of right now, the expansion has been out for 2 weeks and I've made bids to join corps around Gallente space at a measely price and only yesterday was accepted by a small corp decced by The 0rphanage [AD0PT]. Details in a later blog.

But I'm going to take this moment to show off a small tool I developed in Visual Basic that I started in December of last year and have been tweaking ever since.

For those that don't know, General Tso's loot policy (PvP Incentive Program [PVPIP]) is as follows: (very summarized as many rules have had to be changed over the years due to exploitative behavior of Dark Drifter, Mary, etc.)

  • All fleet kills (more than 1 Tso's participant) will have all loot returned to the Corp hangar in Seyllin.
  • If any Tso's member was killed in the engagement, his loss is reimbursed by an immediate cut of the drops.
    • However, if the ship lost was not in keeping with the fleet purpose (T1 Vexor swarm, for example, and the loss was a Ishtar), then the player is not reimbursed.
  • The pool of loot in the Corp hangar is sold at the end of every month, paid out to the top 10 killers (in participation) for the month.
  • If we are in an active war, only war target kills are valid.
This last piece is the most important that led the development of the PVPIP calculator. Our current Battleclinic killboard can have campaigns, but it would still require hand-counting kills. We could develop our own board, but my calculator works just as well and has the added benefit of tracking some background stats that I can use at my leadership level, such as PVPIP disqualification, and our revamped "Project" program that creates and incentive for recruitment.

But anyway, without further babble, images and descriptions:

The first popup is the main date selection, which has the user enter the month/year of the current calculation, and lets the user browse to the location of their Griefwatch/Battleclinic killboard dump.  The two check boxes open the following screens.

Ship filter currently only has a Hulkageddon filtering system that removes any kills that are not valid for Hulkageddon (This was specifically designed for last month's Hulkageddon event, but can be re-purposed to find any specific ships).

The Wars check box on the Select Date form will launch the most important feature of the PVPIP calculator, the filtering of ONLY valid war target kills. A user inputs the name of the war target, checks whether the entity is an Alliance or a Corporation, selects the date range (within the already-selected month) that the war was active for, the clicks "Add." When "Apply" is clicked, the filtering begins, removing all kills that are not valid from the list of kills pulled from the killboard dump.

Then launches the Payout form, which lists every member of the Alliance that had a kill for the month selected. Old disqualified individuals are flagged red automatically (this data is pulled from an XML document that updates when the PVPIP calculator is closed, with the "Close" button on this form.) 

Also, as mentioned earlier, our recruitment system's perks are visible on this form. As shown here, the column "Modified" shows a number next to myself, Burseg Sardaukar. This means I received 2 bonus kills to my score for this month (Hulkageddon filter is applied), from my projects Shinobu Hita and Athos Thorne. Athos has since left the corp, so he was flagged as "DQ'd" for this. We are currently voting on whether DQ'd Projects should negatively affect their Mentor's score, and the vote closes at the end of this month. The code is in place, simply commented-out, and can be enabled for this month's PVPIP come July 1st.

When an ISK value (in millions of ISK) is entered in the text box at the top of the form, and calculate is pressed, the payout values are populated in the 4th column in the list view. When the "Copy" button is pressed, it feeds the data onto the clipboard in our forum post style for easy pasting. Note that check boxes on alts can be checked off and this would skip them in the calculation. Also, ties are automatically calculated, as are DQ's.

A ton of ties at the end... splitting 2% all those ways. The last form is a corporation management form that allows for new DQ's to be added, new members to be added, old members to be removed, etc, etc. Also, when the tool launches, it automatically makes Projects that have been in the corp for 3 or more months no longer Projects and notifies the user (me) to change their Titles in EvE itself.

This is an extremely useful tool that I plan on expanding to incorporate a loss-posting confirmation section (that will have to pull from the API), and a loot-logging system (also from API) at the very least. These will mostly be used to DQ people more effectively.

Anyway, this blog was probably boring, but it was about time I released an in-depth look into the inner workings of SMERG/3XXXD's rewards programs, and how my first foray into EvE apps has gone. So, stick it in your ass.

No comments:

Post a Comment