Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Nov 24, 2017 2:57 pm

All times are UTC




Post new topic  Reply to topic  [ 177 posts ]  Go to page Previous 17 8 9 10 11 12 Next
Author Message
PostPosted: Thu Jan 16, 2014 10:41 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
One issue remains: the position of the Superhub is still random, which means that it will be in a different direction and distance from the main station each time you return to the system. Do you want to keep this behaviour?

If not, you could replace all the Math.random() inside the this.spawnHub-function with system.scrambledPseudoRandomNumber(salt), using different integers for 'salt' each time.

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Fri Jan 17, 2014 3:15 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3025
Location: On a famous planet
Quote:
One issue remains: the position of the Superhub is still random, which means that it will be in a different direction and distance from the main station each time you return to the system. Do you want to keep this behaviour?

If not, you could replace all the Math.random() inside the this.spawnHub-function with system.scrambledPseudoRandomNumber(salt), using different integers for 'salt' each time.
Hi Commander McLane. I think I wanna keep that but thanks for the code. If the Stations are spawned ad weird places then I change that.

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
PostPosted: Fri Jan 31, 2014 11:17 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1963
Superhub v1.5 lacks a station script referenced by its shipdata.plist:
11:19:21.609 [script.load.notFound]: ***** ERROR: Could not find script file superhub.js.

Are there plans to add a special script for the station (such as blinking lights, red alert lights, etc) or is this just a minor oversight?


Top
   
PostPosted: Sat Feb 01, 2014 9:46 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3025
Location: On a famous planet
Hi Switeck. No there where no plans for that. So it's an oversight. Thanks for reporting.

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
PostPosted: Sat Feb 01, 2014 4:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1963
Well if you do decide to add one, it'd be cool to have the station launch a bunch of ships really rapidly if it's throwing sparks and presumably about to explode. :twisted:


Top
   
PostPosted: Fri Feb 21, 2014 2:27 pm 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Thu Dec 14, 2006 9:08 am
Posts: 9520
Location: a Hacker Outpost in a moderately remote area
Quote:
Well if you do decide to add one, it'd be cool to have the station launch a bunch of ships really rapidly if it's throwing sparks and presumably about to explode. :twisted:
If the sparks are coming from an attack by a Thargoid Carrier, you'll see exactly that. :twisted:

_________________
The Story — The Career — The OXPs


Top
   
PostPosted: Thu Jun 12, 2014 10:39 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3025
Location: On a famous planet
I noticed under the latest trunk--> Oolite development version 1.79-140612 that ships won't dock anymore at the SuperHub. It doesn't clear its docking corridors.

This was in the latest log:
Code:
    PAGroove_superhubPopulator 1.1
23:13:59.019 [script.load.notFound]: ***** ERROR: Could not find script file superhub.js.
23:14:47.628 [script.load.notFound]: ***** ERROR: Could not find script file superhub.js.
23:46:25.995 [script.load.notFound]: ***** ERROR: Could not find script file superhub.js.
 
Now if I open the contents of my oxp there is a script.js. Will renaming this to superhub.js solve the docking problem or is it something else?

Also I want do enable saving on this station. Can anybody help me with adapting the code?

I can then update the package to 1.6.

Many Thanks in advance.

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
PostPosted: Fri Jun 13, 2014 12:12 am 
Online
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 12925
Location: Corke's Drift
Quote:
I want do enable saving on this station. Can anybody help me with adapting the code?
If you haven't seen it already, this thread may be of help - but I'm only guessing.

_________________
The only good fnord is a dead fnord!


Top
   
PostPosted: Fri Jun 13, 2014 7:31 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2469
Location: Finland
I can sort it out for you. I'll make the changes required and pm them you. Assuming no one else has done it already.


Top
   
PostPosted: Fri Jun 13, 2014 7:41 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3025
Location: On a famous planet
Hi Spara. I appreciate that. Thanks in advance :D.
@ Cody: Thanks for the topic link 8)

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
PostPosted: Thu Jul 03, 2014 9:22 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3025
Location: On a famous planet
See first post.

Thanks to Norby the Superhub. oxp is converted to oxz format so it should be available through the Oolite 1.80 download manager. Thanks to Spara saving is now possible in the hub and some code was cleaned up. For details see first post of this topic or the wiki page. http://wiki.alioth.net/index.php/Superhub.

8)

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
PostPosted: Sun Jul 06, 2014 6:08 pm 
Offline
Thargoid
Thargoid
User avatar

Joined: Thu Jun 12, 2008 6:55 pm
Posts: 5510
I think there may be a problem with the compression in this OXZ. Looking in the log I have the following:

Code:
18:58:45.043 [files.notFound]: Could not read Models/pagroove_superhub_mainhull.dat within OXZ at C:/Oolite/Trunk/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Pagroove.Superhub.oxz
18:58:45.043 [mesh.load.failed.fileNotFound]: ***** ERROR: could not find pagroove_superhub_mainhull.dat
18:58:45.043 [script.addShips.failed]: ***** SCRIPT ERROR: in <anonymous actions>, addShipsAtPrecisely: could not add 1 ships with role 'pagroove_superhub'
.

The .dat file is in the OXZ, but if I try and manually unzip it I get a whole load of errors - looks like the file itself is corrupt? Now trying to download it again, but the OXZ manager is giving me problems too :([/color]

_________________
My OXPs via Boxspace or from my Wiki pages :D.

Thargoid TV
Dropbox Referral Link


Top
   
PostPosted: Sun Jul 06, 2014 7:03 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2427
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
No problem at my machine. You get the same if you download the oxz from the wiki?

_________________
OXPs by Norby


Top
   
PostPosted: Sun Jul 06, 2014 7:32 pm 
Offline
Thargoid
Thargoid
User avatar

Joined: Thu Jun 12, 2008 6:55 pm
Posts: 5510
A direct download from the wiki works, but going via the OXZ manager or via a direct download from addons.oolite.org (the right hand column of the OXZ table) gives a file which won't unzip properly?

But I seem to be having issues with the OXZ manager anyway (see the bug report threads) so it may be linked to that perhaps.

_________________
My OXPs via Boxspace or from my Wiki pages :D.

Thargoid TV
Dropbox Referral Link


Top
   
PostPosted: Sat Jun 13, 2015 11:23 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2427
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
I made a Superhub for Extra Planets OXZ which simply use the features of [wiki]Stations for Extra Planets[/wiki] to place some Superhubs over [wiki]Additional Planets[/wiki].

Ideal for [wiki]Bigships[/wiki] larger than standard docks (like [wiki]Andromeda[/wiki]) and for traders due to there is a rumor about the market capacity of Superhubs will be extended soon.

_________________
OXPs by Norby


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 177 posts ]  Go to page Previous 17 8 9 10 11 12 Next

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited