start new:
tmux
start new with session name:
tmux new -s myname
let parking = []; | |
function actualizar() { | |
for (let i = 0; i < parking.length; i++) { | |
console.log(`Auto: ${parking[i]}, Puesto ${i}`); | |
} | |
console.log(`----------------------------`) | |
} | |
parking.push("ROJO", "GRIS", "AZUL", "AMARILLO", "VERDE"); |
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 |
copy="Troll" | |
race=troll | |
copy="Orc" | |
race=orc | |
copy="Undead" | |
race=undead | |
copy="Blood Elf" |
Emissary Chest = 19 | |
Mythic+ Dungeon = 10 | |
Lesser Invasion = 6 | |
Normal Raid = 6 | |
World Boss = 5 | |
Weekly Chest = 5 | |
LFR = 4 | |
PvP = 4 | |
Paragon Chest = 2 | |
Heroic Raid = 1 |
From 64ec1da49d233ab40c04b6b13698d038cf6729f5 Mon Sep 17 00:00:00 2001 | |
From: irancore <[email protected]> | |
Date: Fri, 7 Jul 2017 20:43:23 +0430 | |
Subject: [PATCH] Crossfaction Complete Fixed | |
--- | |
src/server/database/Database/MySQLConnection.cpp | 4 +- | |
src/server/game/Battlegrounds/Arena.cpp | 4 +- | |
src/server/game/Battlegrounds/Battleground.cpp | 53 ++-- | |
src/server/game/Battlegrounds/Battleground.h | 2 +- |
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp | |
index bb30d90..fed0359 100644 | |
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp | |
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_blood_queen_lana_thel.cpp | |
@@ -171,6 +173,12 @@ class boss_blood_queen_lana_thel : public CreatureScript | |
void EnterCombat(Unit* who) override | |
{ | |
+ if (instance->GetBossState(DATA_BLOOD_PRINCE_COUNCIL) != DONE) | |
+ { |
diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp | |
index c02d617..fd5f654 100644 | |
--- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp | |
+++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp | |
@@ -25,6 +25,7 @@ | |
#include "ScriptedCreature.h" | |
#include "ruby_sanctum.h" | |
#include "Player.h" | |
+#include "MoveSplineInit.h" | |
diff --git a/sql/updates/world/DontLookUp.sql b/sql/updates/world/DontLookUp.sql | |
new file mode 100644 | |
index 0000000..824655e | |
--- /dev/null | |
+++ b/sql/updates/world/DontLookUp.sql | |
@@ -0,0 +1,10 @@ | |
+DELETE FROM `achievement_criteria_data` WHERE `criteria_id`=12994 AND `type`=18; | |
+UPDATE `creature_template` SET `ScriptName`='npc_pit_of_saron_icicle' WHERE `entry`=32780; | |
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pos_ice_shards'; | |
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES |
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h | |
index 5f13461..8f745d7 100644 | |
--- a/src/server/game/Maps/Map.h | |
+++ b/src/server/game/Maps/Map.h | |
@@ -419,6 +419,7 @@ class TC_GAME_API Map : public GridRefManager<NGridType> | |
bool HavePlayers() const { return !m_mapRefManager.isEmpty(); } | |
uint32 GetPlayersCountExceptGMs() const; | |
+ uint32 GetAlivePlayersCountExceptGMs() const; | |
bool ActiveObjectsNearGrid(NGridType const& ngrid) const; |