Code Monkey home page Code Monkey logo

Comments (4)

hooptie avatar hooptie commented on September 1, 2024

Not sure if this is the "best" way, but doing it this was fairly painless. Providing specific examples for clarity.

  1. get a clone of the TrinityCore repo -> git clone -b 3.3.5 git://github.com/TrinityCore/TrinityCore.git
  2. get a clone of this repo (into a different directory)-> git clone https://github.com/thesawolf/TrinityCore.git
  3. cd into the thesawolf repo directory
  4. add the TrinityCore repo as a remote repo of thesawolf -> git remote add TrinityCore /path/to/repo/TrinityCore
  5. fetch the TrinityCore repo -> git fetch TrinityCore
  6. merge the TrinityCore repo -> git merge TrinityCore/3.3.5

This should present you with a manageable list of conflicts to resolve.

from trinitycore.

timothystewart6 avatar timothystewart6 commented on September 1, 2024

Thank you! I know that this is just some basic branching and merging a local repo but it is helpful. Regarding conflicts, any tips? Is there anything I wouldn't accept from TrinityCore or is it just a case-by-case basis? Thanks.

from trinitycore.

hooptie avatar hooptie commented on September 1, 2024

The jist of the changes revolves around bringing the bot code up to date with the changes to TrinityCore, so you're basically always going to accept the TrinityCore changes, and then have to figure out what modifications make sense. For example, the latest merge I did, the TrinityCore folks removed several #define statements that caused alot of compilation errors in the bot code. The proper change would be to go change all the bot code files to remove the defines and call the methods directly. The easy change was to just add the defines back into the TrinityCore file (which is what I did).

Example file in question is: src/server/game/AI/ScriptedAI/ScriptedGossip.h

The defines can be found in the thesawolf version of the file, and then those defines can be copied and appended to the end of the TrinityCore version of the file (in your merged repo).

I believe there were maybe 20 or so other conflict issues and such. Didn't take too long this time.

from trinitycore.

timothystewart6 avatar timothystewart6 commented on September 1, 2024

Thanks so much!

from trinitycore.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.