Page 68 of 70
Re: Random Hits OXP
Posted: Fri Oct 20, 2017 2:44 pm
by MostlyHarmless
Yes - I'm running 1.84. I'm wondering if it's because I started the missing running Oolite on Windows then moved to Linux and just copied the commander over. Maybe there is some state / config that didn't make it across...
Re: Random Hits OXP
Posted: Fri Oct 20, 2017 2:47 pm
by MostlyHarmless
Cody wrote: ↑Fri Oct 20, 2017 2:41 pm
I'm not sure if an entity dump (pause+0) works in a deployment build. One of the boffins would know.
I've just tried it. Left the space station, pressed "p" for pause and then pressed "0". Nothing appeared on the screen and nothing appeared on the console where I launched oolite from either. I'm guessing that this is disabled in the main release...
Re: Random Hits OXP
Posted: Fri Oct 20, 2017 9:53 pm
by phkb
Debug info would appear in the latest.log file, not on the screen. See this
wiki page for info on how to find the file on your computer.
Re: Random Hits OXP
Posted: Fri Oct 20, 2017 10:04 pm
by Cody
It would display a debug message on-screen though.
Re: Random Hits OXP
Posted: Fri Oct 20, 2017 10:13 pm
by another_commander
Cody is right. Pause followed by 0 to dump entity list works only with the Test Release builds of the game.
Re: Random Hits OXP
Posted: Sat Oct 21, 2017 6:25 pm
by Diziet Sma
MostlyHarmless wrote: ↑Fri Oct 20, 2017 2:44 pm
I'm wondering if it's because I started the missing running Oolite on Windows then moved to Linux and just copied the commander over. Maybe there is some state / config that didn't make it across...
Game save files are cross-platform compatible.. so long as the version of Oolite is the same in both cases, you should be fine.
(But do be sure that the Linux version you use was installed directly from Oolite.org, and
not Devuan's repository. Oolite uses customised versions of a number of libraries, and we find that package maintainer's builds tend to just link to their standard libraries, leading to all kinds of problems. The custom libraries are bundled with Oolite, and won't cause any problems with the rest of your Linux install, as they're invisible to the system.)
Re: Random Hits OXP
Posted: Mon Nov 06, 2017 11:17 am
by montana05
Well, this was the first time my targets didn't show up as well:
after accepting the mission the system wasn't marked like usually
when I arrived there (Xexeti G1) no sign of the target, even the long range scanner didn't show anything
docking twice (main station and pirate cove) and still no signs
finally after docking at the spacebar the destination changed suddenly to Isveve G1 but only on the F5 &F6 screens,
bb still shows Xexeti
canceled the mission, the bb is gone and F5 still shows the mission for Isveve
restarted the game from scratch, docked again at the spacebar bb shows Xexeti while F5 & F6 shows Isveve
Maybe a new feature to make the targets travel but I personally doubt so
Re: Random Hits OXP
Posted: Mon Nov 06, 2017 8:30 pm
by phkb
montana05 wrote:
docked again at the spacebar bb shows Xexeti while F5 & F6 shows Isveve
Quick question: are you using the Bulletin Board System OXP and the Contracts On BB OXP, moving all the Random Hits contracts onto the Bulletin Board? Sorry if that's confusing, but I'm just trying to determine if RH is actually responsible or if it's 3rd party interference.
Re: Random Hits OXP
Posted: Mon Nov 06, 2017 11:58 pm
by montana05
phkb wrote: ↑Mon Nov 06, 2017 8:30 pm
montana05 wrote:
docked again at the spacebar bb shows Xexeti while F5 & F6 shows Isveve
Quick question: are you using the Bulletin Board System OXP and the Contracts On BB OXP, moving all the Random Hits contracts onto the Bulletin Board? Sorry if that's confusing, but I'm just trying to determine if RH is actually responsible or if it's 3rd party interference.
I am using both of the OXPs so the problem could be there as well. I admit I didnt check if Isveve got marked when I accepted the contract, bb was good enough for me. If required I got 2 saved games I could send BUT its my test setup so neither the ship nor some of the equipment are published yet.
Re: Random Hits OXP
Posted: Tue Nov 07, 2017 12:33 am
by phkb
montana05 wrote: ↑Mon Nov 06, 2017 11:58 pm
I am using both of the OXPs so the problem could be there as well.
Ah, OK. I'll do some digging at my end as well.
Re: Random Hits OXP
Posted: Tue Nov 07, 2017 2:02 am
by montana05
phkb wrote: ↑Tue Nov 07, 2017 12:33 am
montana05 wrote: ↑Mon Nov 06, 2017 11:58 pm
I am using both of the OXPs so the problem could be there as well.
Ah, OK. I'll do some digging at my end as well.
Just had a similar experience again:
bb didnt show up at F4 first, I needed to go to F5 and back before it appeared
I took a contract to Zaerla from bb
Zasoceat was marked instead, F5 shows this destination while bb still insist on Zaerla
Re: Random Hits OXP
Posted: Tue Nov 07, 2017 3:38 am
by phkb
Could you send me a save game with this situation in play? Thanks!
Re: Random Hits OXP
Posted: Sat Jan 20, 2018 11:53 am
by montana05
[script.javaScript.exception.ooliteDefined]: ***** JavaScript exception (Random_Hits 1.11.3): Error: System.addGroup: Invalid arguments (67) -- expected number (positive count no greater than 64)
Actually not an error from Random Hits, just an overflow of grieving relatives after me. Btw, did the restriction to 64 exist before ? I believe I spawned more than that in tests.
Re: Random Hits OXP
Posted: Tue Feb 27, 2018 4:19 pm
by RockDoctor
I'm trunding along with random hits turning up from time to time, which is fun.
I particularly like the insulting descriptions that turn up for the various miscreants when their terminal laser-tan is being proposed for the goat-sucking smegheads. I had a look through the code and see that in some way these are generated by random (?, -ish?) selection from phrases within or around the variable "random_hits_prejective1c" list in oolite.oxp.spara.random_hits.oxz/Config/descriptions.plist and thereabouts.
Is there some relatively easy way to pull the code and (with some modifications) have something like a "Creationist insulting description generator" for ... well, you can probably guess who my targets are. I'm probably thinking something along the lines of a (local) web page on the lines of the "Daily Mail headline generator" ("Will underage mums affect your breast cancer negative equity?").
Actually, I'm sort of answering my own question, aren't I? Grab a headline generator's J(Script), modify the fixed and variable texts (with acknowledged starting material from Spara's work), then let rip for an easy-insult generator. Which, given my target's habits of randomly quoting well-answered questions from RandomGodSquad.org , is an insultingly automated form of insult generation.
Re: Random Hits OXP
Posted: Tue Feb 27, 2018 5:03 pm
by spara
All credit for that random text generation and especially for the content goes to Little Bear. This oxp is one of the oldest oxps still around I think. The original was done way before my time here and actually before it was possible to script with javascript. To my understanding, it was Eric Walsh that made the initial conversion to javascript. I'm responsible for modernizing the oxp by updating the models with more up to date ones, doing my best to modernize what I could of the script s and AIs and such and stuff like adding the f4-interface, taming the market and so on.
In short, I can't really say a thing about the sentence generator. I'm just happy it seems to work and does not need fixing
.