Jump to content

SplinterC

Members
  • Posts

    11
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by SplinterC

  1. I've found solution. Need to add permissions for path to models In my case it was chown -R apache:apache /path/to/models/
  2. Try to remove package ace-5.5.2_3, it's unnecesary.
  3. First need you pkg_info and uname -mr results. And use a latest port http://filebeam.com/0a3873f53e46bb81025316323ce9d1cf it'll build ace-5.7.5
  4. Why not this: @@ -5973,7 +5973,19 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu // 4 damage tick basepoints0 = triggerAmount*damage/400; triggered_spell_id = 61840; - break; + + Unit::AuraList const &periodicAuras = target->GetAurasByType( SPELL_AURA_PERIODIC_DAMAGE ); + for( Unit::AuraList::const_iterator i = periodicAuras.begin(); i != periodicAuras.end(); ++i ) + { + if ((*i)->GetCasterGUID() == GetGUID() && (*i)->GetSpellProto()->SpellIconID == 3025 && + (*i)->GetSpellProto()->SpellVisual[0] == 5652) + { + int32 tickremains = int32((*i)->GetAuraDuration() / (*i)->GetModifier()->periodictime ); + basepoints0 += int32((*i)->GetModifier()->m_amount * tickremains /4); + break; + } + } + break; } // Sheath of Light if (dummySpell->SpellIconID == 3030)
  5. I've resolved linker errors. Problem was in flag adding: -L/usr/local/mangos/lib (prefix path) After I input command to link mangos without this library path - compile has been succesfull. On 7.2 x86 mangos + ace-5.7.4 runs normal. On x64 not tested yet.
  6. I've created FreeBSD port ( v. 5.7.4 ) Download: http://filebeam.com/3c849b3259d1d0dd05ded629a530a038 Compiling mangos with port-builded version of ACE is fine on my 7.2-STABLE i386 But on 7.2-STABLE amd64 I've some unknown troubles with linking ( not sure but I think, that it's only my machine problem)
  7. Hello. In this patch many places with same code like this function: bool OutdoorPvPSI::HandleAreaTrigger(Player *plr, uint32 trigger) { switch(trigger) { case SI_AREATRIGGER_A: if(plr->GetTeam() == ALLIANCE && plr->HasAura(SI_SILITHYST_FLAG,0)) { // remove aura plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG); ++ m_Gathered_A; if(m_Gathered_A >= SI_MAX_RESOURCES) { BuffTeam(ALLIANCE); sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString(LANG_OPVP_SI_CAPTURE_A,-1)); m_LastController = ALLIANCE; m_Gathered_A = 0; m_Gathered_H = 0; } UpdateWorldState(); // reward player plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true); // add 19 honor plr->RewardHonor(NULL,1,19); // add 20 cenarion circle repus plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20); // complete quest plr->KilledMonster(SI_TURNIN_QUEST_CM_A,0); } return true; case SI_AREATRIGGER_H: if(plr->GetTeam() == HORDE && plr->HasAura(SI_SILITHYST_FLAG,0)) { // remove aura plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG); ++ m_Gathered_H; if(m_Gathered_H >= SI_MAX_RESOURCES) { BuffTeam(HORDE); sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString(LANG_OPVP_SI_CAPTURE_H,-1)); m_LastController = HORDE; m_Gathered_A = 0; m_Gathered_H = 0; } UpdateWorldState(); // reward player plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true); // add 19 honor plr->RewardHonor(NULL,1,19); // add 20 cenarion circle repu plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20); // complete quest plr->KilledMonster(SI_TURNIN_QUEST_CM_H,0); } return true; } return false; } Maybe better something like this (cause smaller)? : bool OutdoorPvPSI::HandleAreaTrigger(Player *plr, uint32 trigger) { if(!trigger) return false; if(plr->GetTeam() && plr->HasAura(SI_SILITHYST_FLAG,0)) { // remove aura plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG); plr->GetTeam() == ALLIANCE ? ++m_Gathered_A : ++m_Gathered_H; if(m_Gathered_A >= SI_MAX_RESOURCES || m_Gathered_H >= SI_MAX_RESOURCES) { BuffTeam(plr->GetTeam()); sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString((plr->GetTeam() == ALLIANCE) ? LANG_OPVP_SI_CAPTURE_A : LANG_OPVP_SI_CAPTURE_H, -1)); m_LastController = plr->GetTeam(); m_Gathered_A = 0; m_Gathered_H = 0; } UpdateWorldState(); // reward player plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true); // add 19 honor plr->RewardHonor(NULL,1,19); // add 20 cenarion circle repus plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20); // complete quest plr->KilledMonster((plr->GetTeam() == ALLIANCE) ? SI_TURNIN_QUEST_CM_A : SI_TURNIN_QUEST_CM_H,0); return true; } return false; }
  8. You may use as git apply < outdoor_pvp_v38.patch as patch -p1 < outdoor_pvp_v38.patch there is no difference to use But on some windows systems git apply can't create a new files(like OutdoorPvP.cpp, etc.), as the same time patch -p1 create with no problems
  9. http://filebeam.com/8e87faac22f1cb27fac7b40ccea13398 Outdoor PvP patch for git. Converted from svn to git by KAPATEJlb to apply use: patch -p1 < outdoor_pvp_v38.patch
×
×
  • 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