Thargoid Bounties

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
davcefai
---- E L I T E ----
---- E L I T E ----
Posts: 400
Joined: Sun Dec 03, 2006 9:07 pm

Thargoid Bounties

Post by davcefai »

Since about Friday of last week the bounties for Thargons have dropped dramatically. A Carrier used to pay 2000 Cr. Now it's 200 Cr. Some ships are yielding as low as 0.1 Cr.

I haven't updated my OXPs, just the nightly build.

Is this a policy change or a bug? It hardly seems worth the trouble to attack the invaders! (Walks away mumbling about how difficult it is to earn a decent living nowadays and all these penny pinching beaurocrats diddling an honest warrior out of his rightful bonuses) .
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Probably an error in the changed display code. Bother.
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 »

There was always a slight inconsistency about whether money is counted in credits or in tenths of credits. There are examples of both behaviours in Oolite. E.g. the awardCredits:-method in script.plist awards the specified amount of credits (not tenths of credits, as erroneously stated in the wiki!). So after an "awardCredits: 100" you are 100 credits richer. Also the bounties are supposed to work this way. On the other hand, prices in equipment.plist are given in tenths of credits. So the price of 300, specified in the equipment.plist for a missile, means that it actually costs 30 credits.

Maybe somehow these two systems of counting money got mixed up in 1.71?

Or, as Ahruman says, only the display got mixed up? In this case the overhaul of description.plist would be to blame.

@ davcefai: Could you, after your next kill, check on the F5-screen how much money was actually awarded? Probably the consoleMessage told you 200 for a carrier, but on the F5-screen your balance increased correctly from (e.g) 10000 to 12000.
User avatar
davcefai
---- E L I T E ----
---- E L I T E ----
Posts: 400
Joined: Sun Dec 03, 2006 9:07 pm

Post by davcefai »

Will do, tonight.

To expand a little on this, it may have happened in stages. Initially the bounty for Terrorizer Frigates seemed to go low. (~5-10 Cr.) I assumed that somebody had decided that they were easy kills.

Then the rest of the lot were downvalued.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Commander McLane wrote:
There was always a slight inconsistency about whether money is counted in credits or in tenths of credits. There are examples of both behaviours in Oolite. E.g. the awardCredits:-method in script.plist awards the specified amount of credits (not tenths of credits, as erroneously stated in the wiki!). So after an "awardCredits: 100" you are 100 credits richer. Also the bounties are supposed to work this way. On the other hand, prices in equipment.plist are given in tenths of credits. So the price of 300, specified in the equipment.plist for a missile, means that it actually costs 30 credits.
Slight? Hah.
Maybe somehow these two systems of counting money got mixed up in 1.71?
That’s my assumption, but it only makes sense if davcefai’s linking it to specific ships is spurious (I love the smell of apophenia in the morning).
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 »

