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

Some Patches!

The general place to discuss MOD''ing Freelancer!

Post Sat Jun 18, 2005 3:12 pm

Some Patches!

No, I'm not quite ready to post all of my patches since I want to make sure they are interoperable but I thought I'd post some that are fairly easy. And although few in number (I'll post more later) I hope you'll all find them useful.

The patches in this archive modify the EXE to:
**Make engines sellable/transferrable (finally!)

Click here to get the goods!
--
EDIT: Here's another patch as posted in my latest reply to this thread - thought I should keep this topic updated also.

Here is something to hopefully tide you all over for now - rest assured the rest is coming. Click here to get the Freelancer money patch. What this patch does:

**Sets credit/money limit to $2,000,000,000

NOTE: This works in single player, but all money transactions are handled server-side in multiplayer, therefore a server must be running this patch or a patch of their own making to establish a higher or lower credit limit.

And for the inquisitive - here we are!

HOW THIS PATCH WORKS: It replaces all occurences of the value 999,999,999 in hex (3B 9A C9 FF in hex) with 2,000,000,000 in hex (77 35 94 00) in Server.dll to allow trade transactions of value up to 2,000,000,000 as well as the ability to acquire and hold up to 2,000,000,000. For those who want to learn assembly - please note that hex values in a file <always> appear in reverse order, this is why numbers most often appear as gibberish to the untrained eye. Therefore, the actual code that is being changed in Server.dll with this patch is all hex values of (FF C9 9A 3B ) with (00 94 35 77) - since the order has to be reversed. Also note, that if you attempt to create your own patch, feel free to do so, however, make note that the variable used to store credits is an unsigned integer which means that it cannot have a value greater than 2,147,483,647 - if you exceed this value it will interpret the numbers beyond this value as negative, creating a negative credit limit which would of course not work. Thus why a new value of 2,000,000,000 is set as the new credit limit in this patch - nice and even.

Edited by - Alcander on 6/29/2005 12:32:49 AM

Post Sat Jun 18, 2005 4:20 pm

Nice patches, great work!

You're not gonna tell us how to actually discover such findings in the big .exe though I guess...

Edited by - w0dk4 on 6/18/2005 5:25:47 PM

Post Sat Jun 18, 2005 4:35 pm

Alcander, you may want to consider submiting it to BP and after he runs a check on it, he can post it on the front page and download areas.

Post Sat Jun 18, 2005 5:02 pm

Alternatively, you could just write down at which byte-section which value has to be altered with a hex editor (concerning those tiny changes, where just one or two value has to be altered), then you would not have to write those patches over and over

Post Sat Jun 18, 2005 5:09 pm

@Finalday
Yes, I was planning on doing this but was kinda lazy about it . I'm submitting it as we speak.

@w0kd4
Yes, but I wanted to make it user-friendly to people so anyone could easily say "hey I'd like this" and apply the appropriate patch(es). And also, about what you mentioned and finding things in the EXE, well I already told everyone what debugger and disassembler I used in my other thread, beyond that it just takes knowledge of programming and such to figure such things out. However, if there is something more you want or wish to know feel free to ask.

Post Sat Jun 18, 2005 5:29 pm

"beyond that it just takes knowledge of programming and such "
ok, just thought there was some sort of "trick" lol

keep up the nice work

Post Sat Jun 18, 2005 5:53 pm

Are these detected as cheating on servers? (Like IFSO or the default banning features of FLServer.exe)

Post Sat Jun 18, 2005 6:09 pm

Not to my knowledge no.

I have run IONCROSS on my PC and run traditional FLServer, both without problems.

To everyone who has already downloaded the files in my initial posting please delete them as they require further testing. Instead, redownload the archive to obtain the new patches.

Edited by - Alcander on 6/18/2005 7:28:52 PM

Post Sat Jun 18, 2005 7:02 pm

I may just be the dumbest person on the planet, but I can't get the patch to work. I downloaded it, placed it in the exe folder, went to activate it, and it tell me that Freelancere.exe is already patched. So I uninstall the game and reinstall the game, and it still tell me the same thing. Any ideas?

Post Sat Jun 18, 2005 7:23 pm

Make sure you are using an unwrapped executable (i.e. No-CD version) - as the original executable is SafeDisc protected and has all of its instructions encoded.

Edited by - Alcander on 6/18/2005 8:22:56 PM

Post Sat Jun 18, 2005 7:28 pm

Sorry, I wasn't using th NO-CD patch. Now it works. Thanks.

Edited by - alfa_astrix on 6/18/2005 8:29:50 PM

Post Sat Jun 18, 2005 7:30 pm

Ok, glad you got it fixed.

Edited by - Alcander on 6/18/2005 8:31:23 PM

Post Sat Jun 18, 2005 7:36 pm

I should be able to post the tradelane speed patch, Universe chat patch, reputation limit (< 0.91), and credit/money limit patch (increases limit to $2,000,000,000 ) tommorow.

Edited by - Alcander on 6/18/2005 8:38:05 PM

Post Sat Jun 18, 2005 7:43 pm

Attention!! The no cd patch, is illegal!! By the game and work within its requirements, that you agreed to in the eula

No more discussion on the No-CD patch!

Michael

Please read the Rules and Regs before posting. When in doubt, Search the Forums to find it out.
Looking for a mod or ship, check in Here
You have entered a "Flame Free" area, please extinguish all lights and secure all combustibles, Thanks!
Have you been to the Welcome to The Lancers Reactor Yet?
Portalive TS Server IP: 128.39.88.122 (TLR)
IBFourms

Post Sat Jun 18, 2005 7:57 pm

The reason you have to use an "unwrapped" executable is because the instructions are encoded and cannot be interpreted in any way shape or form without being decrypted/unwrapped such as is the case with the No-CD patch. I should point out that many other mods include an unwrapped executable already.

Return to Freelancer General Editing Forum