Oolite Bulletins

For information and discussion about Oolite.
It is currently Mon Mar 25, 2019 5:17 am

All times are UTC




Post new topic  Reply to topic  [ 25 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Sat Jul 12, 2014 7:29 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri May 30, 2014 4:07 pm
Posts: 827
Would it be too ambitious to propose creating something that alters markets based on assumptions of trade in local (within one jump) systems over time, with occasionally resets of other modifying factors?

For example, there is a tech 4 commie agro planet next to Xexedi (tech 14) in galaxy 1. You'd think computers and machinery would get saturated there over time?

_________________
--
Image
Pilot: Mossfoot - Ship ID: Viaticus Rex (Cobra MKII)
Rank: Competent - Status: Clean

http://www.noahchinnbooks.com/


Top
   
PostPosted: Sat Jul 12, 2014 8:10 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4018
True, though the output from Xexedi gets split between seven agricultural systems and three mixed systems - and the only other properly industrial system in the region is Lerelace.

If I redo the OXP for 1.80, I'll just directly use the trader volume, which 1.80 calculates based on the government and economy of the local group.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Sat Jul 12, 2014 8:47 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6310
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
The current release won't work very well with OXPs which keep secondary markets over save/load
Could you elaborate on that a little, please? I have Spara's In-System Market Restore installed as well, and am wondering if perhaps both together is not a good idea at present, in light of the above.

_________________
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: Sat Jul 12, 2014 9:30 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4018
Quote:
Could you elaborate on that a little, please? I have Spara's In-System Market Restore installed as well, and am wondering if perhaps both together is not a good idea at present, in light of the above.
Essentially the secondary markets may be adjusted again when you reload (depending on whether Spara's OXP runs before or after this one). Simple hack to avoid that: change
Code:
if (!ship.isStation) { return; }
at the top of the shipSpawned function in risk-based-economy.js to
Code:
if (ship != system.mainStation) { return; }
and it'll only apply to the main station markets from then on.

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Sat Jul 12, 2014 10:16 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6310
Location: Aboard the Pitviper S.E. "Blackwidow"
Ok.. thanks!

_________________
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: Sat Jul 12, 2014 2:17 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Aug 15, 2012 4:19 am
Posts: 2549
Location: Finland
FWIW, market restore oxp restores the market (or tries to) on shipSpawned.


Top
   
PostPosted: Mon Sep 15, 2014 8:37 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4018
A reworking of this for 1.81

The basic principle is the same but the internal implementation is quite different (and the prices may well differ a bit from the original)
http://compsoc.dur.ac.uk/~cim/oolite/Ri ... my_2.0.oxz

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
PostPosted: Tue Sep 16, 2014 12:34 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1396
YEEAH!!!


Top
   
PostPosted: Tue Nov 14, 2017 7:10 am 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Mon May 31, 2010 11:11 pm
Posts: 1996
Quote:
A reworking of this for 1.81

The basic principle is the same but the internal implementation is quite different (and the prices may well differ a bit from the original)
http://compsoc.dur.ac.uk/~cim/oolite/Ri ... my_2.0.oxz
Link seems broken. :(

New link in post below mine does indeed work.

I'm looking for javascript logic to work with the economic model used in Oolite v1.82 and later.
I've seen a couple OXPs/OXZs that work around the economic model but never with it. :P

I'm trying to come up with formulas to generate lowest and highest prices for a system for any given "common" (non-OXP) commodity.
Best I can do so far is use:
remotePrice = this._priceForCommodity(commodity,destinationInfo);
...over-and-over again and then pick the lowest and highest ones from the bunch.


Last edited by Switeck on Tue Nov 14, 2017 8:33 am, edited 2 times in total.

Top
   
PostPosted: Tue Nov 14, 2017 8:03 am 
Online
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2251
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
This should work: Risk-Based_Economy_2.0.oxz

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 25 posts ]  Go to page Previous 1 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 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