Jump to content
TrinityCore

Shin

Developers
  • Content Count

    248
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Shin

  1. This tutorial aims to simplify the compilation of TrinityCore on Mac OS X by using Homebrew, the missing package manager for OS X, to install TrinityCore dependencies, in order to keep things simple. 1) Install Homebrew For those who don't have Homebrew installed, you can easily install it typing: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2) Install Xcode and Command Line Tools Install XCode using the App Store, then type: xcodeselect --install 3) Install dependencies brew update brew install mysql openssl readline cmake boost zlib brew link zlib --force 4) Getting sources Move to the folder where you want to place the TrinityCore sources, then type: git clone https://github.com/TrinityCore/TrinityCore.git cd TrinityCore If ( and ONLY if ) you want to compile 3.3.5 type: git checkout 3.3.5 Create build folder: mkdir build cd build 5) Generate the XCode project files IMPORTANT: replace /Users/username/tc-server of the following command with the path where you want to install the TrinityCore server. then type: cmake ../ -GXcode \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \ -DMYSQL_LIBRARY=/usr/local/mysql/lib/libmysqlclient_r.dylib \ -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include \ -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib \ -DBOOST_INCLUDEDIR=/usr/local/include \ -DBOOST_LIBRARYDIR=/usr/local/lib \ -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include \ -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib \ -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib \ -DZMQ_LIBRARY=/usr/local/opt/zeromq/lib/libzmq.dylib \ -DZMQ_INCLUDE_DIR=/usr/local/opt/zeromq/include \ -DZLIB_ROOT=/usr/local/Cellar/zlib/1.2.8 \ -DCMAKE_INSTALL_PREFIX=/Users/username/tc-server \ -DWITH_WARNINGS=1 6) Building the binaries Type the following to build the binaries: xcodebuild -target install -config Release I have tested this tutorial both for branch 3.3.5 and 6.x using a MacBook Pro Retina 15" running: - a fresh Mac OS X 10.9.5 (Mavericks) - a fresh Mac OS X 10.10.3 (Yosemite) - Mac OS X 10.11.3 (El Capitan) and it worked fine, give me your feedback.
  2. it can't find libmysqlclient_r.dylib, so you need to check where it's located and change your -DMYSQL_LIBRARY param accordingly during step "5) Generate the XCode project files"
  3. It's been almost 10 years that I'm into WoW Emulation, I can still remember the first times when I was 15 playing with the old MaNGOS. At that time I knew almost nothing about the world of programming. Now I'm 24, I work as software engineer and I'm proud of the many things that I learned thanks to the WoW emulation, that helped me a lot. A while ago I decided to make my Computer Science Master's Degree thesis about "Open Source Server Applications for MMORPG" which is about MaNGOS and TrinityCore, and the PvP statistics system that I've created for those applications. The degree was a big success and I scored the maximum grade! That is me (on the left) the day of the degree, during the speech about the thesis: I'm glad to be part of this community built by passionate people willing to share their skills with others, I always appreciated the spirit of the open source behind the WoW emulation projects and I'm writing this just to thank you all guys, for having created this awesome atmosphere during all these years!
  4. Shin

    Just thank you WoW emulation!

    sorry but there is no record about the presentation and unfortunately the thesis is written in Italian
  5. Shin

    New guy

    welcome
  6. Shin

    Tool for Scripters/DB devs

    Looks like a good idea, maybe providing a documentation regarding the format of the files that need to be parsed can help a lot whoever is going to implement this
  7. Shin

    Best CMS for TrinityCore

    there is a work in progress: https://github.com/LuigiElleBalotta/TrinityCoreNET I guess you can help @gegge with the development
  8. you need to set the following cmake param: -DMYSQL_LIBRARY=/usr/local/mysql/lib/libmysqlclient_r.dylib \ with the correct path of your libmysqlclient_r.dylib which evidently is not located under /usr/local/mysql/lib/ in your machine.
  9. Shin

    Using Trinity on other game.

    you may be interested in this topic: https://community.trinitycore.org/topic/10536-trinitycore-as-a-true-mmo-framework/
  10. Shin

    Thank you to the TrinityCore team!

    Thanks for your words! PS, about: This is a good place to learn!
  11. @vemigod from the directory of your TrinityCore sources. Example: git clone https://github.com/TrinityCore/TrinityCore.git cd TrinityCore now if you want to compile 3.3.5, just type: git checkout 3.3.5
  12. just switch to 3.3.5 branch: git checkout 3.3.5 and build using: xcodebuild -target install -config Release
  13. Shin

    A problem with Keira2

    To be honest I don't use Windows so I don't know how to enable MCRYPT on WAMP. Let's google it, I'm sure you will find a lot of answers about it: https://www.google.it/webhp?q=enable+mcrypt+wamp+server#safe=off&q=enable+mcrypt+wamp+server
  14. Shin

    A problem with Keira2

    Of course there is, there is LAMP on Linux and WAMP on Windows. And Mac there is already PHP installed, you have just to enable it. E.g. it's very easy to install everything needed to run the TC-JSON-API on Ubuntu, just by installing LAMP and enabling MCRYPT. You just need to google these things, feel free to ask if you are in trouble.
  15. Shin

    A problem with Keira2

    Ok so the problem is not Keira2 bu the API. Did you read the instructions ? Pay attention also to Requirements and Troubleshooting, they should help you a lot:
  16. Shin

    Forum upgrade

    "Top Downloads" is no longer showing the amount of downloads per week/month/year but just the overall values also below th user name and avatar in every posts: the "Location" label of the user need a white space after it
  17. Issue when attempting to access with Google, screenshot attached.
  18. Shin

    Random TrinityCore ideas

    https://github.com/cmangos/mangos-classic/blob/master/src/mangosd/mangosd.conf.dist.in#L241 it would be nice to have that feature, I don't know why TrinityCore dropped(or never implemented) it
  19. Shin

    GameObject Browser

    I'm unable to open that link, the page keeps loading
  20. Shin

    TrinityCore based classic and TBC

    the best thing you can do is using 3.3.5a, manually close all wotlk contents and set the last level to 70
  21. if the forum web style is definitive, we can think about adapting the home page style to it
  22. @ikir You have to update your database
  23. Shin

    3.3.5 and 6.x branches on one server?

    ‚ÄčI don't know if it's a good idea to focus the development to so many different client versions...
  24. Shin

    MySQL Full 6.x with the server to matchD

    or use the Naios automatic DB updater and you won't have to manually import all .sql files of /sql/updates/world folder.
×