Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
80 user(s) are online (50 user(s) are browsing Forum)

Members: 1
Guests: 79

SWAT_OP-R8R, more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +165€

Current balance: 105€
(last updated 02/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 33 users playing Freelancer on 37 servers.
April. 20, 2021

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Freelancer Supply/Demand
Just popping in
Joined:
2/3 15:10
Group:
Registered Users
Posts: 1
Offline
Hello everyone,

First off I apologize if this has already been asked in the past, but I am tired of searching on the internet and not finding anything close to what I want to know.

In freelancer, when you buy a commodity, you can always fill your ship with as much as you can carry, right? I am wondering if there is a mod/patch or something that can change the supply and demand within the game, single player?



Posted on: 2/3 20:23
Top
Re: Freelancer Supply/Demand
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1985
Offline
There's a mechanism to randomise the price, which might not be exactly what you want, but perhaps good enough. I don't think anyone's made a full mod out of it, though, so you'd still have to DIY. Hm, I might be able to create a plugin to create a random variance...

I believe EOA was working on a "real economy", but not sure if it ever got finished/released (going back through Pidgin logs it seems it was working, but never released). I was given the source, but wasn't able to compile it and my interest had waned by then.

Posted on: 2/4 1:23
Top
Re: Freelancer Supply/Demand
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 106
Offline
@rightous:
Code:
Freelancer.exe, 37ECB,
C7 44 24 44 00 00 00 7F
-->
89 44 24 44 90 90 90 90,
market files control items in stock (MarketGood = <item nickname>, <required level>, <required rep>, <minimum>, <max in stock>, <full resale>, <price multiplier>) ~adoxa, M0tah

Is this what you're looking for? (See also here and here.)

@adoxa:
Quote:
Hm, I might be able to create a plugin to create a random variance...

Thoughts:

  1. Create a non-uniform range for the price?

  2. Avoid having to include price_multiplier for every base? (Maybe a patch suffices here?)

  3. Configurable variant of the above (for each commodity/base combination)?



Posted on: 2/5 17:11
There is always something to do.
Top
Re: Freelancer Supply/Demand
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1985
Offline
My thinking was you could install the plugin into dacom.ini, which would give you a random variance for each session (need to exit FL to get new values); or install into freelancer.ini, which would give you a random variance each time you load a game. This is different to price_variance, which gives you a random variance (up to a max of what you specify) every time you dock. You seem to be asking for a simplification of the market ini itself.

1. Not sure what you mean.
2. Not sure that's worth effort - how hard is it to copy the value?
3. Isn't that what exists now? Maybe you need to elaborate.

Posted on: 2/6 2:30
Top
Re: Freelancer Supply/Demand
Quite a regular
Joined:
2015/1/18 12:56
From The Hague, EU
Group:
Registered Users
Posts: 106
Offline
Quote:

My thinking was you could install the plugin into dacom.ini, which would give you a random variance for each session (need to exit FL to get new values); or install into freelancer.ini, which would give you a random variance each time you load a game. This is different to price_variance, which gives you a random variance (up to a max of what you specify) every time you dock.

Aha! Can this reduce price variance abuse? And: is it suitable for MP?

Also, it eliminates the need for the points in my previous post.

Posted on: 2/6 16:59
There is always something to do.
Top
Re: Freelancer Supply/Demand
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 1985
Offline
Quote:
Can this reduce price variance abuse?

It's SP, anything you do in SP is your own business. My understanding in MP is you get kicked, so it's unusable.

Quote:
And: is it suitable for MP?

Not without a whole lot more effort, having to send the variance to the server (or disabling the worth cheat detection, which is probably not a good idea). Actually, I suppose the server would want to determine the variance and send it to the clients. Unfortunately, you're definitely a decade too late for that...

Posted on: 2/7 0:41
Top
Re: Freelancer Supply/Demand
Just can't stay away
Joined:
2008/5/9 17:27
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 243
Offline
If you want to try it online join HHC

Posted on: 2/7 15:13
Top
Re: Freelancer Supply/Demand
Just popping in
Joined:
1/22 12:23
Group:
Registered Users
Posts: 12
Offline
Anything for everyone should ideally be server managed, then clients draw on that resource, but since FL uses local files for that, I don't know how that would be possible. Librelancer is an in-development, new client for Freelancer, which is open-source code. That should enable us to write server-to-client functionality right into it, but MP is still in very early stages, as is much of the client. It is still shaping up very nicely, and I'd recommend keeping an eye on its development.

Posted on: 2/9 7:39
Top
Re: Freelancer Supply/Demand
Just can't stay away
Joined:
2012/5/22 20:21
Group:
Registered Users
Posts: 210
Offline
FLAC has a fully working dynamic economy plugin that can be customised for mods etc. I used it on one of my mods for years, worked like a dream. That was based on player supply and demand, and you can see the prices changing on a regular basis in real time.

If you want to do the same in SP, that's not really possible but you can make the prices change with a price randomiser which works just fine

>> Update for SP

Price randomiser code goes like this and has to be added to every base.ini file

[BaseInfo]
nickname = Li01_03_Base
start_room = Deck
price_variance = 0.001

That will give a reasonable price variance which changes all the prices for everything on that base. Includes commodities and equipment and ship prices.

price_variance = 0.001 - gives a 0.1% difference in price
price_variance = 0.01 - gives a 1% difference in price
price_variance = 0.1 - gives a 10% difference in price

Posted on: 2/11 17:52
Top