Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] seems like you initialize Position pos but don't fill it with GetFirstCollisionPosition so it's just

[DiscordArchive] seems like you initialize Position pos but don't fill it with GetFirstCollisionPosition so it's just

[DiscordArchive] seems like you initialize Position pos but don't fill it with GetFirstCollisionPosition so it's just

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-02-2023, 02:15 PM
#1
Archived author: bulbous0617 • Posted: 2023-10-02T14:15:04.764000+00:00
Original source

seems like you initialize Position pos but don't fill it with GetFirstCollisionPosition so it's just garbage?
rektbyfaith
10-02-2023, 02:15 PM #1

Archived author: bulbous0617 • Posted: 2023-10-02T14:15:04.764000+00:00
Original source

seems like you initialize Position pos but don't fill it with GetFirstCollisionPosition so it's just garbage?

rektbyfaith
Administrator
0
10-02-2023, 02:16 PM
#2
Archived author: bulbous0617 • Posted: 2023-10-02T14:16:38.581000+00:00
Original source

```cpp
if (Creature* totem = caster->GetMap()->GetCreature(caster->m_SummonSlot[4]))
{
Position pos = summon->GetFirstCollisionPosition(2.5f, static_cast<float>(M_PI / 4));
totem->NearTeleportTo(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), caster->GetOrientation());
}
``` can you do this?
rektbyfaith
10-02-2023, 02:16 PM #2

Archived author: bulbous0617 • Posted: 2023-10-02T14:16:38.581000+00:00
Original source

```cpp
if (Creature* totem = caster->GetMap()->GetCreature(caster->m_SummonSlot[4]))
{
Position pos = summon->GetFirstCollisionPosition(2.5f, static_cast<float>(M_PI / 4));
totem->NearTeleportTo(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), caster->GetOrientation());
}
``` can you do this?

rektbyfaith
Administrator
0
10-02-2023, 02:28 PM
#3
Archived author: BonziBudd • Posted: 2023-10-02T14:28:07.919000+00:00
Original source

Doesn't it grab the location i clicked at the POS
rektbyfaith
10-02-2023, 02:28 PM #3

Archived author: BonziBudd • Posted: 2023-10-02T14:28:07.919000+00:00
Original source

Doesn't it grab the location i clicked at the POS

rektbyfaith
Administrator
0
10-02-2023, 02:28 PM
#4
Archived author: BonziBudd • Posted: 2023-10-02T14:28:14.569000+00:00
Original source

for the NPC
rektbyfaith
10-02-2023, 02:28 PM #4

Archived author: BonziBudd • Posted: 2023-10-02T14:28:14.569000+00:00
Original source

for the NPC

rektbyfaith
Administrator
0
10-02-2023, 02:28 PM
#5
Archived author: BonziBudd • Posted: 2023-10-02T14:28:20.277000+00:00
Original source

and then uses the NPC to sapwn
rektbyfaith
10-02-2023, 02:28 PM #5

Archived author: BonziBudd • Posted: 2023-10-02T14:28:20.277000+00:00
Original source

and then uses the NPC to sapwn

rektbyfaith
Administrator
0
10-02-2023, 02:28 PM
#6
Archived author: BonziBudd • Posted: 2023-10-02T14:28:58.513000+00:00
Original source

```Position const* sumpos = GetExplTargetDest();
TempSummon* summon = caster->GetMap()->SummonCreature(47319, *sumpos, NULL, 0, caster, ObjectGuid::Empty, GetSpellInfo()->Id);
if (!summon)
return;```
rektbyfaith
10-02-2023, 02:28 PM #6

Archived author: BonziBudd • Posted: 2023-10-02T14:28:58.513000+00:00
Original source

```Position const* sumpos = GetExplTargetDest();
TempSummon* summon = caster->GetMap()->SummonCreature(47319, *sumpos, NULL, 0, caster, ObjectGuid::Empty, GetSpellInfo()->Id);
if (!summon)
return;```

rektbyfaith
Administrator
0
10-02-2023, 02:37 PM
#7
Archived author: swagkhalifa • Posted: 2023-10-02T14:37:17.564000+00:00
Original source

<@107550177975341056> <@824150478006779914>
Line 587 in patch-enUS.MPQ/Interface/FrameXML/UnitPopup.lua
You can change the value 65 to something lower or I guess remove the check entirely. That should do the trick tough.
[Image: image.png?ex=690c09dd&is=690ab85d&hm=e96...704ce5af7&]

[Image: image.png?ex=690c09dd&is=690ab85d&hm=3dd...cfb9ee592&]
rektbyfaith
10-02-2023, 02:37 PM #7

Archived author: swagkhalifa • Posted: 2023-10-02T14:37:17.564000+00:00
Original source

<@107550177975341056> <@824150478006779914>
Line 587 in patch-enUS.MPQ/Interface/FrameXML/UnitPopup.lua
You can change the value 65 to something lower or I guess remove the check entirely. That should do the trick tough.
[Image: image.png?ex=690c09dd&is=690ab85d&hm=e96...704ce5af7&]

[Image: image.png?ex=690c09dd&is=690ab85d&hm=3dd...cfb9ee592&]

rektbyfaith
Administrator
0
10-02-2023, 02:39 PM
#8
Archived author: swagkhalifa • Posted: 2023-10-02T14:39:23.312000+00:00
Original source

As with everything else, you probably want to copy the file, edit it and add it to your custom patch to not mess with blizz patches.
rektbyfaith
10-02-2023, 02:39 PM #8

Archived author: swagkhalifa • Posted: 2023-10-02T14:39:23.312000+00:00
Original source

As with everything else, you probably want to copy the file, edit it and add it to your custom patch to not mess with blizz patches.

rektbyfaith
Administrator
0
10-02-2023, 02:39 PM
#9
Archived author: Crow • Posted: 2023-10-02T14:39:46.568000+00:00
Original source

Is there server-side compatibility though below level 65
rektbyfaith
10-02-2023, 02:39 PM #9

Archived author: Crow • Posted: 2023-10-02T14:39:46.568000+00:00
Original source

Is there server-side compatibility though below level 65

rektbyfaith
Administrator
0
10-02-2023, 02:40 PM
#10
Archived author: Crow • Posted: 2023-10-02T14:40:17.046000+00:00
Original source

Either way, huge thanks homie
rektbyfaith
10-02-2023, 02:40 PM #10

Archived author: Crow • Posted: 2023-10-02T14:40:17.046000+00:00
Original source

Either way, huge thanks homie

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)