Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Reputation Manager

The general place to discuss MOD''ing Freelancer!

Post Fri Aug 26, 2005 5:47 am

Reputation Manager

I struck on a little idea the other day, but unfortunately the programming resources or knowledge of how to do it is completely beyond my expertise. Basically, the idea is for an IonCross add on patch for servers that enables automatic Reputation Management during maintenance cycles. Basically, on the servers I am involved in, everyone must fly with a tag (like [NR or [IN for example) to represent which side they fly with. But through certain actions (bribes, missions, firing on the wrong side etc...) an IN can make themselves neutral and even friendly with the NR NPC faction. I don't want to take bribes and missions of this nature out completely, because the [CIV's use them to align themselves as they see fit (as do some other minor factions). But there is no way in RP, that an NR should ever become friendly to IN NPC's or vice a versa, these two sides are blood enemies.

So there I am thinking about this problem and I was wondering how hard and what I would need to learn to program a small server side patch that during auto-maintenance, the server scans everyone's tags at the beginning of their names and resets their reputations to a standard reputation format for their faction/tag. For example, the program encounters someone with the [NR tag so it automatically adjusts their reputation within the player file to being friendly with NR and hostile with [IN. Considering things like IonCross already allow manual editting of Reputation and can scan player names, it should be a matter of creating a sub-program to deal with automating the process during maintenance.

Freeworlds Mod Developer
Author of Modular Station

'There is no Good nor Evil in the universe, just perceptions and circumstances.'

Post Fri Aug 26, 2005 6:04 am

Could it be possible instead of making a "bribery" faction that'd be allied with the CIVs but totally ennemy to the NR? So the guy never gives bribe offers to NR?

I don't know if it could be possible, or if it works.

Post Fri Aug 26, 2005 8:35 am

Well i'm pretty sure how i would do it. It would be a different kind of manipulating then the salary program i'm making for our server. Code's not done yet, and i have other projects, but its possible.

I would have the program scan to check if flserver.exe is running every 25 milliseconds. If it isn't, it cycles through the player files, looking at tags. (Note, i do not know if this is possible. If it is, gfy, but otherwise i have no idea how to do it). From the tags it deduces which faction it should be friendly to and which it should be hostile.

It is also possible to turn empathy for that faction off so that you don't knock down your rep by shooting your own side.

Post Fri Aug 26, 2005 9:35 am

Each 25 miliseconds is way to fast for nothing. It could easily go into each 30 seconds, as IonCross takes at least 1 minute of maintainence for medium sized servers.

I do think it's possible too, but it'd need to have an included player file decryptor/encryptor.

Post Fri Aug 26, 2005 10:02 am

Simple!

look for xxxxxxxxxxxxxx in front of the players name in the decoded .fl file, if its that then house = meh_grp, -0.99

Im working on a more advanced version of that now

Post Fri Aug 26, 2005 10:27 am

I wasn't sure if the actual players name is in the .fl file. Too lazy to check

30 seconds? whew, in that case, might as well just check every second.

Post Fri Aug 26, 2005 11:19 am

heres a solution....stop shooting your friends and taking your enemies missions
it actually takes several friendly fire incidents to anger them enough to lose your status as a faction member

Post Fri Aug 26, 2005 12:29 pm

Yeah, but the problem we have is that as much as I try to drum it into the heads of the NR pilots that firing missiles around the WaveFront (one of their own bases) may not be the best idea nor delibrately trying to set it off by directly firing at it and getting the skies raked with 32 Turbo Laser cannons (which always makes an interresting situation to fight in as you have the dodge the other players and the wavefronts huge laser blasts), they still do it.

Also, we have bribes at the nexus to set their factions up to begin with, but there is a number of players who have cottoned on to the fact that the Smuggler bribe will make them neutral to all and take that instead of their own bribe. We don't want to take the smuggler bribe out because it is needed for the Smugglers, but we need to find a way to stop others from taking the wrong bribe and keeping them inline with their faction.

It's just ideas, thats all at the moment.

Post Fri Aug 26, 2005 12:32 pm

all these ioncross modifications (my mod requires a fair number as well) would be easier if joebloomz would just give us his source code. Or if he made it plug-in compatible. that would be SOOOO helpful...

Return to Freelancer General Editing Forum