Skip to content

Instantly share code, notes, and snippets.

View DDuarte's full-sized avatar
😴
Dormant

Duarte Duarte DDuarte

😴
Dormant
View GitHub Profile
diff -r 32edb9db7028 -r 19ca6baa6808 src/server/shared/Database/MySQLConnection.cpp
--- a/src/server/shared/Database/MySQLConnection.cpp Wed Jan 05 19:50:23 2011 +0200
+++ b/src/server/shared/Database/MySQLConnection.cpp Wed Jan 05 20:44:01 2011 +0200
@@ -156,8 +156,11 @@
{
uint32 lErrno = mysql_errno(m_Mysql);
- sLog->outSQLDriver("SQL: %s", sql);
- sLog->outSQLDriver("ERROR: [%u] %s", lErrno, mysql_error(m_Mysql));
+ if (sLog->GetSQLDriverQueryPrintErrors())
From 45893c65965d2d52cd16fbfa8306d7feb955e79b Mon Sep 17 00:00:00 2001
From: [M]axx <19Maxx83@googlemail.com>
Date: Wed, 5 Jan 2011 14:06:14 +0100
Subject: [PATCH] * Rename CreatureGroups to CreatureFormation
** Rewrite CreatureFormation System to new Databasetablelayout
** Little fix for .npc addformation angle calculation
* Implement CreatureGroup System to Core
** You could now bind some Creatures together to get "real" Packs like on Officials
** groupType = 0 -> Groups could be killed without respawn after Wipe (Blizzlike in Dungeons)
** groupType = 1 -> Groups respawn if atleast one Member is alive after Wipe (Blizzlike in most Raid Instances)
From 12f8bbce6055a2ceae93fd047b5c3903326017ef Mon Sep 17 00:00:00 2001
From: Nay <dnpd.dd@gmail.com>
Date: Sun, 16 Oct 2011 13:27:32 +0100
Subject: [PATCH] ABC
---
WowPacketParser/Enums/Opcode.cs | 2793 ++++++++++----------
.../Enums/Version/V3_3_5a_12340/Opcode.cs | 2645 ++++++++++---------
.../Enums/Version/V4_0_6_13596/Opcode.cs | 1327 ----------
.../Enums/Version/V4_0_6_13596/Opcodes.cs | 1297 +++++++++
using WowPacketParser.Misc;
namespace WowPacketParser.Enums.Version
{
public static partial class Opcodes
{
public static int GetOpcode(Opcode opcode)
{
GetOpcode(opcode, ClientVersion.Version);
}
From 4fd7e15ce37e77f1bc9dca32ed289c612ec11975 Mon Sep 17 00:00:00 2001
From: Nay <dnpd.dd@gmail.com>
Date: Wed, 19 Oct 2011 21:10:12 +0100
Subject: [PATCH] Core/Quests: Fix Candy Buckets
---
src/server/game/Quests/QuestDef.cpp | 5 +++++
src/server/game/Quests/QuestDef.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
(define visu-classifica
(lambda (cla)
(display "classificacao = ")
(display cla)
(newline)))
(define calcula-classifica
(lambda (pp1 pp2 pp3 ad pe)
(+ (* pp1 0.10)
(* pp2 0.15)
Goes into AuctionHouseHandler.cpp
#include "ObjectMgr.h"
#include "Player.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "Item.h"
#include "Common.h"
enum ChumTheWaterSummons
{
SUMMON_ANGRY_KVALDIR = 66737,
SUMMON_NORTH_SEA_MAKO = 66738,
SUMMON_NORTH_SEA_THRESHER = 66739,
SUMMON_NORTH_SEA_BLUE_SHARK = 66740
};
class spell_q14112_14145_chum_the_water: public SpellScriptLoader
{
From 0b51b4ef0aad33f4c87d4d58c882fe039aedfb2b Mon Sep 17 00:00:00 2001
From: Nay <dnpd.dd@gmail.com>
Date: Sun, 30 Oct 2011 14:26:49 +0000
Subject: [PATCH] Core/SAI: SMART_ACTION_TALK, if our action target is a
player, use its guid as whisperGuid (used in whispers and
in text $vars)
---
src/server/game/AI/SmartScripts/SmartScript.cpp | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
@DDuarte
DDuarte / SMART_ACTION_GO_SET_STATE.patch
Created December 1, 2011 13:32
SMART_ACTION_GO_SET_STATE
From a53f9c3f594256453154d054bf69c04542a81e94 Mon Sep 17 00:00:00 2001
From: Nay <dnpd.dd@gmail.com>
Date: Thu, 1 Dec 2011 13:31:23 +0000
Subject: [PATCH] Core/SAI: Add SMART_ACTION_GO_SET_STATE
See Malcrom? I can do it, sweetie.
---
src/server/game/AI/SmartScripts/SmartScript.cpp | 13 +++++++++++++
src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 1 +
src/server/game/AI/SmartScripts/SmartScriptMgr.h | 8 +++++++-