Announcement

Collapse
No announcement yet.

Unable to package a custom game mode

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Sounds like you need to copy in your .uplugin file to the ut plugin area (C:\Program Files\Epic Games\UnrealTournament\UnrealTournament\Plugins\iCTFPlus\iCTFPlus.uplugin).
    Without that, UT can not see the plugin.

    This is not a version.h issue just yet. When the version number is an issue, you will get a big ugly popup saying that it can't load the plugin.

    Bombing Run for UT3 Coder https://forums.epicgames.com/threads...ease-Candidate
    The Reliquary TRBP team Coder http://unrealtournament2004.filefron...tEffects;92208
    https://www.youtube.com/channel/UC0p...Q7l8s-0ug_Etgg

    Comment


    • #17
      Ah, thanks. Thought it was just the .modules file I needed.

      Originally posted by warhead328 View Post
      This is not a version.h issue just yet. When the version number is an issue, you will get a big ugly popup saying that it can't load the plugin.[/FONT]
      Like this?
      https://i.imgur.com/xU3xuPI.jpg
      Last edited by Synapse-; 09-09-2017, 01:47 PM.

      Comment


      • #18
        Originally posted by Synapse- View Post
        Yup, that's the one. See? You know you are making progress when you can get by one problem just to get to the next problem
        Let us know if you have any trouble fixing the version number, as many of us have gotten very good at fixing it (again...and again...and again...).
        Sometimes it's tricky depending on exactly what epic did on any particular release.

        Bombing Run for UT3 Coder https://forums.epicgames.com/threads...ease-Candidate
        The Reliquary TRBP team Coder http://unrealtournament2004.filefron...tEffects;92208
        https://www.youtube.com/channel/UC0p...Q7l8s-0ug_Etgg

        Comment


        • #19
          I'm baaaaaaack.
          So, version error. I tried following the same steps again with the version number in version.h changed and this time got a completely different error. I don't know if I've got further than the version issue or if something new is now happening before it gets there. Have made a little video of what I'm doing in the hope it makes it easier to help me out.



          The TL;DR is I'm now getting an error stating:
          Code:
          The procedure entry point ?BeginLineUp@AUTGameMode@@UEAAXAEBVFString@@@Z could not be located in the dynamic link library...<my compiled game mode dll>
          The log contains the following message:
          Code:
          LogModuleManager:Warning: ModuleManager: Unable to load module 'C:/Program Files/Epic Games/UnrealTournament/UnrealTournament/Plugins/iCTFPlus/Binaries/Win64/UE4-iCTFPlusGameMode-Win64-Shipping.dll' because the file couldn't be loaded by the OS.
          This feels like something that'll be a basic C++ problem or something but googling hasn't furnished me with an obvious answer.
          Last edited by Synapse-; 09-16-2017, 05:04 PM.

          Comment


          • #20
            Hi, sorry for the late reply, but I have been out for over a week. This type of error generally occurs when you are not using the correct branch of the source code from github. If the UT source code you compile with does not exactly match the source code that Epic compiled the launcher game with, then you can get these types of errors. I see that you also posted on the 'twice now no github release' thread so you are aware of the issue that they didn't release the git source for the latest release, and I am assuming you are then following up on Winter's suggestion to use the Master branch instead. Your error would seem to indicate that this approach is not working as hoped. The only recourse then would seem to be for either Epic to update github (which at this point, they have not ... yet...last update was May 16), or to wait for their next release and hopefully we get the proper git source for that one.

            It's good to note that just because that approach worked for someone else, doesn't mean it will work for you. Their code is different and the call which you are erroring on, 'BegineLineup' may not be used in that other person's code. BeginLineup apparently has a differing entry point in the launcher dll than what Master has, and this does not apply to all the calls, so one person's code can break while another person's code does not break.

            I don't think there is much to do but wait for Epic to resolve.
            Last edited by warhead328; 09-25-2017, 01:08 PM.
            Bombing Run for UT3 Coder https://forums.epicgames.com/threads...ease-Candidate
            The Reliquary TRBP team Coder http://unrealtournament2004.filefron...tEffects;92208
            https://www.youtube.com/channel/UC0p...Q7l8s-0ug_Etgg

            Comment


            • #21
              Thanks for responding warhead and for the excellent clarification.
              I had hoped that I could get it working as there are a lot of people keen to see this change playable but I guess it's time to give up until Epic get back from their hiatus.

              Frustrating to have something ready to go so quickly and then have to go through so much to try and release it. You'd think that before disappearing for months the devs would at least leave things in a state where the community aren't blocked.

              Again, thank you all for the help you've provided.

              Comment


              • #22
                I added the code in the attached txt file to the CPP of my game mode. The game now starts up again, but when you select the game mode while creating a custom single player game, the game crashes.
                Attached Files

                Comment

                Working...
                X