Server/Client support for F.E.A.R. Perseus Mandate

Home Forums FEAR Modding Server/Client support for F.E.A.R. Perseus Mandate

This topic contains 32 replies, has 7 voices, and was last updated by  anon 1 week, 6 days ago.

  • Author
    Posts
  • #44202

    anon
    Participant

    Hello community, I want to present experimental dll for “F.E.A.R. Perseus Mandate” to provide support of master server for “FEARServerXP.exe” and working in game server browser for “FEARXP2.exe”.
    1. Download “F.E.A.R. Platinum” (GOG version)
    2. In “FEARXP2” directory rename “StringEditRuntime.dll” to “StringEditRuntime_.dll” (name “StringEditRuntime_.dll” is very important because experimental dll loads it)
    3. Unpack there new “StringEditRuntime.dll”
    4. Now you can start your server with “FEARServerXP.exe” or check avaliable servers (only FEARXP2 servers, if there any) in game browser of “FEARXP2.exe” and play
    5. Type random text in CDKey before connect to server

    PS this experimental dll is using current master server, so if administration against this – please post there “why not” xD

    http://www.datafilehost.com/d/1d7fa6ab
    http://s000.tinyupload.com/?file_id=19443218397811987936
    password: testz

  • #44335

    =MXT=Fred.cpp
    Keymaster

    That’s interesting. Will check as soon as I have a chance! 😀

  • #44544

    Peppolo Pepo
    Participant

    Question: Where did this come from?
    Can we suggest some bugfixes? i.e. Allow It to display the servers of other versions, so people can go from FEAR To FEARXP2 and back from ingame

    • #44832

      anon
      Participant

      > Where did this come from?
      You mean dll? Im the author.
      > Can we suggest some bugfixes?
      Yes, you can report here about bugs.
      > people can go from FEAR To FEARXP2 and back from ingame
      They are not compatible.

      • #80563

        Anonymous

        There are possible situations when player activates exit trigger with command delay t0 (msg player exitlevel) and disconnect before moment t0 so map became not passable.
        I would suggest to change those commands to loop 0 1 (delay t0 (msg player exitlevel))

        As i understand it changes gamestartpoint position only if player dies so if player does not die but passed some place (elevators, teleport triggers) and reconnect, he will not be able to exit level too.
        Maybe add some checkpoints msg gamestartpoint (copyxform Trigger).

        You can make these changes for server side only.

        • #80568

          Vladimir
          Participant

          I don’t understand, how change this in server txt file? I’m sorry,I’m not making modification, and I don’t know commands, so, tell me how? And of course I’m trying contact with vitycv, bit I don’t find his open contacts. If you have, please write how I may contact with him. And I’ll ne happy if you provide link to the biggest fear community discord

        • #80570

          Vladimir
          Participant

          I don’t understand, how change this in server txt file? I’m sorry,I’m not making modification, and I don’t know commands, so, tell me how? And of course I’m trying contact with vitycv, bit I don’t find his open contacts. If you have, please write how I may contact with him. And I’ll be happy if you provide link to the biggest fear community discord

        • #80576

          Anonymous

          That was for author about bugs (can be changed by editing sp maps or objects files).
          Check out this reply https://fear-community.org/forums/topic/serverclient-support-for-f-e-a-r-perseus-mandate/#post-80561
          Here is FEAR Speedrunning and modding server https://discord.gg/Rbq9rjw

  • #44839

    anon
    Participant

    Added “coop mode” support:
    F.E.A.R.
    F.E.A.R. Extraction Point
    F.E.A.R. Perseus Mandate

    All 55 SinglePlayer maps will be avaliable in server list. Players can use “Call vote” -> “Next map” or “New map” to select specific map (for scroll list use PageUp/PageDown).
    Use “FEARXP2.exe” for play and “FEARServerXP.exe” to start local or public server.
    If you want start coop server – add to server config “ServerOptionsXXXX.txt” option:
    [Patches]
    CoopMode=1

    There are another options you can use in usual MP mode:
    PreventNoclip – prevents player to go through solid objects (walls for example)
    SyncObjects – synchronize all objects on map for all players (bottles, boxes, etc)
    PreventSpecialMsg – avoid use of special msgid (OBEJCT_MESSAGE) which allows hacks to get weapons/ammo/health etc.

    PS if you found some bug and after respawn u cant continue move on – report here name of map/place.

    PS2 To use this experimental dll instructions are the same as from first post, but for this one you need to replace original “Default.archcfg” (make backup of it first) with one from archive.

    http://www.datafilehost.com/d/4370c498
    http://s000.tinyupload.com/index.php?file_id=73719316704835395103
    password: testz

  • #45692

    anon
    Participant

    fix map “Hives”, “Subway_01”, “Landing_Zone”
    fix player spawn
    fix locked doors
    added remote flashlight
    added “skip story sequence” in esc menu
    added option BotsMP (fix AI for custom user maps)
    disabled intro on start game
    Default.archcfg updated

    http://www.datafilehost.com/d/c3e55a89
    http://s000.tinyupload.com/?file_id=00150604814409663034
    password: testz

  • #46923

    =MXT=Fred.cpp
    Keymaster

    I’ really lloking for some integration between FEAR and Mods and Expansions. One of the branches of SEC2 (in really early development) allows re-launching the game with parameters when double click a server with different version.

    I see large room for integration there!

  • #46956

    =MXT=Fred.cpp
    Keymaster

    Question, is this the same work [KGB]Andre is pushing? Because he doesn’t seem to like we (meaning FEAR-Community.org staff) to get involved with It. I don’t want he feel we are invading somehow his area.

  • #46997

    anon
    Participant

    > I see large room for integration there!
    It will be good thing
    > is this the same work [KGB]Andre is pushing
    What do you mean?

  • #47007

    =MXT=Fred.cpp
    Keymaster

    KGB Andre was doing similar work that we do here.
    Some months ago he claimed he was giving up on FEAR and was focusing on Perseus only.
    But he requested us to don’t try to get in his way.
    Since we are not interested on messing around with his bussiness, we didn’t take any action.
    Now that I see your work, It looks very similar to what he uses; maybe is the same?
    http://joinfear.tk

  • #47016

    anon
    Participant

    He just changed master server “fear-community.org” to his own in dll.

  • #47019

    =MXT=Fred.cpp
    Keymaster

    So is not his own development.
    Good to know.
    Well, next week I’ll complete the development of these features. Basically works this way:
    Since we can’t re-launch from inside FEARMP.exe the same FEARMP.exe with parameters (It doesn’t run), I made a .bat file to be called when we double click the server.
    This .bat file does the same existing mods do: call the game using the -archcfg and user directory needed AND pass the parameters to join the IP:port server.

    After calling the bat, the game closes but inmediatelly is executed again with the right parameters.

    I Can confirm this works, and is basically done, but I messed a lot the code in the process, because I had to work in the server crash issues.

    After making some cleanup I saved the code and will add It to the next version. We will also re-launch CoopWarfare and maybe the other mods with the small changes needed to make them work. Basically a new location for the user_directory folder to keep everything inside a single folder and modified archcfg files.

    Before this month ends, we should have this as an open Beta, and publish specifications for Mod making (I mean, the files and directories namming suggestions for easy integration with the game.

    • This reply was modified 2 years, 1 month ago by  =MXT=Fred.cpp.
  • #47331

    anon
    Participant

    You can re-launch fearmp.exe if you patch mutex creation
    here:
    0047E171 31FFEB64
    0047E222 EB
    but you need to use exe without securom.

  • #47333

    =MXT=Fred.cpp
    Keymaster

    <3
    Well, that's beyond my current skillset / time availability, but If It's possible It could make things much easier; since I can focus on creating the logic, string management and mod file structure to make It happen for the next client update :D

  • #47361

    feargm
    Participant

    This is awesome guys!

  • #51066

    anon
    Participant

    I uploaded source code on github in case someone interested in it:
    https://github.com/Vityacv/fearservmod

  • #51076

    =MXT=Fred.cpp
    Keymaster

    This is a very impressive work man.

  • #80511

    Vladimir
    Participant

    Please, help, how to launch this sp coop mod on steam version?

  • #80526

    Anonymous

    Do these https://github.com/Vityacv/fearservmod#how-to-use-fear-perseus-mandate instructions not work? What errors you have got?

  • #80541

    Anonymous

    What if you set
    [Extra]
    CoopMode=0
    BotsMP=1
    add missions manually to serveroptions:

    Mission0=Worlds\Release\FEAR_SP_Demo_Intro
    Mission1=Worlds\Release\FEAR_SP_Demo
    Mission2=Worlds\Release\E3_Demo_2005_Short
    Mission3=Worlds\Release\Performance_Combat
    Mission4=Worlds\Release\Performance
    Mission5=Worlds\Release\Intro
    Mission6=Worlds\Release\Docks
    Mission7=Worlds\Release\WTF_Entry
    Mission8=Worlds\Release\WTF_Ambush
    Mission9=Worlds\Release\Moody
    Mission10=Worlds\Release\WTF_Exfil
    Mission11=Worlds\Release\ATC_Roof
    Mission12=Worlds\Release\Admin
    Mission13=Worlds\Release\Bishop_Rescue
    Mission14=Worlds\Release\Bishop_Evac
    Mission15=Worlds\Release\Mapes_Elevator
    Mission16=Worlds\Release\Badge
    Mission17=Worlds\Release\Hives
    Mission18=Worlds\Release\Alice
    Mission19=Worlds\Release\Getting_Out
    Mission20=Worlds\Release\Wades
    Mission21=Worlds\Release\Factory
    Mission22=Worlds\Release\Facility_Upper
    Mission23=Worlds\Release\Facility_Bypass
    Mission24=Worlds\Release\Vault
    Mission25=Worlds\Release\Alma
    Mission26=Worlds\Release\Aftermath
    Mission27=Worlds\ReleaseXP\XP_SP_Demo
    Mission28=Worlds\ReleaseXP\XP_Intro
    Mission29=Worlds\ReleaseXP\Church_01
    Mission30=Worlds\ReleaseXP\Church_02
    Mission31=Worlds\ReleaseXP\Warehouse_01
    Mission32=Worlds\ReleaseXP\Warehouse_02
    Mission33=Worlds\ReleaseXP\Warehouse_03
    Mission34=Worlds\ReleaseXP\Subway_01
    Mission35=Worlds\ReleaseXP\Subway_02
    Mission36=Worlds\ReleaseXP\Subway_03
    Mission37=Worlds\ReleaseXP\Office_01
    Mission38=Worlds\ReleaseXP\Hospital_01
    Mission39=Worlds\ReleaseXP\Hospital_02
    Mission40=Worlds\ReleaseXP\Hospital_03
    Mission41=Worlds\ReleaseXP2\XP2_SP_Demo
    Mission42=Worlds\ReleaseXP2\W01_Introduction
    Mission43=Worlds\ReleaseXP2\W02_Sewer
    Mission44=Worlds\ReleaseXP2\W03_Streets
    Mission45=Worlds\ReleaseXP2\W04_Data_Center
    Mission46=Worlds\ReleaseXP2\W05_Computer_Core
    Mission47=Worlds\ReleaseXP2\W06_Landing_Zone
    Mission48=Worlds\ReleaseXP2\W07_Research_Facility
    Mission49=Worlds\ReleaseXP2\W08_Plaza
    Mission50=Worlds\ReleaseXP2\W09_Underground
    Mission51=Worlds\ReleaseXP2\W10_Subway
    Mission52=Worlds\ReleaseXP2\W11_Train_Yard
    Mission53=Worlds\ReleaseXP2\W12_Headquarters
    Mission54=Worlds\ReleaseXP2\W14_Mine
    Mission55=Worlds\ReleaseXP2\W15_Clone_Labs
    Mission56=Worlds\ReleaseXP2\W16_Clone_Production
    Mission57=Worlds\ReleaseXP2\W17_Escape
    Mission58=Worlds\ReleaseXP2\IA_06_Clinic
    Mission59=Worlds\ReleaseXP2\IA_07_Arena
    Mission60=Worlds\ReleaseXP2\IA_08_Sprint

    • #80551

      Vladimir
      Participant

      Ok, now works, but how now launch coop? I see that dedicated server setup control mode, not coop?

  • #80556

    Vladimir
    Participant

    I don’t see that setuped coop mode, only control. and I don’t see sp maps in maps tab
    For now, I upload my serveroptions text file, maybe I do something wrong?
    https://pastebin.com/hf1R3zqC

  • #80561

    Anonymous

    Add them to some mode (dm, sdm, tdm, stdm, sp) after options https://pastebin.com/pmJnCVyH
    And i forgot that it requires modified FEARXP2 database https://drive.google.com/open?id=1Tx7CDLfUAJYYm2jnhAiL4cq0ISX7pKYu with worlds/release, worlds/releasexp, worlds/releasexp2 in multiplayer worlds list and changed default.archcfg (something like this https://pastebin.com/2YbaJsnS).

    I do not have Steam version of F.E.A.R. so i can only assume.

    Anyway, better to ask author of this mod.

  • #80578

    Anonymous
    • #80590

      Vladimir
      Participant

      How install this archive with modified FEARXP2 database? I don’t see Missions_270219_2.arch00 and objects in archive, only DB_SP_XP2_3

      • #80625

        Anonymous

        You do not see Missions_270219_2.arch00 and objects directory because they are optional.

        Default.archcfg:

        ; ORIGINAL FEAR ARCHIVES
        ../FEAR.Arch00
        ../FEARA.Arch00
        ../FEARL.Arch00
        ../FEARA_2.Arch00
        ../FEARA_3.Arch00
        ../FEARL_3.Arch00
        ../FEARL_5.Arch00
        ../FEARA_7.Arch00
        ../FEARL_7.Arch00
        ../FEARA_8.Arch00
        ../FEARL_8.Arch00

        ; FEAR XP ARCHIVES
        ../FEARXP/FEAR_XP.Arch00
        ../FEARXP/FEARA_XP.Arch00
        ../FEARXP/FEARL_XP.Arch00

        ; FEAR XP2 ARCHIVES
        FEAR_XP.Arch00
        FEARM_XP.Arch00
        FEARA_XP.Arch00
        FEARL_XP.Arch00
        FEARE_XP.Arch00
        DB_SP_XP2_3

  • #80580

    =MXT=Fred.cpp
    Keymaster

    We are aware of the issue, but we have no much experience with It.
    It would be cool if the author ( anon ) would help.

    • This reply was modified 3 weeks, 4 days ago by  =MXT=Fred.cpp.

You must be logged in to reply to this topic.