Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensor page somtimes not work #14

Closed
Caberhagen opened this issue Dec 6, 2014 · 4 comments
Closed

Sensor page somtimes not work #14

Caberhagen opened this issue Dec 6, 2014 · 4 comments
Assignees

Comments

@Caberhagen
Copy link
Contributor

Hi

i see the sensorpage somtimes make a php error.
in case of a ship is near et a enemy planet.

so i can see sensor page over long time when the ship is far away.
but the ship is near the error occurs.

error:

PHP Fatal error: Call to undefined function get_system_planetary_sensors() in /var/www/game/modules/tactical_sensors.php on line 159, referer: https://stfc.mining-pools.ch/game/index.php?a=tactical_moves

@kirirur
Copy link
Contributor

kirirur commented Dec 7, 2014

Hmm,

it could be a work in progress function not stored on github yet.

@Caberhagen
Copy link
Contributor Author

Hi

i found in tactical_sensor.php on line 158, 159 and 160 3 otions of this function.
So now i can say we need the planetary sensors. This is the part the php not can found.
I activated now line 158, is most the same as line 159 just without the planetary sensor.
So it works. But nice thing we can bring the planetary sensors to wrok.

@Kail72
Copy link
Contributor

Kail72 commented Dec 8, 2014

Hi,

get_system_planetary_sensors() is the new version of the sensor core function and is still in test, but if u want, u can grab that version from the repo right now.

Keep in mind that this new version has been "disliked" by most of our players, we could be "forced" to do a rollback to the old version without any warning.

You have been warned :)

@Caberhagen
Copy link
Contributor Author

Thx for your input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants