porisius / FicsitRemoteMonitoring

54 stars 12 forks source link

Inventory is always empty in getSpaceElevator #91

Closed derpierre65 closed 1 week ago

derpierre65 commented 3 weeks ago

Inventory of the space elevator is always empty, but my inventory is not empty grafik

[
  {
    "Name": "Space Elevator",
    "ClassName": "Build_SpaceElevator_C",
    "location": {
      "x": -57599.1953125,
      "y": 266728.65625,
      "z": -3798.14697265625,
      "rotation": 89.57738174282781
    },
    "Inventory": [],
    "PhaseCost": [
      {
        "Name": "Assembly Director System",
        "ClassName": "Desc_SpaceElevatorPart_7_C",
        "Amount": 500
      },
      {
        "Name": "Magnetic Field Generator",
        "ClassName": "Desc_SpaceElevatorPart_6_C",
        "Amount": 500
      },
      {
        "Name": "Thermal Propulsion Rocket",
        "ClassName": "Desc_SpaceElevatorPart_8_C",
        "Amount": 250
      },
      {
        "Name": "Nuclear Pasta",
        "ClassName": "Desc_SpaceElevatorPart_9_C",
        "Amount": 100
      }
    ],
    "FullyUpgraded": false,
    "UpgradeReady": false,
    "features": {
      "properties": {
        "name": "Space Elevator",
        "type": "Space Elevator"
      },
      "geometry": {
        "coordinates": {
          "x": -57599.1953125,
          "y": 266728.65625,
          "z": -3798.14697265625
        },
        "type": "Point"
      }
    }
  }
]
porisius commented 2 weeks ago

Just so you know you are not forgotten, still looking for the inventory for AFGBuildableSpaceElevator as apparently mInputInventory is not used, or not used as we would expect.

I might have to do an asset dump of the game to know more.

porisius commented 2 weeks ago

Inventory is going to be dropped, there is literally no use for it that I can find.

May I have your feedback on this?

"CurrentPhase": [
  {
    "Name": "Assembly Director System",
    "ClassName": "Desc_SpaceElevatorPart_7_C",
    "Amount": 0,
    "RemainingCost": 500,
    "TotalCost": 500
  },
  {
    "Name": "Magnetic Field Generator",
    "ClassName": "Desc_SpaceElevatorPart_6_C",
    "Amount": 0,
    "RemainingCost": 500,
    "TotalCost": 500
  },
  {
    "Name": "Thermal Propulsion Rocket",
    "ClassName": "Desc_SpaceElevatorPart_8_C",
    "Amount": 0,
    "RemainingCost": 250,
    "TotalCost": 250
  },
  {
    "Name": "Nuclear Pasta",
    "ClassName": "Desc_SpaceElevatorPart_9_C",
    "Amount": 100,
    "RemainingCost": 0,
    "TotalCost": 100
  }
],

image

derpierre65 commented 2 weeks ago

looks good for me

porisius commented 1 week ago

Fixed in 1.1.0