Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Jan 19, 2018 9:07 pm

All times are UTC




Post new topic  Reply to topic  [ 76 posts ]  Go to page Previous 1 2 3 4 5 6 Next
Author Message
PostPosted: Sun Jan 04, 2015 1:46 am 
Offline
Competent
Competent
User avatar

Joined: Sat Jan 03, 2015 2:32 am
Posts: 50
Location: Yep, stuck in Oresrati. Again...
Even though alot of the info is going over my head this allows me to over come one of the big obsticles in one of the oxps I am planning. So it would work if say you dock at a station and you change to a mega ship and once you finish a mission you could change back to your normal ship?

_________________
Now with 100% less Wonderworm!


Top
   
PostPosted: Mon Jan 05, 2015 3:38 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6262
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
Flying a WonderWorm. So? What else would a 13 year old power frantic like me fly?
Smivs will be happy to know his 'monstrosity' has a fan.. :lol:

Welcome aboard, by the way! 8)

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
PostPosted: Mon Jan 05, 2015 11:21 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Quote:
it would work if say you dock at a station and you change to a mega ship and once you finish a mission you could change back to your normal ship?
This is the goal of this helper. You can read the usage in the [EliteWiki] wiki and check the code in [EliteWiki] Combat Simulator, but OXPs can make surprises. The documentation of Ship Storage Helper show more OXPs which got special support to work and I am not sure that there is no more. I need a bugreport from players about the missing support if any.

_________________
OXPs by Norby


Top
   
PostPosted: Mon Apr 13, 2015 9:28 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Ship Storage Helper v0.24 is available in-game in the Miscellaneous category:
- Fixed equipment restore if a required equipment comes later in the list (thanks to QCS).
- Fixed Shield Cycler cashback at ship restore.

_________________
OXPs by Norby


Top
   
PostPosted: Thu May 07, 2015 5:17 am 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1872
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Norby, I think there's a problem with restoring the HUD. For instance, if I run a combat sim, and finish the run, when it redocks me I end up with the default HUD.

_________________
My OXP's


Top
   
PostPosted: Thu May 07, 2015 3:56 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Ship Storage Helper does nothing with the hud and I think this is not a task here. HUDSelector should restore your hud if you use it, without this you must install only one hud or the hud must be scripted well to come back in this case also.
So which hud you use and do you have HUDSelector or not?

_________________
OXPs by Norby


Top
   
PostPosted: Thu May 07, 2015 11:43 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 1872
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Yes, I have HUDSelector, and I was using a customised version of the Coluber HUD. I'll do some further tests and come back to you.

_________________
My OXP's


Top
   
PostPosted: Tue Jun 02, 2015 12:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 08, 2007 10:59 pm
Posts: 545
Location: Netherlands
Norby,

Day's issue with SC described here hasn't been solved by latest change.

(also posted in linked thread)

I looked at the code of Ship Storage Helper and Day's issue is not solved.

I do not intend for Shleld Cycler to become PortableBetweenShips , but putting the ship in storage and retrieving it with SC intact should be possible .

Currently i see 2 problems for SSH :

- replaceShip calls playerBoughtNewShip, this triggers SC to remove all traces of SC and give some cash back.
to avoid the cashback, SSH resets SC values .

- upon retrieval of the ship, SC should be restored but they aren't atm.

I think the following approach should work to solve all problems :

- add 2 methods to shield Cycler :

Method A : Store SC values
copy SC Values to a temporary object using JSON , include a flag in this object to signify failure / success
reset SC values in savegame
return the temp object

Method B : retrieve SC Values
calling oxp needs to pass an object holding SC values
SC applies the values (similar to what it does on savegame loading)
return a flag to signal failure/success

SSH should then do this :
before replaceShip , call SC Method A
verify if SC Method A was succesfull
store the Object holding SC values in an SSH savegame var

Upon retrieving the stored ship :
retrieve the SSH savegamevar holding the SC values to a temp object
call SC Method B, passing the temp object
verify if SC Method B is succesfull

_________________
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

I am subscribed to the threads for my oxps, if you need my attention just post in them or send a pm.


Top
   
PostPosted: Tue Jun 02, 2015 8:12 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Quote:
I think the following approach should work to solve all problems
Ok, if you plan to extend your variables in the future then we should do this to avoid constant SSH updates after each new variable. If you release the new SC then I will make a new SSH.

_________________
OXPs by Norby


Top
   
PostPosted: Tue Jun 02, 2015 9:22 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 08, 2007 10:59 pm
Posts: 545
Location: Netherlands
The stored variables will be extended in the near future (latest time would be when i add the capacitor devices from shieldequalizer+capacitor oxp) , so this is future proof.

I'll let you know when i've added the methods, they'll be in SC Next 1.11.2 .

_________________
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

I am subscribed to the threads for my oxps, if you need my attention just post in them or send a pm.


Top
   
PostPosted: Thu Jun 18, 2015 7:11 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 08, 2007 10:59 pm
Posts: 545
Location: Netherlands
Norby,

I just released Shield Cycler Next 1.11.2 .
It includes 2 new functions for use by Ship Storage Helper, wiki has details about them.

LVV

P.S. Isn't it time to remove Trunk Only from thread title ?

_________________
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

I am subscribed to the threads for my oxps, if you need my attention just post in them or send a pm.


Top
   
PostPosted: Thu Jun 18, 2015 10:53 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Quote:
I just released Shield Cycler Next 1.11.2 .
It includes 2 new functions for use by Ship Storage Helper, wiki has details about them.
P.S. Isn't it time to remove Trunk Only from thread title ?
Thanks! The owner of the title is Capt. Murphy who is missing.

_________________
OXPs by Norby


Top
   
PostPosted: Sat Aug 01, 2015 12:21 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 08, 2007 10:59 pm
Posts: 545
Location: Netherlands
Norby,

Latest Shield Cycler and Shield Cycler Next now both include the functions needed for SSH.

_________________
OS : Arch Linux 64-bit - rolling release

OXPs : My user page

I am subscribed to the threads for my oxps, if you need my attention just post in them or send a pm.


Top
   
PostPosted: Sat Aug 01, 2015 8:41 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon May 20, 2013 9:53 pm
Posts: 2440
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Quote:
Latest Shield Cycler and Shield Cycler Next now both include the functions needed for SSH.
Thank you. Ship Storage Helper v0.25 use these and updated to store and restore the new writable ship properties in Oolite 1.82.

The name of your ship is saved also which help selecting ships in [wiki]Hyperspace Hangar[/wiki]. I recommend to name your ship in the Ship registration interface using the Random_Player/Ship_Name addon for various name ideas.

_________________
OXPs by Norby


Top
   
PostPosted: Wed Aug 05, 2015 7:26 pm 
Offline
Deadly
Deadly
User avatar

Joined: Sat Apr 18, 2015 5:36 pm
Posts: 132
Location: Los Altos, CA, USA
Hello Norby.
I'm going to assume that you maintain this thread, judging from previous posts.
Does ship storage helper contain a value for keeping track of passenger berths?
Some of my users for Hyperspace Hangar have had a problem where they put in multiple berths, and get back one.

_________________
That is not my desk.
I find this lack of milk... disturbing.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 76 posts ]  Go to page Previous 1 2 3 4 5 6 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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:
cron
Powered by phpBB® Forum Software © phpBB Limited