MU Protocol

MU PROTOCOL


1. Connect Server:

* Connect Result Send
0x01 // code
0x04 // packet size
0x00 // head code
0x01 // result

* 0xF4:
** 0x06: Server List Send
0xC2 // code
0x00 // HIBYTE (packet size)
0x0F // LOWBYTE (packet size)
0xF4 // headcode
0x06 // subcode
0x00
0x02 // servercount
0x00 // servercode
0x00 // servercode
0x32 // percent 50%
0x00
0x14 // servercode
0x00 // servercode
0x32 // percent 50%
0x00

Max Server Group is 3
Max Server in each Group is 20

ServerCode:
  • ServerGroup 1: 0x0000 to 0x0013
  • ServerGroup 2: 0x0014 to 0x0027
  • ServerGroup 3: 0x0028 to 0x003B

Figure 1. MU Choose Server

** 0x03: Server Info Req
0xC1 // code
0x16 // packet size
0xF4 // headcode
0x03 // sub head
0x31 0x39 0x32 0x2E 0x31 0x36 0x38 0x2E 0x31 0x2E 0x31 0x30 0x30 0x00 0x00 0x00 // IP
    // 192.168.1.100
    // 0x313932 2e 313638 2e 31 2e 313030
0x5D 0xDA // port
    // 55901
    // 0xDA5D

2. Join Server:

* 0x00: Join Server Login
0xc1 // code
0x0c // size = 12
0x00 // headcode
0x01 // result
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 // ItemCount

* 0x01: JGP Account Request
0xc1 // code
0x25 // size = 37
0x01 // headcode
0x01 // result **
0xb8 0x24 // Number
0x6d 0x65 0x73 0x6f 0x73 0x61 0x31 0x00 0x00 0x00 // Id
// mesosa1
// 6d65736f736131
0x00 0x00 0x00 0x00 // UserNumber
0x00 0x00 0x00 0x00 // DBNumber
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 // JoominNumber

** Result:
  • 0x00, // your password is wrong
  • 0x01, // Success
  • 0x02, // id does not exist
  • 0x03, // account is use
  • 0x04, // maxium active user reached
  • 0x05, // account banned
  • 0x0C, // fixed expiration
  • 0x0D, // Determination of Expiration
  • 0x0E, // a temporary block status (MuManager used)
  • 0xd2, // IP is not a local IP (not country for player)
* 0x02: GJPAccountFail
* 0x04: GJPAccountBlock
* 0x05: GJPUserClose
* 0x7A: GJReqMapSvrMove
* 0x7B: GJReqMapSvrAuth
* 0xA1: GJAllNoticeSend
* 0xA2: GJUserNoticeSend

3. ExDB:

* 0x00: ExDataServerLogin
0xc1 // code
0x0c // size = 12
0x00 // head code
0x01 // result
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 // ItemCount

* 0x02: GDCharCloseRecv
* 0x30: GDGuildCreateSend
* 0x31: GDGuildDestroyRecv
* 0x32: GDGuildMemberAdd
* 0x33: GDGuildMemberDel
* 0x35: DGGuildMemberInfoRequest
* 0x37: DGGuildScoreUpdate
* 0x38: GDGuildNoticeSave
* 0xE1: GDGuildReqAssignStatus
* 0xE2: GDGuildReqAssignType

4. Event Server:

* 0x01: EGAnsEventChipInfo
* 0x02: EGAnsRegEventChipInfo
* 0x04: EGAnsResetEventChip
* 0x05: EGAnsEventStoneInfo
* 0x06: EGAnsRegEventStoneInfo
* 0x07: EGAnsDeleteStones
* 0x08: EGAns2AnivRegSerial
* 0x09: EGAnsResetStoneInfo
* 0x10: EGAnsRegRingGift
* 0x15: EGAnsRegCCOfflineGift
* 0x16: EGAnsRegDLOfflineGift
* 0x17: EGAnsRegHTOfflineGift

5. Ranking Server:

* 0x01: DevilSqureScore
* 0x0B: EGReqBloodCastleEnterCount
* 0x0D: BloodCastleScore_5TH

6. Data Server:

* 0x00: DataServerLogin
* 0x01: JGPGetCharList
* 0x04: JGCharacterCreateRequest
* 0x05: JGCharDelRequest
* 0x06: JGGetCharacterInfo
* 0x07: GJSetCharacterInfo
* 0x08: DGGetWarehouseList
* 0x09: GDSetWarehouseList
* 0x11: GDUserItemSave
* 0x12: GDSetWarehouseMoney
* 0x13: DGGetQuestMonsterKill
* 0x14: GDQuestMonsterKillSave
* 0x52: ItemSerialCreateRecv
* 0x55: PetItemSerialCreateRecv
* 0x56: DGRecvPetItemInfo
* 0x57: GDSavePetItemInfo
* 0x60: DGOptionDataRecv
* 0x80:
** 0x01: GS_DGAnsOwnerGuildMaster
** 0x03: GS_DGAnsCastleNpcBuy
** 0x04: GS_DGAnsCastleNpcRepair
** 0x05: GS_DGAnsCastleNpcUpgrade
** 0x06: GS_DGAnsTaxInfo
** 0x07: GS_DGAnsTaxRateChange
** 0x08: GS_DGAnsCastleMoneyChange
** 0x09: GS_DGAnsSiegeDateChange
** 0x0A: GS_DGAnsGuildMarkRegInfo
** 0x0B: GS_DGAnsSiegeEndedChange
** 0x0C: GS_DGAnsCastleOwnerChange
** 0x0D: GS_DGAnsRegAttackGuild
** 0x0E: GS_DGAnsRestartCastleState
** 0x0F: GS_DGAnsMapSvrMsgMultiCast
** 0x10: GS_DGAnsRegGuildMark
** 0x11: GS_DGAnsGuildMarkReset
** 0x12: GS_DGAnsGuildSetGiveUp
** 0x16: GS_DGAnsNpcRemove
** 0x17: GS_DGAnsCastleStateSync
** 0x18: GS_DGAnsCastleTributeMoney
** 0x19: GS_DGAnsResetCastleTaxInfo
** 0x1A: GS_DGAnsResetSiegeGuildInfo
** 0x1B: GS_DGAnsResetRegSiegeInfo
* 0x81: GS_DGAnsCastleInitData
* 0x83: GS_DGAnsAllGuildMarkRegInfo
* 0x84: GS_DGAnsFirstCreateNPC
* 0x85: GS_DGAnsCalcRegGuildList
* 0x86: GS_DGAnsCsGulidUnionInfo
* 0x87: GS_DGAnsCsSaveTotalGuildInfo
* 0x88: GS_DGAnsCsLoadTotalGuildInfo
* 0x89: GS_DGAnsCastleNpcUpdate
* 0xB0: DGAnsCrywolfSync
* 0xB1: DGAnsCrywolfInfoLoad
* 0xCF: DGMoveOtherServer

7. Game Server:

TBD

Nhận xét