[EDK4] Corp Pilot Stats

Discuss/Upload mods to the EVE-Dev Killboard.
yoosa
Noob
Posts: 3
Joined: Sun Jun 10, 2012 09:50

Re: [EDK4] Corp Pilot Stats

Post by yoosa »

Can you add another option to remove all POS modules ?
MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] Corp Pilot Stats

Post by MrWhitei »

yoosa wrote:Can you add another option to remove all POS modules ?
I added an option to do this from the module settings page.
yoosa
Noob
Posts: 3
Joined: Sun Jun 10, 2012 09:50

Re: [EDK4] Corp Pilot Stats

Post by yoosa »

wow thx for that but it was`t better got this option in menu with noob ships ect? as separate link?
MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] Corp Pilot Stats

Post by MrWhitei »

Yeah, it prob would be better as a link.

I took the lazy/quick way and added it to the settings page :)
Ill get the link method added and updated soon.

EDIT:
Updated with these changes.

You will need to untick the 'Hide POS Modules:' on the settings page to see the link.
DraLaFi
Greenhorn
Posts: 19
Joined: Tue Jun 24, 2008 03:50

Re: [EDK4] Corp Pilot Stats

Post by DraLaFi »

Thank you, this making handing out medals for x kills so much easiere :D
Regards
DraLaFi
The Volition Cult
Image
User avatar
DarkArchon
Someday Author
Posts: 83
Joined: Wed Feb 25, 2009 22:16

Re: [EDK4] Corp Pilot Stats

Post by DarkArchon »

Is the campaign filter broken for anyone else? I set mine up and it doesn't seem to filter kills by the campaign. I have a campaign setup for 3 different regions that started the middle of last month. It seems to display all kills, from all time, from any area.
MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] Corp Pilot Stats

Post by MrWhitei »

DarkArchon wrote:Is the campaign filter broken for anyone else? I set mine up and it doesn't seem to filter kills by the campaign. I have a campaign setup for 3 different regions that started the middle of last month. It seems to display all kills, from all time, from any area.
send me a link to your killboard and ill have a look.
User avatar
DarkArchon
Someday Author
Posts: 83
Joined: Wed Feb 25, 2009 22:16

Re: [EDK4] Corp Pilot Stats

Post by DarkArchon »

MrWhitei wrote:
DarkArchon wrote:Is the campaign filter broken for anyone else? I set mine up and it doesn't seem to filter kills by the campaign. I have a campaign setup for 3 different regions that started the middle of last month. It seems to display all kills, from all time, from any area.
send me a link to your killboard and ill have a look.
http://www.orderofatlas.com/eve/tincokb ... s&crp_id=1
There's the link to the board/the pilot stats page. Right now it's defaulted to month and kills dec for the sort. If you click on the Kalevala campaign to the right it lists people that haven't had kills either in that campaign area, or even during the period of the campaign.

Edit: My original findings for this weren't quite true, it is filtering kills so it doesn't display kills from any area. The kills it displays did occur in the correct area, it's just not filtering the time correctly. See my post below.
Last edited by DarkArchon on Wed Aug 01, 2012 03:01, edited 1 time in total.
User avatar
DarkArchon
Someday Author
Posts: 83
Joined: Wed Feb 25, 2009 22:16

Re: [EDK4] Corp Pilot Stats

Post by DarkArchon »

Still haven't heard back from the author, maybe someone else can fix this. It looks like it's filtering the kills correctly for everything in campaigns EXCEPT for the date range. For that it grabs all kills from all time, that's why it's not displaying correctly. If you look, starting around line 44 in class.pilotStats.php, it looks like the contract (campaign) function successively filters regions, systems, alliances and corps, but not time (contract start/end date).

I'm trying to figure out how to modify the date range in this thing, but I'm a pretty horrible programmer and can't make heads or tails of it yet.

Also, if you want to display campaigns from all time, comment out like 158 in pilot_stats.php

Code: Select all

(!$ctr->getEndDate()
Edit, if your impatient like me you can replace "{$datefilter}" on lines 88 and 112 in class.pilotStats.php with the following to force it to only search within a certain date range. Unfortunately this is both hard coded and will force ALL of your filters to only query within this date range. Change the dates to match your campaign.

Code: Select all

AND kll_timestamp > '2012-06-26 00:00:00'
AND kll_timestamp < '2012-08-01 00:00:00'
MrWhitei
Apprentice
Posts: 64
Joined: Wed Dec 07, 2011 15:25

Re: [EDK4] Corp Pilot Stats

Post by MrWhitei »

Sorry about the delay.

Havent had time to look into this (and still dont), altho since you found out what the problem is my job is much simpler.
you are correct, i left out the start/end dates of a contract. Honestly didnt even think of it.

main thing is, since u found out the problem: OP will be updated in a few seconds with a fix
Post Reply