Jump to content

balacas

Members
  • Posts

    75
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by balacas

  1. @Traponinet,

    Thank you for replied. I did as you explain to me, and I I have two errors :

    "..\\..\\src\\game\\Group.cpp(1871) : error C2248: 'Unit::m_TotemSlot' : cannot access private member declared in class 'Unit'"

    Line 1971 : if(Unit *totem = pp->GetMap()->GetUnit(pp->m_TotemSlot{i})) (-> I replace {i} instead of "i with hooks" if it makes a tag italics ..)

    "..\\..\\src\\game\\Spell.cpp(3425) : error C2440: 'initializing': can not convert from 'const Spell::TargetInfo *' to 'Spell::TargetInfo *'"

    Line 3423 to 3426 :

    TargetInfo const& target = *ihit;

    if (!target.targetGUID.IsCreature())

    TargetInfo* target = &*ihit;

    if (!target.targetGUID.IsCreatureOrVehicle())

    Again thank you for your help!

  2. Hello all,

    Mangos Version: 10899

    Custom Patches: Interfaction / Vehicules

    SD2 Version: 1901

    Database Name and Version : YTDB_0.13.8_R560

    How it SHOULD work: The bank should be the same for all characters in the same account.

    How it DOES work: There is a bank for each character even if the characters are all on the same account.

    Thank you very much to the team of developers !

  3. I have an error with this line :

    Unit* GetCharmOrPet() const { return !GetCharmGuid().IsEmpty() ? GetCharm() : GetPet(); }

    Error 28 error C4430: missing type specifier - int assumed default account. Note: C + + does not support default-int \\ mangos \\ src \\ game \\ Unit.h 1568

    Error 21 error C3646: 'Unit': unknown substitution specifier \\ mangos \\ src \\ game \\ Unit.h 1568

    Error 10 error C2440: 'return': can not convert from 'Unit *' to 'int *' \\ mangos \\ src \\ game \\ Unit.h 1568

    Error 17 error C2143: syntax error: missing ';' before '*' \\ mangos \\ src \\ game \\ Unit.h 1568

    Error 31 error C1903: Can not recover from previous errors, stopping compilation \\ mangos \\ win \\ VC100 \\ c1xx

    Can you help me ?

  4. I have an error with :

    Player *pPlayer = m_session->GetPlayer();

    if(!pPlayer->isInCombat())

    {

    caster->CastSpell(caster,64886, false);

    pPlayer->TeleportTo(1, -8501.848633, 2022.142334, 104.750320, 3.531070);

    return true;

    }

    Error : identifier "caster" is undefined

    Erreur : the left of '-> CastSpell' must point to a type class / struct / union / generic

    And if I did it:

    Player *pPlayer = m_session->GetPlayer();

    if(!pPlayer->isInCombat())

    {

    pPlayer->CastSpell(caster,64886, false);

    pPlayer->TeleportTo(1, -8501.848633, 2022.142334, 104.750320, 3.531070);

    return true;

    }

    Error : Error : identifier "caster" is undefined

    I do not know what to do ...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use