Currently I use the "AddItem" command to give the character an item at a given time.
Is there any command I can send this item to the bank instead of the bag?
I created a script that teaches on level one the spell 33389(Apprentice Riding) and 17464(Brown Skeletal Horse) case create one char undead.
But to leave the game(logoff) and come back, the mount (17464 - Brown Skeletal Horse) disappeared. The 33389(Apprentice Riding) has not disappeared.
Why...
As I am starting with C + + development and trinitycore.
I have some questions that I would take.
When I want to test a new script have to generate a release? There has somehow faster?
Is it possible to debug? how? I use VS2013...
Where i get all spells of all class in the base?
select * from npc_trainer n where n.entry in (200001, 200002); -- Warrior
Return all spells of trainer, but its ok?
void OnLogin(Player * player) {
if (player->HasAtLoginFlag(AT_LOGIN_FIRST)) {
player->GetSession()->SendNotification("TEST");
}
}
This code not work..
How do I run the script only the first time?
How fix this code:
GroupMember = (Unit::GetPlayer(*me, itr->guid));
"Unit::GetPlayer" is old comand or something
complete fuction:
if(playerGroup){
Player* GroupMember;
const Group::MemberSlotList members = playerGroup->GetMemberSlots();
for (Group::member_citerator itr =...