Misc updates.
This commit is contained in:
@@ -5,11 +5,12 @@ CypherCore is an open source server project for World of Warcraft written in C#.
|
|||||||
The current support game version is: 9.1.5.41488
|
The current support game version is: 9.1.5.41488
|
||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
* Visual Studio 2022 with .NET 6.0 [Download](https://www.visualstudio.com/downloads/)
|
* .NET 6.0 SDK [Download](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
|
||||||
* Mysql Database 5.6 or higher [Download](https://dev.mysql.com/downloads/mysql/)
|
* MariaDB 10.6 or higher [Download](https://mariadb.org/download/)
|
||||||
|
* Optional: Visual Studio 2022, Visual Studio Code or Jetbrains Rider
|
||||||
|
|
||||||
### Server Setup
|
### Server Setup
|
||||||
* Download and Complie the Extractor [Download](https://github.com/CypherCore/Tools)
|
* ~~Download and Complie the Extractor [Download](https://github.com/CypherCore/Tools)~~ Use TrinityCore extractors for now
|
||||||
* Run all extractors in the wow directory
|
* Run all extractors in the wow directory
|
||||||
* Copy all created folders into server directory (ex: C:\CypherCore\Data)
|
* Copy all created folders into server directory (ex: C:\CypherCore\Data)
|
||||||
* Make sure Conf files are updated and point the the correct folders and sql user and databases
|
* Make sure Conf files are updated and point the the correct folders and sql user and databases
|
||||||
@@ -19,7 +20,7 @@ The current support game version is: 9.1.5.41488
|
|||||||
* Extract the sql files into the core sql folder (ex: C:\CypherCore\sql)
|
* Extract the sql files into the core sql folder (ex: C:\CypherCore\sql)
|
||||||
|
|
||||||
### Playing
|
### Playing
|
||||||
* Must use Arctium WoW Client Launcher [Download](https://arctium.io) (World of Warcraft -> Private Server Launcher -> Shadowlands)
|
* Must use Arctium WoW Client Launcher [Download](https://arctium.io/wow)
|
||||||
|
|
||||||
### Support / General Info
|
### Support / General Info
|
||||||
* Check out our Discord [Here](https://discord.gg/tCx3JbJ5qQ)
|
* Check out our Discord [Here](https://discord.gg/tCx3JbJ5qQ)
|
||||||
|
|||||||
@@ -88,9 +88,6 @@ namespace Game.Chat
|
|||||||
if (!target || !target.IsAIEnabled())
|
if (!target || !target.IsAIEnabled())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!int.TryParse(duration_str, out int tempDuration))
|
|
||||||
tempDuration = 0;
|
|
||||||
|
|
||||||
TimeSpan duration = durationArg != 0 ? TimeSpan.FromSeconds(durationArg) : TimeSpan.Zero;
|
TimeSpan duration = durationArg != 0 ? TimeSpan.FromSeconds(durationArg) : TimeSpan.Zero;
|
||||||
if (duration <= TimeSpan.Zero || duration >= TimeSpan.FromMinutes(30)) // arbitrary upper limit
|
if (duration <= TimeSpan.Zero || duration >= TimeSpan.FromMinutes(30)) // arbitrary upper limit
|
||||||
duration = TimeSpan.FromMinutes(3);
|
duration = TimeSpan.FromMinutes(3);
|
||||||
|
|||||||
@@ -565,49 +565,6 @@ namespace Scripts.World.GameObjects
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Script]
|
|
||||||
class go_jotunheim_cage : GameObjectAI
|
|
||||||
{
|
|
||||||
public go_jotunheim_cage(GameObject go) : base(go) { }
|
|
||||||
|
|
||||||
public override bool GossipHello(Player player)
|
|
||||||
{
|
|
||||||
me.UseDoorOrButton();
|
|
||||||
Creature pPrisoner = me.FindNearestCreature(CreatureIds.EbonBladePrisonerHuman, 5.0f, true);
|
|
||||||
if (!pPrisoner)
|
|
||||||
{
|
|
||||||
pPrisoner = me.FindNearestCreature(CreatureIds.EbonBladePrisonerTroll, 5.0f, true);
|
|
||||||
if (!pPrisoner)
|
|
||||||
{
|
|
||||||
pPrisoner = me.FindNearestCreature(CreatureIds.EbonBladePrisonerOrc, 5.0f, true);
|
|
||||||
if (!pPrisoner)
|
|
||||||
pPrisoner = me.FindNearestCreature(CreatureIds.EbonBladePrisonerNe, 5.0f, true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!pPrisoner || !pPrisoner.IsAlive())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
pPrisoner.DisappearAndDie();
|
|
||||||
player.KilledMonsterCredit(CreatureIds.EbonBladePrisonerHuman);
|
|
||||||
switch (pPrisoner.GetEntry())
|
|
||||||
{
|
|
||||||
case CreatureIds.EbonBladePrisonerHuman:
|
|
||||||
player.CastSpell(player, SpellIds.SummonBladeKnightH, true);
|
|
||||||
break;
|
|
||||||
case CreatureIds.EbonBladePrisonerNe:
|
|
||||||
player.CastSpell(player, SpellIds.SummonBladeKnightNe, true);
|
|
||||||
break;
|
|
||||||
case CreatureIds.EbonBladePrisonerTroll:
|
|
||||||
player.CastSpell(player, SpellIds.SummonBladeKnightTroll, true);
|
|
||||||
break;
|
|
||||||
case CreatureIds.EbonBladePrisonerOrc:
|
|
||||||
player.CastSpell(player, SpellIds.SummonBladeKnightOrc, true);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Script]
|
[Script]
|
||||||
class go_table_theka : GameObjectAI
|
class go_table_theka : GameObjectAI
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
###############################################
|
###############################################
|
||||||
# Cypher BNet Server Configuration File #
|
# Cypher World Server Configuration File #
|
||||||
###############################################
|
###############################################
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user