[EDK4] allicorpstats_page update

Discuss/Upload mods to the EVE-Dev Killboard.
MrRx7
Greenhorn
Posts: 13
Joined: Sun Nov 23, 2008 09:56
Location: Texas
Contact:

Re: [EDK4] allicorpstats_page update

Post by MrRx7 » Sun Jan 08, 2012 03:24

Entaran wrote:Hey RX, How do we modify the Kill_RQ calculated number? If for instance we want it higher or lower.
So not being the original mod creator I'm not really sure why they did it this way but you would need to edit line 319

Code: Select all

$killrq = (int)((int)$_alycorp['members'] > 66 ? (int)$_alycorp['members'] * 4 :
                200);
Basically in "human":
If the corp member count is above 66 the Kill_RQ is (corp size times 4) else the Kill_RQ is 200. No idea where the random number 66 came from but that is how its calculating it.
PyroTech03 wrote:Getting this error list:

Code: Select all

code
Is your killboard a alliance or corp killboard?

Entaran
Noob
Posts: 6
Joined: Wed Nov 19, 2008 09:39

Re: [EDK4] allicorpstats_page update

Post by Entaran » Sun Jan 08, 2012 07:22

Thanks RX7 :)

PyroTech03
Someday Author
Posts: 78
Joined: Mon Jun 13, 2011 12:21

Re: [EDK4] allicorpstats_page update

Post by PyroTech03 » Wed Jan 11, 2012 22:41

Sorry it took so long to get back to this....

It's an Alliance Board
Image

Miner Geniet
Noob
Posts: 2
Joined: Fri Jan 06, 2012 20:32

Re: [EDK4] allicorpstats_page update

Post by Miner Geniet » Sat Jan 21, 2012 02:27

Im getting this error

Fatal error: Call to a member function getID() on a non-object in /home/galaxyq1/public_html/TF/mods/allicorpstats_page/class.allicorpstats.php on line 59

anyone know what this is all about?

it was working fine, I checked the previous month and when i clicked next month i started getting this error

Miner Geniet
Noob
Posts: 2
Joined: Fri Jan 06, 2012 20:32

Re: [EDK4] allicorpstats_page update

Post by Miner Geniet » Sat Jan 21, 2012 02:33

found out what was wrong, had a new corp join alliance that had no kills or losses on our Killboard... so the KB couldnt fetch an ID for them do to no data being on the server about them

DraLaFi
Greenhorn
Posts: 19
Joined: Tue Jun 24, 2008 03:50

Re: [EDK4] allicorpstats_page update

Post by DraLaFi » Wed Jan 25, 2012 06:21

I'm getting this error:

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /home/volt/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.9-1~dotdeb.3 (Linux), EDK 4.0.3 (Crucible)
File: /home/volt/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /home/volt/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /home/volt/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /home/volt/www/kb/common/index.php, line: 289, function: include
File: /home/volt/www/kb/index.php, line: 27, function: include
https://www.eve-volt.net/kb/?a=corp_stats&all_id=
EDK 4.0.3 (Crucible)

Seems its not fetching any information on our Alliance or member corps?

Edit:
Apparently related to above post about 1 corp never have had a kill.
Fixed it by setting the "Corp Member Limit" higher then the Alt corp in question.
Regards
DraLaFi
The Volition Cult
Image

nathanh
Greenhorn
Posts: 10
Joined: Sun Feb 21, 2010 17:50

Re: [EDK4] allicorpstats_page update

Post by nathanh » Mon Feb 13, 2012 14:16

Hi I'm getting this

Code: Select all

WARNING [2] usort() expects parameter 1 to be array, null given
Error on line 32 in file /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php
PHP 5.3.10 (Linux), EDK 4.0.4 (Crucible)
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 32, function: usort
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/home.php, line: 736, class: pageAssembly, function: assemble
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/index.php, line: 293, function: include
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 33 in file /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php
PHP 5.3.10 (Linux), EDK 4.0.4 (Crucible)
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 33, class: EDKError, function: handler
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/home.php, line: 736, class: pageAssembly, function: assemble
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/index.php, line: 293, function: include
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 38 in file /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php
PHP 5.3.10 (Linux), EDK 4.0.4 (Crucible)
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 38, class: EDKError, function: handler
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/home.php, line: 736, class: pageAssembly, function: assemble
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/index.php, line: 293, function: include
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/index.php, line: 27, function: include

WARNING [2] Division by zero
Error on line 201 in file /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/mods/mostexp/class.mostexpensive.php
PHP 5.3.10 (Linux), EDK 4.0.4 (Crucible)
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/mods/mostexp/class.mostexpensive.php, line: 201, class: EDKError, function: handler
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 80, function: call_user_func_array
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 44, class: pageAssembly, function: call
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/home.php, line: 736, class: pageAssembly, function: assemble
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/index.php, line: 293, function: include
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/index.php, line: 27, function: include

WARNING [2] Division by zero
Error on line 202 in file /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/mods/mostexp/class.mostexpensive.php
PHP 5.3.10 (Linux), EDK 4.0.4 (Crucible)
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/mods/mostexp/class.mostexpensive.php, line: 202, class: EDKError, function: handler
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 80, function: call_user_func_array
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/includes/class.pageassembly.php, line: 44, class: pageAssembly, function: call
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/home.php, line: 736, class: pageAssembly, function: assemble
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/common/index.php, line: 293, function: include
File: /customers/d/d/1/rust-in-pieces.org/httpd.www/kills/index.php, line: 27, function: include
Any Ideas?


Edit: Solved it it was due to the htaccess file in the cache directory needing the line

Code: Select all

Options -Indexes
changed to

Code: Select all

# Options -Indexes

PyroTech03
Someday Author
Posts: 78
Joined: Mon Jun 13, 2011 12:21

Re: [EDK4] allicorpstats_page update

Post by PyroTech03 » Sat Feb 18, 2012 10:53

Miner Geniet wrote:Im getting this error

Fatal error: Call to a member function getID() on a non-object in /home/galaxyq1/public_html/TF/mods/allicorpstats_page/class.allicorpstats.php on line 59

anyone know what this is all about?

it was working fine, I checked the previous month and when i clicked next month i started getting this error
any fix for this without bringing the member count up?
Image

Excaliber
Noob
Posts: 8
Joined: Tue Nov 23, 2010 08:45

Re: [EDK4] allicorpstats_page update

Post by Excaliber » Mon Apr 02, 2012 13:30

Any updates on this mod? Mine doesnt work anymore and I really would love to have it back.

Strucker
Noob
Posts: 9
Joined: Mon Jul 16, 2012 22:26

Re: [EDK4] allicorpstats_page update

Post by Strucker » Mon Jul 16, 2012 22:28

Fix for this:
Fatal error: Call to a member function getID() on a non-object in /home/galaxyq1/public_html/TF/mods/allicorpstats_page/class.allicorpstats.php on line 59

Add this after line 58 in class.allicorpstats.php

Code: Select all

if (!$this->corpid) {continue;}
Seems to be working for mee..

Post Reply

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 29 guests