Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Sqeegie's Avatar
    Join Date
    Jul 2014
    Gender
    male
    Location
    Mountains.
    Posts
    94
    Reputation
    10
    Thanks
    817
    My Mood
    Busy

    Basic Assembly Editing Using dnSpy (Video Edition)

    Greetings fellow MPGH stalkers,

    For many, English is not their first language. Due to this language barrier, many find learning how to edit the Assembly-CSharp.dll difficult from the English-only tutorials on this forum. With this issue in mind, as well as the goal of creating better visual-based learning, I've created a few different videos of myself editing the Assembly-CSharp.dll. While the language used the the videos is English (and you cannot copy text from videos into a translator), I hope by giving a visual example, it will be easier for people to follow along by using simple pattern recognition.

    I will be using dnSpy as the assembly editor in the videos. While in the past, I've primarily used ILSpy or .NET Reflector, dnSpy can be more beginner friendly in my opinion.


    The Beginning
    Setting up dnSpy and opening an assembly.

    1. Download dnSpy
     

    2. Open the Assembly-CSharp.dll
     

    3. Setting dnSpy options (IMPORTANT)
     



    The Meat (and Potatoes)
    Making all of the desired edits to the assembly.

    Beyond the several examples shown here, most (if not all) modifications listed in past information sheets still apply. Just pick and choose what you want.

    Some of the videos will have "IL" alternatives. These are where the assembly instructions are edited directly like in the past with ILSpy. Editing the assembly using dnSpy's C# method editor is often much easier. However, it does not work all of the time. If errors are generated after editing using the C# editor, you will probably have to edit whatever modification you're doing using the old IL.


    4a. Creative and debug menus IL
     

    4b. Console Commands
     

    4b-2. Console Commands with IL
     

    4c. Displaying all players on the map
     

    4c-2. Displaying all players on the map IL
     

    4d. Build Distance, Build Interval, Pickup Distance
     



    The End
    Saving all of the changes.

    After make all of the desired modifications to the Assembly-CSharp.dll, you must save the changes. This is very IMPORTANT. Obviously, if you don't save the changes, none of the edits will work.

    5. Saving the Assembly
     

    Summary: File -> Save Module -> Ok


    Best,
    Sqeegie

  2. The Following 19 Users Say Thank You to Sqeegie For This Useful Post:

    1swiftfox1 (03-04-2020),AHITMAN (03-20-2021),Alma696 (02-25-2020),andy760723 (12-06-2021),Creeschtaw2 (06-30-2023),cyberpunk2048 (05-14-2020),CyRex (03-29-2020),DarkJesture5612 (12-08-2020),ETHea5jhtestrhjrstjhrt (03-09-2021),foxx9616 (05-31-2021),H34db4nger (11-30-2023),Icekiss69 (03-13-2021),JAIROM88 (06-16-2023),JohnHaines529 (12-22-2020),Luckymm2121 (10-07-2021),pazmaniandevil (06-12-2021),SovietObAm (09-14-2020),test4fun4 (07-19-2020),WjunniorW (07-01-2023)

  3. #2
    Alma696's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    45
    My Mood
    Amused
    Sqeegie Thank you very much, you really helped out and helped me. I did it and I finally can enjoy a normal game.

  4. #3
    1swiftfox1's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    My Mood
    Tired
    Solid post man! Managed to get this working, really appreciate it! I had a bit of experience with editing Assemblies but couldn't for the life of me find the CM and DM line. Appreciate it man!

  5. #4
    sirdexter's Avatar
    Join Date
    Jan 2020
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Happy

    7DTD Modified Assembly A18.4-b4

    can you make me one please ...dll

  6. #5
    CyRex's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    thank you for the work.

    The instructions are excellent and easy to understand and implement, with success in this regard.

    everyone started as a beginner and starts skills. thx Sqeegie

  7. #6
    DJOK's Avatar
    Join Date
    Oct 2018
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    How can I give myself an admin panel on the server in the same way? And give out ban, kick, mute to players and all the rest of it? How do I do this in dnSPY, or can you just provide a ready-made file with it?

  8. #7
    JordanHameski's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    691
    My Mood
    Sneaky
    Quote Originally Posted by DJOK View Post
    How can I give myself an admin panel on the server in the same way? And give out ban, kick, mute to players and all the rest of it? How do I do this in dnSPY, or can you just provide a ready-made file with it?
    The Admin panel is server-side only files.
    You can edit only client-side files in that way.

  9. #8
    JordanHameski's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    691
    My Mood
    Sneaky
    Hi there.
    Can we make all entities, including ZombieEntity displayed on map, using IsOnMapIcon class from EntityPlayer?

  10. #9
    Riseagainstfate's Avatar
    Join Date
    Jul 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    For some reason i change the CM to true like in the video save it like the video shows but when i launch the game, i dont have CM, then when i check the assembly again it shows the changes i made are not there anymore even tho i saved like the video showed? anyone have any idea what i might be doing wrong?

  11. #10
    kivi94's Avatar
    Join Date
    Jun 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Players

    Dont work see players.
    why?
    Last edited by kivi94; 09-12-2020 at 02:59 AM.

  12. #11
    SovietObAm's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    Earth
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Hi, thanks for sharing this! The only thing im having trouble with is the show all players on map. I've checked both the IL way and the non IL way. Everything seems the same as yours. Any ides?

  13. #12
    pipocrazy's Avatar
    Join Date
    Sep 2020
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Talking Thank you very much

    Thank you very much

  14. #13
    Kubrows's Avatar
    Join Date
    Jun 2018
    Gender
    female
    Posts
    0
    Reputation
    10
    Thanks
    1
    My Mood
    Flirty
    Can someone post the one for 19.1 please?

  15. #14
    jim2029's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by Kubrows View Post
    Can someone post the one for 19.1 please?
    Did you even try this method on 19.1? If you did, you'll see it works still..... (SMDH)

  16. #15
    Zeusiosas's Avatar
    Join Date
    Mar 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Doesnt work for newest version. Only changing it to CM / DM and at Game startup i get blackscreen.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 08-03-2011, 11:46 PM
  2. Free PROFESSIONAL Video Editing with Sony Vegas Pro 9
    By MissRandomSpam in forum Combat Arms Discussions
    Replies: 40
    Last Post: 11-24-2009, 09:52 AM
  3. Video Editing program
    By loldilol in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 08-04-2009, 12:17 AM
  4. Video editing tools?
    By lostcausejr in forum General
    Replies: 6
    Last Post: 07-16-2009, 10:05 AM
  5. Video Editing Programs
    By steve000 in forum Hardware & Software Support
    Replies: 8
    Last Post: 01-24-2009, 05:03 AM