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.
123Next pageLast page
 

POS Tracker - FGV - 5.2.1

Author
Frozen Guardian
The Scope
Gallente Federation
#1 - 2011-09-06 22:08:36 UTC  |  Edited by: Frozen Guardian
Hi Thar :)

Here is the awesome thread about the POS Tracker FGV.

Feel free to EVEMail me with requests or if you're having problems installing the POS Tracker.

So the newest changes from the old version to this version are below. Download/Update Files here and some instructions(http://iceneko.com/eve/):

Version 5.2.0 to 5.2.1 Changes:

  • Fixed sovereignty bonus for Strontium usage.
  • Fuel Calc now understands the use current levels function.
  • Fixed sovereignty for both Fuel Calc and Fuel Bill.


Version 5.1.7 to 5.2.0 Changes:

  • Support for Fuel Blocks added.
  • Manufacturing fuel blocks is now listed on the Fuel Bill page at the bottom. The blueprint it uses to calculate has "perfect" ME 40. The manufacturing time is set at 4 minutes per run to help gauge how much time it will take.
  • Removed some minor CSS errors.
  • View/Edit POS now states Empty/Full instead of 0 under Online for silos.
  • Production page updated so the entire line for the silo is turned a color when Empty/Full. Will also change to a warning color once it passes under 24 hours till Empty/Full. Colors can be changed in the theme.css files.
  • Added support for API Proxies.
  • POS Tower Sov Status now updates alliance info via API key.
  • Fixed optimal to make sure to include charters if charters are being used.
  • Fixed View/Edit POS to display the correct m3 for charters.
  • POS Tower renders updated to the new non-crooked better looking versions.
  • POS Track now loads faster - Thanks Solo Drakban!
  • Refuel button added to ViewPOS for immediate optimal fillup.
  • Buttons!
  • Fuel Bill page sovereignty now only shows if the tower is in sovereignty friendly territory.
  • Various pointless calls to the DB and redundant code removed, speeding up various pages in the tracker.
  • Add a New Tower can now specify charters.
  • Mailer will now display charters if needed.


Some special notes about this transition to fuel blocks(Please Read!):

Hangars - Have been left alone besides removing the "required" column. Trying to decide what to do with these as from what I understand not many people use them anyhow.

Outposts - Have been left alone also. Most likely going to add in manufacturing fuel blocks and some other features when actually getting to this. However you'll still be able to store information on your POS Fuel Block materials.

The config.php file(does not contain your DB information) - This file has been updated to support API proxies so if you have any customization within this file currently you may just wish to copy over the lines of code that have changed instead of replacing your current config file.

Old fuel installers are now gone to remove any possible confusion with people installing those and not having fuel block support.

Current issues and requests can be seen here: http://code.google.com/p/pos-tracker-eve/issues/list

Please donate to continue support of the POS Tracker FGV!

Thank you!
-FG
Suun Ablehart
Parallax Shift
#2 - 2011-09-07 09:48:11 UTC
Your webhost is down T_T

Parallax SHIFT // @SuunAblehart

Recruiting Pilots // Low-sec Pirate Corp

Tracy Katelo
#3 - 2011-09-07 14:22:59 UTC
I'm trying to add an API key via admin.php and get "Error: String could not be parsed as XML"
I also can't seem to register user accounts.

What did/didn't I do to cause this?

Using 5.1.5
Frozen Guardian
The Scope
Gallente Federation
#4 - 2011-09-07 15:13:00 UTC  |  Edited by: Frozen Guardian
Suun Ablehart wrote:
Your webhost is down T_T


It most certainly is. Thanks for letting me know! I should really setup a notification for this server like my others. Ohh silly me.

Edit: Server died. Should be back up and running in a few hours I hope.

Edit2: Backup and running now.
Frozen Guardian
The Scope
Gallente Federation
#5 - 2011-09-07 15:34:01 UTC
Tracy Katelo wrote:
I'm trying to add an API key via admin.php and get "Error: String could not be parsed as XML"
I also can't seem to register user accounts.

What did/didn't I do to cause this?

Using 5.1.5


This can mean a few things but if you can't register user accounts it sounds like you perhaps don't match one of the install requirements.

Things to check:


  1. Do you have curl installed
  2. Register_globals is off.
  3. Try someone's API key even if it's not a ceo/director key as it should still pull in the characters
  4. Make sure you are running PHP 5.1.2+


You can check some of this information by running a phptest file which is explained nicely here: http://www.kirupa.com/web/testphp.htm

If you want I can also look at it directly with you if you wish to message me.

-FG
Tracy Katelo
#6 - 2011-09-08 06:16:03 UTC  |  Edited by: Tracy Katelo
Frozen Guardian wrote:
Tracy Katelo wrote:
I'm trying to add an API key via admin.php and get "Error: String could not be parsed as XML"
I also can't seem to register user accounts.

What did/didn't I do to cause this?

Using 5.1.5


This can mean a few things but if you can't register user accounts it sounds like you perhaps don't match one of the install requirements.

Things to check:


  1. Do you have curl installed
  2. Register_globals is off.
  3. Try someone's API key even if it's not a ceo/director key as it should still pull in the characters
  4. Make sure you are running PHP 5.1.2+


You can check some of this information by running a phptest file which is explained nicely here: http://www.kirupa.com/web/testphp.htm

If you want I can also look at it directly with you if you wish to message me.

-FG

1. Got curl.
2. It's PHP 5 so register_globals is off by default
3. Tried 5 different api keys with the same result
4. PHP Version 5.2.14

What's next?

Edit: It gets the same error trying to update alliance and sov data.
Frozen Guardian
The Scope
Gallente Federation
#7 - 2011-09-09 05:22:04 UTC
Tracy Katelo wrote:
Frozen Guardian wrote:
Tracy Katelo wrote:
I'm trying to add an API key via admin.php and get "Error: String could not be parsed as XML"
I also can't seem to register user accounts.

What did/didn't I do to cause this?

Using 5.1.5


This can mean a few things but if you can't register user accounts it sounds like you perhaps don't match one of the install requirements.

Things to check:


  1. Do you have curl installed
  2. Register_globals is off.
  3. Try someone's API key even if it's not a ceo/director key as it should still pull in the characters
  4. Make sure you are running PHP 5.1.2+


You can check some of this information by running a phptest file which is explained nicely here: http://www.kirupa.com/web/testphp.htm

If you want I can also look at it directly with you if you wish to message me.

-FG

1. Got curl.
2. It's PHP 5 so register_globals is off by default
3. Tried 5 different api keys with the same result
4. PHP Version 5.2.14

What's next?

Edit: It gets the same error trying to update alliance and sov data.


In response to #2. I've had 4 support issues so far where it turned out that it was actually on and a lot of time was wasted so please double check.

If you're getting the same error during ally/sov then something is so not working right. I would clear everything out, re-download the installer and see what happens.

Besides that I wouldn't be sure what to tell ya without me looking at the host itself.

Best of luck,
-FG
Jackten
Malum Mortuus
#8 - 2011-09-09 14:56:13 UTC
New API system broke this fine script :/
Frozen Guardian
The Scope
Gallente Federation
#9 - 2011-09-10 21:30:07 UTC
5.1.6 Released!

NOTE: 5.1.6 Uses the new API system keys ONLY. If you update or install you must use the new customizable api key system.

Version 5.1.5 to 5.1.6 Changes:

  • Support for the new API system.
  • PHP Mailer Updated to work with PHP 5.3 installs.
  • Mailer will now email subadmins on critical fuel alerts.
  • Mailer will now recognize if admin or subadmins put their email status to away.
  • Mailer's emails current, status, required, optimal, and difference all work correctly now.
  • Industrial Jobs can now pull in all APIs currently listed within the tracker instead of just the first one only.
  • Fuel Calc now shows charters on towers that need charters.
  • Fuel Calc/View POS m3 Total Size/Total Difference no longer adds charters if the tower doesn't require charters.
  • Fuel Calc can now do Partial Fuelup based on what's listed in ship cargo capacity. Informs you of how much additional time you can get but doesn't not check if the tower can actually hold that much m3.
  • Fuel Calc now has a simplified version of Optimal and Partial Totals. - Special Thx towards Kismeteer
  • Edit POS no longer shows charters on towers that don't need charters.


I wanted to do more with partial totals and simplified versions before releasing 5.1.6 but due to the need of supporting the new API keys it was put on hold until a future release.

Downloads can be gotten here: http://iceneko.com/eve/

Let me know if you have any problems!
-FG
Kismeteer
Bat Country
Pandemic Horde
#10 - 2011-09-10 21:45:52 UTC
Looking forward to this patch, the new API change over should be 'fun' for us. You did the right thing getting this out as is, sounds like enough changes.

A heads up though, anyone with a ' in their name or corp name is still unable to use the pos tracker. If you are affected by this, I recommend you use a different character in the same corp with the rights. And don't allow anyone in named "Imaspy' drop tables;".

Also, for those of you who are also managing massive amounts of pos's from different corps, I recommend using two accounts: one for your main with all the admin privs and can view everyone's pos's, and then one for your main fueler corp with no admin or secret rights, so you get a slimmed down list of pos', plus you are not annoyed by corps who don't know how to fuel properly.

Other things that would be really helpful: Sort on stront timer, sort on 'last update' so you can easily find dead but not deleted pos's, and somehow highlight pos's that have the default pos name and 0 LO3/HW usage, as those are most likely not setup to fuel correctly. Would love you to pull liquid ozone bridge levels as well (though we have our own bridge levels system) as you only have one bridge per system, easy to figure out how much LO3 you need.

Once again, a great tool, highly recommend it's use to anyone managing a pos group beyond a certain size.
Gheent
Starshadow Corporation
#11 - 2011-09-12 22:32:07 UTC
I am getting an error when I try to run my crontabs on my host:


Fatal error: Call to undefined function  adonewconnection() in /datasan/www/vhosts/lbbrf.com/httpdocs/pos/includes/dbfunctions.php


PHP Version: 5.2.14

I found a closed item with this same error but the notes provided when closing it were not informative at all ;)

