[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 » Sun Jun 10, 2012 09:53

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 » Mon Jun 11, 2012 20:27

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 » Tue Jun 12, 2012 11:45

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 » Tue Jun 12, 2012 20:52

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 » Tue Jul 24, 2012 03:59

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 » Fri Jul 27, 2012 22:09

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 » Fri Jul 27, 2012 22:41

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 » Fri Jul 27, 2012 23:22

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 » Wed Aug 01, 2012 03:00

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 » Wed Aug 01, 2012 23:04

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

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 21 guests