Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

assorted issues with Random Hits

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

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:

assorted issues with Random Hits

Post by Commander McLane »

I just came across this extermination contract via Random Hits 1.4.10:

Image

Seems that two different personal pronouns are chosen in different parts of the code. This should be avoided, I think.
Last edited by Commander McLane on Wed Feb 22, 2012 11:27 pm, edited 1 time in total.
User avatar
fronclynne
Deadly
Deadly
Posts: 149
Joined: Sun Mar 01, 2009 5:36 am
Location: ::1

Re: Hermaphrodites in the Ooniverse

Post by fronclynne »

If frogs can change sex, why can't tree[oid]s?
User avatar
snork
---- E L I T E ----
---- E L I T E ----
Posts: 551
Joined: Sat Jan 30, 2010 4:21 am
Location: northern Germany

Re: Hermaphrodites in the Ooniverse

Post by snork »

:lol:

but as a Treeoid, it's possible it is a Hermaphrodite, or at least a monoicous treeoid.

I am not sure about Insects, and then there are those rumours about some of them Lobsteroids.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Hermaphrodites in the Ooniverse

Post by cim »

There is a passing reference in The Dark Wheel to Galcop recognising 17 sexes "at this time". Given that, the idea that someone hiring an assassin might not sufficiently respect their target to look up the correct pronoun isn't that surprising. Though guessing two different ones is...

PS. It also provides a fascinating insight into Galcop bureaucracy that they'd managed to get a list of 17, with the clear expectation that it would need to be expanded further, and hadn't yet decided to switch to a write-in box like they use for name, or just abandon entirely the idea of officially recognising the existence of particular sexes.

PPS. Actually, it wouldn't surprise me if the Galcop forms for name had:
[ ] Jameson
[ ] Other, please state ____________
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Hermaphrodites in the Ooniverse

Post by Eric Walch »

Commander McLane wrote:
Seems that two different personal pronouns are chosen in different parts of the code. This should be avoided, I think.
:oops:

Little Bear was very exact with the pronouns and it is stored in a special variable to keep it the same. It worked correct in the version with only 3 different pages, but around line 1025 I forgot to update an index when adding more pages:

Code: Select all

            this.pages[nr].mark_gender = expandDescription("[mark_gender]");
            missionVariables.random_hits_mark_gender = this.pages[i].mark_gender;// must be known later on.
The i in the second line shoud be a nr. Now it used the gender created for the fists page also on some places of the 4th and 7th page. So the first 3 pages are consistent but after that hermaphrodite creatures may appear. :P
A similar mistake is found a few lines lower.
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: Hermaphrodites in the Ooniverse

Post by Commander McLane »

Just downloaded 1.4.12, 'cause I still had 1.4.10.

The error is in line 1006, and the second one is in line 1013, I suppose:

Code: Select all

            missionVariables.random_hits_assassination_board_poster_system = this.pages[i].assassination_board_poster_system; // needed below
User avatar
SandJ
---- E L I T E ----
---- E L I T E ----
Posts: 1048
Joined: Fri Nov 26, 2010 9:08 pm
Location: Help! I'm stranded down here on Earth!

Re: Hermaphrodites in the Ooniverse

Post by SandJ »

Eric Walch wrote:
Now it used the gender created for the fists page
I do hope that's just another typo.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
User avatar
Queex
Above Average
Above Average
Posts: 16
Joined: Sun Jan 15, 2012 7:24 pm
Contact:

Re: Hermaphrodites in the Ooniverse

Post by Queex »

SandJ wrote:
Eric Walch wrote:
Now it used the gender created for the fists page
I do hope that's just another typo.
It's not called 'random hits' for nothing...
I come in peace. That tone you hear is definitely not a missile lock-on. I guarantee it.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Hermaphrodites in the Ooniverse

Post by pagroove »

:D :D
Always loved Random Hits for all its gr8 descriptions!
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
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: assorted issues with Random Hits

Post by Commander McLane »

I was just flying in an Anarchy minding my own business, when suddenly in the distance I saw blue spheres flashing up. Not just one of them, but a, well..., cascade. :roll:

It seems a Seedy Space Bar was annihilated. No idea how that happened with all the sentinel droids.

Anyway, at the same time I got this error message:

Code: Select all

Exception: TypeError: this.ship.comssMessage is not a function
    Active script: oolite-random-hits-spacebar 2.1
    oolite-random-hits-spacebar.js, line 85:
                this.ship.comssMessage(expandDescription("Quirium detected"));
Should be commsMessage (double m, not s).
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: assorted issues with Random Hits

Post by Fatleaf »

I am finding that the distance that the hits are stated to be wrong. They would be nearly always are understated. The last one I took out stated it was about 27 ly away but when I went to the map and looked at the actual distance you had to take to get to it it turned out to be 41 ly away :?

Is there anyway to have the correct distance the player would have to take displayed, not just the straight line "as the crow flies" distance. Because, like, crows don't fly in space! :wink:
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: assorted issues with Random Hits

Post by Switeck »

...And the distance to random hits is pretty brutal -- you never seem to get a hard one that's just a system away.
If a Cobra 3 has to cover 41 LY and back, it could probably have made over 10k credits in that time just doing regular trading.
Something like a Boa 2 or Anaconda might even make as much as 100k credits in that same amount of time.
I don't recall ever seeing a random hit that paid that well, though I've not bothered to become a full-time assassin to find out how much they're worth after you do 100+.
User avatar
Fatleaf
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 1988
Joined: Tue Jun 08, 2010 5:11 am
Location: In analysis mode on Phaelon
Contact:

Re: assorted issues with Random Hits

Post by Fatleaf »

Switeck wrote:
...And the distance to random hits is pretty brutal -- you never seem to get a hard one that's just a system away.
If a Cobra 3 has to cover 41 LY and back, it could probably have made over 10k credits in that time just doing regular trading.
Something like a Boa 2 or Anaconda might even make as much as 100k credits in that same amount of time.
I don't recall ever seeing a random hit that paid that well, though I've not bothered to become a full-time assassin to find out how much they're worth after you do 100+.
You don't have to go back to the Seedy Space Bar that you got the hit. Once completed any main station will do. But 41ly for 8300 credits is a bit disappointing. I am considering cancelling the hit and taking another. What I should do is have two windows of Oolite open and check from one to the other where the actual hit is. But it is really annoying that it can be so far off.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
Greyth
---- E L I T E ----
---- E L I T E ----
Posts: 286
Joined: Wed Feb 08, 2012 1:57 am

Re: assorted issues with Random Hits

Post by Greyth »

I was just flying in an Anarchy minding my own business, when suddenly in the distance I saw blue spheres flashing up. Not just one of them, but a, well..., cascade.

It seems a Seedy Space Bar was annihilated. No idea how that happened with all the sentinel droids.
I turned up at a bar top take a contract and there was a gang war going on? Loadsa ships attacking the space bar. It was like being at a Jean Michel Jarre concert. I dived in and we won but I was sweating!
Oolite 1.76
Debian 6 : Ubuntu 12.04
NVidia 6200 : Radeon/AMD thang
Abit AN7 : Packard Bell TJ74
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: assorted issues with Random Hits

Post by cim »

Switeck wrote:
If a Cobra 3 has to cover 41 LY and back, it could probably have made over 10k credits in that time just doing regular trading.
Well, true, but you can also do regular trading while you're on the way there. Unless you have something like the Qucedi Bottleneck or the Steel Halo to traverse, you can probably get a reasonable route that mostly switches Ind/Agri.

I tend to pick the random hit contracts so that they're roughly in the direction I was going anyway, which helps.
Post Reply