Jump to content

Morphau

Members
  • Posts

    205
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Posts posted by Morphau

  1. With last rev, modify in your patch this:

    @@ -598,7 +598,7 @@ void WorldSession::HandlePetCastSpellOpcode( WorldPacket& recvPacket )
            return;
    
        SpellCastTargets targets;
    -    if(!targets.read(&recvPacket,pet))
    +   if(!targets.read(&recvPacket, pet, spellInfo))
             return;
    

    by this:

    @@ -598,7 +598,7 @@ void WorldSession::HandlePetCastSpellOpcode( WorldPacket& recvPacket )
            return;
    
        SpellCastTargets targets;
    -    if (!targets.read(&recvPacket,pet))
    +   if (!targets.read(&recvPacket, pet, spellInfo))
              return;
    

    ;)

  2. file src/game/ShardedDefines.h
    @@ -2358,11 +2358,12 @@ enum SummonType
        SUMMON_TYPE_GUARDIAN    = 61,
        SUMMON_TYPE_TOTEM_SLOT1 = 63,
        SUMMON_TYPE_WILD        = 64,
        SUMMON_TYPE_POSESSED    = 65,
        SUMMON_TYPE_DEMON       = 66,
        SUMMON_TYPE_SUMMON      = 67,
    +    SUMMON_TYPE_SUMMON2      = 1561,
        SUMMON_TYPE_TOTEM_SLOT2 = 81,
        SUMMON_TYPE_TOTEM_SLOT3 = 82,
        SUMMON_TYPE_TOTEM_SLOT4 = 83,
        SUMMON_TYPE_TOTEM       = 121,
        SUMMON_TYPE_UNKNOWN3    = 181,
    

    file src/game/spell.cpp
    @@ -4229,11 +4229,12 @@ SpellCastResult Spell::CheckCast(bool strict)
                    switch(m_spellInfo->EffectMiscValueB[i])
                    {
                        case SUMMON_TYPE_POSESSED:
                        case SUMMON_TYPE_POSESSED2:
                        case SUMMON_TYPE_DEMON:
                        case SUMMON_TYPE_SUMMON:
    +                     case SUMMON_TYPE_SUMMON2:
                        {
                            if(m_caster->GetPetGUID())
                                return SPELL_FAILED_ALREADY_HAVE_SUMMON;
    
                            if(m_caster->GetCharmGUID())
    
    

    file src/game/SpellEffects.cpp
    @@ -3210,10 +3210,11 @@ void Spell::EffectSummonType(uint32 i)
                break;
            case SUMMON_TYPE_DEMON:
                EffectSummonDemon(i);
                break;
            case SUMMON_TYPE_SUMMON:
    +         case SUMMON_TYPE_SUMMON2:
                EffectSummon(i);
                break;
            case SUMMON_TYPE_CRITTER:
            case SUMMON_TYPE_CRITTER2:
            case SUMMON_TYPE_CRITTER3:
    

    Maybe it an "hack" but work it perfectly ^^ ;)*

    Thanks

  3. Thanks for this fast answer ^^

    I try to recompile now for see ...

    EDIT:

    Sorry but I have still the error ...

    I use last rev, not patch, I do just:

    git clone git://github.com/mangos/mangos.git
    cd mangos
    git pull git://github.com/rastikzzz/mangos/ master
    

    Then, i have error:

    ../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
    ../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
    In file included from ../../../src/game/debugcmds.cpp:22:
    ../../../src/game/Vehicle.h:87: error: ISO C++ forbids declaration of 'VehicleDataStructure' with no type
    ../../../src/game/Vehicle.h:87: error: expected ';' before 'const'
    ../../../src/game/Vehicle.h:88: error: expected `;' before 'uint32'
    ../../../src/game/Vehicle.h:94: error: ISO C++ forbids declaration of 'VehicleDataStructure' with no type
    ../../../src/game/Vehicle.h:94: error: expected ';' before 'const'
    ../../../src/game/Vehicle.h: In member function 'uint32 Vehicle::GetVehicleFlags()':
    ../../../src/game/Vehicle.h:88: error: 'm_VehicleData' was not declared in this scope
    ../../../src/game/debugcmds.cpp: In member function 'bool ChatHandler::HandleDebugGetItemState(const char*)':
    ../../../src/game/debugcmds.cpp:558: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:564: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:573: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:579: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
    make[3]: *** [debugcmds.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    mv -f .deps/Creature.Tpo .deps/Creature.Po
    mv -f .deps/DBCStores.Tpo .deps/DBCStores.Po
    make[3]: Leaving directory `/home/SERVEURS/testt/mangos/objdir/src/game'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/SERVEURS/testt/mangos/objdir/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/SERVEURS/testt/mangos/objdir'
    make: *** [all] Error 2
    
    

    ...

  4. Thanks rastikzzz but with linux i have error when i want compiling ...

    ../../../src/game/DBCStores.cpp:467:   instantiated from here
    ../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
    ../../../src/game/DBCStores.cpp:190: warning: format '%d' expects type 'int', bu                                       t argument 5 has type 'size_t'
    In file included from ../../../src/game/debugcmds.cpp:22:
    ../../../src/game/Vehicle.h:87: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
    ../../../src/game/Vehicle.h:87: error: expected ';' before 'const'
    ../../../src/game/Vehicle.h:88: error: expected `;' before 'uint32'
    ../../../src/game/Vehicle.h:94: error: ISO C++ forbids declaration of 'VehicleDa                                       taStructure' with no type
    ../../../src/game/Vehicle.h:94: error: expected ';' before 'const'
    ../../../src/game/Vehicle.h: In member function 'uint32 Vehicle::GetVehicleFlags                                       ()':
    ../../../src/game/Vehicle.h:88: error: 'm_VehicleData' was not declared in this                                        scope
    ../../../src/game/debugcmds.cpp: In member function 'bool ChatHandler::HandleDeb                                       ugGetItemState(const char*)':
    ../../../src/game/debugcmds.cpp:558: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:564: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:573: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
    ../../../src/game/debugcmds.cpp:579: warning: format '%d' expects type 'int', bu                                       t argument 3 has type 'size_t'
    make[3]: *** [debugcmds.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    mv -f .deps/Creature.Tpo .deps/Creature.Po
    mv -f .deps/DBCStores.Tpo .deps/DBCStores.Po
    make[3]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src/game'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/SERVEURS/locale8039/mangos/objdir'
    make: *** [all] Error 2
    

    ...

  5. Hello, thanks but i am a last question, how do you launch the script with screen mod ?

    Beacause then i do this, if the server crash, the screen should be off and the server doesn't restart ...

    Thnaks if you have a solution for me :)

    Sorry for my english but i am french ...

  6. Hello all,

    I have a question for make a modification in the source of the core ...

    In fact, we can change in the mangos.conf the Player Interaction Chanel ...

    But i have a question ^^

    How make for the interaction chanel dont disturbe GM, clearly, I want seperate the Horde and Alliance of chanel but i want GM can see the chanel Alliance and the Chanel Horde as the chanel doesn't seperate ...

    Thanks if anybody have an idea for make this and sorry for my english but i am french ...

    :)

  7. Is it possible to bind an start.sh restarterscript to the gdb process that restarts mangos-worldd aswell when the server crashes ?

    Cause the gdb process i not really ended when the server crashes, are there some tutorials or something or you derex can explain ?

    Or i have to put the gdb code into the restarter-start.sh file with iam start the mangos-worldd ?

    Regards

    LickedLurk

    Up ! it's a good idea ;)

  8. Hello, please anybody can update patch ?

    Beacause the source have changed ....

    -    WorldDatabase.PExecute("INSERT INTO uptime (startstring, starttime, uptime) VALUES('%s', " I64FMTD ", 0)",
    -        isoDate, uint64(m_startTime));
    +    WorldDatabase.PExecute("INSERT INTO uptime (startstring, starttime, uptime) VALUES('%s', " I64FMTD ", 0)", isoDate, uint64(m_startTime));
    +
    +    static uint32 abtimer = 0;
    +    abtimer = sConfig.GetIntDefault("AutoBroadcast.Timer", 60000);
    

    For exemple ...

    Thanks

    :)

×
×
  • 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