Factions,
-
heyya guys im woundering if you can put me in the direction of the right tools, im helping the admin out on the server i use (monkey universe) im a fast learner, and i done a little with exe editing, the task i have been asked to do is to edit the common.dll files and the freelancer.exe files as the adming on MU have created some new factions, 3 of them to be persiese but the game does not recognise them, as it clases them as freelancers, so i have been asked to edit the files to change the factions from freelancer,
- can u shine a light on parts i need to edit
- and the tools i need to use
thank u … from boreland
-
Any help at all please, i just need the right tools and a little help
ok what i need done is we have i think 3 factions not working right which are fugitives, stygians and talos sect. All three should start full red with everyone making a new character on the server. But because they dont appear in the factions list when you encounter them the server thinks they dont exist.
So to fix that we need to do the following:
– “(group name)” in common.dll, 0x143C28, 0x143C58 = list of groups (in nickname form) of factions that won’t show up on your reputation screen - either replace the nicknames or write over them with 0x00S (DO NOT change the length of the DLL) ~Bejaymac
The other thing we want to do is disable the players ability to F1 in space rather than fine people for it. The following offset will make it so F1 is only possible when docked.
here’s a hex patch that totally disables F1 during flight, assuming MP - you’ll get interesting results with SP.
File: Freelancer.exe
0A6CCE: 90 90 [ 74 56 ]
0A6CD9: 75 4B E9 77 03 00 00 [ 74 02 B3 01 B9 D0 D2 ]The first line ignores the test for single player, always using multiplayer. The second line jumps to the normal multiplayer code if you’re on a base, but jumps to the function exit if you’re in space. You could try my BDiff utility (which generated the above output) if you want to try diffing the files you have. HTH.
I dont need to send you any files as you have them already. Content.dll is found in the DLL folder in your freelancer directory.
For the freelancer.exe just go into your exe folder in your fl directory and rename the runtimelib.dll to freelancer.exe.
this is the information i have, i tried using HxD (exe editor) and the given codes didnt turn up in find, so im looking for a better tool to use
-
Having a faction show up in the contact list does not require any hex editing. Usually custom ones won’t show up if they don’t own any bases, simply meeting them in space isn’t enough.
-
**There is a chance that will work, I haven’t tested it.
I had a recent experience with exactly this problem. The clan faction I have is the Tau’ri. There were tons of the faction ships flying around but the faction would not show up in the faction list. On the test server I simply changed the planet ownership to the Tau’ri instead of the Liberty Navy. Once I did that the faction showed up in the faction list once I came within scanning range of the base….**
-
I’ll shed a little light on this as i was the one that asked Boreland to look into it as i simply dont have the time to.
What you say LS probably does work as one of the factions the Talos Sect we added owns a base.
However what doesnt happen is when you do encounter them it doesnt make them red to you like it should. The initialworld, empathy and mpnewcharacter.fl files are all set for this faction to be permanantly red.
But if i go on my server and make a new character when i go an encounter this faction they are set to neutral.
So i thought it might be a hex offset that needs changing to make them work right.
Hence why i thought doing this would solve the issue
– “(group name)” in common.dll, 0x143C28, 0x143C58 = list of groups (in nickname form) of factions that won’t show up on your reputation screen - either replace the nicknames or write over them with 0x00S (DO NOT change the length of the DLL) ~Bejaymac
-
Did you add the faction after the character was created? As far as I know if you add a faction afterwards they’ll always be neutral with all players, no matter what their actual empathy is.
-
Nope all were added before as we were forced to do a playerwipe……long story to that one, and they all are still neutral and i really dont want to have to manually edit every player on the server.
-
**Well, I just tested it, it is set in MpNewCharacter.fl. In my mod the players start out in a system populated by the admin faction so I set…
house = 0.0, ss_adm_grp
and created a new char. It started out fully neutral. I deleted that char after closing down the server and client, then changed the setting back to normal which is…
house = 0.91, ss_adm_grp
and restarted and created a new char. Launched and the admin ships were green.**
-
Nothing to say about factions, but that F1 patch is mine. No need to search for anything, just use Search|Goto (Ctrl+G) to jump straight to the hex offset “a6cce”. The bytes in brackets are the original bytes, which should be replaced with the bytes before the brackets. Thus you should be at 74 56, so just type in 90 90.
-
Received a request via email about removing factions from the list. It seems to work okay, so I’ll give it a wider audience. It’s basically the same as the “(group name)” hex edit, using an ini file to set the names rather than hacking common.dll directly. Story factions (as they are known in the code) seem to handle empathy a little differently, so it might not quite work right if you only want to remove it from the list.
Edit: Actually, I think all it’s doing is ignoring the story factions when determining affiliations.