Engine rework

There are 31 replies in this Thread. The last Post () by CzW.

  • now, when I reinstalled freelancer last week I told myself I wasn't gonna get into it like I did before, but to no avail. After seeing that my all time favourite ship, the ragnarok gunship, was in cf but was impossible to get, I started delving into the ini's and the dll's again.


    I'm working on my own little modifications to turn the game into what I always thought it should be. for one thing, I want all the components of the ships to be separate. when you buy a ship you should buy the hull, then the engine, the power plant, etc.


    But, there are a few things I can't figure out.


    1. After you buy an engine, you can't sell it back. Even if engines take up no space, I don't want a long list of engines on my ship. How do I make the game let me sell engines?


    2. Is there any way to make cruise speed specific to an engine?


    3. I see in CF you somehow added a "license" and a "shield upgrade" slot in the merchant window. How do you do that, and is it possible to make one for the engine, power plant, cloak device, etc?


    4. I know this seems to be an area of contention, but I really want a working cloak device in sp. I get the impression that its been done, but its some kind of super secret. will anyone break the silence?



    As a note, points 1 and 2 have been done. Someone named alcaster was working on something called the freelimits enhancement project that did just that plus a few other things... but it seems to be lost to the internet.


    Can anyone help me with any of these problems?

  • 1. by hex editing the engine
    2. yes
    3. by adding new hardpoints and changing hardpoint classes
    4. no - cloaks are used as cheats and are therefore banned from the FL community
    only a very few serveradmins and mod creators are able/allowed to do such kind of stuff


    the freelimits is a piece of junk
    it was created with good intentions but opened the doors for cheaters and bugs
    i still have it somewhere but i wont use it

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • no

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • sona1111


    yeah, it seems to be possible, by editing something in the common.dll. I'm not sure what, because I have no idea how to edit it, a normal resource editor doesn't show anything. I was able to get a hold of some of Alcander's freelimits modifications, so I now have different cruise speeds for different engines. HOWEVER, having this edited common.dll will cause Freelancer to generate an error when you quit, and it makes flserver freeze up when you try to quit. I don't know why it does this or how to fix it. But it doesn't effect gameplay, so I still use it.


    I'll gladly send the dll to anyone who wants to use it or work on it though.


    one thing I would like to know is how to change hardpoint classes. I can't for the life of me find any entries in the dll's containing the names of the hardpoints.

  • Alright, I'll send you the dll straight away. The instructions are fairly simple.


    1. Replace the common.dll (after backing it up of course), with the one I'm sending you
    2. Remove the Cruise_Speed and cruise_accel_time lines from the constants.ini, for some reason having them in there will cause crashes.
    3. Add Cruise_Speed and Cruise_accel_time lines to every engine in engine_equip.ini
    4. Make sure none of your cruise speeds go over the ANOM_LIMITS_MAX_VELOCITY in the constants.ini, change one or the other so they don't conflict.
    5. ????
    6. Profit!

  • do you have the freelimits online somewhere?
    id like to add it to the download area
    im sure i have it on hdd but the chances to find that stuff are low O_o


    i also like to compare it with a vanilla file

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • Well, unfortunately the freelimits only download seems to be lost to the ages. I did find one mod that uses it, so I took the exe and the common.dll out of it. But there are 2 problems


    1. I don't know all the files the freelimits changed, so maybe I should have taken more from this other mod
    2. I don't know if this other mod changed anything else in the exe or the dll, so these might be a little different from the freelimits.


    But I'll gladly send the exe and common.dll to you if you want to take a look. Hopefully you can fix the errors the dll produces.


    Here is the site where I first learned of freelimits. Hopefully you can get more from it then I did.
    http://z14.invisionfree.com/Fr…rum/index.php?showforum=3

  • Editing dll with an editor wont work from my point of view. its the same as you cant edit an exe file by an editor.


    I mean of sure you can edit them - but of sure it wont work.
    As from my knowledge about dlls - they are normally built or generated by programs - so changing the content by an editor will change the file and all relevant adresses in the dll are useless...


    You can have a look with the program dependencies to the dll to find what different modules are loaded.


    To fix bugs in dlls is also something that you cant do by editing them... Dll debugging is nothing for normal users^^ You need advanced knowlesge about it.


    But maybe i am wrong - if the Freelancers dlls are not of that kind of dll is would expect^^

  • ur not wrong
    but in the end it doesnt matter
    i know what im doing ^^


    maybe it helps to find out why freelimits has a security leak

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • FreeLimits_0.77_+_original_1.1.rar


    http://www2.sendthisfile.com/d…=k6wUIWiTp7s5ZpvOc2GMKuXP


    i have upload for you , the last version of Alcander, and original dlls to compare


    *UPDATE* Link is now version v0.77.1. Fixed some minor issues. If you were experiencing any crashes try this latest version to see if it resolves the issues.


    I'm pleased to announce the release of Freelimits v0.77. Please refer to FEATURE posts for specific information about specific features. As this is a beta release all functionality has not yet been implemented. Accordingly, redistrubtion without my permission is also prohibited, as this is not intended for public consumption yet. I hope you enjoy testing this release. I will continue to implement other features and listen to feedback and release the next version as soon as I can. Thanks.


    NOTE #1: This version has F1 blocking implemented, however, the Resume Game, Options, and Quit to Main Menu options are now available both in space and in dock.


    NOTE #2: Engines are sellable but you must add ENGINES_SELLABLE=TRUE to Constants.ini under EngineEquipConsts to allow it - if ENGINES_SELLABLE=FALSE or the value doesn't exist, the default is non-sellable engines.


    BIG NOTE #3 (UPDATED): For Multi-Cruise to work you must delete AT LEAST the CRUISING_SPEED variable from Constants.ini and add it to the engine(s) with individual cruise speeds instead. You can do the same with the CRUISE_ACCEL_TIME variable or just let it default.


    NOTE #4: This version actually WORKS! Clients will no longer crash and Servers can close properly.


    REQUIREMENTS: Freelancer + v1.1 Patch Installed.



    please share all infos you will find ..
    the main pb i have find, is ..
    the multicruise work fine on the server, and if you play on the server, but client side and on an other PC, the speed is lock to 300


    best regards

  • mmm sellable engines + multiple cruise speeds.. [drools^^]

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->

  • what i would be most interested in is if the shield bug has been fixed
    when i did run freelimits on CF once ppl were able to cheat and got some billion$ in just a few mins
    i cant really remember what they did but it was something related with the shields... several other servers had the same problem
    after i removed freelimits from my server that cheat was gone

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • oO cheats/-ing = bad :(

    <table border="0" align="center" width="75%" height="40px" cellspacing="0"><tr>
    <td align="left" background="http://img217.imageshack.us/img217/9442/swatwj7.png" width="2px"></td>
    <td valign="top" align="center" width="100%" background="http://img182.imageshack.us/img182/401/swatya1.gif"><font face="serif" color="white" size="5">&#191;&#647;&#592;&#653;&#387;&#592;&#623; - magwat?</font></td>
    <td align="right" background="http://img27.imageshack.us/img27/6025/swatright.png" width="2px"></td>
    </tr></table>
    <!--<hr width="85%" />

    Fix'd.

    -->

  • Is it possible to get to the source code for freelimits - if they built their own dlls?

  • that are just hex edited files

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!