mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Quests and Leves now load from the db.
This commit is contained in:
@@ -84,12 +84,9 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
||||
charaWork.command[14] = 0xA0F00000 | 29497;
|
||||
charaWork.command[15] = 0xA0F00000 | 22015;
|
||||
|
||||
charaWork.command[32] = 0xA0F00000 | 27150;
|
||||
|
||||
for (int i = 0; i < 16; i++)
|
||||
charaWork.commandCategory[i] = 1;
|
||||
|
||||
charaWork.commandCategory[32] = 1;
|
||||
charaWork.commandBorder = 32;
|
||||
|
||||
Database.loadPlayerCharacter(this);
|
||||
@@ -228,19 +225,10 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
||||
}
|
||||
|
||||
//Guildleve - Local
|
||||
for (int i = 0; i < playerWork.questGuildLeve.Length; i++)
|
||||
for (int i = 0; i < playerWork.questGuildleve.Length; i++)
|
||||
{
|
||||
if (playerWork.questGuildLeve[i] != 0)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.questGuildLeve[{0}]", i));
|
||||
}
|
||||
|
||||
//NPC Linkshell
|
||||
for (int i = 0; i < playerWork.npcLinkshellChatCalling.Length; i++)
|
||||
{
|
||||
if (playerWork.npcLinkshellChatCalling[i] != false)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.npcLinkshellChatCalling[{0}]", i));
|
||||
if (playerWork.npcLinkshellChatExtra[i] != false)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.npcLinkshellChatExtra[{0}]", i));
|
||||
if (playerWork.questGuildleve[i] != 0)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.questGuildleve[{0}]", i));
|
||||
}
|
||||
|
||||
//Guildleve - Regional
|
||||
@@ -254,6 +242,15 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
||||
propPacketUtil.addProperty(String.Format("work.guildleveChecked[{0}]", i));
|
||||
}
|
||||
|
||||
//NPC Linkshell
|
||||
for (int i = 0; i < playerWork.npcLinkshellChatCalling.Length; i++)
|
||||
{
|
||||
if (playerWork.npcLinkshellChatCalling[i] != false)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.npcLinkshellChatCalling[{0}]", i));
|
||||
if (playerWork.npcLinkshellChatExtra[i] != false)
|
||||
propPacketUtil.addProperty(String.Format("playerWork.npcLinkshellChatExtra[{0}]", i));
|
||||
}
|
||||
|
||||
//Profile
|
||||
propPacketUtil.addProperty("playerWork.tribe");
|
||||
propPacketUtil.addProperty("playerWork.guardian");
|
||||
|
@@ -17,7 +17,7 @@ namespace FFXIVClassic_Map_Server.dataobjects.chara
|
||||
public int restBonusExpRate;
|
||||
|
||||
public uint[] questScenario = new uint[16];
|
||||
public uint[] questGuildLeve = new uint[8];
|
||||
public uint[] questGuildleve = new uint[8];
|
||||
|
||||
public int questScenarioComplete;
|
||||
public int questGuildleveComplete;
|
||||
|
Reference in New Issue
Block a user