This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "AI/ScriptDevAI/include/sc_common.h" | |
#include "Globals/SharedDefines.h" | |
#include <cstring> | |
#include <string> | |
bool GossipSelect_welcome(Player* player, Creature* creature) | |
{ | |
if (player->getLevel() < 58) | |
player->PlayerTalkClass->GetGossipMenu().AddMenuItem(0, "Set your level", 1, 1, "Max level 58", 0, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 1: Drop invalid packets ### | |
/sbin/iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP | |
### 2: Drop TCP packets that are new and are not SYN ### | |
/sbin/iptables -t mangle -A PREROUTING -p tcp ! --syn -m conntrack --ctstate NEW -j DROP | |
### 3: Drop SYN packets with suspicious MSS value ### | |
/sbin/iptables -t mangle -A PREROUTING -p tcp -m conntrack --ctstate NEW -m tcpmss ! --mss 536:65535 -j DROP | |
### 4: Block packets with bogus TCP flags ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ScriptMgr.h" | |
#include "Chat.h" | |
#include <list> | |
#include "Containers.h" | |
std::vector<string>chat; | |
class LoadChatTable : public WorldScript | |
{ | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 05af526143c365d0af4ee43408a79b0957bbe2cd Mon Sep 17 00:00:00 2001 | |
From: irancore <amir.cinderella@gmail.com> | |
if you need last update contact us : +989154422565 or https://t.me/dev21712 | |
Date: Sat, 23 Sep 2017 17:52:39 +0330 | |
Subject: [PATCH] crossfaction battleground | |
--- | |
sql/av_fix.sql | 3 + | |
src/server/database/Database/MySQLConnection.cpp | 4 +- | |
src/server/game/Battlegrounds/Arena.cpp | 4 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 17f4d78f7c212918b58cde747e5e0e9fc09d2d21 Mon Sep 17 00:00:00 2001 | |
From: irancore <amir.cinderella@gmail.com> | |
Date: Thu, 9 Aug 2018 17:00:06 +0430 | |
Subject: [PATCH] CCDelay last rev | |
--- | |
src/server/game/Spells/Spell.cpp | 202 ++++++++++++++++++++++++++++++++++++++- | |
src/server/game/Spells/Spell.h | 2 + | |
2 files changed, 202 insertions(+), 2 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Attention Modify this (commit) in your repository to add the module Spell_Regulator | |
#MODULE SPELL_REGULATOR FOR AZEROTHCORE 2018 | |
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp | |
index bb7a89f..9fa3fad 100644 | |
--- a/src/server/game/Entities/Unit/Unit.cpp | |
+++ b/src/server/game/Entities/Unit/Unit.cpp | |
@@ -52,6 +52,7 @@ | |
#include "ArenaSpectator.h" |