Skip to content

Instantly share code, notes, and snippets.

if (roll->totalNeed == 0 && roll->totalGreed > 0) // if (roll->totalNeed == 0 && ...), not else if, because numbers can be modified above if player is on a different map
{
if (!roll->playerVote.empty())
{
uint8 maxresul = 0;
ObjectGuid maxguid = ObjectGuid::Empty;
Player* player = nullptr;
RollVote rollvote = NOT_VALID;
Roll::PlayerVote::iterator itr;
TC> CreatureAI::EngagementStart called even though creature is already engaged. Creature debug info:
MapID: 48 Map name: 'Blackfathom Deeps' X: -830.656 Y: -390.078 Z: -33.6415 O: 4.75439
GUID Full: 0xf1400f1c16000004 Type: Pet Pet number: 990230 Low: 4 Entry 4825
Name: Turtle
IsAIEnabled: true DeathState: 0 UnitMovementFlags: 134217729 ExtraUnitMovementFlags: 0 Class: 1
MoveSpline
spline Id: 355699
flags: CanSwim Final_Angle
facing angle: 4.45435
time passed: 0
--- DEBUG: --- START
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4bff700 (LWP 2401814)]
[New Thread 0x7ffff43fe700 (LWP 2401815)]
[New Thread 0x7ffff3bfd700 (LWP 2401816)]
[New Thread 0x7ffff33fc700 (LWP 2401817)]
[New Thread 0x7ffff2bfb700 (LWP 2401818)]
// This code will create an NPC that allows players to link two or more guild banks.
// The NPC will be located at a specific location in the game world.
#include "ScriptPCH.h"
class npc_guild_bank_linker : public CreatureScript
{
public:
npc_guild_bank_linker() : CreatureScript("npc_guild_bank_linker") { }
rgrep HasAura | grep -E '[0-9]{5}'
server/game/Entities/Unit/Unit.cpp: if (dispelMask & (1 << DISPEL_DISEASE) && HasAura(50536))
server/game/Entities/Unit/Unit.cpp: if (victim->HasAura(55095))
server/game/Entities/Unit/Unit.cpp: if (owner->HasAura(56377) && victim->GetLevel() > owner->GetLevel())
server/game/Entities/Unit/Unit.cpp: if (victim->HasAura(55095))
server/game/Entities/Unit/Unit.cpp: if (HasAura(18499))
server/game/Entities/Pet/Pet.cpp: if (!HasAura(58877))//prevent apply twice for the 2 wolves
server/game/Entities/Object/Object.cpp: if (unitTarget->HasAura(53042) && unitTarget->HasSpell(spellInfo->GetEffect(EFFECT_0).TriggerSpell))
server/game/Entities/Object/Object.cpp: else if (spellInfo->SpellVisual[0] == 3881 && unitCaster->HasAura(67556)) // cooking with Chef Hat.
server/game/Entities/Player/Player.h: bool IsDeserter() const { return HasAura(26013); }
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index 81140cd8e003..07cee6248fb7 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -970,7 +970,12 @@ class spell_gen_clone_weapon_aura : public AuraScript
if (Player* player = caster->ToPlayer())
{
if (Item* mainItem = player->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND))
- target->SetVirtualItem(0, mainItem->GetEntry());
+ {
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index 81140cd8e003..07cee6248fb7 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -970,7 +970,12 @@ class spell_gen_clone_weapon_aura : public AuraScript
if (Player* player = caster->ToPlayer())
{
if (Item* mainItem = player->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND))
- target->SetVirtualItem(0, mainItem->GetEntry());
+ {
index 81140cd8e003..07cee6248fb7 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -970,7 +970,12 @@ class spell_gen_clone_weapon_aura : public AuraScript
if (Player* player = caster->ToPlayer())
{
if (Item* mainItem = player->GetItemByPos(INVENTORY_SLOT_BAG_0, EQUIPMENT_SLOT_MAINHAND))
- target->SetVirtualItem(0, mainItem->GetEntry());
+ {
+ if (mainItem->GetTransmog())
#!/bin/bash
#
# https://github.com/kitabisa/mubeng
# para tener servidores proxy aleatoriamente
# lista de proxys http de
# https://github.com/TheSpeedX/PROXY-List
rm proxies.txt
curl https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt -o proxies.txt
sed 's/^/http:\/\//' proxies.txt > proxies2.txt
curl -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/96.0.4664.93 Safari/537.36" https://atomixhq.top/ultimas-descargas/
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Just a moment...</title>