Kinematic Instant Messaging #577

Closed
opened 2024-12-13 10:49:21 -08:00 by Sainan · 0 comments
Owner

Requests

Update year iteration

2024-12-13T19:43:07:452 [0.1.0] error:  unknown endpoint POST /api/saveDialogue.php
2024-12-13T19:43:07:453 [0.1.0] debug:  data provided to /api/saveDialogue.php: {"YearIteration":0}

Save completed chat

2024-12-13T19:44:42:751 [0.1.0] debug:  data provided to /api/saveDialogue.php: {"DialogueName":"/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue","Rank":1,"Chemistry":0,"CompletionType":0,"QueuedDialogues":[],"Booleans":[],"ResetBooleans":[],"Data":{"Id":"ArthurRank1Convo4","Booleans":[],"Choices":[1,1,1,2]},"CompletionType":0,"OtherDialogueInfos":[]}

Example response:

{"InventoryChanges":[],"AvailableDate":{"$date":{"$numberLong":"1735084800000"}}}

Forget relationships at year rollover

2025-01-12T06:38:54:046 [0.1.0] error:  unknown endpoint POST /api/clearDialogueHistory.php
2025-01-12T06:38:54:047 [0.1.0] debug:  data provided to /api/clearDialogueHistory.php: {"Dialogues":["/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/EleanorDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/LettieDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/JabirDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/AoiDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/QuincyDialogue_rom.dialogue"]}

Inventory format

{
    ...,
    "DialogueHistory": {
        "YearIteration": 0,
        "Dialogues": [
            {
                "Rank": 1,
                "Chemistry": 10,
                "AvailableDate": {
                    "$date": {
                        "$numberLong": "1734152400000"
                    }
                },
                "AvailableGiftDate": {
                    "$date": {
                        "$numberLong": "1734110737503"
                    }
                },
                "RankUpExpiry": {
                    "$date": {
                        "$numberLong": "1734152400000"
                    }
                },
                "BountyChemExpiry": {
                    "$date": {
                        "$numberLong": "1734110737503"
                    }
                },
                "QueuedDialogues": [],
                "Gifts": [],
                "Booleans": [],
                "Completed": [
                    {
                        "Id": "ArthurRank1Convo4", // as in request
                        "Booleans": [],
                        "Choices": [1,1,1,2] // as in request
                    }
                ],
                "DialogueName": "/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue"
            },
            ...
        ]
    },
    ...
}
## Requests ### Update year iteration ``` 2024-12-13T19:43:07:452 [0.1.0] error: unknown endpoint POST /api/saveDialogue.php 2024-12-13T19:43:07:453 [0.1.0] debug: data provided to /api/saveDialogue.php: {"YearIteration":0} ``` ### Save completed chat ``` 2024-12-13T19:44:42:751 [0.1.0] debug: data provided to /api/saveDialogue.php: {"DialogueName":"/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue","Rank":1,"Chemistry":0,"CompletionType":0,"QueuedDialogues":[],"Booleans":[],"ResetBooleans":[],"Data":{"Id":"ArthurRank1Convo4","Booleans":[],"Choices":[1,1,1,2]},"CompletionType":0,"OtherDialogueInfos":[]} ``` Example response: ```json {"InventoryChanges":[],"AvailableDate":{"$date":{"$numberLong":"1735084800000"}}} ``` ### Forget relationships at year rollover ``` 2025-01-12T06:38:54:046 [0.1.0] error: unknown endpoint POST /api/clearDialogueHistory.php 2025-01-12T06:38:54:047 [0.1.0] debug: data provided to /api/clearDialogueHistory.php: {"Dialogues":["/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/EleanorDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/LettieDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/JabirDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/AoiDialogue_rom.dialogue","/Lotus/Types/Gameplay/1999Wf/Dialogue/QuincyDialogue_rom.dialogue"]} ``` ## Inventory format ```json { ..., "DialogueHistory": { "YearIteration": 0, "Dialogues": [ { "Rank": 1, "Chemistry": 10, "AvailableDate": { "$date": { "$numberLong": "1734152400000" } }, "AvailableGiftDate": { "$date": { "$numberLong": "1734110737503" } }, "RankUpExpiry": { "$date": { "$numberLong": "1734152400000" } }, "BountyChemExpiry": { "$date": { "$numberLong": "1734110737503" } }, "QueuedDialogues": [], "Gifts": [], "Booleans": [], "Completed": [ { "Id": "ArthurRank1Convo4", // as in request "Booleans": [], "Choices": [1,1,1,2] // as in request } ], "DialogueName": "/Lotus/Types/Gameplay/1999Wf/Dialogue/ArthurDialogue_rom.dialogue" }, ... ] }, ... } ```
Sign in to join this conversation.
No description provided.