TrinityCore | TrinityCore Open Source MMO Framework ( master =
kandi X-RAY | TrinityCore Summary
kandi X-RAY | TrinityCore Summary
TrinityCore is a MMORPG Framework based mostly in C++. It is derived from MaNGOS, the Massive Network Game Object Server, and is based on the code of that project with extensive changes over time to optimize, improve and cleanup the codebase at the same time as improving the in-game mechanics and functionality. It is completely open source; community involvement is highly encouraged. If you wish to contribute ideas or code, please visit our site linked below or make pull requests to our Github repository. For further information on the TrinityCore project, please visit our project website at TrinityCore.org.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TrinityCore
TrinityCore Key Features
TrinityCore Examples and Code Snippets
Community Discussions
Trending Discussions on TrinityCore
QUESTION
Does anyone has already successfully added Rochet2's Reforging script on AC ? Mine works but not completely. On character login the script should re-apply bonuses on reforged (& equipped) items, but it seems "player->GetItemByGuid()" can't find the requested item, so it's returning nothing.
TrinityCore code (works) :
...ANSWER
Answered 2019-Aug-22 at 21:55The order of arguments to MAKE_NEW_GUID
is different from ObjectGuid
constructor. So since your arguments are in wrong order then the result is also wrong and item is not found. See the definition and use of MAKE_NEW_GUID
for the correct order of arguments.
QUESTION
I've recently found AzerothCore and I was wondering if it could be configured or modded so that I could play the entirety of WLK with a friend, from start to finish (raids).
Quite a lot of years ago (more than 8) I used TrinityCore to play some WLK raids with friends, but back then I basically had to manually create a buff that would increase HP and Damage, which while made the raid possible in 4-5 players, was really difficult to balance and either it trivialized the raid or didn't make them beatable anyway.
AzerothCore looks like it's one of the most up-to-date and developped WLK emulator and I saw there's a "mod" called "mod-autobalance" that seems to promise just what I need. Before start looking into fixing my Linux server (which is offline at the moment) I wanted to see if my idea to play the game from level 1 to killing the Lich King with a friend is feasible at all and if so, with what compromises.
Lastly, any kind of tip, guidance or advice is greatly appreciated.
Thanks!
...ANSWER
Answered 2019-Nov-25 at 09:38Yes, you can use mod-autobalance for it. Start to play with your friends from 1 to 80 lvl, walk through the instances one by one according to your level and then you can kill the Lich King.
QUESTION
I've made a clone from a repo, for example :
https://github.com/test1/project.git
That's a clone of another repo with a lot of changes (+1000 commits), then I add +200 commits on my local project.
Now, I want to switch to the main repo. https://github.com/main/project.git
I don't want to lose my changes, but I want to remove all commits from test:project
in my local project and switch to main:project
without losing my own commits and changes.
What is the best way to do this?
Real example :
I made a clone from
Then I made my own changes and commits in my local project.
Now I wanna switch to :
And keep my commits and remove all commits from ElunaTrinityWotlk
, I don't want to merge commits from ElunaTrinityWotlk
to TrinityCore
, I just wanna switch to the TrinityCore
with only merge my own commits.
ElunaTrinityWotlk
is a clone from TrinityCore to add some new features... look at the commits of the ElunaTrinityWotlk
, I don't need ElunaTrinityWotlk
features anymore wanna switch to TrinityCore
branch 3.3.5
, I just need to merge my own changes with TrinityCore
remove commits of ElunaTrinityWotlk
.
ANSWER
Answered 2019-Aug-01 at 00:21OK, when you said you wanted to "switch to the main repo", I had several things in my mind what that could mean. This was not one of them.
Jeez... this is advanced...
OK, this is possible, but it won't be simple. Make backups in case you mess up, so you can try again. Well, it shouldn't really be necessary, but with something like this, better safe than sorry.
TL; DR: Make another GitHub repo forked from Trinity; Locally, in a single repo, fetch commits both from Eluna and Trinity repos; cherry-pick your commits from the Eluna commit tree to the Trinity tree; push back to the Trinity repo.
In more detail:
If you're on Windows, I recommend using TortoiseGit. That's my weapon of choice and it's both easy to use and advanced. If you're not in Windows, or you have another tool that you're more familiar with, you can use that. Ultimately this can all be done in command line too - it's just more tedious.
So, there are several steps here.
First off, your own github repository is forked from Eluna, so that won't do. Create another one which is forked from Trinity. Leave the first one for now, it'll be a backup in case you mess up and need to start over.
Then, go to your local copy on your local computer where all the changes live. Make sure all your changes are pushed to your Eluna-based github repository. This is a precaution, so that you don't lose work. Also check that there are no local modifications. For extra safety, clean up all unversioned files too. Make it look like it's a freshly cloned repo with no modifications whatsoever.
Alternatively, simply make another clone of your Eluna-based github repository in a different folder. Have a fresh start.
Anyways, next step - make some tags. In particular, tag your own latest commit so that you don't lose it.
Then - bring in Trinity. In your local repo, create another remote and make it point to your Trinity-based github repo. Fetch the changes from that remote. Don't pull! FETCH.
Now your local copy will have a mashup of commits from both your Eluna-based repository and your Trinity-based repository, and each will have their own remote.
Next, make a new branch from a Trinity commit, on top of which you want to move your own commits.
Now comes the hard part. What you need to do is to cherry pick your own commits, and move them to your new branch. Cherry pick the commits in order, starting with the oldest. In TortoiseGIT you can select multiple commits and cherry pick them all at once.
Every now and then you will have merge commits where you have pulled the latest Eluna version and merged that into your own code. DO NOT CHERRY PICK THESE. That will just bring the entire Eluna project with it. Only cherry pick your own commits.
It's quite possible there will be merge conflicts, or perhaps you'll have edited some code that is in Eluna, but isn't in Trinity. In that case - good luck! You'll need to figure out manually how to properly cherry pick that commit.
Finally though, after some hours (or minutes, or days, depending on what you've done there), you'll have all your commits cherry-picked on top of the latest Trinity commit. Phew!
Now check that the project still works. After such a long cherry pick, it's more likely that you've missed something than not. Fix that up and commit those changes too.
In the end, you have a new branch, based off of a Trinity commit, which now also contains all your cherry-picked commits and other changes. Push that to your Trinity github repo. You're done!
Wipe the local copy and re-clone your Trinity based github repo for a clean slate.
QUESTION
I found this script online and i'm new to lua but i want to learn lua. I have coding knowledge but not in lua. I have tried to contact to owner of the script but i think he's busy in real to make it work for my latest trinitycore.
I will link the sql imported for commands aswell.
this is the lua error & sql:
lua_scripts/Grumbo'z Guild Warz.lua:2083: attempt to index field '?' (a nil value) [1364] Field 'team' doesn't have a default value Unhandled MySQL errno 1364. Unexpected behaviour possible. commands for: RA : created. lua_scripts/Grumbo'z Guild Warz.lua:508: attempt to index field '?' (a nil value)
Another error :
[Eluna]: Error loading
lua_scripts/Grumbo'z Guild Warz.lua
lua_scripts/Grumbo'z Guild Warz.lua:732: expected near '=='
I've trying fixing it myself but none of my ideas were working. Couldn't find anyone with the same kinda problems as mine.
Lua script is to long to post here so i'm trying to link it via pastebin:
Sql command script is to long to post here so i'm trying to link it via pastebin:
Expected result : This script should enable war between guilds & building guild buildings.
...ANSWER
Answered 2019-Apr-17 at 19:26lua_scripts/Grumbo'z Guild Warz.lua:508: attempt to index field '?' (a nil value)
got to line 508:
QUESTION
From https://github.com/Rochet2/TrinityCore
* branch transmog_3.3.5 -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
src/server/game/Entities/Player/Player.h
Please commit your changes or stash them before you merge.
Aborting
...ANSWER
Answered 2019-Apr-14 at 19:29It depends on whether you want your change or not.
If you want your changes for future, then stash the changes and after pulling the stuff from the remote, you can pop the stash
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TrinityCore
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page