System.infoForSystem() bug for near systems

For test results, bug reports, announcements of new builds etc.

Moderators: another_commander, winston, Getafix

Post Reply
User avatar
Okti
---- E L I T E ----
---- E L I T E ----
Posts: 700
Joined: Sun Sep 26, 2010 1:51 pm
Location: A GH shop, near witchpoint to Oresrati in Galaxy 8

System.infoForSystem() bug for near systems

Post by Okti »

Hi,

I realized System.infoForSystem(galaxyNumber,systemNumber) returns something strange for near systems.

To reproduce the bug, try System.infoForSystem(7,247) or System.infoForSystem(7,251).
they are two systems in the same position. That is with 1.75.0, if it is corrected in 1.75.1 let me know, because I reinstalled 1.75.0 for a simplified log file.
My OXP's
And Latest Mission Coyote's Run
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: System.infoForSystem() bug for near systems

Post by Commander McLane »

Indeed. In trunk (rev 4496):

Code: Select all

> System.infoForSystem(7,24).name
Xebeis
> System.infoForSystem(7,247).name
_OTHER_GALAXY_
> System.infoForSystem(7,251).name
_OTHER_GALAXY_
Other properties also return _OTHER_GALAXY_.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Re: System.infoForSystem() bug for near systems

Post by another_commander »

I think we may have a solution for this pretty soon.

Okti, there was no need to uninstall 1.75.1. Check here for instructions how to deal with big logs in 1.75.1, in case they give you hassle.
User avatar
Okti
---- E L I T E ----
---- E L I T E ----
Posts: 700
Joined: Sun Sep 26, 2010 1:51 pm
Location: A GH shop, near witchpoint to Oresrati in Galaxy 8

Re: System.infoForSystem() bug for near systems

Post by Okti »

another_commander wrote:
I think we may have a solution for this pretty soon.
Thanks another_commander. I did come across with this first time I was playing UPS missions, some of the system names were _OTHER_GALAXY_ on mission screens.
My OXP's
And Latest Mission Coyote's Run
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6552
Joined: Wed Feb 28, 2007 7:54 am

Re: System.infoForSystem() bug for near systems

Post by another_commander »

The bug should be fixed in r4499.
Post Reply