These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

How do EFT and Pyfa get the ship bonuses?

Author
Asha Xa'clan
Federal Defense Union
Gallente Federation
#1 - 2013-02-21 13:36:15 UTC
According to this old forum post, the data dump does not contain the ship bonuses in any kind of useable form. But fitting applications like EFT and Pyfa obviously use the ship bonuses when calculating the fits.

Am I misunderstanding the developer's response in the linked thread and there is in fact a way to get the ship bonuses out of the data dump? Or is there any other way to get this information? I tried finding this part in the Pyfa source, but I did not succeed.
Sakari Orisi
Doomheim
#2 - 2013-02-21 13:47:55 UTC  |  Edited by: Sakari Orisi
Asha Xa'clan wrote:
According to this old forum post, the data dump does not contain the ship bonuses in any kind of useable form. But fitting applications like EFT and Pyfa obviously use the ship bonuses when calculating the fits.

Am I misunderstanding the developer's response in the linked thread and there is in fact a way to get the ship bonuses out of the data dump? Or is there any other way to get this information? I tried finding this part in the Pyfa source, but I did not succeed.


There used to be no way, as such, in pyfa, all bonusses have been coded manually. (This is also why it takes so much time to make a new version). I'd assume EFT does the exact same thing, as its twice as old as pyfa is.

However, recently, CCP added the dgmexpressions table into the CACHE (NOT the datadump). And it's possible (albeit pretty hard), to get bonusses out of that. The evefit team is currently working on a new version of eos (our stat calculator lib) to be able to use this table. You might possibly get news from us in half a year or so.
Asha Xa'clan
Federal Defense Union
Gallente Federation
#3 - 2013-02-21 15:21:30 UTC
Thanks for the answer, I feared that the solution would be hardcoded bonuses.

I checked out the EVE cache folder, but I can't see anything related to dgmexpressions there. Where exactly is that table supposed to be in the cache? Or are you talking about some completely different cache?
Sakari Orisi
Doomheim
#4 - 2013-02-21 17:35:54 UTC
Asha Xa'clan wrote:
Thanks for the answer, I feared that the solution would be hardcoded bonuses.

I checked out the EVE cache folder, but I can't see anything related to dgmexpressions there. Where exactly is that table supposed to be in the cache? Or are you talking about some completely different cache?


Phobos (my cache dumping lib) can get it from the cache files.
Artem Valiant
NecroRise Squadron
Galaxy Spiritus
#5 - 2013-02-22 05:36:57 UTC  |  Edited by: Artem Valiant
You can extract dgmExpressions table with reverence tool . In this table coded all modules, ships, skills etc. effects and bonuses. I use this approach in Neocom for iOS and it works well.
https://github.com/mrdepth/eufe
https://github.com/mrdepth/EVEUniverse/blob/master/dbTools/dbinit/dump/datadump.py
Sakari Orisi
Doomheim
#6 - 2013-02-22 13:08:58 UTC
Artem Valiant wrote:
You can extract dgmExpressions table with reverence tool . In this table coded all modules, ships, skills etc. effects and bonuses. I use this approach in Neocom for iOS and it works well.
https://github.com/mrdepth/eufe
https://github.com/mrdepth/EVEUniverse/blob/master/dbTools/dbinit/dump/datadump.py

How do you work with the ASB and AAR ? As those don't have any dgmExpressions at all.