Leaderboard


Popular Content

Showing content with the highest reputation since 10/17/16 in all areas

  1. 13 points
    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!
  2. 10 points
    This sniffer is closed source, don't ask for new sniffer versions making new threads or on irc, new versions will be released when I have time. The sniffs are only available for TC developers and official contributors because they contain private data. Sniffer only works with LIVE realms and the build number stated on title/key file. How to use it: Put it on your wow directory. Start wow.exe. Start attach_sniffer. login. OR Start Wow-64.exe Use attach_sniffer_64 login. If you want to force WoW to start in 32-bit only mode use Wow.exe -noautolaunch64bit Upload your sniff compresed with zip, rar, 7z or some linux format to some non-anoying file hosting (for example zippyshare, mega, anything without captchas or wait times). Post your sniff at http://www.trinitycore.org/f/forum/13-wdbadbsniffs/ only devs will see your sniff there. Note: When updating sniffer you need to overwrite all old files. Edit by ShinDarth: In order to run the sniffer under GNU/Linux or Mac OS X you have to use the Windows client (Wow.exe) and open it using wine (get the latest version). Note: if you have the Mac OS X client already, you can just download the *.exe and *.dll files of the Windows client and add them to your Mac client folder. Instructions: - open a terminal window and run: wine Wow.exe -noautolaunch64bit Script for wine (save in the same directory as wstc) #!/bin/bash WSTC_COMMAND=$(grep -E -o 'WSTC.exe .*\.wstc' ./attach_sniffer.cmd) set -x wine $WSTC_COMMAND WSTC_7.2.5.24742_Release.zip WSTC-64_7.2.5.24742_Release.zip
  3. 7 points
    As outlined in #20103, we're currently making a concerted push for blizzlike instance spawn behavior. As part of this, every instance in the 3.3.5 client needs to have all of its spawns mapped to the corresponding instance boss that causes that group to no longer spawn once defeated. Luckily, we have a tool to help with this. Extract the attached archive into your Interface/AddOns directory, then log onto a 3.3.5 core running commit fcd6fe0 (or newer). Move yourself into the instance you want to map, then invoke /spawngroup to bring up the mapper panel. Use the green plus icon to create one spawn group for each boss in the instance. If there are groups with complex conditions, like "only spawns if any of X, Y and Z are alive", create a separate group for each of them. Scroll down (shift+mouse wheel to scroll faster) and name each of the newly created groups (right-click the respective header). Names should be representative, but have only descriptive value (no need to match the boss name exactly, for example). Start assigning groups to entries and spawns in the "Unassigned" category. Pay attention to detail - not all creatures of the same entry are necessarily assigned to a specific boss. Click on an entry to expand it into a list of its spawn points. Each spawn point can be individually assigned to a group. Click on a spawn point to teleport to it. You can combine this with having the world map open to quickly map disjoint spawn points. Once you are done, click on "Export SQL" to generate a complete instance spawn group script for the instance, then post it here. Because mistakes happen, I'd like at least two, preferably three, copies of each data set, from different people. To find out which instances still need data, take a look at this issue on the tracker - contributions may be posted either there or in this thread. (PS: Feel free to take breaks. The mapper stores any mappings you've already made and will reload them when you bring the panel up again, including across sessions [assuming you log out normally - don't force kill the client.]) (PPS: Invoke /spawngroup while outside an instance at your own peril - it's probably gonna freeze your client for a bit. Lots of spawns there.)
  4. 6 points
    Hi folks, Having issues compiling? Don't want to wait for an hour to compile a new server? Want a steady stream of updates? Well then, you came to the right place! With the following instructions, one can install their own TrinityCore server using pre-compiled packages. The current state of the 2 branches is: - 3.3.5a: fully functional and installable using the instructions in this topic - master: Still WIP, the packages are compiled and in the repository, but still need to be tested and validated against the installation instructions. == Background == There are 3 packages, server, database and tools:The database package will also install MariaDB from the default Debian Repository Server package: pre-compiled version using the instructions provided on the TrinityCore wiki. Date and commit-hash are included in version tag. By default this package will also install database, but it is possible to run the database on a remote server. And it will not overwrite any configuration files in place without asking. Database package: Contains TDB335.62 with all the database updates provided by the commit. Also contains a slightly modified auth_database (which has to be setup with the provided script), so you can control the server while it's started without console (in order to run it as a service, details below). Tools package: contains the extractors, so you can run them on your desktop with the client instead of uploading a copy to the server. I also included a script that will queue all the commands you need to generate a data package for your TC server. This package isn't supposed to run on the same system as the server (because it would require you to upload a complete WoW client to your server). The packages come with a default configuration to support service control by SystemD. A few details: /opt/trinitycore - server files and data files /var/log/trinitycore - server logs /var/run/trinitycore - PID files See https://github.com/TrinityCore/TrinityCore/issues/18069 for more info on how and why == Update frequency == These packages will be recompiled everyday at midnight, compiling/uploading takes about an hour per tree, so expect fresh packages: - 3.3.5a: around 01:30 AM CEST - master: around 3:30 AM CEST The script will automatically download the latest TDB version if it is updated in the source files. If there are any changes with the configuration files (new options added etc.) I will add them as soon as I can. == Installation Instructions == This instruction will help you setup a TrinityCore server on a Debian Jessie server with it's own local MySQL server. If you require a seperate MySQL server, please adjust where needed. All packages provided are only tested on Debian Jessie stable (with updates). It is in your best interest to read the entire instruction first before installing! Install a server with Debian Jessie and log in on it You don't need anything except the basic install! Add the following line to /etc/apt/sources.list deb http://repo.element-networks.nl/ custom main Add the repository key for package verification wget http://repo.element-networks.nl/public.gpg -O - | apt-key add - Update your package lists apt-get update Install the server 3.3.5a: apt-get install trinitycore-server3.3.5 master: apt-get install trinitycore-server-master NOTE: This command will install the TrinityCore server and all it's dependencies (including a MariaDB server) If you want to run a seperate database server, run this command with '--no-install-recommends' to skip the installation of the database package. FIRST TIME ONLY: Run the following script to setup the databases setup_database.sh If you run the database on a different server, run the script on that server. Also, change worldserver.conf and authserver.conf accordingly! Extract the MAPS, MMAPS and VMAPS using the extractors. Pro-tip, if you have a (fast) Linux (gaming) desktop, do the following: Install the trinitycore-tools3.3.5 package on your desktop with the WoW client. apt-get install trinitycore-tools3.3.5 Go to your WoW client folder and run the script cd /to/my/wowclient generate_data_package.sh After extracting all the maps, mmaps, vmaps and dbc's it will ask you the following question: # Your data package is in /to/my/wowclient/trinitycore-data.tgz # Would you like this script to apply it on your server? y/N If you select yes, it will ask you where to upload the data package See https://trinitycore.atlassian.net/wiki/display/tc/Linux+Server+Setup for all the details surrounding the extracting process. Start the server! systemctl start trinitycore-authserver.service systemctl start trinitycore-worldserver.service You can control the server using the following command: telnet localhost 3443 Username: admin Password: ChangeMeNOW! Change the password for the admin account: .account set password admin NEWPASSWORD NEWPASSWORD Create a new user .account create USERNAME PASSWORD Press Enter again to log out Set your client's realmlist to your newly installed server GameClientDir/Data/enUS/realmlist.wtf Note: enUS could also be enGB if you have a European version of the client Start your game, log in and enjoy! == Updating == Updating the server to a newer version is very easy, I do it using the following script: #!/bin/bash # Upgrade the TrinityCore server to the latest build # Stop running server systemctl stop trinitycore-worldserver.service # Upgrade packages, change the packagename if you wish to run the 'master' branch apt-get update apt-get upgrade trinitycore-server3.3.5 trinitycore-database3.3.5 -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' # Start server systemctl start trinitycore-worldserver.service == Feedback == Any feedback is appreciated! I have been running my test-server with this setup for a few days now and it is still alive and kicking. However, my userbase is quite small (5) and I would like to know if the current way of updating is doable. Thoughts, feelings, emotions?
  5. 5 points
    Here's a few more. PS: Either you contribute, or you're not helping. Pushing "Like" on the post isn't gonna do anything. azjolnerub.sql theeye.sql magtheridon.sql gruul.sql ragefire.sql utgardekeep.sql
  6. 4 points
  7. 4 points
    A lot of people have asked how to debug so I made this short guide on how to set up debugging. This will not explain the basics of debugging. You can google those or play around with the debugger to learn. There are guides for Linux and Windows. (though linux is not as detailed) This guide contains multiple guides. Each list of bullet points is it's own guide. Make sure you can run the server normally before trying to debug. On Windows before anything you should check these - Before debugging or making crashlogs etc. with Visual Studio you must compile the core in "Debug" instead of "Release". You can select this in "Build>Configuration Manager" or at the top of Visual Studio window http://i.imgur.com/5oHd59j.png - You also need to move the new pdb files generate by compiling in debug mode on Visual Studio from the compile output folder (bin) to your server folder - these files contain information needed for debugging. - It is assumed that Solution Explorer is open. Open it by selecting "View>Solution Explorer" in Visual Studio http://i.imgur.com/hkW6Gk0.png -- You may want to click on the Home icon to reset the view on Solution Explorer http://i.imgur.com/N8UPwDh.png - You can place breakpoints in Visual Studio editor by right clicking a line of code and selecting "Breakpoint>Insert Breakpoint" http://i.imgur.com/L2TxBVG.png - At the top of the window you should see controls for stepping and continuing when you have started to debug. - Here is a video showing the basic Visual Studio functionality https://www.youtube.com/watch?v=Ijdk4z8-2OI First off we go with the fastest way to debug on windows. This is the easiest way to start up debugging a script. - Start the authserver and worldserver normally - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core - In Visual Studio at the top select "Debug>Attach to process...>worldserver.exe" and click "Attach" http://i.imgur.com/jDEI2Hq.png - You are now debugging The second slower way of debugging on windows. This is useful for debugging something that occurs in the startup of the server. - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core - In solution explorer right click on worldserver and select "Set as StartUp Project" http://i.imgur.com/wvMzeRA.png - In solution explorer right click on worldserver and select "Properties" http://i.imgur.com/rTNEF9O.png -- In Properties you should go to "Configuration Properties>Debugging" and edit "Working Directory" to point to the server folder. For me this is the default compile folder so I use "$(OutDir)" http://i.imgur.com/aRI29fB.png - Start the authserver normally - Start the worldserver by selecting "Debug>Start Debugging". The server will start with debugging attached from the beginning http://i.imgur.com/cg1KJNw.png - You are now debugging Crashlogs on windows. Once you have a way to reproduce a crash you can get a crashlog that can help you resolve it. - After compiling the core in "Debug" instead of "Release" start up the worldserver and authserver - Reproduce the crash you have - In the server folder there is now a folder called Crashes that contains txt and dmp files. http://i.imgur.com/9eQIdql.png - You can open the txt files in text editors http://i.imgur.com/EH6R17E.png -- At the top of a txt file there is some information about your system and below it there is the Call Stack and below that there are Variables of each part of the call stack -- The Call Stack will tell you at the top what was the last function call before crashing and what function calls led to that function call. -- Next to the function names there is the file that the function is defined in and the line number the code was executing in that function. -- In the Variables section you can inspect variables that were present at each function call. -- Based on this information you are often able to see what crashed or get a better view of what you need to inspect more in your code. - The dmp file can be opened in Visual Studio -- Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core -- Drag and drop the dmp file to Visual Studio -- In the window that opens click to "Debug with Native Only" http://i.imgur.com/OgyU2kM.png -- In the window popup click "Break" http://i.imgur.com/4jDzqRn.png -- You are now in a state like you would have hit a break point in the code or a crash while debugging. You can inspect the call stack and the variables. Edit and continue on windows. When debugging this allows you to change the code and without restarting the server apply those changes so they actually work ingame. - Open TrinityCore.sln in Visual Studio. This is what you usually open when you want to compile the core - In solution explorer right click on worldserver and select "Properties" http://i.imgur.com/rTNEF9O.png -- In Properties select "Configuration Properties>Linker>General" and set "Enable Incremental Linking" to "Yes". http://i.imgur.com/caQqwN5.png -- In Properties select "Configuration Properties>Linker>Advanced" and set "Image Has Safe Exception Handlers" to "No". http://i.imgur.com/FYzN8Ks.png -- In Properties select "Configuration Properties>C/C++>General" and set "Debug Information Format" to "Program Database for Edit And Continue". http://i.imgur.com/pxQ6I8N.png - At the top of the window select "Tools>Options". In the Options select "Debugging>General" and in there select "Enable Edit and Continue", "Enable Native Edit and Continue" and "Require source files to exactly match the original version". - Compile the server for the changes to take effect. - Set up "The second slower way of debugging" (I did not test edit and continue on other configurations) - Start the authserver normally - Start the worldserver by selecting "Debug>Start Debugging". - Try edit a cpp file a little and save it. - At top of Visual Studio window select "Debug>Apply Code Changes" and wait until the changes are applied. Warning: it can take considerable amount of time for the changes to be applied. http://i.imgur.com/77pb58E.png - If you have issues, be sure to check the error messages in Output. You can view it by selecting "View>Output" http://i.imgur.com/4cIznW9.png - This guide was written based on https://msdn.microsoft.com/en-us/library/esaeyddf.aspx and https://blogs.msdn.microsoft.com/vcblog/2015/07/22/c-edit-and-continue-in-visual-studio-2015/ Debugging on linux. You can debug on linux by using GDB. - Here is a good video about it: https://www.youtube.com/watch?v=sCtY--xRUyI - Basically you -- Start the authserver -- Start the worldserver by using "gdb ./worldserver" -- Enter breakpoints by using break command on gdb -- Use the run command on gdb to start the server -- You are now debugging - You may also be interested in using VScode or some other more visual debuggers. https://www.youtube.com/watch?v=B0xTgyCwsAo Crashlogs on linux. Once you have a way to reproduce a crash you can get a crashlog that can help you resolve it. - Compile the server with the cmake flag -DCMAKE_BUILD_TYPE=Debug - Take crashreport.gdb from /contrib/debugger from source folder and place it to your server folder - Start the authserver - Start the worldserver by using "gdb -x crashreport.gdb ./worldserver" - Reproduce your crash - There should be a backtrace.log in your server folder that contains information about the crash like the callstack and variables in each function call in the call stack - This guide was written based on https://github.com/TrinityCore/TrinityCore/blob/master/contrib/debugger/README Running valgrind on linux. This helps you find memory errors like invalid reads and writes and memory leaks. - Here is a good video about it: https://www.youtube.com/watch?v=fvTsFjDuag8 - Basically you -- Start the authserver -- Start the worldserver by using "valgrind ./worldserver" -- Run your code that you want to analyze and close the server -- The console or an output log should contain the valgrind log
  8. 3 points
    Since we are targeting C++14 compilers, GCC 4.9 and Visual Studio 2015 will become unsupported 1 month after the release of Debian 9. We give this warning to allow people to ready their systems with enough time to update (it's very likely Debian 9 will be shipped on 2nd quarter 2017). (Visual Studio 2017 release date is March 7)
  9. 2 points
    It should be pretty obvious. Just show him how it's configured for "master" https://github.com/TrinityCore/TrinityCore/blob/master/src/server/bnetserver/bnetserver.conf.dist#L76 Rather than complain, then show both options.
  10. 2 points
    Original poster https://www.lifewire.com/what-does-o-p-stand-for-2483372 http://www.urbandictionary.com/define.php?term=op http://lmgtfy.com/?q=what+is+op+on+forums A repack is where you wont get support. It's a pre-comiled server package for people that are incompetent on building their own server. You get no updates, you can't fix core problems, and most of the time they are extremely outdated with so many bugs locked into a pre-compiled core that you have to deal with. @Chrisseria2520 You said it best... You just explained that you had a negative experience with a repack (one of the largest) You had a guy that was able to cheat and hack your "repack" and there wasn't a single thing that you could do, due to someone else that created the server in a package nad not able to add special detection and core functions within a repack. Look... People are lazy, i'm not saying you are. But don't let one small issue you run into block you from giving up. It's very very while worth it to compile your own server. Not only can you make custom modifications and keep your package up to date, but you will learn a lot from it and have the confidence to tell your friends that you may be able to fix a certain issue - since you will get support.
  11. 2 points
    If you follow all steep here https://www.trinitycore.info/ you must be able to run the server without major problems, assuming you have an unmodified client and using the tools compiled with the server. Just follow the instructions and you will not have problems.
  12. 2 points
    To answer your question. Yes it isnt a problem to install both libraries. But please notice that you are using an unsupported version of trinitycore
  13. 2 points
    While the guide isnt perfect, it still captures the most important parts and is good enough for the job. Some of the issues you listed sound like user errors. You are clearly presented a way to create a new user in the mysql installer. If you did not have this view, then you are possibly using some other way of installing MySQL that was unexpected or the installer may have changed over time. https://i.imgur.com/ceQRzfk.png https://i.imgur.com/81Rq8Lz.png You are clearly instructed to leave the subdirectory field empty. Then it will not create a subdirectory. Seems you missed this? https://i.imgur.com/XgRZZjT.png The issue was possibly that you had the wrong boost version installed (did not use the provided links to download or accidentally downloaded wrong version) or that you did not restart CMake between attempting to do things like installing boost and configuring - which is mentioned in the guide. It is also possible that the system variables require a relog in windows or restarting the whole machine to take effect - this is not mentioned in the guide. Without the errors and the state of the machine it is hard to tell afterwards what your issue was. It is possible you installed wrong version of openssl accidentally. Unsure if some unconventional location may also be a reason. Most dependency errors during compile I have seen are caused by users installing wrong dependencies. For example 32 bit library when they compile 64 bit. This mostly happens for MySQL and Boost. Another problem has been the new boost and visual studio versions that required the boost finding script to be changed, but I have not checked if that was corrected already - it may have required some manual fixing. For the issues that you somehow solved it would require seeing the errors and possibly what you have installed and how you have set up the environment to figure out. This is why it is hard to imagine what could have been wrong. Even a small mistake can lead to nothing working and it could be that your system is different in some way from the majority of other systems (new versions of software etc.). So if you cannot solve the problems you should post the error messages and environment data, like what bit version you are compiling, and ask for help. In case you are getting errors there is also a troubleshooting section that has some guides for handling specific errors you may encounter: https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130044/Troubleshooting+articles In the beginning the guide encourages you to search the forums and ask for help if you cannot find what you need. - There is even a support channel you can ask help live on irc. Anyone is free to edit the wiki, which means that after figuring out what is missing from the guide you can add it in. That being said this software is probably not being built for the average joe to use. Some knowledge about the used software and programming as well as problem solving is likely expected. It should also be expected that a new user will have problems configuring a project of this size and with this many dependencies - even with a perfect guide. New issues keep rising all the time as used libraries and software is being developed by third parties as well as TC.
  14. 2 points
    If you read the message carfully, you'll see that it's just a warning and no build error. Kind regards, Carbenium
  15. 2 points
    WDBXEditor was created by barncastle to be compatible with every revision . Personally, it is my favorite, especially when you need to dissect from different revisions with the project that I have been working on.
  16. 2 points
    Well, to start things off, here's my version of the spawn dump for everyone's favorite raid instance: naxxdump.sql
  17. 2 points
    More: http://thehackernews.com/2017/07/gsoap-iot-device-hacking.html
  18. 2 points
    Bnet server for 4.3.4 is not done or working yet but auth server is working of course and for the realmlist in the database for realm looping make sure it is set to your main IP and not localhost or 127.0.0.1 but instead the main IP. Also make sure in the wow directory you have under realmlist.wtf file the main IP address as well.
  19. 2 points
    .debug bg = Toggle debug mode for battlegrounds. In debug mode GM can start battleground with single player. Or if in your case if you want to do a true 1 vs 1. You can temporarily modify world.battleground_template with min players per team to 1 for that particular battleground. https://trinitycore.atlassian.net/wiki/display/tc/battleground_template#battleground_template-MinPlayersPerTeam 1. .reload battleground_template 2. level 80+ alliance queue up for that BG. 3. level 80+ horde queue for the same BG.
  20. 2 points
    @Halebawa I think I see your issue, when skimming across the images. more clearly. Your Trinity Realm in the DB needs to be set to 8085. It's at 3724. Port 3724 is your authserver. You mentioned you added a second realm, was that also at 3724? That needs to be 8086 or another port configured. Let me know.
  21. 2 points
    It's crashing (closing) immediately due to a configuration issue. In Windows, use cmd.exe to navigate your worldserver.exe path and run worldserver from the terminal via command line and dont double click binary to execute. That will prevent the window from closing. Also, everything should be 127.0.0.1. and not worry about your firewall. Windows whitelists 127.0.0.1 automatically. You should use that for your realmlist.wtf and your DB settings. Once you get an exact error message from the console (without it auto closing), report back what the issue is and we can help get you set up.
  22. 2 points
    " has for gossips broken maybe 7.2.0 fuckup. "
  23. 2 points
    This is similar, but known: https://github.com/TrinityCore/TrinityCore/issues/19527 You have to keep in mind that 7.x is still new and the devs+community are collecting as much data as possible. Even for pre-existing npc's wil have a different menu, quest, or text than the previous version. The short answer is, don't compare 335a and master
  24. 2 points
  25. 2 points
    Really? Does this look like the repack support forums? You want support or help, start here... https://trinitycore.atlassian.net/wiki/display/tc/Core+Installation
  26. 2 points
    authservers are compatible (up to wod, old auth code removed from client) if you just add the neccessary build info https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/authserver/Authentication/AuthCodes.cpp
  27. 2 points
    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.
  28. 2 points
    Hi all! I've created a script that will generate a data package for your server and added the instructions on how to use it in the post. I've just added it to my build environment, so it will be ready for use tomorrow! Cheers!
  29. 2 points
    Hey mmorganj, First of all, welcome to the community. It's great seeing people mature and getting off repacks, I just don't find one single benefit to repacks and It's even better when people come up (like you ) that want to contribute, even if it's for self learning, temporary experience, or being selfless in giving back to the very community that you seem to recognize. We can take all the help we can get, regardless of experience or background! Now, with that said, I personally think the best way to get started is with the basic scripts. Learning to modify, change, or even add new scripts for quests, spells, events, etc... If you are experienced with C++, learning C++, or just getting your feet wet for the first time with it, would be the best way to get the ball rolling. With MySQL or any database, can be a breeze if you have the right tools to learn, and for the common person investing time can pick it up in a few weeks.. I personally use mysql client on Linux. Again, another personal experience to dive into learning how mysql works on an advanced aspect. For beginners, I think a lot of people use Windows and HeidiSQL is simple and easy since HeidiSQL (mysql gui) has a script output window that is very transparent on the exact commands it's doing while navigating through the GUI. If you would rather just jump into using Linux through a terminal client and get more advanced, let me know and I can get you started with those basic commands to get that ball rolling. Personally just not a Windows fan Getting started, Well... there is so much to get going: How to (to get going) The issues we have (up to you on your pace for assisting), dissect how spells, waypoints, etc. work SAI Scripts, this link has tools, questions, and basic understanding on how they work, etc.. Additional utilities (specifically for TC community to improve the experience and make it easy) To be honest this community doesn't really teach how to code, but more of on what needs help and improvement. I would start by learning the basics of C++ like pointers, classes structs, etc... If you choose to code something up, don't forget that we have standards before submitting a Pull Request (Code review) for the devs to research over before adding to the master (or flavor of branch you want to contribute)
  30. 2 points
    https://gitlab.com/trinitycore/TrinityCore_434/tree/4.3.4/sql/base run the conversors
  31. 2 points
    You could set up a command script and then use the dynamic hotswap. This way you would only need to rebuild the scripts (or a part of them?) to test something small with your command script. Otherwise Im not sure you can speed up the compilation process or avoid it if you want to edit the core. Editing scripts can probably benefit from the hotswap system, but otherwise I can only think of using better hardware or trying to optimize the code for build time. https://trinitycore.atlassian.net/wiki/display/tc/Using+the+script+hotswapping+system
  32. 2 points
    TDB 720.00 & TDB 335.63 released.
  33. 2 points
    So, okay. (I did it that way) I got offsets form "Clasic wow 1.12 5875" So I start to see how the addresses are stored, where are stored. From "5875" to "5.1.0 16357" It was easy to find out and match them. (It take me 2 days LoL ) But after that I found that (I'm big noob at that ): The offsets for 'lang' is placed only at audioLocale (I named the addres "GetLocaleClient" is the offset who i need) http://imgur.com/a/XH0Yd You have to play some time with IDA to understand it. It's easy just do it. PS. See in old client where is those and than Try in actual version. Have fun : http://pastebin.com/NJYgw8h4
  34. 1 point
    I think we need a tool to allow scripters and db devs to research sniffs in a better and easier way. The tool needs to be multiplatform and license must be AGPL. The idea is you load the parsed sniff into the tool, (it needs to open huge txt files, over 1 GB on size) then: - 1st dropdown will allow the dev to select what he wants to research (for example: creature, gameobject, vehicle, npc_text, poi, waypoints...) - 2nd dropdown will list the IDs of the creatures/gameobjects/vehicles you have selected (allows multiple selections). - 3rd dropdown will list the GUIDs of the creatures/gameobjects of the ID(s) you have selected (allows multiple selections). When you select the GUID(s) under the dropdowns, you will get the coords for a creature/gameobject or creature using the npc_text or the quest of a poi. And under that, on the left, you will have the timing(s) where sniffer found the selected object. When selecting it on the right, we will see the actions performed by the object at that time. In case of waypoints allow to load maps and draw the route of the creature.
  35. 1 point
    Pretty much what Aokromes said, I kind of took a break and only started working on this today
  36. 1 point
    @darki73 Whoops! I meant to put in the releases folder. Also, I have a compiled version that disabled the auto-update. @Daniel25 Sorry for the confusion, to add what darki73 mentioned. It will try to connect to their server and check for updates. It does take a good minute once you launch the app. I have the Editor with that feature disabled. I just have to find it. Once I'm home from work I can PM you one.
  37. 1 point
    I'm afraid you can't use it. It's the Chinese version only. Here is the link: http://www.locoy.com/download
  38. 1 point
    To add what Codeman8214 said.. Just be sure it's enUS version if you are using 3.3.5a.
  39. 1 point
    iirc bnet "server" came out during Cata or mid expansion to hold ids and other games (not just wow). My memory vaguely serves me correctly. Anyhow, you are not required to run it for 4.x, it's a luxury item to have keeping track of friends, etc. during that time. I believe after Cata into MoP (5.x) it was then a requirement. But that is how Blizz currently uses a stronger authentication to the client.
  40. 1 point
    If you are using mysql, dedicate more memory to increase your speed. Use more RAM to increase data storage going back and forth from memory and not use your physical hard drive to write, then upload. Make a backup of my.cnf file and do minor increases to: key_buffer_size sort_buffer read_buffer table_cache innodb_buffer_pool_size Then restart MySQL. Be sure to keep an eye on your memory usage. You don't want MySQL to much RAM. Also, see about increasing RAM in your computer. If I'm reading that correctly, you only have 3Gbs of RAM which is extremely low if you have more than 10 players in the future.
  41. 1 point
    This is strange and you are sure the gt folder is in the worldserver directory too because I had this extract problem when the gt folder was missing and it was fixed once I put it into the worldserver directory.
  42. 1 point
    I don't know what commit did it but I noticed you can add an npc now at any high number and the trainers including guards work now when showing up text and options.
  43. 1 point
    The client doesn't do anything. This is all server based commands and entries. The npc add command will only spawn what exists in the creature_template table. So if you make adjustments to the npc, it may default +/- to what that is set. As for the npc that don't show up, could be a lack of npc entries in the db, incorrect information, a different phase, etc... I have only played around with 7.x TC. I mainly stay within my 335a world
  44. 1 point
    you need VS 2015 or 2017.
  45. 1 point
    tc is getting those database names from worldserver.conf, change the world to world3.3.5 worldserver.conf.dist:LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth" worldserver.conf.dist:WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world" worldserver.conf.dist:CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters" example (ignore socks) worldserver.conf:LoginDatabaseInfo = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_auth" worldserver.conf:WorldDatabaseInfo = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_world" worldserver.conf:CharacterDatabaseInfo = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_characters"
  46. 1 point
    read here: http://stackoverflow.com/questions/202205/how-to-make-mysql-handle-utf-8-properly
  47. 1 point
    https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/
  48. 1 point
    3.3.5a (enUS) hash should match or never change (This was for Windows OS 8/XP). I can't speak for other locale copies, nor operating systems outside of Windows. After Wrath (Cata) It was almost impossible to do a hash check. It was a nightmare for BlizzCS to assist customers at the time (they enabled the live streaming) which varied across everyone, even for clients in certain regions within or outside the US. (using enUS version)
  49. 1 point
    They are not aligned to 4 bytes, they are aligned to RecordSize from db2 header
  50. 1 point
    I'm reading through the core scripts of TrinityCore to futher understand both C++ and TrinityCore itself. I have to post good job. To me being a novice in C++ the code is impressive and looks professional. I'm looking to further understand when I get to what I can self teach and hopefully give back. Now that I have time to put into the project. (Start with custom and go from there.)