[EDK4.2.16+]: Ship Display Tool v3.7.1 - Updated: 2016/05/05

Discuss/Upload mods to the EVE-Dev Killboard.
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

[EDK4.2.16+]: Ship Display Tool v3.7.1 - Updated: 2016/05/05

Post by Salvoxia »

\o guys,

I'm taking the liberty to continue maintaining the Ship Display Tool mod, originally created by Chris Sheppard.
See the original thread here: viewtopic.php?f=505&t=17295

My special thanks goes to Snitch Ashor (aka prometh) for providing the code for the new features you guys will hopefully enjoy.

Please note that due to the new functionality, this version of the mod requires at least EDK 4.2.16.0.

Download: https://github.com/Salvoxia/ship_displa ... tag/v3.7.1

Installation
  • Visit the link above and download the source code as zip
  • Simply extract the contents to your desktop
  • Upload the folder to your killboard's mod directory and rename the folder to "ship_display_tool"
  • Activate the module in your Admin section
Change Log
v3.7.1
  • Fixed damage calculation for Rapid Missile Launchers
  • Fixed ship bonuses for Guristas ships
  • Fixed stats for T3 destroyers (defensive mode is used for bonuses)
  • Fixed Drones
  • Fixed active tank calculation

Image

You may report any problems or questions in this thread.
If you have any contributions code-wise, don't hesitate to create a pull request at Github!

Best Regards,
Salvoxia
Mr Twinkie
Greenhorn
Posts: 21
Joined: Sun Nov 15, 2015 10:37

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Mr Twinkie »

Won't activate for me, check the box hit save and the box unchecks.


Also any chance you can share the signature files for the sig you're using? Been trying to make a userbar sig and failing miserably.
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Salvoxia »

Hi,

did you rename the folder name after upload to remove the version number (please see installation instructions, item no 3)?

I'll write you a PM regarding the signature files.

Best Regards,
Salvoxia
Mr Twinkie
Greenhorn
Posts: 21
Joined: Sun Nov 15, 2015 10:37

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Mr Twinkie »

That resolved the issue, missed that step -_-
The ali
Noob
Posts: 6
Joined: Sat Jul 19, 2008 10:15

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by The ali »

DEPRECATED [8192] Non-static method Calculations::calculateMass() should not be called statically, assuming $this from incompatible context
Error on line 536 in file /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/mods/ship_display_tool/Libs/Fitting.class.php
PHP 5.6.14 (SunOS), EDK 4.2.16.0 (Parallax 1.0)
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/mods/ship_display_tool/Libs/Fitting.class.php, line: 536, class: EDKError, function: handler
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/mods/ship_display_tool/init.php, line: 322, class: Fitting, function: getShipStats
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/common/includes/class.pageassembly.php, line: 80, function: call_user_func_array
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/common/includes/class.pageassembly.php, line: 44, class: pageAssembly, function: call
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/common/kill_detail.php, line: 1731, class: pageAssembly, function: assemble
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/common/index.php, line: 319, function: include
File: /mnt/webj/d3/50/5635250/htdocs/fcboard/killboard/index.php, line: 27, function: include


Was kann das sein.
Ich kann nicht so gut english, ich hoffe trotzdem auf hile


Grüße Ali
User avatar
prometh
Advanced
Posts: 170
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by prometh »

Das sollte nur eine Warnung sein, weil in deiner php.ini E_STRICT unter error_reporting angegeben ist. Wenn du das zugriff drauf hast such mal in der php.int nach nder zeile

Code: Select all

error_reporting=(...);
Wenn da bei dir etwas steht wie

Code: Select all

error_reporting(E_ALL);
Ersetz es durch

Code: Select all

error_reporting(E_ERROR | E_WARNING | E_PARSE);
Alternativ kannst du versuchen in der datei mods/ship_display_tool/Calculations.class.php
die Zeile

Code: Select all

        public function calculateMass($param_mass) {
(Um Zeile 241)
zu ersetzen durch:

Code: Select all

        public static function calculateMass($param_mass) {
(nicht getestet)

Gruss,
Snitch

Quickly in english:

should be just a warning. Either try removing E_STRICT from php's error reporting or try replacing
mods/ship_display_tool/Calculations.class.php around line 241

Code: Select all

        public function calculateMass($param_mass) {
with

Code: Select all

        public static function calculateMass($param_mass) {
(not tested)
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Salvoxia »

Hi,

I tested it. That method is only called once, so that fix will work.
I also pushed it here as patch: https://github.com/Salvoxia/ship_displa ... 066b0f5022

Regards,
Salvoxia
Boradan
Noob
Posts: 3
Joined: Sat May 02, 2015 17:11

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Boradan »

Getting an error with one particular ship kill:
http://shortbussyndicate.com/kill/index ... ail/12809/
The rest of the ships are working fine as can be seen here:
http://shortbussyndicate.com/kill/index ... ail/12825/
I have incorporated the fix a few posts above this by editing line 241
bryn987
Greenhorn
Posts: 17
Joined: Sun Mar 08, 2015 07:24

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by bryn987 »

I have the mod installed but it won't activate. I check the box, hit save, then after it refreshes, the box is unchecked again. Running latest version
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4.2.16+]: Ship Display Tool v3.6 - Updated: 11/11/20

Post by Salvoxia »

Hi,

please check this post and see if that helps.

Regards,
Salvoxia
Post Reply