Jump to content

HAL9000

Members
  • Posts

    1,320
  • Joined

  • Last visited

  • Days Won

    43

HAL9000 last won the day on April 9 2018

HAL9000 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

HAL9000's Achievements

Colony Founder

Colony Founder (11/15)

81

Reputation

  1. HAL9000

    DMT Modding Tool

    Yeah you have to have the DMT mod folder outside of the game folder. Then DMT copies the enabled mods into the games mod folder. it's the only way to have an enabled/disabled system atm So put the DMT mods in something like C:\Games\7DaysMods and you should be good to go
  2. HAL9000

    DMT Modding Tool

    It looks like you've not got the correct folder path in the settings area for DMT. Make sure you have the games folder name in it e.g. C:\Program Files (x86)\Steam\steamapps\common\7 Days to die Not just C:\Program Files (x86)\Steam\steamapps\common
  3. HAL9000

    DMT Modding Tool

    You only need to build the first time, rebuild when you add more mods or the game releases an update Alas no, I meant the game used to use code in the Assembly-CSharp.dll to make the builds. It doesn't do that any more so it doesn't need to be there.
  4. HAL9000

    DMT Modding Tool

    Its doable but you'd need to manually edit dlls and stitch it all together yourself so you'd need to know your way around c# and modding the game in general. All the mods would need to be compatible with the game version though (or you need to edit them to make them compatible)
  5. HAL9000

    DMT Modding Tool

    The Assembly-CSharp.dll file is an exact copy of the game's A19.0 release. You can verify that by going to steam and downloading A19.0 to compare for your self. They're byte-for-byte identical. So unless the whole game's a virus I wouldn't worry about it. Unless "Downloaded The dll file from a verified DLL distributing site" is Steam (or however you bought a copy of the game) I would delete that file. DLL download sites are more likely to be a source of viruses. The good news is that DLL doesn't even need to be in the release any more. DMT stopped relying on the game's DLL a while ago, I just need to update my code for building a release. Next time try leading with a question rather than an accusation because if I were you I'd be feeling quite embarrassed around now but well done for trying to protect people, you just happen to be wrong.
  6. HAL9000

    DMT Modding Tool

    It looks like some XML in your files isn't valid and it's trying to parse it, whichever xml contains "ShowRaycastHitName" should be the culprit Jinx
  7. HAL9000

    DMT Modding Tool

    Hello wyldehart, Your best bets are just googling "harmony modding" and reading up on the matter, checking out other modders work and head to Guppy's discord server https://discord.gg/vMxCrYf there's a DMT channel where a lot of the modders hang out and answer questions if you get stuck If you haven't coded for a while or haven't used c# before I'd do some reading around it to get familiar with the syntax
  8. HAL9000

    DMT Modding Tool

    Thanks guys, I think I forgot a config file on the release. Should be a new one to grab that fixes it
  9. HAL9000

    DMT Modding Tool

    Have you given the layers admin level permissions? You add them to the permissions file or through the console if you're an admin. If you have set them set the log file on the server for errors
  10. HAL9000

    DMT Modding Tool

    It depends on the mod. If it's a server only mod then the clients don't need it but anything that has changes on the client (new assets, code or xml changes) then the players also need to apply the mod
  11. HAL9000

    DMT Modding Tool

    Hey guys, DMT v2 is now released. The major change is it now uses Harmony v2 instead of v1. This is a breaking change so I've bumped the DMT release to v2 as well. There are some upgrade processes you'll need to do for your mod. A lot of them can be done by DMT by using the "Attempt Hamony Auto Update" checkbox when building Further details of the updates required can be found here: https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0 We've also removed the requirement for the mod.xml. Now both vanilla and DMT uses the ModInfo.xml file. Again, there is an auto-update function built in that should serve most cases. Once the update is done you should delete the mod.xml file to remove any warnings that are generated in DMT. Cheers, Hal
  12. HAL9000

    DMT Modding Tool

    Post your log file from the server that's erroring There's definitely something strange in your setup. IPatcherMod is used by DMT and shouldn't be in the server files. They are used during the DMT build rather than runtime of the game. Cecil should not be included with the dlls that end up in the server folders. You don't need to change the field accessor type, you can get the value in the Harmony patch using reflection Cheers, Hal
  13. HAL9000

    DMT Modding Tool

    Hi Umbrella, I think this is where you're going wrong: The IHarmony interface isn't for each patch, it's for a patch manager class. So you'd define and implement the interface once for the mod (usually, though more complicated patching can use it multiple times) and that then controls how the patches are applied (usually with a PatchAll or something more complicated if needed). That's what I meant by the modder being responsible for how the patching is applied. Then when the game starts each mod's IHarmony interface is called and that's what drives your changes. DMT makes no assumptions on how you're going to do that. Does that make sense? Cheers, Hal
  14. HAL9000

    DMT Modding Tool

    Hi Umbrella, It's up to the modder to implement the patch call, each mod is split into it's own dll for this reason. You wouldn't want DMT making assumptions about running the patches as the modder may want to do something unusual / bespoke. If you're in control of the mod you can just remove the other two patchall calls. Each patch doesn't require a patchall call, one call grabs all the patches in the given assembly (dll file). Have a look at the bootstraping section on Harmony for how to run individual patches and for detecting already run patches. https://github.com/pardeike/Harmony/wiki/Bootstrapping Cheers, Hal
  15. HAL9000

    DMT Modding Tool

    Hey Morte ^^ good to see you. How's things? If you get some time come hang out on Guppy's discord server. I'm usually lurking in the DMT section
×
×
  • Create New...