DiffuSer
-
Posts
31 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by DiffuSer
-
-
traponinet, your patch based on Tasssadari repo?
-
Confirm at 9516 core revision.
-
The weapon is called and visually looks correctly, but in half of cases simply costs, sometimes beats physical attack. At least in a broad gull there are no messages that the weapon uses spells.
-
Patches do not working after switch to 3.3.2 client. Spell 64411 changed in DBC and do not have triggered spell.
-
Patch from first post working very well. Commited part of this patch isn't working.
-
Totem Rank 9 always healing 25. Without any items or with T10 Regalia set. SPD Bonus do not applying. Any sql needed?
-
maxxx2021, this script casting all spells or frost and firebolt only?
-
Someone, please, upload newest SD2 script for MI.
-
Only recently has dared at addition of this patch in a kernel. Help to be defined, what version of a patch is now actual?
-
I create it, but it's don't apply.
-
Anybody have patch for 3.2.2a? I can't apply patch from Tasssadar repository, because GameObject.cpp has conflict.
-
Whether probably to import existing records from realmd to fresh base vbulletin?
-
And haunt spirit do not come back to caster. Only heal animation without fly spirit to caster.
-
Work, but:
2009-11-23 00:10:52 Spell 58617 listed in `spell_proc_event` probally not triggered spell -
Every 10 min, online - 1-2 characters. Rev - 8840. Crashdump
-
I have this bug too. Revision - 8826.
-
How to make, that the spirit came back to caster? Animation.
-
Revision: 2009-11-13 17:51:24 8809 5ca3e8604b0c71d4e7f429459db4327a62bce21b
Date 14:11:2009. Time 1:31
//=====================================================
*** Hardware ***
Processor: Intel® Core2 Quad CPU Q9550 @ 2.83GHz
Number Of Processors: 4
Physical Memory: 2096248 KB (Available: 715516 KB)
Commit Charge Limit: 4786592 KB
*** Operation System ***
Windows Vista or Windows Server 2008 Professional (Version 6.1, Build 7600)
//=====================================================
Exception code: C00000FD STACK_OVERFLOW
Fault address: 0000000140671BC7 01:0000000000670BC7 E:\\MaNGOS\\mangosd.exe
Registers:
RAX:0000000000001068
RBX:000007FFEE644000
RCX:000007FFFF8EA080
RDX:0000000000000003
RSI:000007FFF0BAF330
RDI:00000001402B1610
R8: 0000000000000000
R9: 0000000009873000
R10:0000000009873000
R11:0000000000000000
R12:0000000000000000
R13:0000000000000000
R14:0000000000000000
R15:0000000009873D90
CS:RIP:0033:0000000140671BC7
SS:RSP:002B:0000000009874350 RBP:00000000
DS:002B ES:002B FS:0053 GS:002B
Flags:00010206
LogLevel = 3, have this crash. Online - 2 players, i am from two clients. Cast some spells and get crash.
-
You can.
But is better help to insert a code of visualisation of the weapon from the post resulted by you into a code of a patch from laise.
-
After apply patch error do not display, but absorb missing.
-
+ int32 basepoints1 = procSpell->EffectBasePoints[1] / 2; + int32 basepoints2 = procSpell->EffectBasePoints[2] / 2; + runeBlade->CastCustomSpell(pVictim,procSpell,&basepoints0,&basepoints1,&basepoints2,true,castItem,triggeredByAura); + } + void Reset() + { + Unit * owner = m_creature->GetOwner(); + if (!owner || owner->GetTypeId() != TYPEID_PLAYER) + return; + + // Cannot be Selected or Attacked + m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); + m_creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); + + // Add visible weapon + if (Item const * item = ((Player *)owner)->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND)) + m_creature->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, item->GetProto()->ItemId); + + // Visual Glow + m_creature->CastSpell(m_creature, 53160, true); + } + return true; + } } // Mark of Blood
And here will truly add?
-
Like I also have inserted before a condition proc, unless was not present?
-
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f31c738..be64e7d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp -6380,7 +6380,40 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu return false; // TODO: wite script for this "fights on its own, doing the same attacks" // NOTE: Trigger here on every attack and spell cast - return false; + Pet* runeBlade = FindGuardianWithEntry(27893); + if (!runeBlade) + return false; + else + { + [b]+ // Cannot be Selected or Attacked + runeBlade->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); + runeBlade->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); + + // Add visible weapon + if (Item const * item = ((Player *)owner)->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND)) + runeBlade->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, item->GetProto()->ItemId); + + // Add stats scaling + int32 damageDone=owner->CalculateDamage(BASE_ATTACK, false, true); + int32 meleeSpeed=owner->m_modAttackSpeedPct[bASE_ATTACK]; + runeBlade->CastCustomSpell(runeBlade, 51906, &damageDone, &meleeSpeed, NULL, true); + + // Visual Glow + runeBlade->CastSpell(m_creature, 53160, true);[/b] + + if(!procSpell) // triggered from auto-attack + { + // copy paste from attacker state update... + pVictim = SelectMagnetTarget(pVictim); + + CalcDamageInfo damageInfo; + CalculateMeleeDamage(pVictim, 0, &damageInfo, BASE_ATTACK); + damageInfo.attacker = runeBlade; + damageInfo.damage = damageInfo.damage / 2; + // Send log damage message to client + runeBlade->DealDamageMods(pVictim,damageInfo.damage,&damageInfo.absorb); + runeBlade->SendAttackStateUpdate(&damageInfo); + runeBlade->ProcDamageAndSpell(damageInfo.target, damageInfo.procAttacker, damageInfo.procVictim, damageInfo.procEx, damageInfo.damage, damageInfo.attackType); + runeBlade->DealMeleeDamage(&damageInfo,true); + + // if damage pVictim call AI reaction + if(pVictim->GetTypeId()==TYPEID_UNIT && ((Creature*)pVictim)->AI()) + ((Creature*)pVictim)->AI()->AttackedBy(runeBlade); + } + else // only melee based spells? + { + // is it really half??? + basepoints0 = procSpell->EffectBasePoints[0] / 2; + int32 basepoints1 = procSpell->EffectBasePoints[1] / 2; + int32 basepoints2 = procSpell->EffectBasePoints[2] / 2; + runeBlade->CastCustomSpell(pVictim,procSpell,&basepoints0,&basepoints1,&basepoints2,true,castItem,triggeredByAura); + } + return true; + } } // Mark of Blood if (dummySpell->Id == 49005)
Experts, check up please, the allocated site of a code is truly inserted into the basic patch?
-
bulek, you are wrong. Worked for all characters base stats.
Vehicles (Dev)
in OldCore modifications
Posted
Deleted...