Could you provide the information on how you resolved this please?

http://code.google.com/p/pos-tracker-eve/issues/detail?id=26&can=1&q=adonewconnection#makechanges

Thank you.
Frozen Guardian
The Scope
Gallente Federation
#12 - 2011-09-13 02:34:18 UTC
Gheent wrote:
I am getting an error when I try to run my crontabs on my host:


Fatal error: Call to undefined function  adonewconnection() in /datasan/www/vhosts/lbbrf.com/httpdocs/pos/includes/dbfunctions.php


PHP Version: 5.2.14

I found a closed item with this same error but the notes provided when closing it were not informative at all ;)

Could you provide the information on how you resolved this please?

http://code.google.com/p/pos-tracker-eve/issues/detail?id=26&can=1&q=adonewconnection#makechanges

Thank you.


"Kinda resolved in PMs" basically meant there was no actual solution. We tried pretty much everything for an hour straight on his host to eventually come to no possible reason to why his crons weren't working correctly. This error is usually solved though by making sure the cron is running in php5 as I've fixed that for quite a few people in the past. Which is why it's also pointed out directly in the help section of all POS Tracker installs. So I would make sure this is the case. If you're saying you've confirmed that you're in php5 for all your crons then the only workaround he could get going was

wget -O - -q http://hispostrackerdomain.com/cron_updateallianceinfo.php >/dev/null

