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.
 

Odd results for T2 ammo

Author
Raath Nambode
Sebiestor Tribe
Minmatar Republic
#1 - 2012-04-21 00:14:19 UTC
I've been wracking my brains all week with this one so putting it out for some help.

if you do a look up for any types here the results I get back are reliable for all T1, capitals, T3 etc but for some of the T2 ammo I'm getting wrong results.

Take Sourge Fury Heavy Missiles.
At ME 0 perfect same as ingame, but ME -4 It's reporting:

2 x R.A.M
126 x Rocket fuel.

In eve it's 1 R.A.M and 124 rocket fuel. Small amounts sure, but small amounts add to lots on large scales.

All other materials are correct.

The code I'm using to work out the wastage is thus :

Quote:

if($materialEfficiency >= 0)
$wastage = round($line->quantity * ($line->wasteFactor/100) * (1/($materialEfficiency + 1)));
else
$wastage = round($line->quantity * ($line->wasteFactor/100) * (1 - $materialEfficiency));
$quantity = (($line->quantity + $wastage) * $this->productQuantity);


All DB tables are up to date with the current dataset.

Anyone see anything off with my math there?

Wormhome Navigation - http://www.staticmapper.com Industrial Management - http://industry.darkshadowindustries.com Follow me on twitter https://twitter.com/staticmapper

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2012-04-21 04:47:08 UTC
I suspect it's because you're not taking into account that 4 of the rocket fuel are extra materials, where no ME waste applies. Ditto on the RAM.


Take a look at:
http://www.fuzzwork.co.uk/blueprints/2629/-4/5/0/5


All the the ME logic is embedded in the javascript. There's a reason I kept the extra materials and base materials seperate Blink

I'd suggest you also look at:
http://www.fuzzwork.co.uk/blueprints/12200/0/5/0/5
As it's a blueprint that many calculators initially get wrong. It's because you have to remove the materials in recyclable extra materials, from the base materials

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Raath Nambode
Sebiestor Tribe
Minmatar Republic
#3 - 2012-04-21 16:09:40 UTC
Steve Ronuken wrote:
I suspect it's because you're not taking into account that 4 of the rocket fuel are extra materials, where no ME waste applies. Ditto on the RAM.



Intteresting... sounds logical. So which table can this information be found it? I've checked all tables related to blueprints, material requirements etc but can't see any fields or values that would give me a hint to what should be excluded from ME calculations

Wormhome Navigation - http://www.staticmapper.com Industrial Management - http://industry.darkshadowindustries.com Follow me on twitter https://twitter.com/staticmapper

Mikoloel
Doomheim
#4 - 2012-04-21 18:06:49 UTC
This wiki-page contains some very useful informations about how to get a list of materials out of the SDD:

http://wiki.eve-id.net/Bill_of_Materials
Lutz Major
Austriae Est Imperare Orbi Universo
#5 - 2012-04-21 19:11:38 UTC
Steve Ronuken wrote:
I suspect it's because you're not taking into account that 4 of the rocket fuel are extra materials, where no ME waste applies. Ditto on the RAM.

I'd like to object: http://community.eveonline.com/ingameboard.asp?a=topic&threadID=1561558
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#6 - 2012-04-21 21:13:20 UTC
Lutz Major wrote:
Steve Ronuken wrote:
I suspect it's because you're not taking into account that 4 of the rocket fuel are extra materials, where no ME waste applies. Ditto on the RAM.

I'd like to object: http://community.eveonline.com/ingameboard.asp?a=topic&threadID=1561558



Huh?

ME waste only applies to materials in the base materials (from invTypeMaterials, when recyclable materials are removed from it)

PE (skill) waste applies to:
Materials in the base materials
Materials in the extra materials (materials in the ramTypeRequirements table) if, and only if, they also exist in the base materials

Which is pretty much what that thread says?

(I'd initially got it wrong, and you corrected me in the thread about my calculator)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Lutz Major
Austriae Est Imperare Orbi Universo
#7 - 2012-04-22 18:12:48 UTC
Steve Ronuken wrote:
Lutz Major wrote:
Steve Ronuken wrote:
I suspect it's because you're not taking into account that 4 of the rocket fuel are extra materials, where no ME waste applies. Ditto on the RAM.

I'd like to object: http://community.eveonline.com/ingameboard.asp?a=topic&threadID=1561558



Huh?

ME waste only applies to materials in the base materials (from invTypeMaterials, when recyclable materials are removed from it)

PE (skill) waste applies to:
Materials in the base materials
Materials in the extra materials (materials in the ramTypeRequirements table) if, and only if, they also exist in the base materials

Which is pretty much what that thread says?

(I'd initially got it wrong, and you corrected me in the thread about my calculator)

Right! And sorry. I over-read the ME part Ugh