Freelancer-related Programming

no description available
92 Topics 1.2k Posts
  • Former aimbot source

    Locked
    19
    0 Votes
    19 Posts
    25k Views

    FreelancerManiac96 wrote:
    I am very interested in the source, if you could pm me the source code or even upload the dll somewhere and send the download link, thank you 🙂

    ahahahahaha

    hahahahahah

    ahahahahaha

    ahaha

    ahah

    ahhhhhh

  • Requesting docking plugin

    Locked
    3
    0 Votes
    3 Posts
    8k Views

    HeIIoween wrote:
    Try
    [object]
    lalala

    Nop, docking button disabled at this case.
    Only PLANET ~ DOCKING_RING entries, all was tested.

  • Freelancer Server Reverse Engineering

    Locked
    12
    0 Votes
    12 Posts
    14k Views

    Ursus wrote:
    I would think the directplay protocol stuff is pretty well known by now. Just a question of motivation at this point. Seems to be lacking.

    DP is no problem, but you need to understand actual ingame client-server communication protocol, ingame messages what they mean and how are sent. Then you need to build custom server that will behave like real one, which includes physics handling in same way as FL does, AI system, account storage, anti-cheat etc. As you might see there’s already a lot of options to do.

  • FLScanII

    Locked
    47
  • Formulas for movement system & damage

    Locked
    5
    0 Votes
    5 Posts
    8k Views

    In fact I wrote a little application to calculate precisely the values you want… you should be able to find it in the tools section. it makes it also unnecessary to make any excel tables or manual calculations. and it is perhaps WIP, if there is any interest in improvement.

  • FLHexTool

    Locked
    6
    0 Votes
    6 Posts
    9k Views

    I have updated this tool to v1.1

    The link to the update is FLHexTool1.1.zip

    Change Log:
    Added a system locator function that will show the system number from a dropdown box of all systems. It is also possible to find a system by typing or pasting a number into a text field. An error message will inform the user if the number entered is not a valid system designator.

    Same deal as before. Just unzip it and run it. No installation needed. One note here; if the systems.dat file that is included is not in the same directory as the program, the location function will not be available.

    Janus

  • 3D Starchart - Teaser 1: Rendering Planets

    Locked
    71
    0 Votes
    71 Posts
    73k Views

    Works well under Windows 8 x86 with Vanilla FL. Thx 🙂

  • Finding display name of object

    Locked
    5
    0 Votes
    5 Posts
    7k Views

    Thank you so much 🙂

    Now to actually figure out why none of the headers I have have the Reputation namespace as part of Common.dll.

  • MultiCruise Beta

    Locked
    23
    0 Votes
    23 Posts
    24k Views

    Thanks, just what i need

  • DS Account Manager

    Locked
    24
    0 Votes
    24 Posts
    37k Views

    Equipment, bases, ships, and other names.

    I modified common.dll and other files, for use additional hp _ types, for large ships equipment.
    I see error messages, It can bring harm?

    24.06.2012 3:15:36:Error ‘unknown hardpoint class hp_turret_transport_1’ when reading shiparch.ini:6243 ‘hp_type = hp_turret_transport_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06’

    I make screenshots, and mark good and bad dispayed russian text.
    i using Windows XP SP3 native Russian edition,
    Windows-1251 is default system encoding.
    Yuo may be check this with my mod
    http://fl.people.dn.ua/rfmod.zip
    or localisation from Elite Games (used in many russian mods)
    http://www.elite-games.ru/downloads/freelancer/rus_ver_8.rar

  • Client DLL (Plugin…) - help needed

    Locked
    4
    0 Votes
    4 Posts
    7k Views

    The client doesn’t load server.dll during MP, so if you load it yourself, it’s just going to have a player count of 0 and all the calls will fail.

  • EquipDescList * from CShip * ?

    Locked
    2
    0 Votes
    2 Posts
    6k Views

    Not directly, but there are other method of traversing the equipment (which I wont post here).

  • FLHook mysteries

    Locked
    3
    0 Votes
    3 Posts
    6k Views

    Problem fixed. A stupid mistake from my self: I forgot to install the patch 1.1! Patch installed and it runs now … Sorry ;D

  • New Character in Disco 4.86

    Locked
    4
    0 Votes
    4 Posts
    8k Views

    Yeah, posted on the gc forums. Got back the same answer. They’ve been renamed to Freelancer. Although it seems strange the the item viewer in DSAccountManager still lists dsy_license_freelancer as a civilian. Also shows a dsy_license_civilian is a Freelancer that has a maximum cargo limitation of 3500, but it’s 3600, in game.

    Yeah, I know about the ID strings section of dsacesrv.cfg. I’ve modified several. As for the techcompat, I don’t use that on my server. I just deleted all the factions and set the no_control_item to 1.0. Without an ID, they can’t tractor anyway and I’ll take care of rules violations when it comes up. Wish there was a way to make it where you couldn’t launch without a tractor. I know you can’t launch without a scanner. I’ve tried that. “Can’t launch without a radar”.

    Also, I don’t understand why on ‘Power drain on cruise’ it wouldn’t begin to recharge when the engine is killed. But if you’re above rated speed with engine killed, it won’t recharge until you’re back within rated engine speed. For that reason, I’ve disabled the ‘Power drain on cruise’ as well.

  • Finding grid sector from coordinates

    Locked
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Moving Characters between accounts

    Locked
    10
    0 Votes
    10 Posts
    12k Views

    If I want to move a character to another account, say a user has lost his account number in a move, do I just drag and drop the character file between accounts?

    I assume you’ve got the playercntl plugin. If so then use the admin command 'setaccmovecode <charname>`.

    This sets a code so that the the player can make a new account and use the command /movechar <charname>`to move the ship into their new account.

    This method does not require a server restart.</charname></charname>

  • Using Adoxa's C++ programs

    Locked
    2
    0 Votes
    2 Posts
    6k Views

    it’s been a while since i played with that, but from what i remember the code to get/set the path for loading the .dll file doesn’t work right.
    once i rewrote it in .net style and it did work.

    here is a basic checklist what could make LoadLibrary function fail:
    1.1. “AppPath” found in “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Freelancer\1.0” doesn’t exist.
    1.2. “EXE” directory doesn’t exist inside “AppPath”.
    1.3. “common.dll” file doesn’t exist inside “EXE” directory.
    2. RegOpenKeyEx function fails.
    3. SetExeDirectory function fails.

    here is the code snippet that worked for me:

    using namespace Microsoft::Win32; using namespace System::IO; Common::Common(bool loadres) { String^ cwd = Directory::GetCurrentDirectory(); Object^ reg = Registry::GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft Games\\Freelancer\\1.0", "AppPath", nullptr); if (reg != nullptr) Directory::SetCurrentDirectory(String::Concat(reg->ToString(), "\\EXE")); ... Directory::SetCurrentDirectory(cwd); }

    so you could either debug and fix the original code or use .net, which i recommend anyway.
    hope it helped.

  • DS Process Manager Access Denied

    Locked
    5
    0 Votes
    5 Posts
    8k Views

    There was no installation program. Just the DSProcessManager.exe. And the source code, of course. I had copied it to my server .exe folder.

    I copied it to my multiplayer folder under my documents and it works fine. Even with UAC on and without the administrator token and the logs in a subfolder of my server EXE folder.

    Thanks for the suggestion. That had never even occurred to me. That the location of the program made a difference, I mean.

    Thanks again.

  • Duplicate characters in DSAccountManager

    Locked
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Catch some chat-messages

    Locked
    11
    0 Votes
    11 Posts
    12k Views

    I’ll probably switch to FLHook for the next iteration of the server if FLHook will take FLShell restart templates without issue. 🙂