Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] uh, no?

[DiscordArchive] uh, no?

[DiscordArchive] uh, no?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-22-2025, 02:50 PM
#1
Archived author: Tea • Posted: 2025-07-22T14:50:19.418000+00:00
Original source

uh, no?
rektbyfaith
07-22-2025, 02:50 PM #1

Archived author: Tea • Posted: 2025-07-22T14:50:19.418000+00:00
Original source

uh, no?

rektbyfaith
Administrator
0
07-22-2025, 02:50 PM
#2
Archived author: Tea • Posted: 2025-07-22T14:50:43.684000+00:00
Original source

i mean kind of
rektbyfaith
07-22-2025, 02:50 PM #2

Archived author: Tea • Posted: 2025-07-22T14:50:43.684000+00:00
Original source

i mean kind of

rektbyfaith
Administrator
0
07-22-2025, 02:51 PM
#3
Archived author: Tea • Posted: 2025-07-22T14:51:28.406000+00:00
Original source

its not ignoring all of CheckCast
rektbyfaith
07-22-2025, 02:51 PM #3

Archived author: Tea • Posted: 2025-07-22T14:51:28.406000+00:00
Original source

its not ignoring all of CheckCast

rektbyfaith
Administrator
0
07-22-2025, 02:54 PM
#4
Archived author: Stitchen • Posted: 2025-07-22T14:54:28.366000+00:00
Original source

Sounds like an issue in your scripts/hacks then and not in TC
rektbyfaith
07-22-2025, 02:54 PM #4

Archived author: Stitchen • Posted: 2025-07-22T14:54:28.366000+00:00
Original source

Sounds like an issue in your scripts/hacks then and not in TC

rektbyfaith
Administrator
0
07-22-2025, 02:56 PM
#5
Archived author: Crane • Posted: 2025-07-22T14:56:42.696000+00:00
Original source

The entire ram race was bugged. I fixed it first so that the apple trap aura would be removed properly, because TC's spell script wasn't working either.

TC did everything with SMARTAI, and I deleted it all because, among other things, if the player had only one barrel, they would immediately receive 2 kill credits and hand over 2 barrels.

The entire quest was bugged.
rektbyfaith
07-22-2025, 02:56 PM #5

Archived author: Crane • Posted: 2025-07-22T14:56:42.696000+00:00
Original source

The entire ram race was bugged. I fixed it first so that the apple trap aura would be removed properly, because TC's spell script wasn't working either.

TC did everything with SMARTAI, and I deleted it all because, among other things, if the player had only one barrel, they would immediately receive 2 kill credits and hand over 2 barrels.

The entire quest was bugged.

rektbyfaith
Administrator
0
07-22-2025, 02:58 PM
#6
Archived author: Crane • Posted: 2025-07-22T14:58:46.431000+00:00
Original source

```class spell_brewfest_apple_trap : public SpellScript
{
PrepareSpellScript(spell_brewfest_apple_trap);

void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(false, SPELL_RAM_FATIGUE));

if (targets.empty())
FinishCast(SPELL_FAILED_CASTER_AURASTATE);
}

void HandleDummyEffect(SpellEffIndex /*effIndex*/)
{
if (Unit* target = GetHitUnit())
if (Aura* aur = target->GetAura(SPELL_RAM_FATIGUE))
aur->Remove();
}

void Register() override
{
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_brewfest_apple_trap::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
OnEffectHitTarget += SpellEffectFn(spell_brewfest_apple_trap::HandleDummyEffect, EFFECT_0, SPELL_EFFECT_DUMMY);
}
};
``` not working this is from TC

with my script

```class spell_brewfest_apple_trap_clean_aura : public AuraScript
{
PrepareAuraScript(spell_brewfest_apple_trap_clean_aura);

void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (Player* player = GetTarget()->ToPlayer())
{
if (player->HasAura(SPELL_RAM_FATIGUE))
{
player->RemoveAura(SPELL_RAM_FATIGUE);
// TC_LOG_INFO("general", "AuraScript: Aura 43052 entfernt bei %s", player->GetName().c_str());
}
}
}

void Register() override
{
OnEffectApply += AuraEffectApplyFn(spell_brewfest_apple_trap_clean_aura::OnApply, EFFECT_0, SPELL_AURA_FORCE_REACTION, AURA_EFFECT_HANDLE_REAL);
}
};

class spell_brewfest_apple_trap_clean_loader : public SpellScriptLoader
{
public:
spell_brewfest_apple_trap_clean_loader() : SpellScriptLoader("spell_brewfest_apple_trap_clean") { }

AuraScript* GetAuraScript() const override
{
return new spell_brewfest_apple_trap_clean_aura();
}
};
```
rektbyfaith
07-22-2025, 02:58 PM #6

