This file contains hidden or 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
Procedure | |
For this tutorial, I'll create a repository named react-gh-pages. | |
By empty, I mean without a README.md file, a .gitignore file, a LICENSE file, or any other files. | |
Create a new React app on your computer. (5 minutes) | |
$ create-react-app react-gh-pages | |
This is the app you will deploy to GitHub Pages in step 7. | |
I opted to give the app the same name as my GitHub repository (i.e. react-gh-pages). However, you can name them differently from one another (e.g. you can name your app app-123 and your GitHub Repository repo-456). | |
This will create a new folder named react-gh-pages (or whatever you named your app) on your computer. |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Calculator | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or 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 "ScriptPCH.h" | |
class Teleporter : public CreatureScript | |
{ | |
public: Teleporter() : CreatureScript("Teleporter"){} | |
#define GOSSIP_ITEM_1 "Mall" | |
double map = 1 // Edit to MapID of your mall | |
double x = 1.525010 // Edit to X Coords of your mall | |
double y = -5.10501 // Edit to Y Coords of your mall |
This file contains hidden or 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
// By Asbert75 (Help from Jameyboor) // | |
// Jukebox // | |
#include "ScriptMgr.h" | |
#include "ScriptedCreature.h" | |
#include "ScriptedGossip.h" | |
#include "Player.h" | |
#include <cstring> | |
enum Sounds |
This file contains hidden or 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
/* | |
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> | |
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License as published by the | |
* Free Software Foundation; either version 2 of the License, or (at your | |
* option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, but WITHOUT |
This file contains hidden or 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
/* | |
By Quake - 2013 - Arena Queue Commands | |
Alera | |
Edited by Asbert75 | |
*/ | |
#include "ScriptMgr.h" | |
#include "ObjectMgr.h" | |
#include "MapManager.h" | |
#include "Chat.h" | |
#include "Common.h" |
This file contains hidden or 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 "ScriptedCreature.h" | |
#include "ScriptedGossip.h" | |
#include "Player.h" | |
enum Spells | |
{ | |
SPELL_ACCELERATE = 52635, //Dispellable | |
// Phase One | |
SPELL_FEL_FLAMES = 36248, //Frontal Cone AOE |
This file contains hidden or 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
/s Resurrecting %t. Side effects may include but are not limited to: nausea, sore throat, headache, backache, explosive bowels, a craving for brains, and loss of limbsResurrection is not for everyone. Please consult your healer before dying. | |
This file contains hidden or 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 "ScriptedCreature.h" | |
#include "ScriptedGossip.h" | |
#include "Player.h" | |
// **** Quick Info* *** | |
// Functions with Handled Function marked above them are functions that are called automatically by the core | |
// Functions that are marked Custom Function are functions I've created to simplify code | |
This file contains hidden or 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
3>C:\Users\Joakim\Desktop\Source\src\server\scripts\Custom\Alimyst.cpp(101): error C2664: 'void WorldObject::MonsterYell(const char *,uint32,uint64)' : cannot convert parameter 1 from 'Language' to 'const char *' | |
3> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast | |
3>C:\Users\Joakim\Desktop\Source\src\server\scripts\Custom\Alimyst.cpp(116): error C2664: 'void WorldObject::MonsterYell(const char *,uint32,uint64)' : cannot convert parameter 1 from 'Language' to 'const char *' | |
3> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast | |
3>C:\Users\Joakim\Desktop\Source\src\server\scripts\Custom\Alimyst.cpp(198): error C2664: 'void WorldObject::MonsterYell(const char *,uint32,uint64)' : cannot convert parameter 1 from 'Language' to 'const char *' | |
3> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast | |
3>C:\Users\Joakim\Desk |
NewerOlder