• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help getting started with DLL mods

CraigParton

New member
Hey guys, first post, just looking for a bit of help getting into the modding scene for 7d2d. I do have experience modding other games. I've written plugins for Minecraft (Java) and Ultima Online, or RunUO (C#). Minecraft had a modding API, Bukkit (now Spigot). From what I am reading 7d2d won't have an official mod API until Beta, but people are making mods anyway somehow. I downloaded the source for Alloc's Server Fixes and opened it in Visual Studio, and noticed that he seems to be making calls to some kind of internal API. I've learned a little about it by peeking around in there, but I was curious if anyone had more information about this mysterious internal API. I've done a lot of searching but real information on the subject is sparse and questionable.

I'm aware you can change a lot about the game through the XML config files. But I need more than that. I'm looking to play around with chat, perhaps filter or modify it, add in a LCB that prevents any type of damage similar to a trader area, things like that. I don't want to add models or change anything that will require anyone to download any files to connect to the server. I read about the SDX API, but it requires you to turn off EAC and I don't want to do that. I saw that Alloc's mods were just neat little DLLs that went into a mods folder. Those are the type of mods I'm looking to make. If anyone could provide any information about how to get started doing this it would be greatly appreciated. I have Visual Studio 2017 and will download anything else I need.

 
Thank you so much everyone! I downloaded the Bad Company mod and looked around and saw how you were hooking events. But the mod-base template is exactly what I was looking for! Thank you Stompy! Now to buckle down this weekend and figure all this stuff out. I'm familiar with CIL so I may do some additional poking around for clarity. Thank you all for the great info!

 
Back
Top