Ahruman wrote:
Commander McLane wrote:
There was always a slight inconsistency about whether money is counted in credits or in tenths of credits. There are examples of both behaviours in Oolite. E.g. the awardCredits:-method in script.plist awards the specified amount of credits (not tenths of credits, as erroneously stated in the wiki!). So after an "awardCredits: 100" you are 100 credits richer. Also the bounties are supposed to work this way. On the other hand, prices in equipment.plist are given in tenths of credits. So the price of 300, specified in the equipment.plist for a missile, means that it actually costs 30 credits.
Slight? Hah.
:wink: Sometimes I love understatement.
Maybe somehow these two systems of counting money got mixed up in 1.71?
That’s my assumption, but it only makes sense if davcefai’s linking it to specific ships is spurious (I love the smell of apophenia in the morning).
I positively guess so (his mentioning of 0.1 Cr bounties points in the direction that it's a general phenomenon). But still the question remains whether the difference is in handling the bounties (= awarding them) or merely in the display string.

My question for the latter case is: Is there perhaps a difference between "bounty-d" = ("Bounty: %d"); (previous to 1.71.1) and "bounty-llu" = ("Bounty: %llu"); (1.71.1)? Specifically: Does "%d" probably refer to credits, and "%llu" to tenths of credits? If so, then we had already hunted it down.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6659
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Commander McLane wrote:
My question for the latter case is: Is there perhaps a difference between "bounty-d" = ("Bounty: %d"); (previous to 1.71.1) and "bounty-llu" = ("Bounty: %llu"); (1.71.1)? Specifically: Does "%d" probably refer to credits, and "%llu" to tenths of credits? If so, then we had already hunted it down.
The difference between the two is that the program expects to read an integer value in the case of %d and an unsigned long long one in the case of %llu. On a typical 32bit system, this is the difference between reading a 4 bytes long integer that can take negative values and an 8 bytes long integer that can only be positive. As you can see, this does not really have to do with the credits / tenths of credits thing.
User avatar
Hoopy
---- E L I T E ----
---- E L I T E ----
Posts: 438
Joined: Wed Oct 03, 2007 8:54 pm
Location: Durham, England

Post by Hoopy »

I always thought thargoid carriers paid out too much anyway. You can just sit there shooting them and they do nothing to stop you. OK maybe one or two thargoid craft come out but that's just more money for afterwards.

Perhaps they need a dozen plasma turrets?
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

5t seems to me that a Thargoid carrier, should be hugely wel equiped with launchable interceptors of some kind. Maybe they should have like 50 thargons or something? They should probably also have a decent escort.


I know thargoids are not human, and should not be expected to have human-like battlegroups, but it just does not make any sense to stick an undefended carrier someplace, and for it to not launch its guys.
User avatar
davcefai
---- E L I T E ----
---- E L I T E ----
Posts: 400
Joined: Sun Dec 03, 2006 9:07 pm

Post by davcefai »

This refers to OOlite 1.72 / Apr 27 2008.

I can confirm that there is a bug is in the display. The bounties for all ships seem to be being divided by 10 in the messages but the "correct" amount is being paid out.

This bug extends to the text of contract descriptions. The numbers in the text are 1/10th of those in the table.

However my original comment about low bounties for Thargoids still has some relevance. Some of the bounties seem rather low. The following figures are from one battle and the kills are in chronological order:

Entity Awarded Displayed
-----------------------------------------------
Invader 114 11.4
Cruiser 5 0.5
Terrorizer 3 0.3
Terrorizer 80 8.0
Satellite 100 10
Carrier 2000 200
Carrier 2000 200

Later on:
Imp Courier 27 2.7

It seems strange that the Cruiser, which is quite a bruiser :lol: only fetches 5 Cr. Also I remember that Battleships, which can make you break into a mild sweat, also score low.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

davcefai wrote:
It seems strange that the Cruiser, which is quite a bruiser :lol: only fetches 5 Cr. Also I remember that Battleships, which can make you break into a mild sweat, also score low.
That is because of a bug in the code. A_H tried something new in this release. He even mentioned it in the readme but never tested it. In the ship definition of bounty he writes:

<integer>2[d100_number]</integer>

He intended to generate a random number between 200 and 299. But this can not work because automatic string replacement only happens with script.plist. (and even there for selected lines). Result is that it only sees the 2.
User avatar
matt634
Deadly
Deadly
Posts: 206
Joined: Tue Mar 21, 2006 6:32 pm
Location: Colorado, USA

Post by matt634 »

The Navy pays Reservists 250 for a cruiser and 500 for a battleship. High Command felt the increase was necessary in order to attract and keep skilled pilots in reserve service because they do not earn a regular salary and depend on bounties and bonuses.

I am considering... hhrrrmm... I mean High Command is considering increasing these bounties further, perhaps to 500 and 1000 respectively.
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

Ahruman wrote:
I love the smell of apophenia in the morning).
You made me replay more than half way trough Monkey Island 3 to get this, so have the decency to at least smirk!
The Lost Welshman: "This is Skull island, a place of evil and unspeakable horrors, named after the skull-shaped rock on its top."

Guybrush Threepwood: "It looks like a duck to me!"

The Lost Welshman: "Well, yeah, it's a matter of angle. You have to squint and tilt your head to see it properly"

Guybrush Threepwood: "When I squint and tilt my head, it looks like a bunny!"



(later on) "I still say it looks like a duck!"
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
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 »

<smirks> :wink:
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

davcefai wrote:
I can confirm that there is a bug is in the display. The bounties for all ships seem to be being divided by 10 in the messages but the "correct" amount is being paid out.
Fixed.
This bug extends to the text of contract descriptions. The numbers in the text are 1/10th of those in the table.
Also fixed. (Be on the lookout for more of these.)
Post Reply