|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Nathan WAKE
Osiris Entreprises OSE Fondation
7
|
Posted - 2012.01.04 09:57:00 -
[1] - Quote
Hello Phil,
I did like you did, I picked up the old mod and arranged it a little. The mod was finished, and instead of releasing it, I passed it on to Cyerus, who is developping a API regsitration PHPBB mod for him to include it into his release (yet to come, version 5.2).
Cyerus told me the same thing that you wrote in your post : the BB code part of the mod was horrible (but not mine) and he rewrotte it from scratch for consistency and compatibility. He also changed the code so that, when viewed in game, you can get the info directly by clicking on an item. And last of all, he linked all the images from the EvE servers, as I chose to provide them with the package. I don't think he intends to release the mod as a "stand alone", so you're very welcome if you succeed in your project.
For the code part of it, you are probably much better than I am, so if won't comment
Regarding the tables needed for the mod to work, I ended up creating a new table for the ships with all I needed in it, because the SQL query to get all this from the different table in the dump was much too complicated.
Here's my table :
typeID -> for reference typeName -> for display low -> number of low slots medium -> number of medium slots high -> number of high slots drone -> volume in m3 of the drone bay (0 if none) rig -> number of rig slots subsystems -> number of subsystems slots (0 if none) raceID raceName metaGroupName -> Tech I, Tech II, Tech III or Faction groupName marketGroupName -> for displaying Caldari, Caldari Navy, Amarr and so on
For T3 cruisers, all low, med and high slots were defaulted to 8 because the real number of slots depends on the subsystems you choose, and it was too difficult (for me) to code that.
I had a bug in the code : when a item, low med or high slot was added to the fitt, the mod displayed correctly the number of remaining slots. But when no item were added to the fitt, the mod did not display the remaining slots available. For example, fitt no high modules on a Condor, and the system fails to tell you you have 3 remaining slots, but fitt a small missile launcher, and the 2 remaining slots were correctly displayed. I never could find were the faulty code was, but again, I'm just a amateur, not a developer, and the initial code was not mine.
Hope you'll succeed in you project, and looking forward to download and install it in replacement of mine ;-)
Cheers
Nathan "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.05 08:06:00 -
[2] - Quote
First to comment
Installed it and noted a small error in the code :
includes/message_parser.php
there is a coma missing at the end of this line :
Quote:'EFTFit'=> array('bbcode_id' => 13,'regexp' => array('#\[EFTFit\](.*?)\[/EFTFit\]#uise' => "\$this->bbcode_eftfitting('\$1')"))
which result in the following error :
Quote:Parse error: parse error, expecting `')'' in C:\wamp\www\EFT_PHIL\includes\message_parser.php on line 119
Nothing too serious
Still trying to get the EFTFit button to diplay, next comment soon "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.05 08:23:00 -
[3] - Quote
Updated my post with some more feedback "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.05 09:22:00 -
[4] - Quote
Archive is announced as corrupted for me "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.05 10:49:00 -
[5] - Quote
Still no luck with your archive.... maybe rename it ? Let's wait and see if others have the same problem.
Anyway, I sent you by private mail a link to a download package. You do not have to use it if you do not want to, espacialy if you find me too "intrusive" in your work but consider it as a "gift"
As I did work on that mod, I had already prepared a new background panel and the .css file that goes with it, so I modified your .css file to suit my needs and installed it on my board. The image is slightly larger and the icons placement is a little different as well. Your .css file has been modified to reflect this.
I send it by private mail because this is your work in the first place and it's yours to decide whether you want to change your package or not
In the package, you'll find :
- various background images - to use them you have to
- rename the one you want to "fitting2.png" (according to your code)
- replace your .css file by the one I sent you - I only changed x and y positions for the icons and the fitting window size.
- a modified .css file - a source .psd file for the background image (play with low oppacity, high oppacity and background color masks to easily change the design)
My background image looks like this :
Fitting Panel
Once again, that is great work.
Thank you for picking-up this mod development, I sadly have to admit to myself that this was far too complicated for me
Cheers
Nathan "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.05 13:55:00 -
[6] - Quote
Resent "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
8
|
Posted - 2012.01.06 08:32:00 -
[7] - Quote
Found a link provided by Steve Ronuken in one of my previous post regarding the IGb and fittings :
http://wiki.eveonline.com/en/wiki/Ship_DNA
If this can help... "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
9
|
Posted - 2012.01.08 10:57:00 -
[8] - Quote
Friendly bump to the top, because I want that mod
But I'm still having problems with the archive. Anyone else having the same issue unpacking it ? "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
9
|
Posted - 2012.01.08 12:29:00 -
[9] - Quote
Works great, thank you.
I'll install it on a fresh board and let you know how it works.
Let's say an hour from now. "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
Nathan WAKE
Osiris Entreprises OSE Fondation
9
|
Posted - 2012.01.17 15:45:00 -
[10] - Quote
Balani wrote:i got an "Archiv destroyed" while decompress can someone confirm it?
Yes, same thing here with the link of the firts post. But try the link on the lats post of the first page, it worked for me "I'm a very good housekeeper. Each time I get a divorce, I keep the house"
Zaza Gabor |
|
|
|
|