Archived author: Crane • Posted: 2025-07-22T14:58:46.431000+00:00
Original source

```class spell_brewfest_apple_trap : public SpellScript
{
PrepareSpellScript(spell_brewfest_apple_trap);

void FilterTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(false, SPELL_RAM_FATIGUE));

if (targets.empty())
FinishCast(SPELL_FAILED_CASTER_AURASTATE);
}

void HandleDummyEffect(SpellEffIndex /*effIndex*/)
{
if (Unit* target = GetHitUnit())
if (Aura* aur = target->GetAura(SPELL_RAM_FATIGUE))
aur->Remove();
}

void Register() override
{
OnObjectAreaTargetSelect += SpellObjectAreaTargetSelectFn(spell_brewfest_apple_trap::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
OnEffectHitTarget += SpellEffectFn(spell_brewfest_apple_trap::HandleDummyEffect, EFFECT_0, SPELL_EFFECT_DUMMY);
}
};
``` not working this is from TC

with my script

```class spell_brewfest_apple_trap_clean_aura : public AuraScript
{
PrepareAuraScript(spell_brewfest_apple_trap_clean_aura);

void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (Player* player = GetTarget()->ToPlayer())
{
if (player->HasAura(SPELL_RAM_FATIGUE))
{
player->RemoveAura(SPELL_RAM_FATIGUE);
// TC_LOG_INFO("general", "AuraScript: Aura 43052 entfernt bei %s", player->GetName().c_str());
}
}
}

void Register() override
{
OnEffectApply += AuraEffectApplyFn(spell_brewfest_apple_trap_clean_aura::OnApply, EFFECT_0, SPELL_AURA_FORCE_REACTION, AURA_EFFECT_HANDLE_REAL);
}
};

class spell_brewfest_apple_trap_clean_loader : public SpellScriptLoader
{
public:
spell_brewfest_apple_trap_clean_loader() : SpellScriptLoader("spell_brewfest_apple_trap_clean") { }

AuraScript* GetAuraScript() const override
{
return new spell_brewfest_apple_trap_clean_aura();
}
};
```

rektbyfaith
Administrator
0
07-22-2025, 03:09 PM
#7
Archived author: Crane • Posted: 2025-07-22T15:09:55.699000+00:00
Original source

https://www.wowhead.com/wotlk/quest=1131...ing-almost was also buggy I also fixed it because of missing c++ script ^^
[Embed: Now This is Ram Racing... Almost.]
You have 4 minutes to ride the ram and maintain 3 different levels of speed for 8 seconds. A Brewfest quest. Rewards . Added in World of Warcraft: The Burning Crusade.
https://www.wowhead.com/wotlk/quest=1131...ing-almost
rektbyfaith
07-22-2025, 03:09 PM #7

Archived author: Crane • Posted: 2025-07-22T15:09:55.699000+00:00
Original source

https://www.wowhead.com/wotlk/quest=1131...ing-almost was also buggy I also fixed it because of missing c++ script ^^
[Embed: Now This is Ram Racing... Almost.]
You have 4 minutes to ride the ram and maintain 3 different levels of speed for 8 seconds. A Brewfest quest. Rewards . Added in World of Warcraft: The Burning Crusade.
https://www.wowhead.com/wotlk/quest=1131...ing-almost

rektbyfaith
Administrator
0
07-22-2025, 03:10 PM
#8
Archived author: Stitchen • Posted: 2025-07-22T15:10:40.319000+00:00
Original source

i litterally did both of these quests just now on 3.3.5 and they work fine, none of the issues you described appeared
rektbyfaith
07-22-2025, 03:10 PM #8

Archived author: Stitchen • Posted: 2025-07-22T15:10:40.319000+00:00
Original source

i litterally did both of these quests just now on 3.3.5 and they work fine, none of the issues you described appeared

rektbyfaith
Administrator
0
07-22-2025, 03:11 PM
#9
Archived author: Crane • Posted: 2025-07-22T15:11:42.161000+00:00
Original source

It can't work in the standard TC because there's no script that does the queries ^^ I tested all the quests before and after.
rektbyfaith
07-22-2025, 03:11 PM #9

Archived author: Crane • Posted: 2025-07-22T15:11:42.161000+00:00
Original source

It can't work in the standard TC because there's no script that does the queries ^^ I tested all the quests before and after.

rektbyfaith
Administrator
0
07-22-2025, 03:12 PM
#10
Archived author: Stitchen • Posted: 2025-07-22T15:12:37.610000+00:00
Original source

Test it on current 3.3.5 branch then if you are so sure
rektbyfaith
07-22-2025, 03:12 PM #10

Archived author: Stitchen • Posted: 2025-07-22T15:12:37.610000+00:00
Original source

Test it on current 3.3.5 branch then if you are so sure

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