1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best way to retain changes to stock repo scripts

Discussion in 'General Discussion' started by zerodowned, Sep 14, 2018 at 12:33 AM.

  1. zerodowned
    Offline

    Moderator ServUO Developer

    Joined:
    Jun 28, 2014
    Messages:
    1,713
    Likes Received:
    196
    I know this has been discussed a few times but I'm always lost when it comes to merging an existing repo, with changes to stock repo scripts, together with a new repo release and not losing any of the custom edits previously made.

    Can I get a super dumbed down walkthrough?
     
  2. Vorspire
    Offline

    Vorspire Vita-Nex: Core
    Admin ServUO Developer

    Joined:
    Jul 29, 2013
    Messages:
    1,057
    Likes Received:
    188
    Put all of your custom edits to stock files in code regions;
    Code (C#):
    1.  
    2. #region Custom
    3.  
    4. #endregion
    5.  
    At least then, when you're doing an entire WinMerge comparison against two /Scripts directories, you can keep track of the changes you don't want to overwrite.
     
    • Two Thumbs Up Two Thumbs Up x 2
  3. Tasanar
    Online

    Moderator

    Joined:
    Oct 16, 2014
    Messages:
    4,260
    Likes Received:
    93
    I never thought about that. I keep all my edits in a Word pad document but I am going to start doing that too.
     
Similar Threads: Best retain
Forum Title Date
Archived Bug Reports Bestial Armor Set - buggy Aug 17, 2018
RunUO Releases Custom Door W. Custom Key (Best To Modify for your own Shard use) Apr 6, 2018
General Discussion Best way to delete a player house Feb 26, 2018
3rd Party Discussions Best map making software for ToL Aug 28, 2017
3rd Party Discussions Best way to use Version Control with a UO Shard? Feb 20, 2017
Support What is the best way to add in the advanced vendor to use different currency? Jan 19, 2017
Archived Bug Reports Bestial and Virtuso armor is scripted but needs to be added to Cleean up brit Jan 14, 2017