Skip to content

Instantly share code, notes, and snippets.

diff --git a/contrib/extractor/ad b/contrib/extractor/ad
deleted file mode 100755
index 564ecea..0000000
Binary files a/contrib/extractor/ad and /dev/null differ
diff --git a/contrib/mmap/CMakeLists.txt b/contrib/mmap/CMakeLists.txt
index ae81e85..da3f5c9 100644
--- a/contrib/mmap/CMakeLists.txt
+++ b/contrib/mmap/CMakeLists.txt
@@ -77,6 +77,7 @@ add_library(g3dlite
../../dep/src/g3dlite/Crypto_md5.cpp
@SkirnirMaNGOS
SkirnirMaNGOS / UnkleNuke.txt
Created December 4, 2012 22:58
Whatever he takes ...
UnkleNuke wrote:
PostgreSQL is regarded as outdated, but it is still a very excellent DB for small deployments or tasks where large scalability isn't a priority. It's also the most rock-solid of the free/open DBs, having had decades of development. Being the first standard of SQL databases, it was also my first exposure when I tried to learn SQL many years ago. It lacked some syntax found in MySQL, but it may be those limitations have changed since I switched over, years ago, to MySQL.
MySQL offers the best features for a highly scalable, multi-purpose DB, making it a great choice for supporting many different operating schemas, such as a game server and web server. I believe this is why MaNGOS chose MySQL. I also chose it for that reason and for my own preferences. I liked MySQL's expanded syntax, better support of other database engines, and being easier to work with for a newbie. If you want to experiment a little, try using the Falcon database engine plug-in, turbo-charging MySQL with what many regard as
@SkirnirMaNGOS
SkirnirMaNGOS / fix.diff
Created December 4, 2012 22:30
Fix for VMAP and MMAP extraction.
diff --git a/contrib/mmap/CMakeLists.txt b/contrib/mmap/CMakeLists.txt
index ae81e85..c813cd4 100644
--- a/contrib/mmap/CMakeLists.txt
+++ b/contrib/mmap/CMakeLists.txt
@@ -31,24 +31,24 @@ include_directories(
../../objdir/dep/ACE_wrappers
../../dep/recastnavigation/Detour/Include
../../dep/recastnavigation/Recast/Include
- ../../dep/src/zlib
+ # ../../dep/src/zlib
@SkirnirMaNGOS
SkirnirMaNGOS / R63
Created November 4, 2012 16:11
importer.sh
#!/bin/bash
cd /home/<user>/Source/ytdbase/Wotlk/R63
mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos-ytdb < YTDB_0.14.6_R630_MaNGOS_R12214_SD2_R2737_ACID_R310_RuDB_R56.sql
cd /home/<user>/Source/cmangos/sql/updates
mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos-ytdb < 0.17/12233_01_mangos_mangos_string.sql
mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos-ytdb < 0.17/12235_01_mangos_mangos_string.sql
cd /home/<user>/Source/ytdbase/Wotlk/R63/Updates
mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos-ytdb < 631_updatepack_mangos_\(12247\).sql
cd /home/<user>/Source/cmangos/sql/updates
mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos-ytdb < 0.17/12258_01_mangos_mangos_string.sql
@SkirnirMaNGOS
SkirnirMaNGOS / gcc4.7-GMutex.diff
Created May 1, 2012 13:03
gcc4.7-GMutex.diff
diff --git a/dep/include/g3dlite/G3D/GMutex.h b/dep/include/g3dlite/G3D/GMutex.h
index 3469b81..147be63 100644
--- a/dep/include/g3dlite/G3D/GMutex.h
+++ b/dep/include/g3dlite/G3D/GMutex.h
@@ -12,6 +12,7 @@
#include "G3D/AtomicInt32.h"
#include "G3D/debugAssert.h"
#include <string>
+#include <unistd.h>
@SkirnirMaNGOS
SkirnirMaNGOS / mmaps.patch
Created June 23, 2011 15:31
GetGUID() -> GetObjectGuid()
diff --git a/src/game/PathFinder.cpp b/src/game/PathFinder.cpp
index 3abff54..bb0289a 100644
--- a/src/game/PathFinder.cpp
+++ b/src/game/PathFinder.cpp
@@ -39,7 +39,7 @@ PathInfo::PathInfo(const Unit* owner, const float destX, const float destY, cons
PathNode startPoint(x, y, z);
setStartPosition(startPoint);
- DEBUG_FILTER_LOG(LOG_FILTER_PATHFINDING, "++ PathInfo::PathInfo for %u \n", m_sourceUnit->GetGUID());
+ DEBUG_FILTER_LOG(LOG_FILTER_PATHFINDING, "++ PathInfo::PathInfo for %u \n", m_sourceUnit->GetObjectGuid());
@SkirnirMaNGOS
SkirnirMaNGOS / clang_build.log
Created June 14, 2011 17:21
clang build error
/home/skirnir/source/mangos/src/shared/Config/Config.cpp:24:1: error: explicit specialization of 'si_instance' after instantiation
INSTANTIATE_SINGLETON_1(Config);
^
In file included from /home/skirnir/source/mangos/src/shared/Config/Config.cpp:22:
/home/skirnir/source/mangos/src/framework/Policies/SingletonImp.h:73:135: note: instantiated from:
template<> TYPE* MaNGOS::Singleton<TYPE, MaNGOS::SingleThreaded<TYPE>, MaNGOS::OperatorNew<TYPE>, MaNGOS::ObjectLifeTime<TYPE> >::si_instance = 0; \
^
/home/skirnir/source/mangos/src/framework/Policies/SingletonImp.h:36:10: note: implicit instantiation first required here
if (!si_instance)
^
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index a60f5f3..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,387 +0,0 @@
-# Copyright (C) 2005-2011 MaNGOS project <http://getmangos.com/>
-#
-# This file is free software; as a special exception the author gives
-# unlimited permission to copy and/or distribute it, with or without
@SkirnirMaNGOS
SkirnirMaNGOS / AhbotCmake.patch
Created February 18, 2011 16:59
build ahbot w/ cmake
From d4746371d086afab4d8d6ff5766665c5a7e481ed Mon Sep 17 00:00:00 2001
From: Skirnir <skirnir@getmangos.com>
Date: Fri, 18 Feb 2011 17:46:23 +0100
Subject: [PATCH] CMake fuer ahbot
---
src/game/CMakeLists.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt
@SkirnirMaNGOS
SkirnirMaNGOS / Cmake.patch
Created February 18, 2011 16:17
cmake files for mmaps
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt
index c4e9cc1..c29e4f9 100644
--- a/dep/CMakeLists.txt
+++ b/dep/CMakeLists.txt
@@ -24,4 +24,5 @@ if(NOT ACE_USE_EXTERNAL)
add_subdirectory(ACE_wrappers)
endif()
+add_subdirectory(recastnavigation)
add_subdirectory(src)