Which really isn't much for a solution but his was quite a rare case as the rest have been solved by just pointing to the PHP5 install directory.

-FG
Tracy Katelo
#13 - 2011-09-13 15:57:23 UTC
Might just be me, but the sort criteria seems to be broken and always defaults to system name, regardless of what I set in user panel.
Frozen Guardian
The Scope
Gallente Federation
#14 - 2011-09-13 20:01:58 UTC
Tracy Katelo wrote:
Might just be me, but the sort criteria seems to be broken and always defaults to system name, regardless of what I set in user panel.


I just tried it with no issues at all. So what you can do if you have direct access to the DB is see if the user settings are updating.

In the DB open up pos3_user and look at the user_track settings. If at 0 then no settings have been set and it's still on default. If there's something in there it goes like this

amount of towers displayed (dot) sort selection in numeric form

-FG
Tracy Katelo
#15 - 2011-09-13 21:19:22 UTC
Frozen Guardian wrote:
Tracy Katelo wrote:
Might just be me, but the sort criteria seems to be broken and always defaults to system name, regardless of what I set in user panel.


I just tried it with no issues at all. So what you can do if you have direct access to the DB is see if the user settings are updating.

In the DB open up pos3_user and look at the user_track settings. If at 0 then no settings have been set and it's still on default. If there's something in there it goes like this

