Jump to content

yad02

Members
  • Posts

    149
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by yad02

  1. Yes, but (I think, not tested for all) you can find displayid_H with search based on SoundId in CreatureDisplayInfo.dbc

    I just test some Shapeshift Form, this doesnt work with FORM_FLIGHT, no SoundID and 2 forms.

    So, check isn't good...

    EDIT :

    Maybe load DisplayID_H from creature_template

    However querie :

    SELECT * FROM `creature_template` WHERE `modelid_A` = 2281 OR `modelid_A2` = 2281;

    returns `modelid_H` = 2281;

    ( On UDB ) for creature entry 4253 and another creature ...

    So better issue is hardcode modelid... :(

    What is Vladimir's opinion ?

  2. Entry Point : SpellShapeshiftForm.dbc (sorry for french names...)

    5,3,,,"Forme d’ours",,,,,,,,,,,,,,0xFF01FE,728,1,496,2500,2281,0,,,0,0,0,0,0,0,0,0x0,

    In : CreatureDisplayInfo.dbc

    Alliance Display : 2281 ==>

    2281,213,3022,0,1.0,255,"DruidBearSkinRed","","","",1,0,0,0,0x0,0,

    All 213 are DruidBear (I suppose Alliance for all - not tested)==>

    23950,213,0,0,2.0,255,"DruidBearSkin","","","",1,0,0,0,0x0,0,

    29413,213,0,0,1.0,255,"DruidBearSkinPurple","","","",1,0,0,0,0x0,0,

    29414,213,0,0,1.0,255,"DruidBearSkinBlack","","","",1,0,0,0,0x0,0,

    29415,213,0,0,1.0,255,"DruidBearSkinBlue","","","",1,0,0,0,0x0,0,

    29416,213,0,0,1.0,255,"DruidBearSkinWhite","","","",1,0,0,0,0x0,0,

    29417,213,0,0,1.0,255,"DruidBearSkinRed","","","",1,0,0,0,0x0,0,

    29438,213,0,0,1.0,255,"DruidBearSkinBlack","","","",1,0,0,0,0x0,0,

    29440,213,0,0,1.0,255,"DruidBearSkinPurple","","","",1,0,0,0,0x0,0,

    count(DruidTaurenBearSkin) == 9

    Sound id (DBCStructure.h) another record : 3022 ==>

    2289,214,3022,0,1.20000004768,255,"DruidTaurenBearSkinBrown","","","",1,0,0,0,0x0,0,

    All 214 are DruidBear (I suppose Horde : "Tauren" for all - not tested)==>

    29418,214,0,0,1.20000004768,255,"DruidTaurenBearSkinBlack","","","",1,0,0,0,0x0,0,

    29419,214,0,0,1.20000004768,255,"DruidTaurenBearSkinSilver","","","",1,0,0,0,0x0,0,

    29420,214,0,0,1.20000004768,255,"DruidTaurenBearSkinYellow","","","",1,0,0,0,0x0,0,

    29421,214,0,0,1.20000004768,255,"DruidTaurenBearSkinWhite","","","",1,0,0,0,0x0,0,

    count(DruidTaurenBearSkin) == 5

    Not tested for all Druid ShapeshiftForm... seams to be exactly the same thing as this for cat form

    EDIT1 :

    Interesting topic here : http://forums.worldofwarcraft.com/thread.html?topicId=17631614423&sid=1

    EDIT2 :

    I think thenecromancer issue is the best issue... (just verify displayid in case...)

    "hardcode" displayid (Horde & Alliance) is faster than to find displayid from dbc with "my" idea to find both

    (use displayid_A to find displayid_H from SpellShapeshiftForm.dbc to CreatureDisplayInfo.dbc)

    In any case I don't see how bear and cat skin are defined. No way in DBC... (in my opinion)

  3. Do you think it's the good way to fix conflicts with 3.2.2 ?

    void Player::UpdateZone(uint32 newZone, uint32 newArea)
    {
       AreaTableEntry const* zone = GetAreaEntryByAreaID(newZone);
       if(!zone)
           return;
    
       uint32 oldZoneId  = m_zoneUpdateId;
    
       if(m_zoneUpdateId != newZone)
       {
           SendInitWorldStates(newZone, newArea);              // only if really enters to new zone, not just area change, works strange...
    
           if (sWorld.getConfig(CONFIG_WEATHER))
           {
               if(Weather *wth = sWorld.FindWeather(zone->ID))
                   wth->SendWeatherUpdateToPlayer(this);
               else if(!sWorld.AddWeather(zone->ID))
               {
                   // send fine weather packet to remove old zone's weather
                   Weather::SendFineWeatherUpdateToPlayer(this);
               }
           }
       }
    
       m_zoneUpdateId    = newZone;
       m_zoneUpdateTimer = ZONE_UPDATE_INTERVAL;
    
       // zone changed, so area changed as well, update it
       UpdateArea(newArea);
    
       // inform outdoor pvp
       if(oldZoneId != m_zoneUpdateId)
       {
           sOutdoorPvPMgr.HandlePlayerLeaveZone(this, oldZoneId);
           sOutdoorPvPMgr.HandlePlayerEnterZone(this, m_zoneUpdateId);
       }    
    
       // in PvP, any not controlled zone (except zone->team == 6, default case)
       // in PvE, only opposition team capital
       switch(zone->team)
       {
    [...]
    

  4. Thank you !

    However I use this batch

    @echo off
    set git="C:\\Program Files\\Git\\bin\\git"
    
    mkdir MaNGOS-Src > NUL 2>&1
    cd MaNGOS-Src
    
    %git% init > NUL 2>&1
    %git% remote add origin git://github.com/mangos/mangos.git > NUL 2>&1
    %git% fetch origin
    %git% merge origin/master
    pause
    

    it worked very good

    but now I have this error :

    remote: error: object directory /data/git/repositories/4/cc/9d/62/mangos/mangos.git/objects does not exists; check .git/objects/info/alternates.

    remote: Counting object... next is good...

    Maybe It's not the good thread to post it, I hope git isn't partially broken...

  5. okay thank you I just do it

    Sorry for french log, it's only new AV patch wich causing these errors, about bg2db base patch it's ok works fine for me (for now)

    BattleGroundAV.cpp
    ..\\..\\src\\game\\BattleGroundAV.cpp(506) : warning C4101: 'index' : variable locale non référencée
    ..\\..\\src\\game\\BattleGroundAV.cpp(833) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(834) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(838) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(839) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(877) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(887) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(888) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(890) : error C2677: '[' binaire : aucun opérateur global trouvé qui accepte le type 'BG_AV_OTHER_VALUES' (ou il n'existe aucune conversion acceptable)
    ..\\..\\src\\game\\BattleGroundAV.cpp(891) : error C2677: '[' binaire : aucun opérateur global trouvé qui accepte le type 'BG_AV_OTHER_VALUES' (ou il n'existe aucune conversion acceptable)
    ..\\..\\src\\game\\BattleGroundAV.cpp(895) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(896) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(897) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(898) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(899) : error C2109: un indice requiert un type tableau ou pointeur
    ..\\..\\src\\game\\BattleGroundAV.cpp(901) : error C2109: un indice requiert un type tableau ou pointeur
    

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