daid / daid/EmptyEpsilon

Warp slider on UI not updated when changed through HTTP api

Open
#605 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
869
Forks
222
Avg merge
18h 33m
Merged PRs (30d)
1

Description

Hi,

Problem:
It seems that UI slider for warp is not updated when the value is changed through HTTP api. Related function call is PlayerSpaceship:commandWarp(int8_t target) if I'm correct.

Proposed action:
There is also other similar problems or UI controls that cannot be changed through api. Would it be ok if I do some changes and make every UI control to listen for spaceship's state (and so forth save state of every UI control in spaceship's state)? Motivation behind this is a project where we're building custom hardware consoles for controlling the ship.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at PlayerSpaceship:commandWarp(int8_t target) and trace how the warp value reaches the UI slider when changed through the HTTP API. Reproduce the mismatch, then check whether other UI controls show the same issue; done means the warp slider and affected controls reflect spaceship state after API changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
api, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.