amount of towers displayed (dot) sort selection in numeric form

-FG


mysql> select user_track from pos6_user;
+------------+
| user_track |
+------------+
| 10.1 |
+------------+
1 row in set (0.00 sec)

Changing the sort method seems to update the database, but the pos tracker page isn't affected by it.
Mograthi
#16 - 2011-09-14 00:07:09 UTC
Kismeteer wrote:


A heads up though, anyone with a ' in their name or corp name is still unable to use the pos tracker. If you are affected by this, I recommend you use a different character in the same corp with the rights. And don't allow anyone in named "Imaspy' drop tables;".



Code could be changed to use mysql_real_escape_string() as listed here in order to allow inserting of those character names/ corp names with out risking any accidental table drops :)
Frozen Guardian
The Scope
Gallente Federation
#17 - 2011-09-14 19:38:59 UTC
Tracy Katelo wrote:
Frozen Guardian wrote:
Tracy Katelo wrote:
Might just be me, but the sort criteria seems to be broken and always defaults to system name, regardless of what I set in user panel.


I just tried it with no issues at all. So what you can do if you have direct access to the DB is see if the user settings are updating.

In the DB open up pos3_user and look at the user_track settings. If at 0 then no settings have been set and it's still on default. If there's something in there it goes like this

amount of towers displayed (dot) sort selection in numeric form

-FG


mysql> select user_track from pos6_user;
+------------+
| user_track |
+------------+
| 10.1 |
+------------+
1 row in set (0.00 sec)

Changing the sort method seems to update the database, but the pos tracker page isn't affected by it.


Does clicking the links at the top sort correctly? It's using a very basic way to do sorting so I'm not exactly sure where it could be failing for you.

-FG
Xathros
Inferno Technologies
#18 - 2011-09-15 10:29:52 UTC
Hey! I've now brought it to run after I have changed my hosting provider.

One question I still have however:
Is the POS API data automatically fetched, or do I have to click the update button once in a while?

Best regards,
Xathros


Frozen Guardian
The Scope
Gallente Federation
#19 - 2011-09-15 15:24:51 UTC
Xathros wrote:
Hey! I've now brought it to run after I have changed my hosting provider.

One question I still have however:
Is the POS API data automatically fetched, or do I have to click the update button once in a while?

Best regards,
Xathros




If you setup cron jobs then it's automatic otherwise you will have to click the update button once in a while. It's really up to you on this one. If a lot of people use the tracker besides yourself I would recommend setting up cron jobs that do the following:

Alliance/Sov cron every 24 hours - postrackercron.sh
Indy Jobs every 12 or 24 hours - Copy poscron.sh to posjobs.sh and change the file inside to cron_updatejobs.php
Mailer every 12 hours - posmail.sh
POSes every 2 or 4 hours - poscron.sh

This is what usually works for most people though bigger alliances do updates more frequently.

-FG
Tracy Katelo
#20 - 2011-09-15 18:29:53 UTC
Frozen Guardian wrote:
Tracy Katelo wrote:
Frozen Guardian wrote:
Tracy Katelo wrote:
Might just be me, but the sort criteria seems to be broken and always defaults to system name, regardless of what I set in user panel.


I just tried it with no issues at all. So what you can do if you have direct access to the DB is see if the user settings are updating.

In the DB open up pos3_user and look at the user_track settings. If at 0 then no settings have been set and it's still on default. If there's something in there it goes like this

amount of towers displayed (dot) sort selection in numeric form

-FG


mysql> select user_track from pos6_user;
+------------+
| user_track |
+------------+
| 10.1 |
+------------+
1 row in set (0.00 sec)

Changing the sort method seems to update the database, but the pos tracker page isn't affected by it.


Does clicking the links at the top sort correctly? It's using a very basic way to do sorting so I'm not exactly sure where it could be failing for you.

-FG


Yes, unless i click away to another page on the application or click pos tracker.
123Next pageLast page