[EDK4] allicorpstats_page update

Discuss/Upload mods to the EVE-Dev Killboard.
Abdool
Noob
Posts: 3
Joined: Mon Jul 18, 2011 02:21

Re: [EDK4] allicorpstats_page update

Post by Abdool »

Hey MrRx7! Long time no see ol' buddy! Good to see you've still got your fingers in code.
I wanna print the code out for this module and rub it all over my naked body.

ahem ...

One thing tho ... this "Kills Rq." column ... Not sure how this number should be read.
Kills - (CorpMembers * 2) = Kills Required? I'm scratching my head as to what this means?
Zagdul
Greenhorn
Posts: 37
Joined: Mon Jul 12, 2010 02:55

Re: [EDK4] allicorpstats_page update

Post by Zagdul »

Abdool wrote:Hey MrRx7! Long time no see ol' buddy! Good to see you've still got your fingers in code.
I wanna print the code out for this module and rub it all over my naked body.

ahem ...

One thing tho ... this "Kills Rq." column ... Not sure how this number should be read.
Kills - (CorpMembers * 2) = Kills Required? I'm scratching my head as to what this means?
He's not been playing much lately and I think he's on a break. I haven't seen him in jabber or online as much. Last he and I spoke, I don't think he's continuing to develop this mod. We made some modifications to it on our site, but I've been trying to get in touch with him for a few revisions and requests.



I personally would like to replace that column with something that pits the corps against each other for most active pilots. Something that takes the top 5th percentile of kills from each corp and assigns a score to them.

This way you can grade corps against each other for most active pilots not just getting kills, but for ones that consistently bring more dudes to fleets. Right now the numbers are based on if a pilot gets on 1 kill in the span of a month, it counts towards the corp's overall activity.

However, if you were to click on the corp towards the end of a month, you can sometimes find a handful of dudes showing up to every fleet where the majority of the corp is inactive. A way to view this more easily would be amazing.
Abdool
Noob
Posts: 3
Joined: Mon Jul 18, 2011 02:21

Re: [EDK4] allicorpstats_page update

Post by Abdool »

Ah yes, well eve has a tendency to occupy a disproportionate amount of ones free time.
I take vacations now and again. Here's hoping MrRx7 makes a triumphant return one day.
...Right now the numbers are based on if a pilot gets on 1 kill in the span of a month, it counts towards the corp's overall activity...
I still don't understand what Kills Rq. means ...
ok, so let's say a corp has 200 members, and 150kills during the period of a month.
Kill Rq. stands for KILLS REQUIRED? The number it spits out is -250 ... negative 250 kills required?

Thanks for re-explaining this to me.
User avatar
Senya
Greenhorn
Posts: 21
Joined: Thu May 17, 2012 15:09
Location: RUSSIA
Contact:

Re: [EDK4] allicorpstats_page update

Post by Senya »

Fatal error: Call to a member function getID() on a non-object in /*/mods/allicorpstats_page/class.allicorpstats.php on line 59
?
Thank you! Found the answer here:
http://eve-id.net/forum/viewtopic.php?f ... =10#p42576
User avatar
DarkArchon
Someday Author
Posts: 83
Joined: Wed Feb 25, 2009 22:16

Re: [EDK4] allicorpstats_page update

Post by DarkArchon »

Ok, here's one for you, adding the continue after line 58 doesn't seem to help. I'm getting this group of errors...

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 64 in file /kb/common/includes/api/class.alliance.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/common/includes/api/class.alliance.php, line: 64, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 33, class: API_Alliance, function: LocateAllianceID
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 544 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: asort
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 319 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 319, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 544 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: arsort
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kb/common/index.php, line: 289, function: include
File: /kb/index.php, line: 27, function: include
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

looking at your killboard i think you have to do this: http://eve-id.net/forum/viewtopic.php?f=503&t=18887
User avatar
DarkArchon
Someday Author
Posts: 83
Joined: Wed Feb 25, 2009 22:16

Re: [EDK4] allicorpstats_page update

Post by DarkArchon »

Salvoxia wrote:looking at your killboard i think you have to do this: http://eve-id.net/forum/viewtopic.php?f=503&t=18887
Seems to have worked, thanks!
xCausxn
Greenhorn
Posts: 11
Joined: Sat Jul 28, 2012 14:44

Re: [EDK4] allicorpstats_page update

Post by xCausxn »

I have applied all the fixes here with no effect, i still recieve
WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 544 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: asort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 319 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 319, class: EDKError, function: handler
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 544 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: arsort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.2.17 (Linux), EDK 4.0.4 (Crucible)
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: /home/u317773324/public_html/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/u317773324/public_html/kb/common/index.php, line: 289, function: include
File: /home/u317773324/public_html/kb/index.php, line: 27, function: include
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

Could you please check if you get these errors on all corp- and alliance detail pages as well as in the API Kill Log menu option in the admin panel? Or is it ONLY on the pages modified by this mod?
xCausxn
Greenhorn
Posts: 11
Joined: Sat Jul 28, 2012 14:44

Re: [EDK4] allicorpstats_page update

Post by xCausxn »

Salvoxia wrote:Could you please check if you get these errors on all corp- and alliance detail pages as well as in the API Kill Log menu option in the admin panel? Or is it ONLY on the pages modified by this mod?

This is only loaded when the mod page is requested so "Corp Stats"
Post Reply