Skip to content

Instantly share code, notes, and snippets.

@Demonid
Demonid / cannot_chat_spectator1.patch
Created September 9, 2012 23:14 — forked from eilo/cannot_chat_spectator1.patch
Forbidding chat to espectators (there are 2 patch files inside)
From ba90ed38389fc1042455446900333e51c8e25012 Mon Sep 17 00:00:00 2001
From: Eilo <[email protected]>
Date: Wed, 28 Mar 2012 03:14:30 -0500
Subject: [PATCH] =?UTF-8?q?Arena=20Espectador:=20A=C3=B1adiendo=20el=20LANG=20?=
=?UTF-8?q?de=20lo=20del=20chat=20:S=20q=20askito=20tengo=20al=20final=20he=20?=
=?UTF-8?q?tenido=20q=20usarlo=20jaja?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@Demonid
Demonid / icecrown_citadel_trshmobs_patch
Created September 9, 2012 23:21 — forked from juanqtx/icecrown_citadel_trshmobs_patch
icecrown_citadel_trashmobs.patch
From 84d87dd290d3a44152fa3964edb7302014da052e Mon Sep 17 00:00:00 2001
From: Eilo <[email protected]>
Date: Fri, 16 Dec 2011 17:56:14 -0500
Subject: [PATCH 33/65] 2.2.30 ICC: Trashmob implementacion completa
---
.../reanemu/2011_11_25_100_world_trashmobs_icc.sql | 150 ++
src/server/game/Scripting/ScriptLoader.cpp | 3 +-
src/server/scripts/Northrend/CMakeLists.txt | 1 +
.../IcecrownCitadel/icecrown_citadel_trashmobs.cpp | 2760 ++++++++++++++++++++
From b86040a5b96460748af8c3949ffd1ad18a9a6bc2 Mon Sep 17 00:00:00 2001
From: walkline <[email protected]>
Date: Sun, 3 Jun 2012 15:29:04 +0300
Subject: [PATCH] Implemented Arena Spectator.
diff --git a/sql/updates/fc_updates_world/arena_spectator.sql b/sql/updates/fc_updates_world/arena_spectator.sql
new file mode 100644
index 0000000..280de81
--- /dev/null
#include "ScriptPCH.h"
class maestro_profesiones : public CreatureScript
{
public:
maestro_profesiones() : CreatureScript("maestro_profesiones") {}
struct maestro_profesionesAI : public ScriptedAI
diff --git a/src/server/game/World/World.h b/src/server/game/World/World.h
--- a/src/server/game/World/World.h
+++ b/src/server/game/World/World.h
@@ -317,6 +317,9 @@ enum WorldIntConfigs
CONFIG_WARDEN_CLIENT_BAN_DURATION,
CONFIG_WARDEN_NUM_MEM_CHECKS,
CONFIG_WARDEN_NUM_OTHER_CHECKS,
+ CONFIG_CHECKEO_MAXIMO_DMG,
+ CONFIG_MINIMO_NIVEL_DE_MJ_PARA_INMUNIDAD_A_CHECKEO,
+ CONFIG_CHECKEO_DMG_VALOR_DE_BANEO,
--- a/src/server/game/Handlers/ChatHandler.cpp 2013-03-08 20:08:04.000000000 +0100
+++ b/src/server/game/Handlers/ChatHandler.cpp 2013-03-10 19:24:11.966856051 +0100
sLog->outError(LOG_FILTER_NETWORKIO, "Player %s (GUID: %u) sent a chatmessage with an invalid language/message type combination",
GetPlayer()->GetName().c_str(), GetPlayer()->GetGUIDLow());
recvData.rfinish();
return;
}
}
// LANG_ADDON should not be changed nor be affected by flood control
DELETE FROM creature_template WHERE entry = '900550';
INSERT INTO creature_template (entry, modelid1, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, Health_mod, Mana_mod, Armor_mod, faction_A, faction_H, npcflag, speed_walk, speed_run, scale, rank, dmg_multiplier, unit_class, unit_flags, type, type_flags, InhabitType, RegenHealth, flags_extra, AiName) VALUES
('900550', '14992', "Taxi", "OverWoW", 'Directions', '50000', 80, 80, 4.56, 1.56, 1.56, 35, 35, 3, 1, 1.14286, 1.25, 1, 1, 1, 2, 7, 138936390, 3, 1, 2, 'SmartAI');
DELETE FROM gossip_menu WHERE entry>'50000'-1 AND entry<'50000'+11;
DELETE FROM npc_text WHERE ID>'300000'-1 AND ID<'300000'+5;
INSERT INTO gossip_menu (entry, text_id) VALUES
('50000'+4, '300000'+3),
diff --git a/sql/TransmogDisplayVendor/characters.sql b/sql/TransmogDisplayVendor/characters.sql
new file mode 100644
index 0000000..b575605
--- /dev/null
+++ b/sql/TransmogDisplayVendor/characters.sql
@@ -0,0 +1,9 @@
+CREATE TABLE `custom_transmogrification` (
+ `GUID` INT(10) UNSIGNED NOT NULL COMMENT 'Item guidLow',
+ `FakeEntry` INT(10) UNSIGNED NOT NULL COMMENT 'Item entry',
+ `Owner` INT(10) UNSIGNED NOT NULL COMMENT 'Player guidLow',
Thanks: Saqirmdev @ Tibbi for Re-coded to new version
rev. https://github.com/TrinityCore/TrinityCore/commit/57145ada8162b89aeaba79f981068b93f1afb0eb
SaqiRev: https://github.com/saqirmdev/TrinityCore/commit/9fb1c18cfbda51023eb54d9932c94b4e13a86525
===================================================================================================
From 9fb1c18cfbda51023eb54d9932c94b4e13a86525 Mon Sep 17 00:00:00 2001
From: Saqirmdev <[email protected]>
Date: Wed, 31 Oct 2012 22:56:35 +0100
Subject: [PATCH] Implentement Arena-Spectate
@486,13 &PathGenerator::BuildPointPath(const float *startPoint, const float *endPoint) PathGenerator.cpp
else
{
SetActualEndPosition(GetEndPosition());
BuildShortcut();
}
_type = PathType(PATHFIND_NORMAL | PATHFIND_NOT_USING_PATH);
}