Skip to content

Latest commit

 

History

History
248 lines (239 loc) · 9.3 KB

README.md

File metadata and controls

248 lines (239 loc) · 9.3 KB

lineage 2 js

node.js emulator server
server for lineage 2 chronicle 1 harbingers of war

config: data/config.json
init: npm install -i

run on linux:

node loginserver.js
node gameserver.js

run on windows:

serverStart.bat

Packets

✔️ - done
⚠️ - in work

Client packets(game server) Server packets(game server)
✔️ ProtocolVersion ✔️ CryptInit
✔️ MoveBackwardToLocation ✔️ MoveToLocation
? Say NpcSay
✔️ RequestEnterWorld ⚠️ CharacterInfo
⚠️ Action ⚠️ UserInfo
✔️ RequestAuthLogin ✔️ Attack
✔️ Logout ? Attacked
⚠️ RequestAttack ✔️ AttackCanceled
✔️ RequestCharacterCreate ✔️ Die
RequestCharacterDelete Revive
✔️ CharacterSelected AttackOutofRange
✔️ RequestNewCharacter AttackinCoolTime
✔️ RequestItemList AttackDeadTarget
RequestEquipItem LeaveWorld
RequestUnEquipItem AuthLoginSuccess
RequestDropItem ✔️ AuthLoginFail
⚠️ RequestUseItem ⚠️ SpawnItem
RequestTrade ⚠️ DropItem
RequestAddTradeItem GetItem
TradeDone EquipItem
RequestTeleport UnequipItem
✔️ RequestSocialAction ⚠️ StatusUpdate
? ChangeMoveType ✔️ NpcHtmlMessage
? ChangeWaitType SellList
RequestSellItem BuyList
RequestBuyItem ✔️ DeleteObject
RequestLinkHtml ⚠️ CharacterSelectionInfo
⚠️ RequestBypassToServer ? LoginFail
RequestBBSWrite ✔️ CharacterSelected
RequestCreatePledge ⚠️ NpcInfo
RequestJoinPledge ✔️ CharacterTemplates
RequestAnswerJoinPledge NewCharacterFail
RequestWithDrawalPledge ✔️ CharacterCreateSuccess
RequestOustPledgeMember ✔️ CharacterCreateFail
RequestDismissPledge ⚠️ ItemList
RequestJoinParty ✔️ SunRise
RequestAnswerJoinParty ✔️ SunSet
RequestWithDrawalParty ? EquipItemSuccess
RequestOustPartyMember ? EquipItemFail
RequestDismissParty ? UnEquipItemSuccess
? RequestMagicSkillList ? UnEquipItemFail
✔️ RequestMagicSkillUse TradeStart
? SendAppearing TradeStartOk
SendWareHouseDepositList TradeOwnAdd
SendWareHouseWithdrawList TradeOtherAdd
RequestShortCutReg TradeDone
RequestShortCutUse CharacterDeleteSuccess
RequestShortCutDel CharacterDeleteFail
✔️ StopMove ✔️ ActionFail
✔️ RequestTargetCancel ServerClose
✔️ Say2 InventoryUpdate
RequestPledgeMemberList TeleportToLocation
? RequestMagicList ✔️ TargetSelected
✔️ RequestSkillList ✔️ TargetUnselected
? MoveWithDelta ✔️ AutoAttackStart
? GetOnVehicle(boat) ✔️ AutoAttackStop
? GetOffVehicle(boat) ✔️ SocialAction
AnswerTradeRequest ✔️ ChangeMoveType
✔️ RequestActionUse ✔️ ChangeWaitType
RequestRestart NetworkFail
RequestSiegeInfo CreatePledge
✔️ ValidatePosition AskJoinPledge
? RequestSEKCustom JoinPledge
StartRotating WithdrawalPledge
FinishRotating OustPledgeMember
RequestStartPledgeWar SetOustPledgeMember
RequestReplyStartPledgeWar DismissPledge
RequestStopPledgeWar SetDismissPledge
RequestReplyStopPledgeWar AskJoinParty
RequestSurrenderPledgeWar JoinParty
RequestReplySurrenderPledgeWar WithdrawalParty
RequestSetPledgeCrest OustPartyMember
RequestGiveNickName SetOustPartyMember
✔️ RequestShowboard DismissParty
RequestEnchantItem SetDismissParty
RequestDestroyItem MagicAndSkillList
SendBypassBuildCmd WareHouseDepositList
MoveToLocationInVehicle WareHouseWithdrawList
CanNotMoveAnymore(Vehicle) WareHouseDone
RequestFriendInvite ShortCutRegister
RequestFriendAddReply ShortCutInit
RequestFriendInfoList ShortCutDelete
RequestFriendDel StopMove
RequestCharacterRestore ✔️ MagicSkillUse
⚠️ RequestQuestList MagicSkillCanceled
RequestDestroyQuest ✔️ CreateSay
RequestPledgeInfo EquipUpdate
RequestPledgeExtendedInfo ✔️ StopMoveWithLocation
RequestPledgeCrest DoorInfo
RequestSurrenderPersonally DoorStatusUpdate
RequestRide PartySmallWindowAll
RequestAcquireSkillInfo PartySmallWindowAdd
RequestAcquireSkill PartySmallWindowDeleteAll
RequestRestartPoint PartySmallWindowDelete
RequestGMCommand PartySmallWindowUpdate
RequestPartyMatchConfig PledgeShowMemberListAll
RequestPartyMatchList PledgeShowMemberListUpdate
RequestPartyMatchDetail PledgeShowMemberListAdd
RequestCrystallizeItem PledgeShowMemberListDelete
RequestPrivateStoreSellManageList MagicList
SetPrivateStoreSellList ✔️ SkillList
RequestPrivateStoreSellManageCancel VehicleInfo
RequestPrivateStoreSellQuit VehicleDeparture
SetPrivateStoreSellMsg VehicleCheckLocation
SendPrivateStoreBuyList GetOnVehicle
RequestReviveReply GetOffVehicle
RequestTutorialLinkHtml TradeRequest
RequestTutorialPassCmdToServer RestartResponse
RequestTutorialQuestionMarkPressed ⚠️ MoveToPawn
RequestTutorialClientEvent ValidateLocation
RequestPetition StartRotating
RequestPetitionCancel FinishRotating
RequestGMList ✔️ SystemMessage
RequestJoinAlly StartPledgeWar
RequestAnswerJoinAlly ReplyStartPledgeWar
RequestWithdrawAlly StopPledgeWar
RequestOustAlly ReplyStopPledgeWar
RequestDismissAlly SurrenderPledgeWar
RequestSetAllyCrest ReplySurrenderPledgeWar
RequestAllyCrest SetPledgeCrest
RequestChangePetName PledgeCrest
RequestPetUseItem ✔️ SetupGauge
RequestGiveItemToPet ⚠️ ShowBoard
RequestGetItemFromPet ChooseInventoryItem
RequestAllyInfo MoveToLocationInVehicle
RequestPetGetItem StopMoveInVehicle
RequestPrivateStoreBuyManageList ValidateLocationInVehicle
SetPrivateStoreBuyList TradeUpdate
RequestPrivateStoreBuyManageQuit TradePressOwnOk
SetPrivateStoreBuyMsg ⚠️ MagicSkillLaunched
SendPrivateStoreSellList FriendAddRequestResult
SendTimeCheck FriendAdd
RequestStartAllianceWar FriendRemove
ReplyStartAllianceWar FriendList
RequestStopAllianceWar FriendStatus
ReplyStopAllianceWar TradePressOtherOk
RequestSurrenderAllianceWar FriendAddRequest
RequestSkillCoolTime ✔️ LogoutOk
RequestPackageSendableItemList AbnormalStatusUpdate
RequestPackageSend ⚠️ QuestList
RequestBlock EnchantResult
RequestCastleSiegeInfo AuthServerList
RequestCastleSiegeAttackerList PledgeShowMemberListDeleteAll
RequestCastleSiegeDefenderList PledgeInfo
RequestJoinCastleSiege PledgeExtendedInfo
RequestConfirmCastleSiegeWaitingList SurrenderPersonally
RequestSetCastleSiegeTime ⚠️ Ride
RequestMultiSellChoose GiveNickNameDone
NetPing PledgeShowInfoUpdate
RequestRemainTime ClientAction
AcquireSkillList
AcquireSkillInfo
ServerObjectInfo
GMHide
AcquireSkillDone
GMViewCharacterInfo
GMViewPledgeInfo
GMViewSkillInfo
GMViewMagicInfo
GMViewQuestInfo
GMViewItemList
GMViewWarehouseWithdrawList
PartyMatchList
PartyMatchDetail
PlaySound
StaticObject
PrivateStoreSellManageList
PrivateStoreSellList
PrivateStoreSellMsg
✔️ ShowMinimap
ReviveRequest
AbnormalVisualEffect
✔️ TutorialShowHtml
ShowTutorialMark
TutorialEnableClientEvent
TutorialCloseHtml
✔️ RadarControl
DeleteRadar
MyTargetSelected
PartyMemberPosition
AskJoinAlliance
JoinAlliance
WithdrawAlliance
OustAllianceMemberPledge
DismissAlliance
SetAllianceCrest
AllianceCrest
ServerCloseSocket
PetStatusShow
PetInfo
PetItemList
PetInventoryUpdate
AllianceInfo
PetStatusUpdate
PetDelete
PrivateStoreBuyManageList
PrivateStoreBuyList
PrivateStoreBuyMsg
VehicleStart
RequestTimeCheck
StartAllianceWar
ReplyStartAllianceWar
StopAllianceWar
ReplyStopAllianceWar
SurrenderAllianceWar
SkillCoolTime
PackageToList
PackageSendableList
EarthQuake
FlyToLocation
BlockList
SpecialCamera
NormalCamera
CastleSiegeInfo
CastleSiegeAttackerList
CastleSiegeDefenderList
NickNameChanged
PledgeStatusChanged
RelationChanged
EventTrigger
MultiSellList
SetSummonRemainTime
SkillRemainSec
NetPing