Skip to content

Instantly share code, notes, and snippets.

View coolzoom's full-sized avatar
🥂
cheers my friends

coolzoom

🥂
cheers my friends
View GitHub Profile
@coolzoom
coolzoom / ConvertUTF-8.py
Created November 7, 2018 15:42 — forked from smccutchen/ConvertUTF-8.py
Convert multiple files to UTF-8 encoding with Notepad++
# 2016-2017 Soverance Studios.
# Scott McCutchen
# This file will search all files and folders within a given directory, and use Notepad++ to convert their encoding to UTF-8 without Byte Order Marks
#
# This file must be run using the PythonScript plugin from within Notepad++, which is available through the Notepad++ Plugin Manager
#
# You must have Python 2.7 installed
#
# Additionally, this script can only exist and be run from within the Notepad++ user's working directory, the default of which is here:
@coolzoom
coolzoom / gist:96b167a3b9861b46350628608a09ec76
Created January 16, 2019 14:31 — forked from irancore/gist:6473293
For Last Version TrinityCore
diff --git a/sql/arena-spectator/spectator.sql b/sql/arena-spectator/spectator.sql
new file mode 100644
index 0000000..39cff15
--- /dev/null
+++ b/sql/arena-spectator/spectator.sql
@@ -0,0 +1,12 @@
+-- Implement Arena Spectator
+DELETE FROM `command` WHERE `name` = 'spectate';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES ('spectate', 0, 'Syntax: .spectate $subcommand.\nUse .help sppectate');
+DELETE FROM `command` WHERE `name` = 'spectate view';
@coolzoom
coolzoom / arena_spectator.patch
Created January 16, 2019 14:49 — forked from F3st/arena_spectator.patch
arena spectator system
From b86040a5b96460748af8c3949ffd1ad18a9a6bc2 Mon Sep 17 00:00:00 2001
From: walkline <walkline.ua@gmail.com>
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
@coolzoom
coolzoom / ArenaSpectator.diff
Created February 28, 2019 15:16 — forked from SymbolixDEV/ArenaSpectator.diff
Arena Spectate
===================================================================================================
From: Walkline
Fixed by : SymbolixDEV
Complete : 91%
Fully working Arena Spectator is for sale !
===================================================================================================
diff --git a/sql/arena-spectator/spectator.sql b/sql/arena-spectator/spectator.sql
new file mode 100644
index 0000000..39cff15
/*
Add the following at the end of your worldserver.conf
GamblerNPC.Announce = 1
Gambler.Amount1 = 1
Gambler.Amount2 = 2
Gambler.Amount3 = 3
Gambler.Amount4 = 4
Gambler.Amount5 = 5
Gambler.Jackpot = 50
@coolzoom
coolzoom / npc_script_example.cpp
Created March 20, 2019 16:06 — forked from mindsear/npc_script_example.cpp
Skeleton-example NPC script for the latest TrinityCore 3.3.5 (11-March-2019)
#include "ScriptMgr.h"
#include "World.h"
#include "Player.h"
#include "Chat.h"
#include "WorldSession.h"
#include "ScriptedGossip.h"
#include "ScriptedCreature.h"
#include "CreatureAI.h"
class npc_script_example : public CreatureScript
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.1.16-MariaDB - mariadb.org binary distribution
-- Server OS: Win32
-- HeidiSQL Version: 9.4.0.5174
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
@coolzoom
coolzoom / how-to-downgrade-client.md
Created June 29, 2021 02:17 — forked from Daribon/how-to-downgrade-client.md
How to downgrade vanilla client
MACRO 7 "/run if UnitExis" Ability_Creature_Poison_04
/run if UnitExists"target"then SendChatMessage("\240\146\140\165\240\146\145\163\240\146\145\169\240\147\139\141\240\147\139\136\240\147\137\161\240\146\140\165\240\146\145\163\240\146\145\169\240\147\139","WHISPER",nil,UnitName"target")end
END
MACRO 1 "/run SendChatMes" INV_Misc_QuestionMark
/run ("\124cffffd000\124Henchant:59387\124h[Inscription]\124h\124r", "SAY")
END
MACRO 2 "2" Ability_Creature_Poison_03
/script DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:27532:0:0:0:0:0:0:0:0\124h[Master Fishing - The Art of Angling]\124h\124r");
END
MACRO 11 "22" Ability_Creature_Poison_03
@coolzoom
coolzoom / README.md
Created November 6, 2021 16:29 — forked from oznu/README.md
QEMU + Ubuntu ARM aarch64

QEMU + Ubuntu ARM aarch64

These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.

Get Ubuntu Image and QEMU EFI:

wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd