Splincha
-
Posts
14 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Splincha
-
-
I'm using this patch by przemratajczak -> http://github.com/kicho/test/commit/84e70d795f6dc80e0fff6abe843c89cd249f03cd
if (m_uiFrostBoltTimer < uiDiff) need change to?
1>..\\scripts\\world\\npcs_special.cpp(1042) : error C2065: 'uiDiff' : undeclared identifier
m_uiFrostBoltTimer -= uiDiff; need change to?
1>..\\scripts\\world\\npcs_special.cpp(1050) : error C2065: 'uiDiff' : undeclared identifier
- void UpdateAI(const uint32 diff)
+ void UpdateAI(const uint32 uidiff)
- npc_mirror_imageAI(Creature* pCreature) : ScriptedAI(pCreature) {Reset();}
+ npc_mirror_imageAI(Creature *pCreature) : ScriptedAI(pCreature)
+ {
+ Reset();
+ }
Changed - No Errors
-
[bUG] Glyph: Quick and Decay
Mangos: 9387
YTDB: 535
Glyph not working at all
Paladin glyph does not work
Glyph of Blessing of Kings
Glyph of Blessing of Might
Glyph of Blessing of Wisdom
-
http://filebeam.com/ef1fdcfa0020de3febcaf02db559f786
vehicle для mangos 9525
mangos 9451 No longer works Patch! Help with update please?
10>..\\..\\src\\game\\CreatureEventAI.cpp(854) : error C2039: 'ExitVehicle' : is not a member of 'Creature'
10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Creature.h(385) : see declaration of 'Creature'
10>..\\..\\src\\game\\Creature.cpp(1292) : error C2039: 'Die' : is not a member of 'Vehicle'
10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Vehicle.h(26) : see declaration of 'Vehicle'
10>..\\..\\src\\game\\Creature.cpp(1397) : error C2039: 'GetVehicleFlags' : is not a member of 'Vehicle'
10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Vehicle.h(26) : see declaration of 'Vehicle'
10>..\\..\\src\\game\\Creature.cpp(1397) : error C2065: 'VF_CAN_BE_HEALED' : undeclared identifier
10>..\\..\\src\\game\\Creature.cpp(1900) : warning C4305: 'return' : truncation from 'double' to 'float'
10>..\\..\\src\\game\\AggressorAI.cpp(107) : error C2039: 'GetVehicleGUID' : is not a member of 'Creature'
10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\Creature.h(385) : see declaration of 'Creature'
10>..\\..\\src\\game\\Chat.cpp(1820) : error C2039: 'GetCreatureOrPetOrVehicle' : is not a member of 'ObjectAccessor'
10> c:\\documents and settings\\splincha\\desktop\\mangos kore\\mangos\\src\\game\\ObjectAccessor.h(79) : see declaration of 'ObjectAccessor'
10>..\\..\\src\\game\\Chat.cpp(1820) : error C3861: 'GetCreatureOrPetOrVehicle': identifier not found
-
2010-02-10 17:22:27 ERROR:SESSION: received not allowed opcode CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E)
What should I do to prevent this can someone help
-
Please help with a patch for mangos 9348 or a working patch
-
I think there can never be enough blink patches , or at least mages deserve one more, so I decided to start working on it.
I will provide multiple patches. Because
1) Someone may prefer only minor fix, whereas someone else would be more happy with complete rewrite. I want to satisfy both :-)
2) I want to provide "step-by-step guide" of how I got to the final patch for those interested.
Patch v1.
What does it change: Moves "target height" check from Spell::CanCast to Spell::EffectMomentMove. That means that only leap effect fails instead of whole spell. Ie. in cases where you get "failed attempt" without this patch, with patch you wil not be teleported, but will be freed from stuns and bonds. This version does not fix blinking in textures, nor does it allow actual blinking (with teleporting) where it was not possible without it.
http://github.com/Tassader/mangos/tree/blink1
Patch v3.
What does it change: Modifies check for target height. Witch V1 as well as without any patch, the locatin checked for height may not be the same as where player actually gets teleported. With this patch the correst location is checked (and check is performed only for players). This version should prevent blinking in texture in some cases, as well as allow blinking at more places. In case of invalid height, player target is teleported to original position (ie. is stopped if moving or falling). I recommend using this version instead of v1 or v2.
http://github.com/Tassader/mangos/tree/blink3
The 2 above versions of patch change only height check. Version 4 with rewritten/modified code or target location selection will be ready soon
Note: patch removes check in CanCast for effects
43 SPELL_EFFECT_TELEPORT_UNITS_FACE_CASTER
and
29 SPELL_EFFECT_LEAP
It seems that effect 43 is "summon enemy player" (used by bosses' spells). Used check makes no sense for such effect (and implemented effect is currently wrong in spelleffect.cpp btw.), but is not purpose of this patch to make any further improvements/changes to that effect, only for effect 29.
Please help with a patch for mangos 9348
-
no need for a new patch, he worked, but there is a problem with the core,
because each gobject with a spell does not work (as the portals gobjects)
here is a quick solution for the problem:
just add this in ebon_hold.cpp among others scripts:
/*###### ## go_eye_of_acherus ######*/ bool GOHello_go_eye_of_acherus(Player *player, GameObject* _GO) { if (player->GetQuestStatus(12641) == QUEST_STATUS_INCOMPLETE) player->CastSpell(player, 51852, true); return true; }
and at the end of the ebon_hold.cpp add this between the others:
newscript = new Script; newscript->Name = "go_eye_of_acherus"; newscript->pGOHello = &GOHello_go_eye_of_acherus; newscript->RegisterSelf();
important:
and do not forget to comment on these lines in npc_eye_of_acherus code:
//m_creature->RemoveMonsterMoveFlag(MONSTER_MOVE_SPLINE_FLY); and: //m_creature->SetMonsterMoveFlags(MONSTER_MOVE_SPLINE_FLY);
and compile again only scriptdev2
and last import into database mangos:
UPDATE `gameobject_template` SET `ScriptName` = 'go_eye_of_acherus' WHERE `entry` = 191609; DELETE FROM `creature_template_addon` WHERE `entry` = 28511; INSERT INTO `creature_template_addon` (`entry`, `moveflags`) VALUES (28511, 33562624);
edit:
or get the whole patch again. (fixed) eye of acherus patch for MaNGOS rev.9346
http://filebeam.com/18a2103ff0a57aba41ffc65746d0e548
Take it and apply the patch with command: patch -p1 < name.patch
(can shorten its name)
and remind you again, that the patch is composed of three parts:
1. for mangos source
2. for scriptdev2 source
3. and for database mangos
Thank you. work on mango 9348 test ok
-
Working patch from insider42 repo.
PS I don't know who is author of this patch
no longer works
Please update patch for mangos 9348
Good work. Previous patch helped.
-
Please update patch for mangos 9348
Good work. Previous patch helped.
I use this code atm for Death Grip:+ // Death Grip + if( m_spellInfo->SpellFamilyFlags & 0x02000000LL ) + { + if(!unitTarget || !m_caster) + return; + + // unitTarget is Creature + if(unitTarget->GetTypeId()!=TYPEID_PLAYER) + { + float x = m_caster->GetPositionX(); + float y = m_caster->GetPositionY(); + float z = m_caster->GetPositionZ()+1; + float orientation = unitTarget->GetOrientation(); + unitTarget->SendMonsterMove(x,y,z,orientation,MOVEMENTFLAG_JUMPING,1); + } + else + { // unitTarget is Player + float vsin = sin(unitTarget->GetAngle(m_caster)); + float vcos = cos(unitTarget->GetAngle(m_caster)); + + WorldPacket data(SMSG_MOVE_KNOCK_BACK, (8+4+4+4+4+4)); + data.append(unitTarget->GetPackGUID()); + data << uint32(0); // Sequence + data << float(vcos); // x direction + data << float(vsin); // y direction + // Horizontal speed + data << float(damage ? damage : unitTarget->GetDistance2d(m_caster)); + data << float(-10.0); // Z Movement speed + + ((Player*)unitTarget)->GetSession()->SendPacket(&data); + } + m_caster->CastSpell(unitTarget,51399,true); //Taunt + return; + }
Same method for getting creatures, but it uses a knockback effect (only reverse) for players
-
working hack for mangos 9348 ..
Good work.
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index ae7d0ff..b544ada 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -256,7 +256,7 @@ pAuraHandler AuraHandler[TOTAL_AURAS]= &Aura::HandleNoImmediateEffect, //203 SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_DAMAGE implemented in Unit::CalculateMeleeDamage and Unit::SpellCriticalDamageBonus &Aura::HandleNoImmediateEffect, //204 SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE implemented in Unit::CalculateMeleeDamage and Unit::SpellCriticalDamageBonus &Aura::HandleNoImmediateEffect, //205 SPELL_AURA_MOD_ATTACKER_SPELL_CRIT_DAMAGE implemented in Unit::SpellCriticalDamageBonus - &Aura::HandleNULL, //206 SPELL_AURA_MOD_SPEED_MOUNTED + &Aura::HandleAuraModIncreaseFlightSpeed, //206 SPELL_AURA_MOD_SPEED_MOUNTED &Aura::HandleAuraModIncreaseFlightSpeed, //207 SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED &Aura::HandleAuraModIncreaseFlightSpeed, //208 SPELL_AURA_MOD_SPEED_FLIGHT, used only in spell: Flight Form (Passive) &Aura::HandleAuraModIncreaseFlightSpeed, //209 SPELL_AURA_MOD_FLIGHT_SPEED_ALWAYS diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c980507..2006adb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10412,7 +10412,7 @@ void Unit::UpdateSpeed(UnitMoveType mtype, bool forced) if (IsMounted()) // Use on mount auras main_speed_mod = GetMaxPositiveAuraModifier(SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED); else // Use not mount (shapeshift for example) auras (should stack) - main_speed_mod = GetTotalAuraModifier(SPELL_AURA_MOD_SPEED_FLIGHT); + main_speed_mod = GetTotalAuraModifier(SPELL_AURA_MOD_SPEED_FLIGHT) + GetTotalAuraModifier(SPELL_AURA_MOD_SPEED_MOUNTED); stack_bonus = GetTotalAuraMultiplier(SPELL_AURA_MOD_FLIGHT_SPEED_ALWAYS); non_stack_bonus = (100.0 + GetMaxPositiveAuraModifier(SPELL_AURA_MOD_FLIGHT_SPEED_NOT_STACK))/100.0f; break;
-
patch works fine ! But two spell of eye dont work.
Help please with a newer patch eye of archerus
-
Try this http://filebeam.com/72b949bcf2779eeaf17732c3e1cef9cb
untested but should work. If it does not work post the error please
- m_creature->RemoveMonsterMoveFlag(MONSTER_MOVE_SPLINE_FLY); + m_creature->RemoveSplineFlag(SPLINEFLAG_FLYING);
- m_creature->SetMonsterMoveFlags(MONSTER_MOVE_SPLINE_FLY); + m_creature->SetSplineFlags(SPLINEFLAG_FLYING);
Does not work. Interrupted says. no error. does not require the eye.
mangos 9338 with scriptdev2 1571
-
Please can someone make a patch for 3.3.2 mangos 9338 with scriptdev2 1571 Thanks for the previous patches. good work.
Vehicles (Dev)
in OldCore modifications
Posted
git pull git://github.com/Tasssadar/Valhalla-Project.git vehicle