Skip to content

initGame

John Lyu edited this page Jul 7, 2016 · 4 revisions

Request

GET http://s2.jr.moefantasy.com/api/initGame/&t=1466207823989&e=a36f13d8eb9838c9fbffa7712f9a3239&gz=1&market=2&channel=0&version=2.4.0 HTTP/1.1
Accept-Encoding: identity
Cookie: aliyungf_tc=AQAAADzyK1272AYANGLc3TGBMcWwNeYN;  HttpOnly;hf_skey=3242198.3242198..1466207821.1.c9b480101f6bf3fde5e3f8cf21065164; path=/;QCLOUD=a
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.2.2; GT-P5210 Build/JDQ39E)
Host: s2.jr.moefantasy.com
Connection: Keep-Alive

Response headers

HTTP/1.1 200 OK
Date: Fri, 17 Jun 2016 23:57:05 GMT
Content-Type: application/octet-stream
Connection: keep-alive
Cache-Control: max-age=2592000
Set-Cookie: qcloud=6f9aa596ea84494cdc269aefbf24d090
Content-Length: 20869

Response body

{
    "repairDockVo": [
        {
            "locked": 0,
            "id": 1,
            "startTime": 1466180911,
            "shipId": "115",
            "endTime": 1466184386
        },
        {
            "locked": 0,
            "id": 2,
            "startTime": 1466180914,
            "shipId": "370",
            "endTime": 1466188278
        },
        {
            "locked": 0,
            "id": 3,
            "startTime": 1466180921,
            "shipId": "202",
            "endTime": 1466188224
        },
        {
            "locked": 0,
            "id": 4,
            "startTime": 1466180930,
            "shipId": "566",
            "endTime": 1466182374
        }
    ],
    "role": 1,
    "packageVo": [
        {
            "uid": 3242198,
            "itemCid": 141,
            "num": 170
        },
        {
            "uid": 3242198,
            "itemCid": 241,
            "num": 240
        },
        {
            "uid": 3242198,
            "itemCid": 541,
            "num": 108
        },
        {
            "uid": 3242198,
            "itemCid": 741,
            "num": 77
        },
        {
            "uid": 3242198,
            "itemCid": 10141,
            "num": 8
        },
        {
            "uid": 3242198,
            "itemCid": 10241,
            "num": 5
        },
        {
            "uid": 3242198,
            "itemCid": 10341,
            "num": 2
        },
        {
            "uid": 3242198,
            "itemCid": 10441,
            "num": 1
        },
        {
            "uid": 3242198,
            "itemCid": 66641,
            "num": 2
        },
        {
            "uid": 3242198,
            "itemCid": 88841,
            "num": 2
        }
    ],
    "friendVo": {
        "avatar_cid": "10000861",
        "username": "雷·大壮",
        "level": "95",
        "sign": "噫,好,我斩了",
        "newApply": 0,
        "secretary": {
            "ship_cid": "11000713",
            "skin_cid": "0"
        },
        "fleetShips": [
            "116",
            "138",
            "247",
            "1519",
            "412",
            "250"
        ],
        "userMedalNum": 7,
        "medal": [
            101,
            402,
            301,
            201
        ],
        "newFirend": 0
    },
    "pveExploreVo": {
        "chapters": [
            1,
            2,
            3,
            4,
            5,
            6
        ],
        "levels": [
            {
                "endTime": 1466209972,
                "fleetId": "2",
                "startTime": 1466206372,
                "exploreId": "10004"
            },
            {
                "endTime": 1466209789,
                "fleetId": "4",
                "startTime": 1466202589,
                "exploreId": "20001"
            },
            {
                "endTime": 1466216982,
                "fleetId": "3",
                "startTime": 1466202582,
                "exploreId": "40001"
            },
            {
                "endTime": 1466208177,
                "fleetId": "1",
                "startTime": 1466205477,
                "exploreId": "20002"
            }
        ]
    },
    "marketingData": {
        "pveEventTitle": "Operation Valkyrie",
        "hideBrokenImageInAndroid": 0,
        "showForumLink": 0,
        "isHasBuildEvent": 0,
        "firstPayAward": {
            "haveGet": 1,
            "canGet": 0
        },
        "showCouponSetting": 0,
        "showRank": 0,
        "isHasPVEExploreEvent": 0,
        "mustChangePwd": 0,
        "userRegStatus": 3,
        "showWikiLink": 1,
        "showIosBuyNotice": 1,
        "isHasPVEEXPEvent": 0,
        "showRecentMarketing": 0,
        "continueLoginAward": {
            "period": 1,
            "canGetDay": -1,
            "haveGetDays": [
                1,
                2,
                3,
                4,
                5,
                6,
                7
            ]
        },
        "pveEventOpen": 1,
        "showBindingOtherPlatform": 0,
        "pveEventIndex": "5",
        "showBrokenImageInIos": 1,
        "reachLevelAward": [
            10,
            20,
            30,
            40,
            50
        ]
    },
    "unlockShip": [
        "10008211",
        10007611,
        10006511,
        10006711,
        10005112,
        10007211,
        10007311,
        10005512,
        10008311,
        10004912,
        10004412,
        10007711,
        10002913,
        10029811,
        10009011,
        10004312,
        10009211,
        10004112,
        10003512,
        10004212,
        10005812,
        10003412,
        10013512,
        10004012,
        10022712,
        10005612,
        10004712,
        10008411,
        10009811,
        10003212,
        10009111,
        10000313,
        10005712,
        10006611,
        10004812,
        10003312,
        10009411,
        10008111,
        10002812,
        10005912,
        10004512,
        10009511,
        10000213,
        10014012,
        10005212,
        10000713,
        10013412,
        10002113,
        10007011,
        10014112,
        10003712,
        10002712,
        10005412,
        10002412,
        10005312,
        10005012,
        10007111,
        10014212,
        10015212,
        10013712,
        10013212,
        10023612,
        10010713,
        10003612,
        10000513,
        10023312,
        10001813,
        10009611,
        10000113,
        10023412,
        10002512,
        10006811,
        11008211,
        10001313,
        11002913,
        10009711,
        10016411,
        10013912,
        11005912,
        10003013,
        10003812,
        10008611,
        10009311,
        10003912,
        10016112,
        11001813,
        10000413,
        10001013,
        10001913,
        10000813,
        10008511,
        11001013,
        10013812,
        10030111,
        10013112,
        10006911,
        10010813,
        11003013,
        10023512,
        10006411,
        11006811,
        11000813,
        10012312,
        10006012,
        10015812,
        11000113,
        10000913,
        11010813,
        10007511,
        10014312,
        10012612,
        10008011,
        11006411,
        10004612,
        11006911,
        11007311,
        11007011,
        11008511,
        11007511,
        10008711,
        10015112,
        10002612,
        10011513,
        10017311,
        10008811,
        10012913,
        11002812,
        11003812,
        10017511,
        10010313,
        10015012,
        10019711,
        10017411,
        10020313,
        11000713,
        10001213,
        10017811,
        11007211,
        11007111,
        10007811,
        10028911,
        10011913,
        10018311,
        10030311,
        11018311,
        10007411,
        10012813,
        10023812,
        10012512,
        10013013,
        10012712,
        11009311,
        10017611,
        10015312,
        10017211,
        10010513,
        10011813,
        10011413,
        11003912
    ],
    "marryShipVo": [
        "11002913",
        "10002913",
        11000113,
        10000113,
        11000713,
        10000713
    ],
    "userShipVO": [
        {
            "create_time": 1466170982,
            "equipment0": [
                -1,
                -1,
                -1,
                -1
            ],
            "level": 1,
            "love": 50,
            "exp": 0,
            "fleetId": 0,
            "loveMax": 100,
            "uid": 3242198,
            "skin_cid": 0,
            "battleProps": {
                "speed": "23.5",
                "oil": 90,
                "hit_repair": 0,
                "aluminium": 0,
                "miss": 19,
                "crit_repair": 0,
                "miss_repair": 0,
                "luck": 20,
                "range": 3,
                "antisub": 0,
                "airDef": 43,
                "hp": 72,
                "atk": 112,
                "radar": 12,
                "def": 72,
                "torpedo": 0,
                "hit": 39,
                "ammo": 140
            },
            "id": 7581,
            "equipment": [
                10003121,
                10002021
            ],
            "equipment1": [
                -1,
                -1,
                -1,
                -1
            ],
            "capacitySlotMax": [
                0,
                0,
                0,
                0
            ],
            "sink_num": 0,
            "battlePropsMax": {
                "hit": 90,
                "oil": 90,
                "aluminium": 0,
                "air_def": 42,
                "miss": 39,
                "luck": 20,
                "torpedo": 0,
                "antisub": 0,
                "hp": 72,
                "atk": 112,
                "radar": 37,
                "def": 72,
                "ammo": 140
            },
            "capacitySlot": [
                0,
                0,
                0,
                0
            ],
            "strengthenAttribute": {
                "def": 0,
                "atk": 0,
                "air_def": 0,
                "torpedo": 0
            },
            "equipment2": [
                -1,
                -1,
                -1,
                -1
            ],
            "shipCid": 10000813,
            "nextExp": 100,
            "isLocked": 0,
            "energy": 10,
            "use_equipment": 0,
            "capacitySlotExist": [
                2,
                2,
                0,
                0
            ],
            "battlePropsBasic": {
                "speed": "23.5",
                "oil": 90,
                "hit_repair": 0,
                "aluminium": 0,
                "miss": 19,
                "crit_repair": 0,
                "miss_repair": 0,
                "luck": 20,
                "range": 3,
                "antisub": 0,
                "airDef": 42,
                "hp": 72,
                "atk": 84,
                "radar": 12,
                "def": 72,
                "torpedo": 0,
                "hit": 39,
                "ammo": 140
            },
            "equipmentArr": [
                10003121,
                10002021,
                -1,
                -1
            ],
            "married": 0,
            "status": 0
        }
    ],
    "detailInfo": {
        "username": "雷·大壮",
        "equipmentNum": 133,
        "exploreBigSuccessNum": "644",
        "pvpWin": "472",
        "exp": 12570,
        "pvpLost": 125,
        "pvpNum": "597",
        "exploreNum": "2777",
        "shipNumTop": 230,
        "nextLevelExpNeed": 36100,
        "pveLost": 39,
        "titleId": "6",
        "equipmentNumTop": 500,
        "level": 95,
        "lastLevelExpNeed": 23530,
        "pveNum": 7772,
        "shipNum": 216,
        "pveWin": 7733,
        "collection": "53%"
    },
    "updateTaskVo": [
        {
            "condition": [
                {
                    "eventNeed": [],
                    "finishedAmount": 2,
                    "totalAmount": 10,
                    "targetCid": 0,
                    "actionType": 4
                }
            ],
            "taskCid": 2200332
        },
        {
            "condition": [
                {
                    "eventNeed": [],
                    "finishedAmount": 4,
                    "totalAmount": 5,
                    "targetCid": 3,
                    "actionType": 18
                }
            ],
            "taskCid": 2300533
        }
    ],
    "bossHp": -1,
    "peventExp": 0
}

Clone this wiki locally