Skip to content

Instantly share code, notes, and snippets.

View SymbolixDEV's full-sized avatar

SymbolixDEV SymbolixDEV

  • C++,HTML,PHP,Java,CSS- Developer
  • Kubrat,Razgrad [Bulgaria]
View GitHub Profile
@SymbolixDEV
SymbolixDEV / gist:5577047
Created May 14, 2013 15:52
Channel Faction
//by SymbolixDEV
//Fixed Error : Elflock
#include "ScriptPCH.h"
#include "Channel.h"
#include "Player.h"
#include <sstream>
class channel_factions : public PlayerScript
{
public:
@SymbolixDEV
SymbolixDEV / gist:5577057
Created May 14, 2013 15:53
Proffesion Giver
//Fixed error by SymbolixDEV
#pragma once
#include "ScriptPCH.h"
#include "Language.h"
class skill_npc : public CreatureScript
{
public:
@SymbolixDEV
SymbolixDEV / Warlock Fix.
Created May 14, 2013 15:54
Unstabble Affliction
// -30108 - Unstable Affliction
class spell_warl_unstable_affliction : public SpellScriptLoader
{
public:
spell_warl_unstable_affliction() : SpellScriptLoader("spell_warl_unstable_affliction") { }
class spell_warl_unstable_affliction_AuraScript : public AuraScript
{
PrepareAuraScript(spell_warl_unstable_affliction_AuraScript);
@SymbolixDEV
SymbolixDEV / Gunhsip SQL
Created May 14, 2013 16:02
Gunship SQL
-- Move NPCs to proper locations
UPDATE `creature` SET `position_x` = '-558.109253', `position_y` = '2205.420654', `position_z` = 199.969559, `orientation` = 3.004918 WHERE `guid` = 200988; -- VINDICATOR
UPDATE `creature` SET `position_x` = '-531.942566', `position_y` = '2124.377930', `position_z` = 199.969681, `orientation` = 2.438634 WHERE `guid` = 201041; -- Horde DEFENDER
UPDATE `creature` SET `position_x` = '-540.092224', `position_y` = '2129.904785', `position_z` = 199.970352, `orientation` = 2.438634 WHERE `guid` = 201076; -- Ally NPC,
UPDATE `creature` SET `position_x` = '-562.132874', `position_y` = '2195.537354', `position_z` = 199.969757, `orientation` = 1.466264 WHERE `guid` = 201020; -- Ally sorcerer
DELETE FROM `creature` WHERE `guid` = 200896;
DELETE FROM `creature` WHERE `guid` = 200917;
DELETE FROM `creature` WHERE `guid` = 201176;
-- Texts
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_rotface_slime_spray';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(69507, 'spell_rotface_slime_spray'),
(71213, 'spell_rotface_slime_spray'),
(73189, 'spell_rotface_slime_spray'),
(73190, 'spell_rotface_slime_spray');
DELETE FROM `spell_proc_event` WHERE `entry` = 69762;
INSERT INTO `spell_proc_event` (entry, SchoolMask, SpellFamilyName, SpellFamilyMask0, SpellFamilyMask1, SpellFamilyMask2, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES
(69762, 0, 0, 0, 0, 0, 81920, 0, 0, 0, 1);
@SymbolixDEV
SymbolixDEV / gist:5577167
Created May 14, 2013 16:06
Seduction glyph FiX- Warlock
// 6358 - Seduction (Glyph of Succubus)
class spell_warl_seduction : public SpellScriptLoader
{
public:
spell_warl_seduction() : SpellScriptLoader("spell_warl_seduction") { }
class spell_warl_seduction_SpellScript : public SpellScript
{
PrepareSpellScript(spell_warl_seduction_SpellScript);
@SymbolixDEV
SymbolixDEV / FIX
Created May 14, 2013 16:13
MORE FIX
-- Fix Shadowmeld.
DELETE FROM spell_script_names WHERE spell_id = 58984;
INSERT INTO spell_script_names VALUES (58984, 'spell_gen_shadowmeld');
-- Fix Sylvanas Music Box
DELETE FROM spell_script_names WHERE spell_id = 73331;
INSERT INTO spell_script_names VALUES ('73331', 'spell_item_sylvanas_music_box');
-- Fix Glyph of Succubus.
DELETE FROM `spell_script_names` WHERE `spell_id`=6358;
@SymbolixDEV
SymbolixDEV / mmaps.patch
Created May 14, 2013 16:14
MMAPS.PATCH
commit eb20f56ab7a0969099cfab84a65219d251790140
Author: Venugh <venugh@gmx.net>
Date: Fri Aug 3 06:37:10 2012 +0200
mmaps patch v 1.0.1
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt
index d658ba4..48a2fd5 100644
--- a/dep/CMakeLists.txt
+++ b/dep/CMakeLists.txt
@SymbolixDEV
SymbolixDEV / Gunship.patch
Last active April 26, 2018 09:30
Gunship.patch
From: Updated by: Toba and Baeumchen (maddin)
Fixed Error by : SymbolixDEV!
Date: Mon, 29 Apr 2013 04:37:58 +0300
Gunship Battle
---
src/server/scripts/Northrend/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/server/scripts/Northrend/CMakeLists.txt b/src/server/scripts/Northrend/CMakeLists.txt
@SymbolixDEV
SymbolixDEV / gist:5577472
Created May 14, 2013 16:46
Crossfaction in bg
src/server/game/Battlegrounds/Battleground.cpp
@@ -624,7 +624,7 @@ inline Player* Battleground::_GetPlayerForTeam(uint32 teamId, BattlegroundPlayer
{
uint32 team = itr->second.Team;
if (!team)
- team = player->GetBGTeam();
+ team = player->GetTeam();
@@ -987,7 +987,6 @@ void Battleground::EndBattleground(uint32 winner)