Jump to content

[Mod] TormentedEmu's Fixes - A collection of various dll fixes and changes


TormentedEmu

Recommended Posts

Gday from Down Under. Here is a small repository of various changes and fixes for both the vanilla and modded game.

 

https://github.com/TormentedEmu/7DTD-SDX-Mods

 

To install on a vanilla game, use SDX version 0.7.2 at least, from here:

 

GetLatestSdxDownload

 

To install on a modded game, either petition the mod maker to include these mods or edit your own Assembly using Dnspy or something similar. The source code provides details as to what opcodes need to be edited.

 

 

Mods:

 

MinibikeOpenUI - Allows inventory/map/etc to be opened while mounted on a minibike. Client side only required.

 

MinibikeImpact - Allows minibike to once again collide with entities such as zombies and animals. Client side only required since the calculations are done in the client, but this mod could also work on the dedicated server assembly.

 

NoExceptionHijack - Stops the command console from taking focus of your game whenever an exception is thrown. Client side only required.

 

ItemEatDelayRemover - Removes an animation delay check that can cause certain items, when consumed from the inventory, to fail to take effect. Client side only required.

 

ItemActionLauncherFix - Fixes a graphical glitch that leaves a crossbow bolt in the right hand when using modded crossbows. Client side only required.

 

ConsoleCommands - Adds the Mods.dll to the list of assemblies to be scanned for adding new commands to the game. Thanks to StompyNZ for the help with this mod. :) It works the same way as StompyNZ's mod but the code is patched differently.

 

 

 

 

 

Any problems, suggestions, and feedback are all greatly appreciated.

Cheers!

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...

Hi,

 

I'm getting an error when trying to build using SDX 0.7.1

If I try the minibikeopenui for example, I get:

 

ERROR: Failed to locate the method and code to modify in PlayerMoveController.

ERROR: System.Exception: Failed to modify all required methods!

at MinibikeOpenUI.ModifyAssembly(ModuleDefinition module)

at MinibikeOpenUI.Patch(ModuleDefinition module)

at SevenDaysToDiePlugin.BuildAndRunPatchModsTask.RunPatcherMods()

ERROR: Task Compile mod patcher scripts failed

 

Have tried building from vanilla, other mods seem to be OK... Any idea what I'm doing wrong?

Link to comment
Share on other sites

Hi,

 

I'm getting an error when trying to build using SDX 0.7.1

If I try the minibikeopenui for example, I get:

 

ERROR: Failed to locate the method and code to modify in PlayerMoveController.

ERROR: System.Exception: Failed to modify all required methods!

at MinibikeOpenUI.ModifyAssembly(ModuleDefinition module)

at MinibikeOpenUI.Patch(ModuleDefinition module)

at SevenDaysToDiePlugin.BuildAndRunPatchModsTask.RunPatcherMods()

ERROR: Task Compile mod patcher scripts failed

 

Have tried building from vanilla, other mods seem to be OK... Any idea what I'm doing wrong?

 

 

 

Hi Wildgrave, I tried the mod by itself on a fresh copy of the vanilla game and it patched ok. I think the problem might be that you are using a slightly older version of SDX. Try using the one I linked to above in my first post where it says GetLatestSDXDownload. Let me know if you still have problems.

 

I also tried using SDX 0.7.1 on a fresh vanilla copy and it also patched successfully.

 

Oh, are you trying to patch Alpha 16.4 (b8) ?

Link to comment
Share on other sites

  • 3 months later...

Have My Own Modded Version 7D2D, now i want (Need Your

ItemActionLauncherFix

MinibikeOpenUI

)

 

Rund The 0.7.2 and it gives me that.:

Saving...

Done.

EVENT: Begin task: Copy payload dlls

Copy file: C:\sdxmodding\SDX0.7.2\SDX.Core.dll to C:\Users\Gabriel\Desktop\Obi/7DaysToDie_Data/Managed\SDX.Core.dll

Copy file: C:\sdxmodding\SDX0.7.2\SDX.Payload.dll to C:\Users\Gabriel\Desktop\Obi/7DaysToDie_Data/Managed\SDX.Payload.dll

EVENT: Begin task: Compile mod scripts

Dir not found: C:\sdxmodding\SDX0.7.2/Targets\7DaysToDie\Mods\ItemActionLauncherFix\Scripts

Dir not found: C:\sdxmodding\SDX0.7.2/Targets\7DaysToDie\Mods\MinibikeOpenUI\Scripts

Compiling Mods.dll...

Dir not found: C:\sdxmodding\SDX0.7.2/Targets\7DaysToDie\Mods\ItemActionLauncherFix\Scripts

Dir not found: C:\sdxmodding\SDX0.7.2/Targets\7DaysToDie\Mods\MinibikeOpenUI\Scripts

INFO: Built in 299ms

Mods.dll compile successful

EVENT: Begin task: Link modules

ERROR: This DLL has already been patched. Reset your backup and game files and try again.

ERROR: Task Link modules failed

EVENT: Action completed at: 26.05.2018 12:16:25 and took 6,75 seconds

 

I Can't do it with the Dnspy, im not a pro, pls help.

Link to comment
Share on other sites

Yes. The current version of SDX doesn't allow you to add another mod on top of an assembly that has already been modded, sadly.

 

What mod are you using?

 

- - - Updated - - -

 

You can join us on Discord if you need help. It would be the best way :) Let me know if you want to join.

Link to comment
Share on other sites

Any thoughts about bbb like commands for those of us that run sdx mods on sp games sometimes? (Hal's method to import/export prefabs).

 

-lazyGup

 

I have a couple of the bcm commands as an sdx version

 

import, export, block and loc

 

https://github.com/7D2DSDX/Mods/tree/master/ConsoleCmdLibrary

 

they may not work perfectly as I didnt spend very much time testing them, but they are usable at least :)

Link to comment
Share on other sites

Hey everyone!

 

I just uploaded a new SDX mod created for and sponsored by Subquake, who gave me the ok to share with all you wonderful people. :)

 

presenting EmuRecipeManager: A patch to customize all workstations to limit the view of recipes unique to the workstation and is also unlocked by the player.

 

https://github.com/TormentedEmu/7DTD-SDX-Mods/tree/master/EmuRecipeManager

 

This is a link to download only this mod folder from GitHub:

 

https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/TormentedEmu/7DTD-SDX-Mods/tree/master/EmuRecipeManager

 

This has the potential to create a unique game experience by making you seek out the unknown recipes and figure out which station they need to be crafted at! hehe :evil_grin*

 

Enjoy!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...