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.
 

Ratter script - fixed version

Author
pari verticis
Slow Match
#1 - 2012-03-28 00:12:11 UTC
Hi everyone,

yesterday a corp buddy talked about a script that takes a corp wallet Journal and presents information about ratting and mission running as a website. It was originally developed by Baron Holbach and published in this thread. It didn't work initially when I tried to install it, so I gave it a few fixes:

  • support for new customizable API keys (needs a corp API key now with rights for Corporation Sheet and Wallet Journal)
  • accessing EVE API using SSL (encrypted connection)
  • fixed an error when displaying character avatars

  • Click here to get the fixed version. Maybe someone can make use of it.

    I'm thinking about making further improvements, maybe starting with a customizable interface. Anyone interested in this? Or maybe there is an even greater script that is worth putting some effort in.

    Cheers, pari
    Nutbolt
    University of Caille
    Gallente Federation
    #2 - 2012-03-29 08:15:42 UTC
    Are there screenshots somewhere of what this looks like?

    Does it deal with Incursion payouts ok (i.e. state that that isk came from an incursion)?

    Can you upload it to a different site which doesn't as far as I can tell make you install a .exe. EVE Files is a good website for this.
    Ajantschin
    Brigade of Guards
    #3 - 2012-03-29 09:28:13 UTC
    Nutbolt wrote:

    Can you upload it to a different site which doesn't as far as I can tell make you install a .exe. EVE Files is a good website for this.


    What do you mean with that? Klick on the link provided, hit the download button and voilà, you get the pve.zip file with the script.
    Even if i turn of my adblocker I don´t get something that asks me to install an exe ...

    Proud member of the Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S.) #Are you a gambling addict? Then this is the right place for you IwantIsk!

    Nutbolt
    University of Caille
    Gallente Federation
    #4 - 2012-03-29 09:37:51 UTC
    lol. I blame Chrome translating the page :D But tbh I think was just me failing. Was getting an ad (I assume) which tried to download a setup.exe every 10seconds lol. Got the file now though. Would prefer to see screenshots or a demo before setting it up though :)
    pari verticis
    Slow Match
    #5 - 2012-03-29 09:58:46 UTC
    Hi,

    sorry for the messed up download site. Here is a clean link and a screenshot in action. I just noticed that the last table doesn't seem to be correct. I'm gonna look into that later.

    We haven't tried Incursions with the script yet. Maybe someone else did? If not, I can jump to highsec in the next days and get some data for that.

    Regards, pari
    Nutbolt
    University of Caille
    Gallente Federation
    #6 - 2012-03-29 10:18:08 UTC
    I have setup a test install. Figured out the password issue once I noticed it cant be capitals. However when I try to run the cron job it just says api offline. Any ideas on this? On the same server I have killboards etc... running.

    Edit: If I get it working it should pull some incursion info from my corp
    Nutbolt
    University of Caille
    Gallente Federation
    #7 - 2012-04-03 08:00:23 UTC  |  Edited by: Nutbolt
    I have got it working, the issue was caused by my host blocking the https connection to the api server (again!). I had assumed it wasn't them as had this issue before and they said they had unblocked it all, I guess lesson to be learnt is never to assume anything.

    Now I have some data to play around with, it looks good. However a couple of issues I have noticed:

    1.) Are there any easy themes or something to make this look a lot nicer? (for us CSS noobs)
    2.) In the ratting by NPC table if you click on the rat it tries to take you to eveinfo however this site is offline. Is this a temporary issue with their site, or did eveinfo go offline a long time go?
    3.) Incursions: We have run a few incursions and this has obviously pulled the isk made per player, however that is it, none of the graphs take this into account and completely ignore it. For example in the last 24hours a player has run incursions in minnie space making 77mill isk, and run a mission making like 1mill in lonetrek (for example), the graph states 100% of the isk made by this player was in lonetrek.

    How hard would it be to add at least some basic information on incursions? I.e. the system and region they are in, and perhaps add Concord as an agent where all incursion payouts come from or something, just so the info can be displayed in the tables and graphs?

    4.) A corpie just pointed out, agents no longer have a quality, CCP removed the whole quality thing, so that column from the agent info can be removed.
    pari verticis
    Slow Match
    #8 - 2012-04-03 18:40:17 UTC
    Hi,

    sorry I had so little time in the last days. I'm glad it's working for you now. Let me also answer your questions.

    1) I had a quick look in the source code and it doesn't seem to be friendly to designers at the moment. I am definitely going to do some work here so that it will be easier to customize the appearance, for example by editing a simple CSS file.

    2) I don't know about the eveinfo website. If it is going to be offline for longer and you know a comparable site, I can have a look if the links can just be replaced. But I guess this won't be a key issue. ;)

    3) I just did a Scout site of an Incursion to get some wallet data, but then I realized the corp tax doesn't come into effect with those tiny values. If you could provide some data via private mail, I'd be glad to analyze it and modify the script to show it in a reasonable manner. Our corp did a lot of Incursions in the past and it would be a pity if wouldn't appear in the statistics
    I could use data directly from the API or as an SQL export. Either way, you can of course cut everything that is not related to Incursions.

    4) Agreed, the column can be removed.

    Regards, pari
    Chaotic Mind
    Republic University
    Minmatar Republic
    #9 - 2012-04-05 13:29:08 UTC
    keep in mind that the "reason" field in the transaction gets trancated.
    so if you kill alot of different rats within one tick there might be some missing rats in the stats

    unless they changed that bit
    Baron Holbach
    The Northerners
    Pandemic Horde
    #10 - 2012-04-24 00:04:58 UTC
    oh nice to see my old code evolving :)

    and that reason line is know possible bug, but this is better than nothing