Ini-file modding
-
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 …!
-
If you hook into the client, it’s as if you inserted a virus into the program; you can do anything the program already can (although I know it’s not totally the same since DLLs have quite a few restrictions on what they can and cannot execute, but they still could do some damage or pry over some valuable data).
-
If you hook into the client, it’s as if you inserted a virus into the program; you can do anything the program already can (although I know it’s not totally the same since DLLs have quite a few restrictions on what they can and cannot execute, but they still could do some damage or pry over some valuable data).
Thanks for the response , FF, sometimes this kind of question is pointedly ignored on some forums.
-
I am not looking to turn this thread into anything hugely controversial. Still, this is, at least to me, an important topic. So….
-
I am not a programmer or a developer. I am a mature (AARP member), knowledgeable layman, who did dabble in DOS debug.com assembly a long time ago. I have a somewhat abstract understanding of how the Windows API works, but much much of it is over my head.
-
My understanding of a hook is, that it is a function in an executable app that can be induced to call an external app, or a library call, not originally written into the app. The hooks themselves are either written in intentionally for a) debugging, b) expanding future functionality, or c) unintentionally due to sloppy programming. Am I reasonably correct so far?
-
Being old and gray, I’m an SP player, not sure I could handle the Wild West out on the net servers, but I am playing about with setting up a LAN server, so I have been exploring the server side topics on the forums, trying to glean the details of server-client interaction, how the process works, how files get read and written, etc.
-
I know if I download a mod, I can scan it for viruses or trojans, and then assume it is trustworthy. But you seem to be saying that that same trustworthy mod could theoretically be a backdoor into my machine were the server side being controlled by someone with questionable scruples. While I appreciate your disclaimer about what dll’s can do, what about the executable? Anything with a read/write function, and internet access is potentially lethal.
-
I understand server admins in general should probably be given the benefit of the doubt as honest, dedicated people, but it is a dangerous world out there. Is anyone advising players about this security hole?
-
I see a big push for anti-cheat apps for the server side of things to prevent exploits by hackers. Has anyone anywhere given any thought to a “sandbox” environment for the players, to keep any potential intrusion at bay? Or is it really just “play at your own risk”?
I know that’s a lot to throw at you, and I don’t expect you to have quick and ready answers, but anyone else care to join in?
-
-
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.
The simple answer is yes you can. I appreciate most usesrs who run a server use FLHook, but it’s not the only thing to use to run a server. I use FLAC which has a dynamic economy plugin that updates on the fly, meaning i don’t have to turn the server off for updates as it does it continuosly.
There are many other hooks you can plug into the server only that stops 99% of clientside ini modding, everything from speed modding, thruster hacks, commodity price changing, cloaks, you name it. I think some of you are being a tad paranoid tbh. Yes there are idiots who try to disrupt servers, trick is to be ready for them, FLAC does an excellent job of protection, not free but seriously worth the expenditure.
-
@Gibbon:
I think some of you are being a tad paranoid tbh. Yes there are idiots who try to disrupt servers, trick is to be ready for them, FLAC does an excellent job of protection, not free but seriously worth the expenditure.
All due respect, Gibbon, but if you are refering to my post, I’m talking from a player’s perspective, not an admin. Are you saying that pirates only exist in the Freelancer universe? If I, we, us, out here in player land are a little paranoid, maybe that’s a good thing. To use a metaphor, wander out into the badlands with a plain vanilla Starflier. If you’re not a little paranoid, you’re probably an idiot, and quickly dead.
I can envision a (Nigerian, French, Somalian, US, N.Korean, Canadian, take your pick) group setting up a cheap game server (not necessarily Freelancer), let it run a few months, hook their stuff to scan player’s machines, and choose just the 1 or 2 that might provide a nice payoff. Say the 14 yr. old who logs in from his CEO dad’s home machine. It’s not inconceivable, I just conceived it.
And I’m not talking about some script-kiddie sneaking a cloak onto his ship and becoming a player-killer. I’m talking about really sneaky hacker intrusions into your servers, people who try their best to keep you from noticing they have been there.
I’m asking if you server admins have really thought about the wisdom of client-side hooks, from the viewpoint of protecting the player machines, not just the integrity of your server game files.
-
Not to this extent. And I agree with Gibbon. You’re being extremely paranoid, mate. That’s fine if you want to be like that, but I’d rather have these hooks that add incredible functionality to this game than worry about people pirating people through a 6 yr old game that has less than 500 people online, at a given time, with the majority of those said 500 being on 15 servers that have been around for years.
-
Not to this extent. And I agree with Gibbon. You’re being extremely paranoid, mate. That’s fine if you want to be like that, but I’d rather have these hooks that add incredible functionality to this game than worry about people pirating people through a 6 yr old game that has less than 500 people online, at a given time, with the majority of those said 500 being on 15 servers that have been around for years.
Actually, I’m a surprisingly “un-paranoid” person. I am, however, a notorious skeptic, and cynical, to boot. The issue doesn’t really affect me, as I indicated, I’m an SP player, and the only MP I do is on my personal LAN. I’m simply making an observation about what I perceive as a potential security hole. You say, “you” (as the admin), want to have this. I understand that. Those features attract players to your servers and the community. I’m asking if you are willing to advise your players about this, and give them a choice on whether they want to expose themselves to this (admittedly) potential threat.
-
Without wishing to seem overly paranoid myself, i have to ask the question, why are most of us using Windows then? Here is an operating system that’s full of holes so does that mean we shouldn’t turn our pc’s on? Of course not, but most of the server admins i know have taken great steps to make their servers as secure as they can, to make the MP experience as safe and interesting for their communities as posible. To not go and play MP for fear of attack is like not wanting to use an internet browser because of possible contamination. Best to sit indoors and not go out really, it’s scary outside
Someone asked about the SP dynamic economy earlier as well. There is one buried in the code but i don’t know how to activate it. Tunicle posted some code that i came across to activate an SP dynamic economy ,which in fact is more a price randomiser that Cold Void originally worked out moons ago, that i reprinted so to speak and that works wonderfully in SP by changing the prices of commodities, equipment and ships everytime you land.