mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
Moved script folder out of bin
This commit is contained in:
parent
33768e50c0
commit
89f4fe6f48
38 changed files with 311 additions and 176 deletions
61
scripts/chai/CmnDef/CmnDefCutSceneReplay.chai_outdated
Normal file
61
scripts/chai/CmnDef/CmnDefCutSceneReplay.chai_outdated
Normal file
|
@ -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 );
|
||||||
|
}
|
75
scripts/chai/CmnDef/CmnDefLinkShell.chai
Normal file
75
scripts/chai/CmnDef/CmnDefLinkShell.chai
Normal file
|
@ -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();
|
|
@ -1,160 +1,160 @@
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Quest sequence
|
// Quest sequence
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
GLOBAL SEQ_COMPLETE = 0xFF
|
GLOBAL SEQ_COMPLETE = 0xFF
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// SCENE_FLAGS
|
// SCENE_FLAGS
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
GLOBAL SET_EOBJ_BASE = 0xF8400EF3
|
GLOBAL SET_EOBJ_BASE = 0xF8400EF3
|
||||||
GLOBAL SET_INVIS_BASE = 0xF8400FFF
|
GLOBAL SET_INVIS_BASE = 0xF8400FFF
|
||||||
GLOBAL SET_BASE = 0xF8400EFB
|
GLOBAL SET_BASE = 0xF8400EFB
|
||||||
GLOBAL INVIS_COMPANION = 0x80000000
|
GLOBAL INVIS_COMPANION = 0x80000000
|
||||||
GLOBAL INVIS_ALLIANCE_BUDDY = 0x40000000
|
GLOBAL INVIS_ALLIANCE_BUDDY = 0x40000000
|
||||||
GLOBAL INVIS_ALLIANCE_PC = 0x20000000
|
GLOBAL INVIS_ALLIANCE_PC = 0x20000000
|
||||||
GLOBAL INVIS_AOE = 0x08000000
|
GLOBAL INVIS_AOE = 0x08000000
|
||||||
GLOBAL DISABLE_CANCEL_EMOTE = 0x04000000
|
GLOBAL DISABLE_CANCEL_EMOTE = 0x04000000
|
||||||
GLOBAL LOCK_HOTBAR = 0x02000000
|
GLOBAL LOCK_HOTBAR = 0x02000000
|
||||||
GLOBAL LOCK_HUD = 0x01000000
|
GLOBAL LOCK_HUD = 0x01000000
|
||||||
GLOBAL ROLLBACK_HIDE_UI = 0x00800000
|
GLOBAL ROLLBACK_HIDE_UI = 0x00800000
|
||||||
GLOBAL DISABLE_STEALTH = 0x00400000
|
GLOBAL DISABLE_STEALTH = 0x00400000
|
||||||
GLOBAL HIDE_FESTIVAL = 0x00200000
|
GLOBAL HIDE_FESTIVAL = 0x00200000
|
||||||
GLOBAL DISABLE_SKIP = 0x00080000
|
GLOBAL DISABLE_SKIP = 0x00080000
|
||||||
GLOBAL SILENT_ENTER_TERRI_ALL = 0x00038000
|
GLOBAL SILENT_ENTER_TERRI_ALL = 0x00038000
|
||||||
GLOBAL SILENT_ENTER_TERRI_SE = 0x00020000
|
GLOBAL SILENT_ENTER_TERRI_SE = 0x00020000
|
||||||
GLOBAL SILENT_ENTER_TERRI_BGM = 0x00010000
|
GLOBAL SILENT_ENTER_TERRI_BGM = 0x00010000
|
||||||
GLOBAL SILENT_ENTER_TERRI_ENV = 0x00008000
|
GLOBAL SILENT_ENTER_TERRI_ENV = 0x00008000
|
||||||
GLOBAL INVINCIBLE = 0x00004000
|
GLOBAL INVINCIBLE = 0x00004000
|
||||||
GLOBAL HIDE_HOTBAR = 0x00002000
|
GLOBAL HIDE_HOTBAR = 0x00002000
|
||||||
GLOBAL AUTO_LOC_CAMERA = 0x00001000
|
GLOBAL AUTO_LOC_CAMERA = 0x00001000
|
||||||
GLOBAL INVIS_ALL = 0xF80003FC
|
GLOBAL INVIS_ALL = 0xF80003FC
|
||||||
GLOBAL HIDE_UI = 0x00000800
|
GLOBAL HIDE_UI = 0x00000800
|
||||||
GLOBAL CONDITION_CUTSCENE = 0x00000400
|
GLOBAL CONDITION_CUTSCENE = 0x00000400
|
||||||
GLOBAL INVIS_TREASURE = 0x00000200
|
GLOBAL INVIS_TREASURE = 0x00000200
|
||||||
GLOBAL INVIS_AETHERYTE = 0x00000100
|
GLOBAL INVIS_AETHERYTE = 0x00000100
|
||||||
GLOBAL INVIS_GATHERING_POINT = 0x00000080
|
GLOBAL INVIS_GATHERING_POINT = 0x00000080
|
||||||
GLOBAL INVIS_PARTY_BUDDY = 0x10000000
|
GLOBAL INVIS_PARTY_BUDDY = 0x10000000
|
||||||
GLOBAL INVIS_PARTY_PC = 0x00000040
|
GLOBAL INVIS_PARTY_PC = 0x00000040
|
||||||
GLOBAL INVIS_OTHER_PC = 0x00000020
|
GLOBAL INVIS_OTHER_PC = 0x00000020
|
||||||
GLOBAL INVIS_BNPC = 0x00000010
|
GLOBAL INVIS_BNPC = 0x00000010
|
||||||
GLOBAL INVIS_EOBJ = 0x00000008
|
GLOBAL INVIS_EOBJ = 0x00000008
|
||||||
GLOBAL INVIS_ENPC = 0x00000004
|
GLOBAL INVIS_ENPC = 0x00000004
|
||||||
GLOBAL FADE_OUT = 0x00000002
|
GLOBAL FADE_OUT = 0x00000002
|
||||||
GLOBAL NO_DEFAULT_CAMERA = 0x00000001
|
GLOBAL NO_DEFAULT_CAMERA = 0x00000001
|
||||||
GLOBAL NONE = 0x00000000
|
GLOBAL NONE = 0x00000000
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Event Types
|
// Event Types
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
GLOBAL EVENT_TALK = 1
|
GLOBAL EVENT_TALK = 1
|
||||||
GLOBAL EVENT_EMOTE = 2
|
GLOBAL EVENT_EMOTE = 2
|
||||||
GLOBAL EVENT_DISTANCE_BELOW = 3
|
GLOBAL EVENT_DISTANCE_BELOW = 3
|
||||||
GLOBAL EVENT_DISTANCE_OVER = 4
|
GLOBAL EVENT_DISTANCE_OVER = 4
|
||||||
GLOBAL EVENT_BATTLE_REWARD = 5
|
GLOBAL EVENT_BATTLE_REWARD = 5
|
||||||
GLOBAL EVENT_CRAFT = 6
|
GLOBAL EVENT_CRAFT = 6
|
||||||
GLOBAL EVENT_NEST = 7
|
GLOBAL EVENT_NEST = 7
|
||||||
GLOBAL EVENT_EVENT_ITEM = 8
|
GLOBAL EVENT_EVENT_ITEM = 8
|
||||||
GLOBAL EVENT_DROP = 9
|
GLOBAL EVENT_DROP = 9
|
||||||
GLOBAL EVENT_WITHIN_RANGE = 10
|
GLOBAL EVENT_WITHIN_RANGE = 10
|
||||||
GLOBAL EVENT_OUTSIDE_RANGE = 11
|
GLOBAL EVENT_OUTSIDE_RANGE = 11
|
||||||
GLOBAL EVENT_GAME_START = 12
|
GLOBAL EVENT_GAME_START = 12
|
||||||
GLOBAL EVENT_GAME_PROGRESS = 13
|
GLOBAL EVENT_GAME_PROGRESS = 13
|
||||||
GLOBAL EVENT_ENTER_TERRITORY = 15
|
GLOBAL EVENT_ENTER_TERRITORY = 15
|
||||||
GLOBAL EVENT_GAME_COME_BACK = 17
|
GLOBAL EVENT_GAME_COME_BACK = 17
|
||||||
GLOBAL EVENT_ACTION_RESULT = 18
|
GLOBAL EVENT_ACTION_RESULT = 18
|
||||||
GLOBAL EVENT_MATERIA_CRAFT = 19
|
GLOBAL EVENT_MATERIA_CRAFT = 19
|
||||||
GLOBAL EVENT_FISHING = 20
|
GLOBAL EVENT_FISHING = 20
|
||||||
GLOBAL EVENT_UI = 21
|
GLOBAL EVENT_UI = 21
|
||||||
GLOBAL EVENT_HOUSING = 22
|
GLOBAL EVENT_HOUSING = 22
|
||||||
GLOBAL EVENT_SAY = 23
|
GLOBAL EVENT_SAY = 23
|
||||||
GLOBAL EVENT_TABLE_GAME = 24
|
GLOBAL EVENT_TABLE_GAME = 24
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Event finish states
|
// Event finish states
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
GLOBAL UNLOCK = 1
|
GLOBAL UNLOCK = 1
|
||||||
GLOBAL KEEPLOCK = 0
|
GLOBAL KEEPLOCK = 0
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// Possible Event Types
|
// Possible Event Types
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
GLOBAL ACTOR_EVENT_ON_CREATE = 1
|
GLOBAL ACTOR_EVENT_ON_CREATE = 1
|
||||||
GLOBAL ACTOR_EVENT_ON_SPAWN = 2
|
GLOBAL ACTOR_EVENT_ON_SPAWN = 2
|
||||||
GLOBAL ACTOR_EVENT_ON_DESPAWN = 3
|
GLOBAL ACTOR_EVENT_ON_DESPAWN = 3
|
||||||
GLOBAL ACTOR_EVENT_ON_AI_TICK = 4
|
GLOBAL ACTOR_EVENT_ON_AI_TICK = 4
|
||||||
GLOBAL ACTOR_EVENT_ON_TALK_DEFAULT = 5
|
GLOBAL ACTOR_EVENT_ON_TALK_DEFAULT = 5
|
||||||
|
|
||||||
GLOBAL MOB_EVENT_ON_DEATH = 1
|
GLOBAL MOB_EVENT_ON_DEATH = 1
|
||||||
|
|
||||||
GLOBAL REGION_EVENT_ON_CREATE= 1
|
GLOBAL REGION_EVENT_ON_CREATE= 1
|
||||||
GLOBAL REGION_EVENT_ON_ENTER = 2
|
GLOBAL REGION_EVENT_ON_ENTER = 2
|
||||||
GLOBAL REGION_EVENT_ON_LEAVE = 3
|
GLOBAL REGION_EVENT_ON_LEAVE = 3
|
||||||
|
|
||||||
GLOBAL PLAYER_EVENT_ON_FIRST_ENTER_WORLD = 1
|
GLOBAL PLAYER_EVENT_ON_FIRST_ENTER_WORLD = 1
|
||||||
GLOBAL PLAYER_EVENT_ON_ENTER_WORLD = 2
|
GLOBAL PLAYER_EVENT_ON_ENTER_WORLD = 2
|
||||||
GLOBAL PLAYER_EVENT_ON_DEATH = 3
|
GLOBAL PLAYER_EVENT_ON_DEATH = 3
|
||||||
GLOBAL PLAYER_EVENT_ON_LOGIN = 4
|
GLOBAL PLAYER_EVENT_ON_LOGIN = 4
|
||||||
GLOBAL PLAYER_EVENT_ON_LOGOUT = 5
|
GLOBAL PLAYER_EVENT_ON_LOGOUT = 5
|
||||||
|
|
||||||
// End Event Types
|
// End Event Types
|
||||||
|
|
||||||
GLOBAL SLOT_MAINH = 0
|
GLOBAL SLOT_MAINH = 0
|
||||||
GLOBAL SLOT_OFFH = 1
|
GLOBAL SLOT_OFFH = 1
|
||||||
GLOBAL SLOT_HEAD = 2
|
GLOBAL SLOT_HEAD = 2
|
||||||
GLOBAL SLOT_BODY = 3
|
GLOBAL SLOT_BODY = 3
|
||||||
GLOBAL SLOT_GLOVES = 4
|
GLOBAL SLOT_GLOVES = 4
|
||||||
GLOBAL SLOT_WAIST = 5
|
GLOBAL SLOT_WAIST = 5
|
||||||
GLOBAL SLOT_LEGS = 6
|
GLOBAL SLOT_LEGS = 6
|
||||||
GLOBAL SLOT_FEET = 7
|
GLOBAL SLOT_FEET = 7
|
||||||
|
|
||||||
GLOBAL GENDER_MALE = 0
|
GLOBAL GENDER_MALE = 0
|
||||||
GLOBAL GENDER_FEMALE = 1
|
GLOBAL GENDER_FEMALE = 1
|
||||||
|
|
||||||
GLOBAL ACTION_EVENT_START = 1
|
GLOBAL ACTION_EVENT_START = 1
|
||||||
GLOBAL ACTION_EVENT_RETURN = 2
|
GLOBAL ACTION_EVENT_RETURN = 2
|
||||||
GLOBAL ACTION_EVENT_TRADE_RETURN = 3
|
GLOBAL ACTION_EVENT_TRADE_RETURN = 3
|
||||||
GLOBAL ACTION_ERANGE_EVENT_START = 4
|
GLOBAL ACTION_ERANGE_EVENT_START = 4
|
||||||
GLOBAL ACTION_EVENT_EMOTE = 5
|
GLOBAL ACTION_EVENT_EMOTE = 5
|
||||||
|
|
||||||
GLOBAL ACTION_RETURN = 0x26
|
GLOBAL ACTION_RETURN = 0x26
|
||||||
GLOBAL ACTION_TELEPORT = 0x29
|
GLOBAL ACTION_TELEPORT = 0x29
|
||||||
|
|
||||||
GLOBAL EVENTACTION_ATTUNE = 0x13
|
GLOBAL EVENTACTION_ATTUNE = 0x13
|
||||||
|
|
||||||
GLOBAL CLASS_GLA = 1
|
GLOBAL CLASS_GLA = 1
|
||||||
GLOBAL CLASS_PUG = 2
|
GLOBAL CLASS_PUG = 2
|
||||||
GLOBAL CLASS_MRD = 3
|
GLOBAL CLASS_MRD = 3
|
||||||
GLOBAL CLASS_LNC = 4
|
GLOBAL CLASS_LNC = 4
|
||||||
GLOBAL CLASS_ARC = 5
|
GLOBAL CLASS_ARC = 5
|
||||||
GLOBAL CLASS_CON = 6
|
GLOBAL CLASS_CON = 6
|
||||||
GLOBAL CLASS_THM = 7
|
GLOBAL CLASS_THM = 7
|
||||||
GLOBAL CLASS_CRP = 8
|
GLOBAL CLASS_CRP = 8
|
||||||
GLOBAL CLASS_BSM = 9
|
GLOBAL CLASS_BSM = 9
|
||||||
GLOBAL CLASS_ARM = 10
|
GLOBAL CLASS_ARM = 10
|
||||||
GLOBAL CLASS_GLD = 11
|
GLOBAL CLASS_GLD = 11
|
||||||
GLOBAL CLASS_TAN = 12
|
GLOBAL CLASS_TAN = 12
|
||||||
GLOBAL CLASS_WVR = 13
|
GLOBAL CLASS_WVR = 13
|
||||||
GLOBAL CLASS_ALC = 14
|
GLOBAL CLASS_ALC = 14
|
||||||
GLOBAL CLASS_CUL = 15
|
GLOBAL CLASS_CUL = 15
|
||||||
GLOBAL CLASS_MIN = 16
|
GLOBAL CLASS_MIN = 16
|
||||||
GLOBAL CLASS_BOT = 17
|
GLOBAL CLASS_BOT = 17
|
||||||
GLOBAL CLASS_FSH = 18
|
GLOBAL CLASS_FSH = 18
|
||||||
GLOBAL CLASS_PLD = 19
|
GLOBAL CLASS_PLD = 19
|
||||||
GLOBAL CLASS_MNK = 20
|
GLOBAL CLASS_MNK = 20
|
||||||
GLOBAL CLASS_WAR = 21
|
GLOBAL CLASS_WAR = 21
|
||||||
GLOBAL CLASS_DRG = 22
|
GLOBAL CLASS_DRG = 22
|
||||||
GLOBAL CLASS_BRD = 23
|
GLOBAL CLASS_BRD = 23
|
||||||
GLOBAL CLASS_WHM = 24
|
GLOBAL CLASS_WHM = 24
|
||||||
GLOBAL CLASS_BLM = 25
|
GLOBAL CLASS_BLM = 25
|
||||||
GLOBAL CLASS_ACN = 26
|
GLOBAL CLASS_ACN = 26
|
||||||
GLOBAL CLASS_SMN = 27
|
GLOBAL CLASS_SMN = 27
|
||||||
GLOBAL CLASS_SCH = 28
|
GLOBAL CLASS_SCH = 28
|
||||||
GLOBAL CLASS_ROG = 29
|
GLOBAL CLASS_ROG = 29
|
||||||
GLOBAL CLASS_NIN = 30
|
GLOBAL CLASS_NIN = 30
|
||||||
GLOBAL CLASS_MCH = 31
|
GLOBAL CLASS_MCH = 31
|
||||||
GLOBAL CLASS_DRK = 32
|
GLOBAL CLASS_DRK = 32
|
||||||
GLOBAL CLASS_AST = 33
|
GLOBAL CLASS_AST = 33
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
// Inventory Enums
|
// Inventory Enums
|
||||||
|
@ -205,7 +205,7 @@ GLOBAL INVENTORY_FREECOMPANYBAG0 = 20000
|
||||||
GLOBAL INVENTORY_FREECOMPANYBAG1 = 20001
|
GLOBAL INVENTORY_FREECOMPANYBAG1 = 20001
|
||||||
GLOBAL INVENTORY_FREECOMPANYBAG2 = 20002
|
GLOBAL INVENTORY_FREECOMPANYBAG2 = 20002
|
||||||
GLOBAL INVENTORY_FREECOMPANYGIL = 22000
|
GLOBAL INVENTORY_FREECOMPANYGIL = 22000
|
||||||
GLOBAL INVENTORY_FREECOMPANYCRYSTAL = 22001
|
GLOBAL INVENTORY_FREECOMPANYCRYSTAL = 22001
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Currency types
|
// Currency types
|
||||||
|
@ -224,10 +224,10 @@ GLOBAL CURRENCY_MGP = 0X0B
|
||||||
GLOBAL CURRENCY_TOMESTONELAW = 0X0C
|
GLOBAL CURRENCY_TOMESTONELAW = 0X0C
|
||||||
GLOBAL CURRENCY_TOMESTONEESO = 0X0D
|
GLOBAL CURRENCY_TOMESTONEESO = 0X0D
|
||||||
GLOBAL CURRENCY_TOMESTONELORE = 0X0E
|
GLOBAL CURRENCY_TOMESTONELORE = 0X0E
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Skill handle types
|
// Skill handle types
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
GLOBAL STD_DAMAGE = 0X00
|
GLOBAL STD_DAMAGE = 0X00
|
||||||
GLOBAL STD_HEAL = 0X01
|
GLOBAL STD_HEAL = 0X01
|
||||||
GLOBAL STD_DOT = 0X02
|
GLOBAL STD_DOT = 0X02
|
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
def onFirstEnterWorld(player)
|
def onFirstEnterWorld(player)
|
||||||
{
|
{
|
||||||
var name = player.getName();
|
var name = player.getName();
|
||||||
var race = player.getRace();
|
var race = player.getRace();
|
||||||
var gender = player.getGender();
|
var gender = player.getGender();
|
||||||
//var class = player.getClass();
|
//var class = player.getClass();
|
||||||
|
|
||||||
|
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
|
@ -27,7 +27,6 @@ bool Core::LinkshellMgr::loadLinkshells()
|
||||||
|
|
||||||
Db::Field *field = res->fetch();
|
Db::Field *field = res->fetch();
|
||||||
|
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
uint32_t linkshellId = field[0].getUInt32();
|
uint32_t linkshellId = field[0].getUInt32();
|
||||||
|
|
Loading…
Add table
Reference in a new issue