Ini-file modding
-
It is possible with Lancer Solaris his automatic update script.
Go here http://digitalbrilliance.com/Downloader/index.php?action=downloads&id=28
And when you registred on digital-brillance you can be added to the “registred owners” group to get the latest version.
-
register on the site hehe
-
I am registered, but i am not in the registered users group.
But i think, that i must specify my first question. Is it possible to automatically update an ini-file on the client, when it was changed on the server during freelancer is runnning. I think, that this is needed for a dynamic economy, for example.
-
You cannot modify most of the files while Freelancer (or the server) is running. You need to close them first.
Dynamic economies work by either forcing the server and all clients to shut the program down periodically or by using hooks which dynamically inject new values into the memory without necessarily changing the files.
-
True, with client hooks its possible… but its not easy to get the code for that as it makes the code owner a mighty person because he / she can run everything they want on the client machine.
The best is to use the update program and sync that during the startup of it. -
Only the one who created that code, and until now only 2 persons made that code… w0dka the FLhook developer and Eagle the FLAC developer, wich i would both trust with errr… a picture of my GF…
No kidding, client hooks only are acceseble by the people who create them and upload them in their mods.
-
I’m sure there was a way to make a server-side only dynamic economy? (As in, no client-side hooking)
-
There is a SP dynamic economy… not a MP one… its hidden somewhere inside the files and can be activated.
Don’t think so it’s either hardcoded or player-rank-dependable.
-
There is a limited randomness that can be implemented in SP
I think Gibbon may have posted this but apologies for my memory.
[BaseInfo]
nickname =
start_room =
price_variance = 0.01 <–— varies price by 1%I think this was tested without problem up to 10%.
This isn’t true dynamic but does input an element of randomness, note it will impact on anything that base sells.
-
True, with client hooks its possible… but its not easy to get the code for that as it makes the code owner a mighty person because he / she can run everything they want on the client machine.
The best is to use the update program and sync that during the startup of it.Really, really sorry for the bump, BUT… When you say “everything” do you mean “everything Freelancer” or everything “everything” (ala ActiveX)? 'Cause that’s a really scary thought for anyone thinking about logging into a modded server. I know an ethical admin would (or should) advise about that capability before you join, but what about organized groups with more nefarious intentions?
Don’t mean to be paranoid, but …!