diff --git a/scripts/chai/CmnDef/CmnDefCutSceneReplay.chai_outdated b/scripts/chai/CmnDef/CmnDefCutSceneReplay.chai_outdated new file mode 100644 index 00000000..4bddaa63 --- /dev/null +++ b/scripts/chai/CmnDef/CmnDefCutSceneReplay.chai_outdated @@ -0,0 +1,61 @@ +// This is an automatically generated chai script template +// Content needs to be added by hand to make it function +// In order for this script to be loaded, change its extension to .chai + + +// Quest Script: SubFst004_00027 +// Quest Name: Preserving the Past +// Quest ID: 65563 +// Start NPC: 1000194 +// End NPC: 1000789 + +class CmnDefCutSceneReplayDef +{ + // Basic quest information + var quest_name + var quest_id + + // These are the quest vars / flags used in this quest + // GetQuestUI8AL + // GetQuestUI8BH + + // Available Scenes in this quest, not necessarly all are used + attr onScene00000; + + // Quest rewards + var RewardExpFactor; + var RewardItem; + var RewardItemCount; + + // Entities found in the script data of the quest + // some of these may be useful + var ACTOR0; + var ACTOR1; + var ACTOR2; + var ITEM0; + + def CmnDefCutSceneReplayDef() + { + + } + + def Scene00000( player, eventId, flags, unk, unk1 ) + { + player.eventPlay(eventId, 0, 0x2000, unk, 1, + fun( player, eventId, subEvent, param1, param2, param3 ) + { + player.eventFinish(eventId, 1); + } ); + } + +}; + + +def CmnDefCutSceneReplay_START(player, actorId, eventId) +{ + var quest = CmnDefCutSceneReplay(); + var actor = mapActor( actorId ); + + player.eventStart( actorId, eventId, 1, 0, 0 ); + CmnDefCutSceneReplay.Scene00000( player, eventId, 0, 0, 0 ); +} diff --git a/scripts/chai/CmnDef/CmnDefLinkShell.chai b/scripts/chai/CmnDef/CmnDefLinkShell.chai new file mode 100644 index 00000000..5d2cacd0 --- /dev/null +++ b/scripts/chai/CmnDef/CmnDefLinkShell.chai @@ -0,0 +1,75 @@ + +class CmnDefLinkShellDef +{ + + def CmnDefLinkShellDef() + { + this.ACTION_CREATE = 2; + this.ACTION_RENAME = 3; + this.ACTION_REMOVE = 4; + this.id = 0xB0006; + } + + def Scene00001( player ) + { + player.eventPlay( this.id, 1, 0, 0, 0, + fun( player, eventId, param1, param2, param3 ) + { + switch( param2 ) + { + case( CmnDefLinkShell.ACTION_CREATE ) + { + CmnDefLinkShell.Scene00002( player ); + break; + } + case( CmnDefLinkShell.ACTION_RENAME ) + { + CmnDefLinkShell.Scene00003( player ); + break; + } + case( CmnDefLinkShell.ACTION_REMOVE ) + { + CmnDefLinkShell.Scene00004( player ); + break; + } + } + + }); + } + + def Scene00002( player ) // Create Linkshell + { + player.eventPlay( this.id, 2, 0, 0, 0, + fun( player, eventId, param1, param2, param3 ) + { + + }); + } + + def Scene00003( player ) // Rename Linkshell + { + player.eventPlay( this.id, 3, 0, 0, 0, + fun( player, eventId, param1, param2, param3 ) + { + + }); + } + + def Scene00004( player ) // Delete Linkshell + { + player.eventPlay( this.id, 4, 0, 0, 0, + fun( player, eventId, param1, param2, param3 ) + { + + }); + } + + def onTalk( eventId, player, actorId ) + { + this.Scene00001( player ); + } + + +}; + +global CmnDefLinkShell = CmnDefLinkShellDef(); \ No newline at end of file diff --git a/bin/scripts/chai/aetheryte/Aethernet.chai b/scripts/chai/aetheryte/Aethernet.chai similarity index 100% rename from bin/scripts/chai/aetheryte/Aethernet.chai rename to scripts/chai/aetheryte/Aethernet.chai diff --git a/bin/scripts/chai/aetheryte/Aetheryte.chai b/scripts/chai/aetheryte/Aetheryte.chai similarity index 100% rename from bin/scripts/chai/aetheryte/Aetheryte.chai rename to scripts/chai/aetheryte/Aetheryte.chai diff --git a/bin/scripts/chai/global.inc b/scripts/chai/global.inc similarity index 97% rename from bin/scripts/chai/global.inc rename to scripts/chai/global.inc index 078ad80e..6f737984 100644 --- a/bin/scripts/chai/global.inc +++ b/scripts/chai/global.inc @@ -1,160 +1,160 @@ -///////////////////////////////////////////////////////////////////// -// Quest sequence -///////////////////////////////////////////////////////////////////// -GLOBAL SEQ_COMPLETE = 0xFF - -///////////////////////////////////////////////////////////////////// -// SCENE_FLAGS -///////////////////////////////////////////////////////////////////// -GLOBAL SET_EOBJ_BASE = 0xF8400EF3 -GLOBAL SET_INVIS_BASE = 0xF8400FFF -GLOBAL SET_BASE = 0xF8400EFB -GLOBAL INVIS_COMPANION = 0x80000000 -GLOBAL INVIS_ALLIANCE_BUDDY = 0x40000000 -GLOBAL INVIS_ALLIANCE_PC = 0x20000000 -GLOBAL INVIS_AOE = 0x08000000 -GLOBAL DISABLE_CANCEL_EMOTE = 0x04000000 -GLOBAL LOCK_HOTBAR = 0x02000000 -GLOBAL LOCK_HUD = 0x01000000 -GLOBAL ROLLBACK_HIDE_UI = 0x00800000 -GLOBAL DISABLE_STEALTH = 0x00400000 -GLOBAL HIDE_FESTIVAL = 0x00200000 -GLOBAL DISABLE_SKIP = 0x00080000 -GLOBAL SILENT_ENTER_TERRI_ALL = 0x00038000 -GLOBAL SILENT_ENTER_TERRI_SE = 0x00020000 -GLOBAL SILENT_ENTER_TERRI_BGM = 0x00010000 -GLOBAL SILENT_ENTER_TERRI_ENV = 0x00008000 -GLOBAL INVINCIBLE = 0x00004000 -GLOBAL HIDE_HOTBAR = 0x00002000 -GLOBAL AUTO_LOC_CAMERA = 0x00001000 -GLOBAL INVIS_ALL = 0xF80003FC -GLOBAL HIDE_UI = 0x00000800 -GLOBAL CONDITION_CUTSCENE = 0x00000400 -GLOBAL INVIS_TREASURE = 0x00000200 -GLOBAL INVIS_AETHERYTE = 0x00000100 -GLOBAL INVIS_GATHERING_POINT = 0x00000080 -GLOBAL INVIS_PARTY_BUDDY = 0x10000000 -GLOBAL INVIS_PARTY_PC = 0x00000040 -GLOBAL INVIS_OTHER_PC = 0x00000020 -GLOBAL INVIS_BNPC = 0x00000010 -GLOBAL INVIS_EOBJ = 0x00000008 -GLOBAL INVIS_ENPC = 0x00000004 -GLOBAL FADE_OUT = 0x00000002 -GLOBAL NO_DEFAULT_CAMERA = 0x00000001 -GLOBAL NONE = 0x00000000 - -///////////////////////////////////////////////////////////////////// -// Event Types -///////////////////////////////////////////////////////////////////// -GLOBAL EVENT_TALK = 1 -GLOBAL EVENT_EMOTE = 2 -GLOBAL EVENT_DISTANCE_BELOW = 3 -GLOBAL EVENT_DISTANCE_OVER = 4 -GLOBAL EVENT_BATTLE_REWARD = 5 -GLOBAL EVENT_CRAFT = 6 -GLOBAL EVENT_NEST = 7 -GLOBAL EVENT_EVENT_ITEM = 8 -GLOBAL EVENT_DROP = 9 -GLOBAL EVENT_WITHIN_RANGE = 10 -GLOBAL EVENT_OUTSIDE_RANGE = 11 -GLOBAL EVENT_GAME_START = 12 -GLOBAL EVENT_GAME_PROGRESS = 13 -GLOBAL EVENT_ENTER_TERRITORY = 15 -GLOBAL EVENT_GAME_COME_BACK = 17 -GLOBAL EVENT_ACTION_RESULT = 18 -GLOBAL EVENT_MATERIA_CRAFT = 19 -GLOBAL EVENT_FISHING = 20 -GLOBAL EVENT_UI = 21 -GLOBAL EVENT_HOUSING = 22 -GLOBAL EVENT_SAY = 23 -GLOBAL EVENT_TABLE_GAME = 24 - -///////////////////////////////////////////////////////////////////// -// Event finish states -///////////////////////////////////////////////////////////////////// -GLOBAL UNLOCK = 1 -GLOBAL KEEPLOCK = 0 - -///////////////////////////////////////////////////////////////////// -// Possible Event Types -///////////////////////////////////////////////////////////////////// - -GLOBAL ACTOR_EVENT_ON_CREATE = 1 -GLOBAL ACTOR_EVENT_ON_SPAWN = 2 -GLOBAL ACTOR_EVENT_ON_DESPAWN = 3 -GLOBAL ACTOR_EVENT_ON_AI_TICK = 4 -GLOBAL ACTOR_EVENT_ON_TALK_DEFAULT = 5 - -GLOBAL MOB_EVENT_ON_DEATH = 1 - -GLOBAL REGION_EVENT_ON_CREATE= 1 -GLOBAL REGION_EVENT_ON_ENTER = 2 -GLOBAL REGION_EVENT_ON_LEAVE = 3 - -GLOBAL PLAYER_EVENT_ON_FIRST_ENTER_WORLD = 1 -GLOBAL PLAYER_EVENT_ON_ENTER_WORLD = 2 -GLOBAL PLAYER_EVENT_ON_DEATH = 3 -GLOBAL PLAYER_EVENT_ON_LOGIN = 4 -GLOBAL PLAYER_EVENT_ON_LOGOUT = 5 - -// End Event Types - -GLOBAL SLOT_MAINH = 0 -GLOBAL SLOT_OFFH = 1 -GLOBAL SLOT_HEAD = 2 -GLOBAL SLOT_BODY = 3 -GLOBAL SLOT_GLOVES = 4 -GLOBAL SLOT_WAIST = 5 -GLOBAL SLOT_LEGS = 6 -GLOBAL SLOT_FEET = 7 - -GLOBAL GENDER_MALE = 0 -GLOBAL GENDER_FEMALE = 1 - -GLOBAL ACTION_EVENT_START = 1 -GLOBAL ACTION_EVENT_RETURN = 2 -GLOBAL ACTION_EVENT_TRADE_RETURN = 3 -GLOBAL ACTION_ERANGE_EVENT_START = 4 -GLOBAL ACTION_EVENT_EMOTE = 5 - -GLOBAL ACTION_RETURN = 0x26 -GLOBAL ACTION_TELEPORT = 0x29 - -GLOBAL EVENTACTION_ATTUNE = 0x13 - -GLOBAL CLASS_GLA = 1 -GLOBAL CLASS_PUG = 2 -GLOBAL CLASS_MRD = 3 -GLOBAL CLASS_LNC = 4 -GLOBAL CLASS_ARC = 5 -GLOBAL CLASS_CON = 6 -GLOBAL CLASS_THM = 7 -GLOBAL CLASS_CRP = 8 -GLOBAL CLASS_BSM = 9 -GLOBAL CLASS_ARM = 10 -GLOBAL CLASS_GLD = 11 -GLOBAL CLASS_TAN = 12 -GLOBAL CLASS_WVR = 13 -GLOBAL CLASS_ALC = 14 -GLOBAL CLASS_CUL = 15 -GLOBAL CLASS_MIN = 16 -GLOBAL CLASS_BOT = 17 -GLOBAL CLASS_FSH = 18 -GLOBAL CLASS_PLD = 19 -GLOBAL CLASS_MNK = 20 -GLOBAL CLASS_WAR = 21 -GLOBAL CLASS_DRG = 22 -GLOBAL CLASS_BRD = 23 -GLOBAL CLASS_WHM = 24 -GLOBAL CLASS_BLM = 25 -GLOBAL CLASS_ACN = 26 -GLOBAL CLASS_SMN = 27 -GLOBAL CLASS_SCH = 28 -GLOBAL CLASS_ROG = 29 -GLOBAL CLASS_NIN = 30 -GLOBAL CLASS_MCH = 31 -GLOBAL CLASS_DRK = 32 -GLOBAL CLASS_AST = 33 +///////////////////////////////////////////////////////////////////// +// Quest sequence +///////////////////////////////////////////////////////////////////// +GLOBAL SEQ_COMPLETE = 0xFF + +///////////////////////////////////////////////////////////////////// +// SCENE_FLAGS +///////////////////////////////////////////////////////////////////// +GLOBAL SET_EOBJ_BASE = 0xF8400EF3 +GLOBAL SET_INVIS_BASE = 0xF8400FFF +GLOBAL SET_BASE = 0xF8400EFB +GLOBAL INVIS_COMPANION = 0x80000000 +GLOBAL INVIS_ALLIANCE_BUDDY = 0x40000000 +GLOBAL INVIS_ALLIANCE_PC = 0x20000000 +GLOBAL INVIS_AOE = 0x08000000 +GLOBAL DISABLE_CANCEL_EMOTE = 0x04000000 +GLOBAL LOCK_HOTBAR = 0x02000000 +GLOBAL LOCK_HUD = 0x01000000 +GLOBAL ROLLBACK_HIDE_UI = 0x00800000 +GLOBAL DISABLE_STEALTH = 0x00400000 +GLOBAL HIDE_FESTIVAL = 0x00200000 +GLOBAL DISABLE_SKIP = 0x00080000 +GLOBAL SILENT_ENTER_TERRI_ALL = 0x00038000 +GLOBAL SILENT_ENTER_TERRI_SE = 0x00020000 +GLOBAL SILENT_ENTER_TERRI_BGM = 0x00010000 +GLOBAL SILENT_ENTER_TERRI_ENV = 0x00008000 +GLOBAL INVINCIBLE = 0x00004000 +GLOBAL HIDE_HOTBAR = 0x00002000 +GLOBAL AUTO_LOC_CAMERA = 0x00001000 +GLOBAL INVIS_ALL = 0xF80003FC +GLOBAL HIDE_UI = 0x00000800 +GLOBAL CONDITION_CUTSCENE = 0x00000400 +GLOBAL INVIS_TREASURE = 0x00000200 +GLOBAL INVIS_AETHERYTE = 0x00000100 +GLOBAL INVIS_GATHERING_POINT = 0x00000080 +GLOBAL INVIS_PARTY_BUDDY = 0x10000000 +GLOBAL INVIS_PARTY_PC = 0x00000040 +GLOBAL INVIS_OTHER_PC = 0x00000020 +GLOBAL INVIS_BNPC = 0x00000010 +GLOBAL INVIS_EOBJ = 0x00000008 +GLOBAL INVIS_ENPC = 0x00000004 +GLOBAL FADE_OUT = 0x00000002 +GLOBAL NO_DEFAULT_CAMERA = 0x00000001 +GLOBAL NONE = 0x00000000 + +///////////////////////////////////////////////////////////////////// +// Event Types +///////////////////////////////////////////////////////////////////// +GLOBAL EVENT_TALK = 1 +GLOBAL EVENT_EMOTE = 2 +GLOBAL EVENT_DISTANCE_BELOW = 3 +GLOBAL EVENT_DISTANCE_OVER = 4 +GLOBAL EVENT_BATTLE_REWARD = 5 +GLOBAL EVENT_CRAFT = 6 +GLOBAL EVENT_NEST = 7 +GLOBAL EVENT_EVENT_ITEM = 8 +GLOBAL EVENT_DROP = 9 +GLOBAL EVENT_WITHIN_RANGE = 10 +GLOBAL EVENT_OUTSIDE_RANGE = 11 +GLOBAL EVENT_GAME_START = 12 +GLOBAL EVENT_GAME_PROGRESS = 13 +GLOBAL EVENT_ENTER_TERRITORY = 15 +GLOBAL EVENT_GAME_COME_BACK = 17 +GLOBAL EVENT_ACTION_RESULT = 18 +GLOBAL EVENT_MATERIA_CRAFT = 19 +GLOBAL EVENT_FISHING = 20 +GLOBAL EVENT_UI = 21 +GLOBAL EVENT_HOUSING = 22 +GLOBAL EVENT_SAY = 23 +GLOBAL EVENT_TABLE_GAME = 24 + +///////////////////////////////////////////////////////////////////// +// Event finish states +///////////////////////////////////////////////////////////////////// +GLOBAL UNLOCK = 1 +GLOBAL KEEPLOCK = 0 + +///////////////////////////////////////////////////////////////////// +// Possible Event Types +///////////////////////////////////////////////////////////////////// + +GLOBAL ACTOR_EVENT_ON_CREATE = 1 +GLOBAL ACTOR_EVENT_ON_SPAWN = 2 +GLOBAL ACTOR_EVENT_ON_DESPAWN = 3 +GLOBAL ACTOR_EVENT_ON_AI_TICK = 4 +GLOBAL ACTOR_EVENT_ON_TALK_DEFAULT = 5 + +GLOBAL MOB_EVENT_ON_DEATH = 1 + +GLOBAL REGION_EVENT_ON_CREATE= 1 +GLOBAL REGION_EVENT_ON_ENTER = 2 +GLOBAL REGION_EVENT_ON_LEAVE = 3 + +GLOBAL PLAYER_EVENT_ON_FIRST_ENTER_WORLD = 1 +GLOBAL PLAYER_EVENT_ON_ENTER_WORLD = 2 +GLOBAL PLAYER_EVENT_ON_DEATH = 3 +GLOBAL PLAYER_EVENT_ON_LOGIN = 4 +GLOBAL PLAYER_EVENT_ON_LOGOUT = 5 + +// End Event Types + +GLOBAL SLOT_MAINH = 0 +GLOBAL SLOT_OFFH = 1 +GLOBAL SLOT_HEAD = 2 +GLOBAL SLOT_BODY = 3 +GLOBAL SLOT_GLOVES = 4 +GLOBAL SLOT_WAIST = 5 +GLOBAL SLOT_LEGS = 6 +GLOBAL SLOT_FEET = 7 + +GLOBAL GENDER_MALE = 0 +GLOBAL GENDER_FEMALE = 1 + +GLOBAL ACTION_EVENT_START = 1 +GLOBAL ACTION_EVENT_RETURN = 2 +GLOBAL ACTION_EVENT_TRADE_RETURN = 3 +GLOBAL ACTION_ERANGE_EVENT_START = 4 +GLOBAL ACTION_EVENT_EMOTE = 5 + +GLOBAL ACTION_RETURN = 0x26 +GLOBAL ACTION_TELEPORT = 0x29 + +GLOBAL EVENTACTION_ATTUNE = 0x13 + +GLOBAL CLASS_GLA = 1 +GLOBAL CLASS_PUG = 2 +GLOBAL CLASS_MRD = 3 +GLOBAL CLASS_LNC = 4 +GLOBAL CLASS_ARC = 5 +GLOBAL CLASS_CON = 6 +GLOBAL CLASS_THM = 7 +GLOBAL CLASS_CRP = 8 +GLOBAL CLASS_BSM = 9 +GLOBAL CLASS_ARM = 10 +GLOBAL CLASS_GLD = 11 +GLOBAL CLASS_TAN = 12 +GLOBAL CLASS_WVR = 13 +GLOBAL CLASS_ALC = 14 +GLOBAL CLASS_CUL = 15 +GLOBAL CLASS_MIN = 16 +GLOBAL CLASS_BOT = 17 +GLOBAL CLASS_FSH = 18 +GLOBAL CLASS_PLD = 19 +GLOBAL CLASS_MNK = 20 +GLOBAL CLASS_WAR = 21 +GLOBAL CLASS_DRG = 22 +GLOBAL CLASS_BRD = 23 +GLOBAL CLASS_WHM = 24 +GLOBAL CLASS_BLM = 25 +GLOBAL CLASS_ACN = 26 +GLOBAL CLASS_SMN = 27 +GLOBAL CLASS_SCH = 28 +GLOBAL CLASS_ROG = 29 +GLOBAL CLASS_NIN = 30 +GLOBAL CLASS_MCH = 31 +GLOBAL CLASS_DRK = 32 +GLOBAL CLASS_AST = 33 /////////////////////////////////////////////////////////////// // Inventory Enums @@ -205,7 +205,7 @@ GLOBAL INVENTORY_FREECOMPANYBAG0 = 20000 GLOBAL INVENTORY_FREECOMPANYBAG1 = 20001 GLOBAL INVENTORY_FREECOMPANYBAG2 = 20002 GLOBAL INVENTORY_FREECOMPANYGIL = 22000 -GLOBAL INVENTORY_FREECOMPANYCRYSTAL = 22001 +GLOBAL INVENTORY_FREECOMPANYCRYSTAL = 22001 //////////////////////////////////////////////////////////// // Currency types @@ -224,10 +224,10 @@ GLOBAL CURRENCY_MGP = 0X0B GLOBAL CURRENCY_TOMESTONELAW = 0X0C GLOBAL CURRENCY_TOMESTONEESO = 0X0D GLOBAL CURRENCY_TOMESTONELORE = 0X0E - -//////////////////////////////////////////////////////////// -// Skill handle types -//////////////////////////////////////////////////////////// -GLOBAL STD_DAMAGE = 0X00 -GLOBAL STD_HEAL = 0X01 + +//////////////////////////////////////////////////////////// +// Skill handle types +//////////////////////////////////////////////////////////// +GLOBAL STD_DAMAGE = 0X00 +GLOBAL STD_HEAL = 0X01 GLOBAL STD_DOT = 0X02 \ No newline at end of file diff --git a/bin/scripts/chai/opening/OpeningGridania.chai b/scripts/chai/opening/OpeningGridania.chai similarity index 100% rename from bin/scripts/chai/opening/OpeningGridania.chai rename to scripts/chai/opening/OpeningGridania.chai diff --git a/bin/scripts/chai/opening/OpeningLimsa.chai b/scripts/chai/opening/OpeningLimsa.chai similarity index 100% rename from bin/scripts/chai/opening/OpeningLimsa.chai rename to scripts/chai/opening/OpeningLimsa.chai diff --git a/bin/scripts/chai/opening/OpeningUldah.chai b/scripts/chai/opening/OpeningUldah.chai similarity index 100% rename from bin/scripts/chai/opening/OpeningUldah.chai rename to scripts/chai/opening/OpeningUldah.chai diff --git a/bin/scripts/chai/player_events.chai b/scripts/chai/player_events.chai similarity index 94% rename from bin/scripts/chai/player_events.chai rename to scripts/chai/player_events.chai index c6877101..8fc12d7f 100644 --- a/bin/scripts/chai/player_events.chai +++ b/scripts/chai/player_events.chai @@ -1,11 +1,11 @@ - -def onFirstEnterWorld(player) -{ - var name = player.getName(); - var race = player.getRace(); - var gender = player.getGender(); - //var class = player.getClass(); - - - return name; -} + +def onFirstEnterWorld(player) +{ + var name = player.getName(); + var race = player.getRace(); + var gender = player.getGender(); + //var class = player.getClass(); + + + return name; +} diff --git a/bin/scripts/chai/quest/ManFst001.chai b/scripts/chai/quest/ManFst001.chai similarity index 100% rename from bin/scripts/chai/quest/ManFst001.chai rename to scripts/chai/quest/ManFst001.chai diff --git a/bin/scripts/chai/quest/ManFst002.chai b/scripts/chai/quest/ManFst002.chai similarity index 100% rename from bin/scripts/chai/quest/ManFst002.chai rename to scripts/chai/quest/ManFst002.chai diff --git a/bin/scripts/chai/quest/ManFst003.chai b/scripts/chai/quest/ManFst003.chai similarity index 100% rename from bin/scripts/chai/quest/ManFst003.chai rename to scripts/chai/quest/ManFst003.chai diff --git a/bin/scripts/chai/quest/ManFst003.chai_generated b/scripts/chai/quest/ManFst003.chai_generated similarity index 100% rename from bin/scripts/chai/quest/ManFst003.chai_generated rename to scripts/chai/quest/ManFst003.chai_generated diff --git a/bin/scripts/chai/quest/ManFst004.chai b/scripts/chai/quest/ManFst004.chai similarity index 100% rename from bin/scripts/chai/quest/ManFst004.chai rename to scripts/chai/quest/ManFst004.chai diff --git a/bin/scripts/chai/quest/ManSea001.chai b/scripts/chai/quest/ManSea001.chai similarity index 100% rename from bin/scripts/chai/quest/ManSea001.chai rename to scripts/chai/quest/ManSea001.chai diff --git a/bin/scripts/chai/quest/ManWil001.chai b/scripts/chai/quest/ManWil001.chai similarity index 100% rename from bin/scripts/chai/quest/ManWil001.chai rename to scripts/chai/quest/ManWil001.chai diff --git a/bin/scripts/chai/quest/ManWil001.chai_generated b/scripts/chai/quest/ManWil001.chai_generated similarity index 100% rename from bin/scripts/chai/quest/ManWil001.chai_generated rename to scripts/chai/quest/ManWil001.chai_generated diff --git a/bin/scripts/chai/quest/SubFst000.chai b/scripts/chai/quest/SubFst000.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst000.chai rename to scripts/chai/quest/SubFst000.chai diff --git a/bin/scripts/chai/quest/SubFst001.chai b/scripts/chai/quest/SubFst001.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst001.chai rename to scripts/chai/quest/SubFst001.chai diff --git a/bin/scripts/chai/quest/SubFst002.chai b/scripts/chai/quest/SubFst002.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst002.chai rename to scripts/chai/quest/SubFst002.chai diff --git a/bin/scripts/chai/quest/SubFst003.chai b/scripts/chai/quest/SubFst003.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst003.chai rename to scripts/chai/quest/SubFst003.chai diff --git a/bin/scripts/chai/quest/SubFst004.chai b/scripts/chai/quest/SubFst004.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst004.chai rename to scripts/chai/quest/SubFst004.chai diff --git a/bin/scripts/chai/quest/SubFst007.chai b/scripts/chai/quest/SubFst007.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst007.chai rename to scripts/chai/quest/SubFst007.chai diff --git a/bin/scripts/chai/quest/SubFst010.chai b/scripts/chai/quest/SubFst010.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst010.chai rename to scripts/chai/quest/SubFst010.chai diff --git a/bin/scripts/chai/quest/SubFst011.chai b/scripts/chai/quest/SubFst011.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst011.chai rename to scripts/chai/quest/SubFst011.chai diff --git a/bin/scripts/chai/quest/SubFst013.chai b/scripts/chai/quest/SubFst013.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst013.chai rename to scripts/chai/quest/SubFst013.chai diff --git a/bin/scripts/chai/quest/SubFst015.chai b/scripts/chai/quest/SubFst015.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst015.chai rename to scripts/chai/quest/SubFst015.chai diff --git a/bin/scripts/chai/quest/SubFst019.chai b/scripts/chai/quest/SubFst019.chai similarity index 100% rename from bin/scripts/chai/quest/SubFst019.chai rename to scripts/chai/quest/SubFst019.chai diff --git a/bin/scripts/chai/skill/cnj/skillDef_119.chai b/scripts/chai/skill/cnj/skillDef_119.chai similarity index 100% rename from bin/scripts/chai/skill/cnj/skillDef_119.chai rename to scripts/chai/skill/cnj/skillDef_119.chai diff --git a/bin/scripts/chai/skill/cnj/skillDef_120.chai b/scripts/chai/skill/cnj/skillDef_120.chai similarity index 100% rename from bin/scripts/chai/skill/cnj/skillDef_120.chai rename to scripts/chai/skill/cnj/skillDef_120.chai diff --git a/bin/scripts/chai/skill/cnj/skillDef_121.chai b/scripts/chai/skill/cnj/skillDef_121.chai similarity index 100% rename from bin/scripts/chai/skill/cnj/skillDef_121.chai rename to scripts/chai/skill/cnj/skillDef_121.chai diff --git a/bin/scripts/chai/skill/cnj/skillDef_127.chai b/scripts/chai/skill/cnj/skillDef_127.chai similarity index 100% rename from bin/scripts/chai/skill/cnj/skillDef_127.chai rename to scripts/chai/skill/cnj/skillDef_127.chai diff --git a/bin/scripts/chai/skill/cnj/skillDef_128.chai b/scripts/chai/skill/cnj/skillDef_128.chai similarity index 100% rename from bin/scripts/chai/skill/cnj/skillDef_128.chai rename to scripts/chai/skill/cnj/skillDef_128.chai diff --git a/bin/scripts/chai/skill/pgl/skillDef_53.chai b/scripts/chai/skill/pgl/skillDef_53.chai similarity index 100% rename from bin/scripts/chai/skill/pgl/skillDef_53.chai rename to scripts/chai/skill/pgl/skillDef_53.chai diff --git a/bin/scripts/chai/skill/skillDef_3.chai b/scripts/chai/skill/skillDef_3.chai similarity index 100% rename from bin/scripts/chai/skill/skillDef_3.chai rename to scripts/chai/skill/skillDef_3.chai diff --git a/bin/scripts/chai/skill/skillDef_6.chai b/scripts/chai/skill/skillDef_6.chai similarity index 100% rename from bin/scripts/chai/skill/skillDef_6.chai rename to scripts/chai/skill/skillDef_6.chai diff --git a/bin/scripts/chai/status/statusDef_143.chai b/scripts/chai/status/statusDef_143.chai similarity index 100% rename from bin/scripts/chai/status/statusDef_143.chai rename to scripts/chai/status/statusDef_143.chai diff --git a/src/servers/Server_Zone/Linkshell/LinkshellMgr.cpp b/src/servers/Server_Zone/Linkshell/LinkshellMgr.cpp index d81085c5..6938c4ad 100644 --- a/src/servers/Server_Zone/Linkshell/LinkshellMgr.cpp +++ b/src/servers/Server_Zone/Linkshell/LinkshellMgr.cpp @@ -27,7 +27,6 @@ bool Core::LinkshellMgr::loadLinkshells() Db::Field *field = res->fetch(); - do { uint32_t linkshellId = field[0].getUInt32();