player.bounty doesn't exist in 1.72

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

Moderators: winston, another_commander, Getafix

Post Reply
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:

player.bounty doesn't exist in 1.72

Post by Commander McLane »

Contrary to this post in the progress-thread player.bounty doesn't seem to be defined at all in 1.72. It doesn't even produce a warning that points to player.ship.bounty, like in the other instances of player.foo.

player.ship.bounty works as expected.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: player.bounty doesn't exist in 1.72

Post by Svengali »

Commander McLane wrote:
Contrary to this post in the progress-thread player.bounty doesn't seem to be defined at all in 1.72. It doesn't even produce a warning that points to player.ship.bounty, like in the other instances of player.foo.

player.ship.bounty works as expected.
player.bounty works on my computer. But it is the same like the owner-problem. Oolite doesn't return to the calling function.

You can test it by setting a new value (e.g.100).
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:

Post by Commander McLane »

Another problem is that according to the wiki it shouldn't be so. In the wiki bounty is documented as a player-property, not as a player.ship property.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Ahem. Fixed.
Post Reply