Random Hits OXP

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

Moderators: winston, another_commander

User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Re: Random Hits OXP

Post by LittleBear »

Added an edit. Fly towards the station rather than the planet. You're paths should cross. If you reach the station, flip over and fly back towards the Witchspace beacon. Not all marks are aggressive, so you need to check each contact. Not all will make themselves know by attacking, the may just keep flying normally like a trader when you come across them.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
hayden
Above Average
Above Average
Posts: 26
Joined: Thu Nov 03, 2011 3:30 pm

Re: Random Hits OXP

Post by hayden »

LittleBear wrote:
Added an edit. Fly towards the station rather than the planet. You're paths should cross. If you reach the station, flip over and fly back towards the Witchspace beacon. Not all marks are aggressive, so you need to check each contact. Not all will make themselves know by attacking, the may just keep flying normally like a trader when you come across them.

That was the key, inputting the Witchspace beacon and got him on the way back, only that way can you be sure of being directly on the corridor between the beacon and the S/S. Thanks, got 'im :)
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: Random Hits OXP

Post by Fatleaf »

I spend a bit of my non mission time across the great rift in the seventh octant. But with Random Hits not allowing hits in cut off systems it is a bit annoying. With the number of systems across the rift how hard would it be to allow hits in that area?
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
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: Random Hits OXP

Post by Eric Walch »

Fatleaf wrote:
I spend a bit of my non mission time across the great rift in the seventh octant. But with Random Hits not allowing hits in cut off systems it is a bit annoying. With the number of systems across the rift how hard would it be to allow hits in that area?
No idea what you mean. I never tested this but now I did: There are 3 anarchy systems in that isolated corner at the bottom left. There I get normal missions. For some reason most go to the Onteised system, but I also get plenty of other target systems.

When somebody noticed that the hit descriptions are no longer very random with 1.75.3, than that is correct. On faster computers you should get more than 3 missions, but the 4th looks very much the same as the 1st. I fixed that problem for 1.74 by adding a random number of string expansions before creating the missions. But because that was a waste of cpu cycles, I added code to stop doing that with 1.75. At that time I assumed the problem would be fixed in 1.75. But not :oops: However, it is fixed in trunk, so on the next Oolite release the descriptions will be fully random again. And this time without the idle string expansions.
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: Random Hits OXP

Post by Fatleaf »

I always get this screen when across the rift. But I get offered hits as per normal the other side!

Image
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
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: Random Hits OXP

Post by Eric Walch »

It could be that you are running RH version of 1.4.10 or older. When that version examines a system on the other side of a rift, this message did appear. It was due to a code change in Oolite as the system selection near a rift did work correct on Oolite 1.74. With 1.4.11 of random hits this should not happen. Although system selection might take a bit longer near the rift as some of the random selected systems have to be rejected as unreachable and the code has to search longer.

Together with above message, you got a message in the log that the random hits code was cut-off by the time-limiter.
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: Random Hits OXP

Post by Fatleaf »

I was running RH version of 1.4.10. :oops: That answers that! I will need to check more regularly for updates for all my AddOns!

Thanks Eric. :D

EDIT: I see it is up to version 1.4.12 now!
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
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: Random Hits OXP

Post by Fatleaf »

Another observation with the ranking system. I have been a Great One for a while now and it keeps scrolling through the first bit of the ranks. I was a Vicious Great One, I am now a Newly Appointed Great One! Is there any chance for it to stop scrolling once the player has reached the Greatest rank?
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
sdrubble
Deadly
Deadly
Posts: 234
Joined: Fri Aug 05, 2011 8:30 am
Location: Belo Horizonte, Brazil

Re: Random Hits OXP

Post by sdrubble »

Fatleaf wrote:
Another observation with the ranking system. I have been a Great One for a while now and it keeps scrolling through the first bit of the ranks. I was a Vicious Great One, I am now a Newly Appointed Great One! Is there any chance for it to stop scrolling once the player has reached the Greatest rank?
IIRC from the readme, you can't just earn your rank and sit on your laurels, you should keep 'honoring' it continuously (with ever more contracts) lest it starts to degrade over time. :twisted:

Just like Warhol's '15 minutes of fame for everybody' - you can't be the Greatest forever (unless you keep working hard forever)... :mrgreen:
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: Random Hits OXP

Post by Fatleaf »

I found this in a log while testing something and thought I should report it,

03:30:14.620 [oolite-random-hits-mark]: Mark was killed by: [PlayerShip "Caduceus Omega" position: (-5272.77, -72457.7, 315284) scanClass: CLASS_PLAYER status: STATUS_IN_FLIGHT] Because of: energy damage. Last recorded hit: PLAYER_ATTACK
03:30:14.623 [ai.unpermittedMethod]: Handler "ENTER" for state "GLOBAL" in AI "randomhitstimebombAI.plist" uses "commsMessageByUnpilotted:", which is not a permitted AI method.

Hope it helps.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
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: Random Hits OXP

Post by Eric Walch »

Fatleaf wrote:

Code: Select all

Handler "ENTER" for state "GLOBAL" in AI "randomhitstimebombAI.plist" uses "commsMessageByUnpilotted:", which is not a permitted AI method.
Hope it helps.
It helps, schould have been "commsMessageByUnpiloted:" And in the last release (1.4.12) it was already fixed. Its non critical as you now only miss the warning about an imminent explosion.

With non-critical I look from the side of the code. For the player this info could be vital information of cause. :P
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: Random Hits OXP

Post by Fatleaf »

Eric Walch wrote:
And in the last release (1.4.12) it was already fixed.
Well that's odd as I am using 1.4.12!
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
User avatar
Staer9
---- E L I T E ----
---- E L I T E ----
Posts: 570
Joined: Fri Feb 18, 2011 4:53 pm
Location: Hatfield, Hertfordshire (poor industrial)

Re: Random Hits OXP

Post by Staer9 »

I'm having some problems with this OXP, I've used it on 3 computers, on one everything was as normal, on another there where bars in every anarcy, and on another there where no bars (really, I searched the entire galaxy). all are the same version of both random hits and oolite, all show that the populator is running (in the log at least). the only difference is that the computer that refuses to spawn bars only has simple shader support and the other two have full shader support.
Image
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: Random Hits OXP

Post by Eric Walch »

Fatleaf wrote:
Eric Walch wrote:
And in the last release (1.4.12) it was already fixed.
Well that's odd as I am using 1.4.12!
Its in my version 1.4.12 :P Apparently I noticed only after the release and it will be in a future 1.4.13 release. :lol:
User avatar
sdrubble
Deadly
Deadly
Posts: 234
Joined: Fri Aug 05, 2011 8:30 am
Location: Belo Horizonte, Brazil

Re: Random Hits OXP

Post by sdrubble »

Eric Walch wrote:
And in the last release (1.4.12)...
Well, 1.4.12 seems to have been a "hidden" release. :shock:

While I have just downloaded 1.4.12, I noticed that the Wiki text still states '1.4.11' :roll: ... and I didn't see the post announcing 1.4.12. Deleted post perhaps? :mrgreen:

Cheers :lol:
Post Reply